/* =========================================================================
   stecon LP — KAGAMI 風リデザイン版（#007BFF アクセント）
   ========================================================================= */

:root {
  /* Brand: Bright SaaS blue */
  --primary:        #007BFF;
  --primary-dark:   #0062CC;
  --primary-light:  #5BBDFF;
  --primary-deep:   #1959B4;

  /* Blue scale */
  --blue-50:        #F0F9FF;
  --blue-100:       #E0F2FE;
  --blue-200:       #B9E6FE;
  --blue-300:       #7CD3FD;
  --blue-700:       #0169A3;
  --blue-800:       #065986;

  /* Gray scale */
  --gray-50:        #F5F8FA;
  --gray-100:       #EAF0F4;
  --gray-200:       #D3E1E9;
  --gray-300:       #A6C3D3;
  --gray-700:       #36596E;
  --gray-800:       #304C5C;

  /* Semantic */
  --text:           #0F1419;
  --text-muted:     #36596E;
  --text-light:     #FFFFFF;
  --bg:             #FFFFFF;
  --bg-soft:        var(--blue-50);
  --bg-gray:        var(--gray-50);
  --border:         var(--gray-100);
  --border-strong:  var(--gray-200);
  --error:          #E0245E;
  --warning-soft:   #FEF2F2;
  --warning-text:   #B91C1C;

  /* Gradients */
  --grad-button:    linear-gradient(90deg, #007BFF 0%, #5BBDFF 100%);
  --grad-button-dark: linear-gradient(90deg, #0062CC 0%, #007BFF 100%);
  --grad-bg:        linear-gradient(97deg, #5BBDFF 0%, #1959B4 100%);
  --grad-title:     linear-gradient(90deg, #1959B4 0%, #5BBDFF 100%);
  --grad-soft:      linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);

  /* Shadows */
  --shadow-input:   0 2px 8px rgba(95, 131, 175, 0.10);
  --shadow-card:    0 8px 32px rgba(95, 131, 175, 0.12);
  --shadow-card-lg: 0 16px 48px rgba(95, 131, 175, 0.18);
  --shadow-button:  0 8px 24px rgba(0, 123, 255, 0.30);
  --shadow-button-hover: 0 12px 32px rgba(0, 123, 255, 0.42);

  /* Type */
  --font-sans:      "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Layout */
  --container:      1140px;
  --container-narrow: 880px;
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-pill:    999px;
}

/* ============= Reset ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  line-height: 1.85;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
  padding-bottom: 80px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .8; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
em { font-style: normal; }

/* ============= Utilities ============= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.pc-only { display: none; }
.sp-only { display: inline; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* ============= Section Typography ============= */
.section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.section__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section__eyebrow--light { color: var(--blue-200); }

.section__title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.section__title em {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 2px;
}
.section__title--light { color: var(--text-light); }
.section__title--light em {
  background: linear-gradient(90deg, #FFFFFF 0%, #B9E6FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 768px) {
  .section__title { font-size: 40px; line-height: 1.4; }
}
@media (min-width: 1024px) {
  .section__title { font-size: 48px; }
}

.section__lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 56px;
  line-height: 1.95;
}
@media (min-width: 768px) {
  .section__lead { font-size: 17px; margin-bottom: 72px; }
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, opacity .25s;
  border: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}
.btn--primary {
  background: var(--grad-button);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
  opacity: 1;
}
.btn--lg { padding: 18px 44px; font-size: 16px; }
@media (min-width: 768px) {
  .btn--lg { padding: 22px 56px; font-size: 17px; }
}
.btn--header {
  background: var(--grad-button);
  color: #fff;
  padding: 11px 24px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}
.btn--header:hover {
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
  transform: translateY(-1px);
  opacity: 1;
}
.btn--submit {
  background: var(--grad-button);
  color: #fff;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-button);
}
.btn--submit:hover {
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-2px);
  opacity: 1;
}
.btn--outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

/* ============= Header ============= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(95,131,175,0.08);
  border-bottom-color: var(--border);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}
.header__logo a { display: inline-flex; align-items: center; }
.header__logo img { height: 36px; width: auto; display: block; }
@media (min-width: 768px) { .header__logo img { height: 40px; } }

.header__nav { display: flex; align-items: center; gap: 28px; }
.header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.header__link:hover { color: var(--primary); opacity: 1; }
@media (max-width: 767px) {
  .header__link { display: none; }
}

/* ============= 1. HERO ============= */
.hero {
  position: relative;
  padding: 130px 0 80px;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 70%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(91, 189, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(0, 123, 255, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(185, 230, 254, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero__band {
  position: absolute;
  top: 68px;
  left: 0; right: 0;
  height: 560px;
  background: linear-gradient(101deg, #5BBDFF 0%, #1959B4 100%);
  z-index: 0;
  pointer-events: none;
}
.hero__band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 18% 20%, rgba(255,255,255,0.18) 0%, transparent 35%),
    radial-gradient(ellipse at 82% 80%, rgba(255,255,255,0.10) 0%, transparent 38%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero__band { height: 720px; }
}
@media (min-width: 1024px) {
  .hero__band { height: 772px; }
}
.hero__container { position: relative; z-index: 1; text-align: center; max-width: 1092px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #fff;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero__eyebrow-line {
  width: 36px; height: 2px;
  background: var(--grad-button);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero__title em {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  background-clip: initial;
  padding: 0 4px;
  font-weight: 900;
}
@media (min-width: 768px) {
  .hero__title { font-size: 56px; line-height: 1.35; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 64px; }
}

.hero__sub {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .hero__sub { font-size: 22px; }
}

.hero__promise {
  margin: 124px auto 44px;
  max-width: 760px;
  background: #fff;
  color: var(--text);
  padding: 36px 36px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 8px 16px rgba(95, 131, 175, 0.12);
  border: 1px solid #EAF0F4;
  text-align: center;
}
.hero__promise::after {
  content: "";
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  max-width: calc(100% - 48px);
  height: 3px;
  background: linear-gradient(90deg, #0780FF 0%, #57BAFF 100%);
  border-radius: 20px;
}
.hero__promise-label {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--primary-deep);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 36px;
}
.hero__promise-text {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--text);
}
.hero__promise-text strong {
  color: var(--primary-dark);
  font-weight: 700;
}
@media (min-width: 768px) {
  .hero__promise { padding: 36px 48px 40px; }
  .hero__promise-text { font-size: 18px; }
}

/* ---- 導入前後 比較 ---- */
.hero__compare {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 44px;
  max-width: 1180px;
  position: relative;
}
@media (max-width: 767px) {
  .hero__compare { gap: 10px; flex-wrap: wrap; }
}

.hero__compare-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  position: relative;
  padding-top: 18px;
}

.hero__compare-label {
  font-size: 12.85px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  display: inline-block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  border: 2.5px solid #fff;
}
.hero__compare-label--before {
  background: #FEF2F2;
  color: #B91C1C;
}
.hero__compare-label--after {
  background: var(--blue-50);
  color: var(--primary-dark);
}

.hero__compare-item {
  width: 100%;
  cursor: pointer;
  border-radius: 25.8px;
  overflow: hidden;
  box-shadow: 0 10px 41px rgba(95, 131, 175, 0.12);
  border: 2.581px solid #fff;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  background: #f5f8fa;
}
.hero__compare-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-lg); }
.hero__compare-item--after { cursor: pointer; }

.hero__compare-thumb {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}
.hero__compare-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__compare-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero__compare-item:hover .hero__compare-overlay {
  background: rgba(0, 123, 255, 0.25);
}
.hero__compare-overlay span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-button);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  box-shadow: var(--shadow-button);
}
.hero__compare-item:hover .hero__compare-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.hero__compare-arrow {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  padding: 0 4px;
  margin-top: 140px;
  line-height: 1;
}
@media (max-width: 767px) {
  .hero__compare-arrow {
    font-size: 24px;
    margin-top: 0;
    width: 100%;
    text-align: center;
    transform: rotate(90deg);
  }
}

/* ---- モーダル ---- */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.compare-modal[hidden] { display: none; }

.compare-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.compare-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.compare-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.compare-modal__close:hover { background: rgba(0,0,0,0.82); }

.compare-modal__img {
  width: 100%;
  max-height: calc(90vh - 52px);
  object-fit: contain;
  display: block;
  background: var(--gray-50);
}

.compare-modal__caption {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.hero__cta { margin-bottom: 48px; }
.hero__cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero__trust {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}
.hero__trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: 160px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
  box-shadow: 0 4px 18px rgba(43, 110, 200, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__trust-num {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-deep);
  letter-spacing: 0.02em;
  line-height: 1.2;
  /* グラデーション解除（Figma: ソリッド青） */
  background: none;
  -webkit-text-fill-color: currentColor;
  background-clip: initial;
  -webkit-background-clip: initial;
}
.hero__trust-label {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .hero__trust { gap: 32px; }
  .hero__trust li { width: 200px; height: 200px; gap: 10px; }
  .hero__trust-num { font-size: 30px; }
  .hero__trust-label { font-size: 13px; }
}
@media (min-width: 1024px) {
  .hero__trust { gap: 48px; }
  .hero__trust li { width: 220px; height: 220px; }
  .hero__trust-num { font-size: 34px; }
}

/* ============= About Banner ============= */
.about-banner { background: var(--bg-soft); padding: 80px 0; }
@media (min-width: 768px) { .about-banner { padding: 120px 0; } }
.about-banner__body {
  max-width: 760px; margin: 0 auto; text-align: left;
  font-size: 16px; line-height: 2.05; color: var(--text);
  letter-spacing: 0.02em;
}
.about-banner__body p { margin-bottom: 20px; }
.about-banner__body p:last-child { margin-bottom: 0; }
.about-banner__body strong { color: var(--primary-dark); font-weight: 700; }
.about-banner__body em {
  font-style: normal; font-weight: 700; color: var(--primary-dark);
  background: linear-gradient(transparent 62%, var(--blue-200) 62%);
  padding: 0 2px;
}
.about-banner__body u {
  text-decoration: none;
  background: linear-gradient(transparent 62%, var(--blue-200) 62%);
  padding: 0 2px;
}
@media (min-width: 768px) { .about-banner__body { font-size: 17px; } }

/* ============= 2. WARNING ============= */
.warning { background: var(--bg); }
.warning__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .warning__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.warning-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.warning-card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-4px); }

/* カード上部のビジュアルエリア（水色背景＋イラスト） */
.warning-card__visual {
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 220px;
  position: relative;
  border-bottom: 3px solid var(--primary);
}
.warning-card--alt .warning-card__visual {
  border-bottom-color: var(--primary-deep);
}
.warning-card__visual img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.warning-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.warning-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.warning-card__num {
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.warning-card__chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--blue-50);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.warning-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.warning-card__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 18px;
}
.warning-card__text strong { color: var(--primary-dark); font-weight: 700; }
.warning-card__text u {
  text-decoration: none;
  background: linear-gradient(transparent 62%, var(--blue-200) 62%);
  padding: 0 2px;
}
.warning-card__points {
  border-top: 1px dashed var(--border-strong);
  padding-top: 16px;
}
.warning-card__points li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}
.warning-card__points li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  background: var(--grad-button);
  border-radius: 50%;
}
@media (min-width: 768px) {
  .warning-card__visual { padding: 40px 32px; min-height: 260px; }
  .warning-card__visual img { max-height: 220px; }
  .warning-card__body { padding: 36px 40px 44px; }
  .warning-card__title { font-size: 26px; }
  .warning-card__text { font-size: 15px; }
}

/* ============= 3. PROBLEM ============= */
.problem { background: var(--bg-soft); }
.problem__title em {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem__story {
  max-width: var(--container-narrow);
  margin: 0 auto 64px;
  display: grid;
  gap: 24px;
}
.problem__story-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
}
.problem__story-title {
  display: flex; align-items: center; gap: 14px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
  padding-bottom: 18px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #0780FF 0%, #57BAFF 100%) 1;
  border-radius: 0;
}
.problem__story-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-button);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
.problem__story-mark--shock {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
}
.problem__story-block p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.95;
  margin-top: 20px;
}
.problem__story-block p strong { color: var(--primary-dark); font-weight: 700; }
.problem__story-block p em {
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--blue-200) 62%);
  padding: 0 3px;
}
.problem__story {
  gap: 56px;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .problem__story-title { font-size: 22px; }
  .problem__story-block p { font-size: 16px; }
  .problem__story { padding: 0 32px; }
}

.voices {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 0;
}
.voices__label {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.voices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .voices__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.voice {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 24px 0;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
  min-height: 173px;
  display: flex;
  flex-direction: column;
}
.voice:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-lg); }
.voice__quote {
  position: absolute;
  top: 12px; left: 18px;
  font-family: serif;
  font-size: 56px;
  line-height: 1;
  background: var(--grad-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  z-index: 1;
}
.voice__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 14px;
  display: block;
  flex-shrink: 0;
  background: #E5EEF5;
}
.voice p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
  flex: 1;
}
.voice p strong { color: var(--primary-dark); font-weight: 700; }
.voice cite {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
  border-top: 1px solid var(--border);
  padding: 10px 0 14px;
  margin-top: auto;
}
@media (min-width: 768px) {
  .voice {
    padding: 24px 24px 0 119px;
    min-height: 173px;
  }
  .voice__avatar {
    position: absolute;
    left: 24px;
    top: 24px;
    margin: 0;
  }
  .voice p {
    margin-top: 6px;
  }
}

/* ============= 4. SOLUTION ============= */
.solution {
  background: var(--grad-bg);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.18) 0%, transparent 35%),
    radial-gradient(circle at 82% 80%, rgba(255,255,255,0.10) 0%, transparent 38%);
  pointer-events: none;
}
.solution > .container { position: relative; z-index: 1; }

.solution__statement {
  max-width: 1092px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 56px 24px 0;
  border: 0;
  border-top: 2px solid rgba(255,255,255,0.22);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.solution__answer-label {
  display: none;
}
.solution__answer {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.solution__answer em {
  background: linear-gradient(90deg, #FFFFFF 0%, #B9E6FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.solution__answer-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  line-height: 1.95;
}
.solution__answer-sub strong { color: #fff; font-weight: 700; }
@media (min-width: 768px) {
  .solution__statement { padding: 80px 64px 0; }
  .solution__answer { font-size: 32px; }
  .solution__answer-sub { font-size: 16px; }
}

.solution__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--container-narrow);
  margin: 0 auto 72px;
}
@media (min-width: 768px) {
  .solution__features { gap: 32px; }
}
.solution-feature {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text);
  transition: transform .25s, box-shadow .25s;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 30, 80, 0.12);
}
.solution-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 30, 80, 0.18);
}
.solution-feature__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 253px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #E5EEF5;
  box-shadow: 0 4px 14px rgba(0, 30, 80, 0.15);
}
.solution-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-feature__body { min-width: 0; }
.solution-feature__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  background: linear-gradient(90deg, #1F61B9 0%, #50ADF2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.solution-feature__title {
  font-size: 24px;
  background: linear-gradient(90deg, #1B5BB5 0%, #51AFF4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.solution-feature__lead {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
}
.solution-feature p { font-size: 14px; line-height: 1.95; margin-bottom: 12px; color: var(--text); }
.solution-feature p strong { color: var(--primary-dark); font-weight: 700; }
.solution-feature__strong {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #0051FF;
}
.solution-feature__strong u {
  text-decoration: none;
  background: linear-gradient(transparent 62%, var(--blue-200) 62%);
  padding: 0 2px;
  color: var(--text);
}
@media (min-width: 768px) {
  .solution-feature {
    padding: 29px;
    grid-template-columns: 253px 1fr;
    gap: 29px;
    align-items: center;
  }
  .solution-feature__visual { margin: 0; max-width: none; }
  .solution-feature__title { font-size: 26px; }
  .solution-feature p { font-size: 15px; }
}

/* Compare visual */
.solution__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .solution__compare { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.solution__compare-card {
  text-align: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.solution__compare-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  background: rgba(224, 36, 94, 0.22);
  color: #FFB3C2;
}
.solution__compare-card--good .solution__compare-label {
  background: rgba(255,255,255,0.20);
  color: #fff;
}
.solution__compare-mock {
  position: relative;
  height: 180px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background-image:
    linear-gradient(to bottom, var(--gray-100) 0 28px, transparent 28px),
    repeating-linear-gradient(0deg, var(--gray-50) 0 1px, transparent 1px 20px);
}
.solution__compare-mock::before {
  content: "";
  position: absolute;
  top: 8px; left: 12px;
  width: 48px; height: 12px;
  background: linear-gradient(90deg, var(--gray-200) 0 14px, transparent 14px 18px, var(--gray-200) 18px 32px, transparent 32px 36px, var(--gray-200) 36px 48px);
}
.mock-banner--full {
  position: absolute;
  inset: 28px 0 0 0;
  background: rgba(15,20,25,0.92);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.mock-banner__title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}
.mock-banner__text { font-size: 11px; opacity: .85; }
.mock-banner--stealth {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mock-banner__icon { font-size: 13px; }
.solution__compare-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.solution__compare-card--good .solution__compare-caption { color: #fff; font-weight: 500; }

/* ============= 5. EASY ============= */
.easy { background: var(--bg); }
.easy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .easy__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.easy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 32px 32px;
  position: relative;
  text-align: left;
  box-shadow: 0 8px 16px rgba(95, 131, 175, 0.12);
  transition: box-shadow .25s, transform .25s;
}
.easy-card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-4px); }
.easy-card--center {
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  border-color: var(--blue-200);
}
.easy-card__num {
  position: absolute;
  top: 14px;
  left: 28px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  background: var(--grad-button);
  padding: 3px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  box-shadow: 0 8px 12px rgba(0, 123, 255, 0.3);
  line-height: 1.4;
  z-index: 1;
}
.easy-card__visual {
  position: absolute;
  top: -28px;
  right: 16px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}
.easy-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  padding-right: 100px;
  min-height: 72px;
}
.easy-card__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 16px;
}
.easy-card__text strong { color: var(--primary-dark); font-weight: 700; }
.easy-card__hint {
  font-size: 12px;
  color: var(--primary-dark);
  background: var(--blue-50);
  padding: 14px 19px;
  border-radius: var(--radius);
  font-weight: 500;
}
.easy-card__code {
  background: #0F1419;
  color: #7CD3FD;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  white-space: nowrap;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .easy-card { padding: 60px 32px 36px; }
  .easy-card__title { font-size: 24px; padding-right: 120px; }
  .easy-card__visual { width: 136px; height: 136px; top: -28px; right: 16px; }
}

/* ============= 6. BENEFITS ============= */
.benefits { background: var(--bg-soft); }
.benefits__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.benefit {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  align-items: start;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
}
.benefit:hover { box-shadow: var(--shadow-card-lg); transform: translateX(4px); }
.benefit__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-button);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-button);
}
.benefit__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.benefit__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}
.benefit__text strong { color: var(--primary-dark); font-weight: 700; }
@media (min-width: 768px) {
  .benefit { padding: 32px 36px; gap: 28px; grid-template-columns: 64px 1fr; }
  .benefit__title { font-size: 20px; }
  .benefit__text { font-size: 15px; }
}

/* ============= 7. STRENGTHS ============= */
.strengths { background: var(--bg); }
.strengths__grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: var(--container); margin: 0 auto;
}
@media (min-width: 768px) {
  .strengths__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .strengths__grid { grid-template-columns: repeat(3, 1fr); }
}
.strength-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.strength-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  background: var(--grad-button);
  opacity: 0.08;
  border-radius: 0 0 var(--radius-lg) 0;
}
.strength-card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-4px); }
.strength-card--accent {
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  border-color: var(--blue-200);
}
.strength-card__num {
  font-size: 28px;
  font-weight: 900;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.strength-card__title {
  font-size: 18px; font-weight: 900; color: var(--text);
  line-height: 1.5; margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.strength-card p { font-size: 14px; color: var(--text-muted); line-height: 1.85; }
@media (min-width: 768px) {
  .strength-card { padding: 36px 32px; }
  .strength-card__title { font-size: 20px; }
}

/* ============= 8. COMPARISON ============= */
.comparison { background: var(--bg-soft); }
.scroll-hint {
  display: block; text-align: center;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 12px; transition: opacity .3s;
}
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
@media (min-width: 768px) { .scroll-hint { display: none; } }

.comparison-wrapper {
  max-width: var(--container); margin: 0 auto;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-lg);
  background: #fff;
}
.comparison-table {
  width: 100%; min-width: 640px;
  border-collapse: collapse; background: #fff;
  font-size: 14px;
}
.comparison-table thead th {
  background: var(--gray-50); color: var(--text-muted);
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  padding: 18px 14px; border-bottom: 1px solid var(--border);
  text-align: center;
}
.comparison-table thead th.comparison-table__feature {
  text-align: left;
}
.comparison-table thead th.comparison-table__own {
  background: var(--grad-button); color: #fff;
  font-size: 14px; font-weight: 900;
  position: relative;
}
.comparison-table thead th.comparison-table__own small {
  display: block; font-size: 10px; opacity: .85; margin-top: 2px; font-weight: 500;
}
.comparison-table tbody th {
  text-align: left; padding: 16px 18px;
  font-size: 13px; font-weight: 700; color: var(--text);
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.comparison-table tbody td {
  padding: 16px; text-align: center;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.comparison-table tbody td.comparison-table__own {
  background: var(--blue-50);
  color: var(--primary-dark); font-weight: 700;
  border-left: 1px solid var(--blue-200);
  border-right: 1px solid var(--blue-200);
}
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:last-child th { border-bottom: 0; }
@media (min-width: 768px) {
  .comparison-table { font-size: 15px; }
  .comparison-table thead th { padding: 22px 18px; }
  .comparison-table tbody td, .comparison-table tbody th { padding: 20px; }
}

/* ============= 9. PRICING ============= */
.pricing { background: var(--bg); }
.pricing__grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: var(--container); margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
}
.pricing-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.pricing-card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-4px); }
.pricing-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-button) border-box;
  box-shadow: var(--shadow-card-lg);
  transform: scale(1.02);
}
@media (max-width: 767px) {
  .pricing-card--featured { transform: none; }
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--grad-button);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 18px; border-radius: var(--radius-pill);
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-button);
}
.pricing-card__name {
  font-size: 22px; font-weight: 900; color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.pricing-card__price {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 0; margin-bottom: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-card__init { font-size: 13px; color: var(--text-muted); }
.pricing-card__init small { font-size: 11px; }
.pricing-card__monthly { font-size: 14px; color: var(--text); }
.pricing-card__monthly strong {
  font-size: 30px; font-weight: 900;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
  letter-spacing: 0.02em;
}
.pricing-card__features { flex: 1; margin-bottom: 24px; }
.pricing-card__features li {
  font-size: 14px; color: var(--text);
  padding: 10px 0 10px 28px; position: relative;
  border-bottom: 1px dashed var(--border);
  line-height: 1.6;
}
.pricing-card__features li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 14px; height: 14px;
  background: var(--grad-button);
  border-radius: 50%;
  background-image:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%);
}
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }
@media (min-width: 768px) {
  .pricing-card__name { font-size: 24px; }
  .pricing-card__monthly strong { font-size: 34px; }
}

/* ============= 10. CLOSING / FORM ============= */
.closing {
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  position: relative;
}
.closing__title em {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.closing__lead {
  text-align: center;
  font-size: 15px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.closing__lead strong { color: var(--primary-dark); font-weight: 700; }
@media (min-width: 768px) {
  .closing__lead { font-size: 16px; margin-bottom: 64px; }
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card-lg);
}
@media (min-width: 768px) {
  .contact-form { padding: 56px 64px; }
}
.form-row { margin-bottom: 24px; }
.form-row--privacy { text-align: center; margin-top: 32px; margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.08em;
}
.badge--required { background: var(--error); color: #fff; }
.badge--any { background: var(--gray-100); color: var(--text-muted); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  background: var(--bg-gray);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.form-radios {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-gray);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.form-radio:hover { background: var(--blue-50); border-color: var(--blue-200); }
.form-radio input[type="radio"] { accent-color: var(--primary); }
.form-radio input[type="radio"]:checked + span { color: var(--primary-dark); font-weight: 700; }
.form-radio:has(input:checked) {
  background: var(--blue-50);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.10);
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
}
.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}
.form-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.error-message {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--error);
}
.input-error {
  border-color: var(--error) !important;
  background: var(--warning-soft) !important;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.form-submit__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============= FOOTER ============= */
.footer {
  background: var(--gray-50);
  color: var(--text-muted);
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer__copy { font-size: 12px; letter-spacing: 0.04em; }

/* ============= MOBILE FIXED CTA ============= */
.fixed-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 99;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  border-radius: var(--radius-pill);
  background: var(--grad-button);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-button);
}
@media (min-width: 768px) {
  .fixed-cta { display: none; }
}

/* ============= THANKS PAGE ============= */
.thanks {
  padding: 140px 0 100px;
  min-height: calc(100vh - 200px);
  background: var(--bg-soft);
}
.thanks__card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-lg);
  padding: 56px 32px;
  text-align: center;
}
.thanks__icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: var(--grad-button);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900;
  box-shadow: var(--shadow-button);
}
.thanks__title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.thanks__lead {
  font-size: 15px; color: var(--text);
  margin-bottom: 24px; line-height: 1.95;
}
.thanks__note {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 36px; line-height: 1.85;
}
.thanks__cta { margin-top: 24px; }
@media (min-width: 768px) {
  .thanks__title { font-size: 32px; }
  .thanks__card { padding: 72px 56px; }
}

/* ============= LEGAL PAGE ============= */
.legal {
  padding: 60px 0 80px;
  background: var(--bg-cream);
  min-height: calc(100vh - 200px);
}
@media (min-width: 768px) { .legal { padding: 80px 0 100px; } }
.legal .section__title { text-align: center; margin-bottom: 48px; }

.legal__table {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  line-height: 1.85;
}
.legal__table th,
.legal__table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.legal__table tr:last-child th,
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table th {
  width: 30%;
  background: var(--bg-soft);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border-right: 3px solid var(--accent);
}
.legal__table td { color: var(--text); }
.legal__table td a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.legal__table td a:hover { color: var(--accent); }

@media (max-width: 767px) {
  .legal__table,
  .legal__table tbody,
  .legal__table tr,
  .legal__table th,
  .legal__table td {
    display: block;
    width: 100%;
  }
  .legal__table tr {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .legal__table tr:last-child { border-bottom: 0; }
  .legal__table th {
    border-right: 0;
    border-bottom: none;
    background: transparent;
    padding: 12px 20px 6px;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.05em;
    white-space: normal;
  }
  .legal__table td {
    padding: 0 20px 12px;
    border-bottom: 0;
  }
}
.legal__back {
  text-align: center;
  margin-top: 48px;
}

/* === Legal: 散文ドキュメント（プライバシーポリシー等） === */
.legal__doc {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  color: var(--text);
  font-size: 14px;
  line-height: 2;
}
@media (min-width: 768px) {
  .legal__doc { padding: 56px 56px; font-size: 15px; }
}
.legal__doc-intro {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.legal__doc-section {
  margin-bottom: 36px;
}
.legal__doc-section:last-of-type { margin-bottom: 0; }
.legal__doc-section h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .legal__doc-section h2 { font-size: 20px; }
}
.legal__doc-section h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 12px;
  line-height: 1.6;
}
.legal__doc-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 18px 0 6px;
  line-height: 1.6;
}
.legal__doc-section p {
  margin: 0 0 14px;
}
.legal__doc-section p:last-child { margin-bottom: 0; }
.legal__doc-section ul {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
}
.legal__doc-section ul li {
  position: relative;
  padding: 4px 0 4px 22px;
  line-height: 1.85;
}
.legal__doc-section ul li::before {
  content: "・";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.legal__doc-section ol.legal__doc-ol {
  margin: 8px 0 16px;
  padding-left: 0;
  list-style: none;
  counter-reset: legal-counter;
}
.legal__doc-section ol.legal__doc-ol > li {
  position: relative;
  padding: 4px 0 4px 32px;
  line-height: 1.95;
  counter-increment: legal-counter;
}
.legal__doc-section ol.legal__doc-ol > li::before {
  content: counter(legal-counter) ".";
  position: absolute;
  left: 4px;
  top: 4px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  min-width: 22px;
}
.legal__doc-section ol.legal__doc-ol > li > ul {
  margin: 8px 0 4px;
}

/* ネストされた条文 (例: 第5条第5項のアップグレード/ダウングレード細目) */
.legal__doc-section ol.legal__doc-ol--nested {
  counter-reset: legal-sub-counter;
  margin: 10px 0 4px 0;
}
.legal__doc-section ol.legal__doc-ol--nested > li {
  counter-increment: legal-sub-counter;
  padding: 4px 0 4px 36px;
}
.legal__doc-section ol.legal__doc-ol--nested > li::before {
  content: "(" counter(legal-sub-counter) ")";
  left: 0;
}
.legal__doc-section ul li a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.legal__doc-section ul li a:hover { color: var(--accent); }
.legal__doc-contact {
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  line-height: 1.9;
}

/* 業務委託先一覧などの表 */
.legal__doc-table-wrap {
  margin: 16px 0 8px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.legal__doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.legal__doc-table thead {
  background: var(--bg-soft);
}
.legal__doc-table th,
.legal__doc-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal__doc-table th {
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.legal__doc-table tbody tr:last-child td {
  border-bottom: none;
}
.legal__doc-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}
@media (max-width: 640px) {
  .legal__doc-table th,
  .legal__doc-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}
.legal__doc-revision {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ============= FOOTER LINKS ============= */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 8px;
}
.footer__link {
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.footer__link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer__link + .footer__link::before {
  content: "|";
  position: absolute;
  left: -14px;
  color: var(--border);
}

/* ============= Hero CTA Secondary ============= */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (min-width: 768px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }
  .hero__cta-note {
    flex-basis: 100%;
    text-align: center;
    margin-top: 8px;
  }
}
.hero__cta-secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}
.hero__cta-secondary small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

/* ============= FAQ ============= */
.faq {
  background: var(--bg-soft);
}
.faq__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item:hover {
  box-shadow: var(--shadow-card-lg);
}
.faq-item__q {
  padding: 20px 56px 20px 60px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.55;
  user-select: none;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 22px;
  top: 19px;
  width: 28px;
  height: 28px;
  background: var(--grad-button);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.faq-item__q::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq-item[open] .faq-item__q::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-item__a {
  padding: 4px 24px 22px 60px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.95;
  position: relative;
}
.faq-item__a::before {
  content: "A";
  position: absolute;
  left: 22px;
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--blue-50);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--blue-200);
}
@media (min-width: 768px) {
  .faq-item__q { padding: 24px 60px 24px 70px; font-size: 16px; }
  .faq-item__q::before { left: 26px; top: 22px; }
  .faq-item__a { padding: 4px 28px 26px 70px; font-size: 15px; }
  .faq-item__a::before { left: 26px; }
}

/* ============= Pricing CTA small text ============= */
.pricing-card__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}
.pricing-card__cta small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}
