:root {
  color-scheme: light;
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --surface-blue: #edf4fb;
  --text: #182533;
  --muted: #637282;
  --subtle: #7b8895;
  --line: #dce4eb;
  --line-strong: #cbd6df;
  --brand: #2e6388;
  --brand-hover: #255676;
  --brand-soft: #e5f0f7;
  --warm: #9a6a2f;
  --warm-soft: #f6efe4;
  --rest: #4f7468;
  --rest-soft: #eaf3ef;
  --recall: #625e87;
  --recall-soft: #efedf6;
  --shadow: 0 18px 52px rgba(28, 45, 62, 0.09);
  --shadow-soft: 0 12px 36px rgba(30, 48, 64, 0.055);
  --radius: 18px;
  --radius-sm: 11px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: -1;
  background: radial-gradient(circle at 74% 6%, rgba(46,99,136,.11), transparent 35%), linear-gradient(180deg,#f8fbfd 0%,rgba(248,251,253,0) 100%);
  pointer-events: none;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(220,228,235,.86); background: rgba(248,251,253,.9); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav > a { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 10px; color: #4d5d6b; text-decoration: none; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { background: #e8f0f5; color: #244f6e; }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; font-size: 16px; font-weight: 550; text-decoration: none; transition: background 120ms ease, border-color 120ms ease, transform 120ms ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-hover); color: #fff; }
.button-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.button-secondary:hover { background: var(--surface-soft); color: var(--text); }
.button.is-pending { background: #e8edf1; border-color: #d8e0e6; color: #5d6b77; cursor: default; }
.header-cta { margin-left: 8px; }

.hero { padding: 88px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: clamp(42px,7vw,84px); align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 16px; font-weight: 550; letter-spacing: .025em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(42px,6.2vw,72px); line-height: 1.03; font-weight: 540; letter-spacing: -.045em; }
.hero-lede { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px,2vw,21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; color: #546575; font-size: 16px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rest); }

.product-card { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.product-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; top: -90px; border-radius: 50%; background: rgba(46,99,136,.065); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 16px; font-weight: 550; }
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.session-time { color: var(--muted); font-size: 16px; }
.product-copy { padding: 44px 2px 26px; }
.product-copy h2 { margin: 0; font-size: 34px; line-height: 1.16; font-weight: 540; letter-spacing: -.03em; }
.product-copy p { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.product-actions { margin-top: 26px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.metric { min-height: 90px; padding: 14px; border-radius: 13px; background: var(--surface-soft); }
.metric span { display: block; color: var(--muted); font-size: 16px; }
.metric strong { display: block; margin-top: 5px; font-size: 20px; font-weight: 550; }
.product-footer { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }

.section { padding: 72px 0; }
.section-tight { padding: 54px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2, .page-hero h1 { margin: 0; font-size: clamp(34px,4.5vw,50px); line-height: 1.1; font-weight: 540; letter-spacing: -.035em; }
.section-head p, .page-hero p { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.flow-step { position: relative; min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.flow-step .number { color: var(--subtle); font-size: 16px; }
.flow-step h3 { margin: 24px 0 8px; font-size: 21px; font-weight: 550; letter-spacing: -.02em; }
.flow-step p { margin: 0; color: var(--muted); font-size: 16px; }
.flow-step:nth-child(3) { background: var(--warm-soft); }
.flow-step:nth-child(4) { background: var(--rest-soft); }
.flow-step:nth-child(5) { background: var(--recall-soft); }

.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.card h3 { margin: 0 0 9px; font-size: 22px; font-weight: 550; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .kicker { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: 16px; font-weight: 550; }

.band { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#f5f9fc,#eef4f7); box-shadow: var(--shadow-soft); }
.band-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 46px; align-items: center; }
.band h2 { margin: 0; font-size: 32px; font-weight: 540; letter-spacing: -.03em; }
.band p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }

.audio-list { display: grid; gap: 10px; }
.audio-item { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.audio-item:last-child { border-bottom: 0; }
.audio-item span:last-child { color: var(--muted); text-align: right; }

.privacy-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.privacy-pill { min-height: 118px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.privacy-pill strong { display: block; font-size: 18px; font-weight: 550; }
.privacy-pill span { display: block; margin-top: 5px; color: var(--muted); font-size: 16px; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 38px; border-radius: 22px; background: #233b4d; color: #fff; box-shadow: var(--shadow); }
.cta-card h2 { margin: 0; font-size: 32px; font-weight: 530; letter-spacing: -.03em; }
.cta-card p { margin: 8px 0 0; color: #cbd8e2; font-size: 17px; }
.cta-card .button-primary { background: #fff; color: #233b4d; }
.cta-card .button-primary:hover { background: #edf3f6; color: #233b4d; }
.cta-card .button.is-pending { background: #dce4e9; color: #455967; border-color: transparent; }

.page-hero { padding: 76px 0 48px; max-width: 850px; }
.content-layout { display: grid; grid-template-columns: 230px minmax(0,760px); gap: 54px; padding-bottom: 84px; }
.side-index { position: sticky; top: 102px; align-self: start; display: grid; gap: 8px; }
.side-index a { padding: 8px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 16px; }
.side-index a:hover { background: var(--surface-soft); color: var(--text); }
.prose section { scroll-margin-top: 100px; margin-bottom: 42px; }
.prose h2 { margin: 0 0 12px; font-size: 28px; font-weight: 550; letter-spacing: -.025em; }
.prose h3 { margin: 26px 0 8px; font-size: 21px; font-weight: 550; }
.prose p, .prose li { color: #405160; font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.callout { margin: 24px 0; padding: 18px 20px; border-radius: 13px; background: var(--surface-blue); color: #40576b; font-size: 16px; }
.reference-list { display: grid; gap: 12px; margin-top: 18px; }
.reference { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reference strong { font-weight: 550; }
.reference p { margin: 5px 0 0; }

.faq { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
summary { min-height: 54px; display: flex; align-items: center; padding: 14px 18px; cursor: pointer; font-size: 17px; font-weight: 550; }
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 16px; }

.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: #f8fafb; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2,.7fr); gap: 34px; padding: 42px 0; }
.footer-copy { max-width: 450px; color: var(--muted); font-size: 16px; }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col strong { font-size: 16px; font-weight: 550; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 16px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 16px; }

@media (max-width: 980px) {
  .hero-grid, .band-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 620px; }
  .flow { grid-template-columns: repeat(2,1fr); }
  .flow-step:last-child { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .privacy-strip { grid-template-columns: repeat(2,1fr); }
  .content-layout { grid-template-columns: 1fr; gap: 20px; }
  .side-index { position: static; display: flex; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 28px,1180px); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: grid; }
  .header-cta { margin: 0; }
  .hero { padding: 62px 0 48px; }
  .hero h1 { font-size: clamp(40px,13vw,58px); }
  .metric-grid { grid-template-columns: 1fr; }
  .flow, .card-grid, .privacy-strip, .footer-grid { grid-template-columns: 1fr; }
  .flow-step:last-child { grid-column: auto; }
  .section { padding: 56px 0; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .audio-item { flex-direction: column; gap: 4px; }
  .audio-item span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
