/* VECYRA site — dark graphite theme, system typography, zero external assets */

:root {
  --bg: #0e1013;
  --bg-deep: #0a0c0f;
  --bg-raise: #14171c;
  --surface: #161a20;
  --surface-2: #1a1f27;
  --ink: #e8eaee;
  --ink-soft: #c3c8d0;
  --muted: #9aa1ad;
  --faint: #6b7178;
  --line: #262b33;
  --line-soft: #20242b;
  --accent: #5b9dd9;
  --accent-bright: #7db3e6;
  --accent-deep: #2f6fa8;
  --accent-tint: rgba(91, 157, 217, .12);
  --accent-line: rgba(91, 157, 217, .38);
  --green: #4fae7e;
  --green-tint: rgba(79, 174, 126, .12);
  --amber: #d9a45b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .22);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .32), 0 12px 32px rgba(0, 0, 0, .34);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .36), 0 28px 64px rgba(0, 0, 0, .44);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { scroll-margin-top: 84px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); letter-spacing: -0.022em; }
h3 { font-size: 1.12rem; }
.kicker {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .94rem/1 var(--font); letter-spacing: .01em;
  padding: 13px 22px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-deep); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-primary:hover { background: #3a80bd; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #3a3f4a; }
.btn-ghost:hover { border-color: #9aa1ad; background: rgba(255,255,255,.04); }
.btn-light { background: #e8eaee; color: #14171c; }
.btn-light:hover { background: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 16, 19, .84);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: inline-flex; align-items: center; text-decoration: none !important; }
.brand-chip {
  display: inline-flex; align-items: center; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px 5px 6px;
}
.brand-chip img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: .9rem; font-weight: 550; color: var(--muted); padding: 8px 12px;
  border-radius: 7px; text-decoration: none !important; position: relative;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--accent-bright); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.nav-toggle svg { display: block; }

/* ---------- hero (home) ---------- */
.hero { padding: 84px 0 30px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(232, 234, 238, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-grid > *, .dive-row > *, .price-grid > *, .modules-grid > *, .feature-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: .83rem; color: var(--faint); display: flex; gap: 8px; align-items: center; }
.hero-note svg { flex: none; }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 76px 0 20px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(232, 234, 238, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin-bottom: 18px; max-width: 20ch; }
.page-hero .lead { margin-bottom: 26px; }
.page-hero .hero-ctas { margin-bottom: 8px; }

/* ---------- badges / chips ---------- */
.badge-beta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); background: rgba(217, 164, 91, .1);
  border: 1px solid rgba(217, 164, 91, .42); border-radius: 999px; padding: 6px 14px;
}
.badge-beta svg { flex: none; }
.chip {
  display: inline-block; font-size: .76rem; font-weight: 650; color: var(--accent-bright);
  background: var(--accent-tint); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 5px 13px; white-space: nowrap;
}
.chip.price { color: var(--ink); font-size: .86rem; font-weight: 700; }

/* ---------- browser frame ---------- */
.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--bg-raise); border-bottom: 1px solid var(--line-soft);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2c313a; }
.browser-dots span:first-child { background: #343a45; }
.browser-url {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: .72rem; color: var(--faint);
  background: var(--bg-deep); border: 1px solid var(--line-soft); border-radius: 6px; padding: 4px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-raise); }
.proof-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-item { padding: 26px 20px; border-left: 1px solid var(--line-soft); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.proof-num em { font-style: normal; color: var(--accent-bright); }
.proof-label { font-size: .8rem; color: var(--muted); margin-top: 3px; }

/* ---------- generic section ---------- */
.section { padding: 88px 0; }
.section.tinted { background: var(--bg-raise); }
.section.deep { background: var(--bg-deep); }
.section-head { max-width: 740px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- module lens strip ---------- */
.lens-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 44px; }
.lens {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px; background: var(--surface); text-decoration: none !important;
  transition: border-color .15s, transform .15s;
}
.lens:hover { border-color: var(--accent); transform: translateY(-2px); }
.lens svg { margin-bottom: 10px; }
.lens-name { font-size: .86rem; font-weight: 650; color: var(--ink); }
.lens-tag { font-size: .7rem; color: var(--faint); margin-top: 2px; }

/* ---------- modules grid (cards) ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #343a45; }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.module-glyph {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-tint); border: 1px solid var(--accent-line);
}
.module-price { text-align: right; }
.module-price .amount { font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.module-price .per { font-size: .74rem; color: var(--faint); }
.module-card h3 { margin-bottom: 8px; }
.module-purpose { font-size: .92rem; color: var(--muted); margin-bottom: 16px; min-height: 3.1em; }
.module-caps { list-style: none; margin-bottom: 20px; flex: 1; }
.module-caps li {
  font-size: .87rem; color: var(--ink-soft); padding: 5px 0 5px 24px; position: relative;
  border-top: 1px solid var(--line-soft);
}
.module-caps li:first-child { border-top: 0; }
.module-caps li::before {
  content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px;
  border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.module-link { font-size: .88rem; font-weight: 600; }
.module-card.core { background: var(--bg-deep); border-color: var(--line); grid-column: span 3; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.module-card.core .module-purpose { min-height: 0; margin: 6px 0 0; }
.core-badge {
  font-size: .78rem; font-weight: 650; color: var(--accent-bright); background: var(--accent-tint);
  border: 1px solid var(--accent-line); padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------- deep-dive rows ---------- */
.dive-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; }
.dive-row + .dive-row { border-top: 1px solid var(--line-soft); }
.dive-row.flip .dive-media { order: 2; }
.dive-media .browser { box-shadow: var(--shadow-md); }
.dive-copy .kicker { margin-bottom: 10px; }
.dive-copy h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 14px; }
.dive-copy p { color: var(--muted); margin-bottom: 18px; }
.dive-list { list-style: none; }
.dive-list li { padding: 7px 0 7px 30px; position: relative; font-size: .94rem; color: var(--ink-soft); }
.dive-list li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-48deg); border-radius: 1px;
}
.dive-list li strong { color: var(--ink); }

/* ---------- feature grid (method/differentiator cards) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.feature-card svg { margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: var(--muted); }
.feature-card code { font-family: var(--mono); font-size: .82em; background: var(--bg-deep); border: 1px solid var(--line-soft); border-radius: 5px; padding: 1px 6px; color: var(--accent-bright); }
.feature-banner {
  margin-bottom: 22px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent-deep); border-radius: var(--radius);
  padding: 22px 28px; font-size: .95rem; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.feature-banner strong { color: var(--ink); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card h3 { margin-bottom: 4px; }
.price-card .price-sub { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.price-figure { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-figure .cur { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-figure .val { font-size: 2.5rem; font-weight: 780; letter-spacing: -.03em; }
.price-figure .per { font-size: .82rem; color: var(--faint); }
.price-basis { font-size: .78rem; color: var(--faint); margin-bottom: 22px; min-height: 1.2em; }
.price-list { list-style: none; flex: 1; margin-bottom: 24px; }
.price-list li { font-size: .89rem; color: var(--ink-soft); padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--line-soft); }
.price-list li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-48deg); }
.price-card .btn { justify-content: center; }
.price-card.suite { background: var(--bg-deep); border-color: var(--accent-line); box-shadow: var(--shadow-lg); position: relative; overflow: visible; }
.price-card.suite .price-figure .val { color: #fff; }
.suite-flag {
  position: absolute; top: -13px; left: 30px; font-size: .7rem; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--accent-deep); padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(47,111,168,.4);
}
.suite-save { font-size: .8rem; color: var(--green); font-weight: 650; }

.price-table-wrap { margin-top: 56px; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.price-table caption { text-align: left; font-size: .8rem; color: var(--faint); padding: 0 0 10px 2px; caption-side: top; }
.price-table th, .price-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-raise); font-weight: 700; }
.price-table td.num, .price-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr.suite-row td { background: var(--accent-tint); }
.price-table .mod { font-weight: 600; color: var(--ink); }
.price-table .mod span { display: block; font-weight: 400; font-size: .78rem; color: var(--faint); }
.pricing-notes { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .83rem; color: var(--muted); }
.pricing-notes span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-notes svg { flex: none; }

/* ---------- pill anchor nav ---------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.pill-nav a {
  font-size: .84rem; font-weight: 600; color: var(--muted); text-decoration: none !important;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px;
  transition: color .15s, border-color .15s;
}
.pill-nav a:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- module detail sections (modules page) ---------- */
.module-detail { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.module-detail:first-of-type { border-top: 0; }
.module-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.module-detail-grid > * { min-width: 0; }
.module-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.module-detail-head h2 { margin: 0; font-size: 1.7rem; }
.module-detail p.lead-p { color: var(--muted); margin-bottom: 20px; font-size: .98rem; }

/* ---------- steps (Smart Workbook round-trip) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  font: 700 .85rem var(--mono); color: var(--accent-bright);
  background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: 8px;
}
.step h3 { font-size: .95rem; margin-bottom: 6px; }
.step p { font-size: .83rem; color: var(--muted); }
.step-arrow { display: none; }

/* ---------- docs cards ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; text-decoration: none !important; box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.doc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.doc-card h3 { margin-bottom: 8px; }
.doc-card p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.doc-card .doc-link { font-size: .84rem; font-weight: 600; color: var(--accent-bright); }
.doc-card.soon { opacity: .75; }
.doc-card.soon:hover { border-color: var(--line); transform: none; }

/* ---------- changelog ---------- */
.cl-entry { border-top: 1px solid var(--line-soft); padding: 40px 0; }
.cl-entry:first-of-type { border-top: 0; }
.cl-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.cl-head h2 { font-size: 1.35rem; margin: 0; }
.cl-date { font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.cl-tag { font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); background: rgba(217,164,91,.1); border: 1px solid rgba(217,164,91,.42); border-radius: 999px; padding: 3px 10px; }
.cl-entry p.cl-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; max-width: 68ch; }
.cl-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 44px; }
.cl-list { list-style: none; }
.cl-list li { font-size: .9rem; color: var(--ink-soft); padding: 5px 0 5px 24px; position: relative; }
.cl-list li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* ---------- prose (legal / about) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.02rem; margin: 26px 0 8px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: var(--muted); font-size: .95rem; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink-soft); }
.prose .updated { font-family: var(--mono); font-size: .78rem; color: var(--faint); margin-bottom: 28px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.02rem var(--font); color: var(--ink); padding: 22px 4px;
}
.faq-q:hover { color: var(--accent-bright); }
.faq-q .chev { flex: none; transition: transform .22s; color: var(--faint); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 4px 24px; color: var(--muted); font-size: .95rem; max-width: 64ch; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--bg-deep); border-top: 1px solid var(--line-soft); color: var(--ink-soft); padding: 88px 0; text-align: center; }
.cta-band .kicker { color: var(--accent); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 32px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

.footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); color: var(--muted); padding: 64px 0 36px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand-chip { margin-bottom: 16px; }
.footer-tag { color: var(--faint); max-width: 32ch; }
.footer h4 { color: var(--ink-soft); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-base { border-top: 1px solid var(--line-soft); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem; color: var(--faint); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .modules-grid, .price-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.core { grid-column: span 2; }
  .lens-strip { grid-template-columns: repeat(4, 1fr); }
  .proof-inner { grid-template-columns: repeat(3, 1fr); }
  .proof-item { padding-left: 20px; }
  .proof-item:nth-child(4) { border-left: 0; padding-left: 0; }
  .feature-grid.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .module-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 52px 0 12px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-raise); border-bottom: 1px solid var(--line); padding: 12px 18px 18px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 12px; font-size: 1rem; }
  .hero { padding: 52px 0 20px; }
  .modules-grid, .price-grid, .feature-grid, .feature-grid.three, .doc-grid { grid-template-columns: 1fr; }
  .module-card.core { grid-column: span 1; grid-template-columns: 1fr; gap: 14px; }
  .lens-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-inner { grid-template-columns: 1fr 1fr; }
  .proof-item { border-left: 0; padding-left: 0; }
  .dive-row { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .dive-row.flip .dive-media { order: 0; }
  .price-figure .val { font-size: 2.1rem; }
  .steps { grid-template-columns: 1fr; }
  .cl-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { flex-direction: column; gap: 8px; }
}
