/* ═══════════════════════════════════════════════════════════
   VANTAGESTUDIOWORKS — SHARED STYLESHEET
   Parent theme: ivory / editorial / serif
   Product theme: navy / functional / sans
   ═══════════════════════════════════════════════════════════ */

:root {
  --ivory: #F4F1E8;
  --ivory-warm: #EFEADE;
  --ink: #1A1E2A;
  --ink-soft: #5C6170;
  --ink-mute: #6B6E7A;
  --gold: #C7A857;
  --gold-deep: #A08438;
  --line: #DDD8CB;

  --navy: #0F1B2D;
  --navy-lift: #142438;
  --navy-deep: #0A1322;
  --navy-line: #2E4058;
  --cream: #EFE9DA;
  --slate: #8C97A8;
  --slate-dim: #6B7A8D;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

body.theme-parent { background: var(--ivory); color: var(--ink); }
body.theme-product { background: var(--navy); color: var(--cream); }

/* ─── PAGE LOAD FADE ─── */
body { opacity: 0; animation: pageIn 0.6s var(--ease) forwards; }
@keyframes pageIn { to { opacity: 1; } }
body.leaving { opacity: 0; transition: opacity 0.3s ease; }

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--gold); z-index: 200; transition: width 0.1s linear;
}

/* ─── GRAIN TEXTURE ─── */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 20px 48px; display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: padding 0.4s var(--ease), background 0.4s;
}
.nav.scrolled { padding: 13px 48px; }
.theme-parent .nav { background: rgba(244,241,232,0.85); border-bottom: 1px solid rgba(221,216,203,0.5); }
.theme-product .nav { background: rgba(15,27,45,0.85); border-bottom: 1px solid rgba(46,64,88,0.4); }

.nav-logo { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.theme-parent .nav-logo { color: var(--ink); }
.theme-product .nav-logo { color: var(--cream); font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.nav-logo .dot { color: var(--gold); }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; position: relative; padding: 4px 0;
  transition: color 0.25s;
}
.theme-parent .nav-links a { color: var(--ink-mute); }
.theme-parent .nav-links a:hover, .theme-parent .nav-links a.current { color: var(--ink); }
.theme-product .nav-links a { color: var(--slate); }
.theme-product .nav-links a:hover, .theme-product .nav-links a.current { color: var(--cream); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.current::after { width: 100%; }

.nav-cta {
  padding: 9px 20px; font-size: 13px; font-weight: 600; border-radius: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none; }
.theme-parent .nav-links a.nav-cta { background: var(--ink); color: var(--ivory); }
.theme-parent .nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,30,42,0.25); color: var(--ivory); }
.theme-product .nav-links a.nav-cta { background: var(--gold); color: var(--navy); border-radius: 6px; }
.theme-product .nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(199,168,87,0.3); color: var(--navy); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; }
.theme-parent .nav-toggle { color: var(--ink); }
.theme-product .nav-toggle { color: var(--cream); }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 15px 30px; font-size: 14.5px; font-weight: 600; border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  font-family: var(--sans);
}
.btn-dark { background: var(--ink); color: var(--ivory); border-radius: 3px; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,30,42,0.25); color: var(--ivory); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 3px; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(26,30,42,0.03); }
.btn-gold { background: var(--gold); color: var(--navy); border-radius: 6px; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(199,168,87,0.32); color: var(--navy); }
.btn-outline { border: 1px solid var(--navy-line); color: var(--cream); background: transparent; border-radius: 6px; }
.btn-outline:hover { border-color: var(--gold); background: rgba(199,168,87,0.06); color: var(--cream); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ═══════════════════ REVEAL ═══════════════════ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: 0.08s; } .rv-2 { transition-delay: 0.16s; }
.rv-3 { transition-delay: 0.24s; } .rv-4 { transition-delay: 0.32s; }
.rv-5 { transition-delay: 0.40s; } .rv-6 { transition-delay: 0.48s; }

/* Line-by-line headline reveal */
.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: block; transform: translateY(105%);
  transition: transform 0.9s var(--ease);
}
.rv.in .split-line > span { transform: none; }
.rv.in .split-line:nth-child(2) > span { transition-delay: 0.1s; }
.rv.in .split-line:nth-child(3) > span { transition-delay: 0.2s; }
.rv.in .split-line:nth-child(4) > span { transition-delay: 0.3s; }

/* ═══════════════════ SHARED LAYOUT ═══════════════════ */
.wrap { max-width: 1140px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.wrap-tight { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
section { position: relative; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
}
.theme-parent .eyebrow { color: var(--gold-deep); }
.theme-product .eyebrow { color: var(--gold); }
.eyebrow .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex: none; }
.theme-product .eyebrow .dot { border-radius: 1px; }

.h-serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; color: var(--ink); }
.h-sans { font-family: var(--sans); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; color: var(--cream); }
.h-xl { font-size: clamp(40px, 5.6vw, 66px); }
.h-lg { font-size: clamp(30px, 3.8vw, 44px); }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.gold-i { font-style: italic; color: var(--gold-deep); }
.theme-product .gold-i { color: var(--gold); font-style: normal; }

.lede { font-size: 17.5px; line-height: 1.68; }
.theme-parent .lede { color: var(--ink-soft); }
.theme-product .lede { color: #A0ABBA; }

.rule { width: 44px; height: 2px; background: var(--gold); border-radius: 1px; }

/* ═══════════════════ PARENT SECTIONS ═══════════════════ */
.hero-parent {
  min-height: 88vh; display: flex; align-items: center;
  padding: 90px 48px 100px; overflow: hidden;
}
.hero-parent h1 { max-width: 780px; margin-bottom: 28px; }
.hero-parent .lede { max-width: 500px; margin-bottom: 42px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Seal */
.seal { position: absolute; right: 7%; top: 50%; width: 190px; height: 190px; z-index: 1; }
.seal .ring { position: absolute; inset: 0; border: 1px solid rgba(186,150,110,0.3); border-radius: 50%; }
.seal .ring:nth-child(2) { inset: 22px; border-color: rgba(186,150,110,0.16); }
.seal .txt {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(186,150,110,0.5); line-height: 1.6;
}
.gold-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.4;
}

.sec { padding: 120px 48px; }
.sec-warm { background: var(--ivory-warm); }
.sec-head { margin-bottom: 64px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head .lede { max-width: 560px; }
.sec-head.center .lede { margin: 0 auto; }

/* Numbered approach steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--ivory); padding: 44px 36px; transition: background 0.35s; }
.step:hover { background: #FAF8F2; }
.step .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 26px; }
.step h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.25; }
.step p { font-size: 14.5px; line-height: 1.68; color: var(--ink-soft); }
.sec-warm .step { background: var(--ivory-warm); }
.sec-warm .step:hover { background: #F4EFE3; }

/* Product list rows */
.prod-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 32px; align-items: center;
  padding: 40px 32px; border-top: 1px solid var(--line);
  transition: background 0.35s, padding-left 0.35s var(--ease);
  position: relative;
}
.prod-row:last-child { border-bottom: 1px solid var(--line); }
.prod-row.live { cursor: pointer; }
.prod-row.live:hover { background: rgba(255,255,255,0.5); padding-left: 44px; }
.prod-row .idx { font-family: var(--mono); font-size: 12px; color: var(--gold-deep); }
.prod-row h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.prod-row p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); max-width: 520px; }
.prod-row .tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 3px; white-space: nowrap;
}
.tag-live { background: rgba(199,168,87,0.14); color: var(--gold-deep); }
.tag-soon { background: rgba(26,30,42,0.05); color: #999; }
.prod-row.soon { opacity: 0.5; }
.prod-row .go { font-size: 20px; color: var(--gold-deep); opacity: 0; transform: translateX(-8px); transition: all 0.3s var(--ease); }
.prod-row.live:hover .go { opacity: 1; transform: none; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat .big { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: var(--ink); line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--ink-mute); margin-top: 12px; line-height: 1.5; }

/* CTA band */
.cta-band { padding: 130px 48px; text-align: center; background: var(--ivory-warm); }
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { font-size: 17px; color: var(--ink-soft); margin-bottom: 38px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ═══════════════════ PRODUCT SECTIONS ═══════════════════ */
.hero-product { padding: 110px 48px 70px; text-align: center; overflow: hidden; position: relative; }
.hero-product::before {
  content: ''; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(199,168,87,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-product .eyebrow { justify-content: center; }
.hero-product h1 { max-width: 760px; margin: 0 auto 22px; }
.hero-product .lede { max-width: 540px; margin: 0 auto 40px; }
.hero-product .hero-ctas { justify-content: center; }

.sec-dark { padding: 110px 48px; }
.sec-dark.lift { background: var(--navy-lift); }
.sec-dark .sec-head h2 { color: var(--cream); }

/* Feature cards */
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f-card {
  background: rgba(255,255,255,0.028); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 34px 30px; position: relative; overflow: hidden;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.f-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(199,168,87,0.08), transparent 45%);
}
.f-card:hover { border-color: rgba(199,168,87,0.28); transform: translateY(-3px); }
.f-card:hover::before { opacity: 1; }
.f-card .ico {
  width: 38px; height: 38px; background: rgba(199,168,87,0.12); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.f-card .ico svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.f-card h4 { font-size: 15.5px; font-weight: 700; color: var(--cream); margin-bottom: 9px; position: relative; }
.f-card p { font-size: 13.5px; line-height: 1.65; color: var(--slate); position: relative; }

/* Screenshot browser */
.ss-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.ss-tab {
  padding: 8px 17px; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 20px;
  color: var(--slate-dim); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s; white-space: nowrap;
}
.ss-tab:hover { color: #A0ABBA; background: rgba(255,255,255,0.08); }
.ss-tab.on { color: var(--navy); background: var(--gold); border-color: var(--gold); }

.ss-view {
  border-radius: 12px; overflow: hidden; background: #16263c;
  box-shadow: 0 40px 110px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
}
.ss-bar { padding: 11px 16px; display: flex; align-items: center; gap: 8px; background: #16263c; }
.ss-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ss-bar i:nth-child(1) { background: #ff5f57; } .ss-bar i:nth-child(2) { background: #ffbd2e; } .ss-bar i:nth-child(3) { background: #28c840; }
.ss-url {
  flex: 1; margin-left: 12px; background: rgba(255,255,255,0.07); border-radius: 6px;
  padding: 5px 13px; font-size: 11px; color: var(--slate); font-family: var(--mono);
}
.ss-stage { position: relative; background: #fff; }
.ss-stage img { width: 100%; display: none; }
.ss-stage img.on { display: block; animation: ssFade 0.5s var(--ease); }
@keyframes ssFade { from { opacity: 0; transform: scale(0.99); } to { opacity: 1; transform: none; } }

.ss-pins { position: absolute; inset: 0; pointer-events: none; display: none; }
.ss-pins.on { display: block; }
.ss-pin {
  position: absolute; background: var(--gold); color: var(--navy);
  padding: 6px 13px; border-radius: 5px; font-size: 11px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35); white-space: nowrap;
  opacity: 0; transform: translateY(8px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.ss-pin::after {
  content: ''; position: absolute; bottom: -4px; left: 16px; width: 9px; height: 9px;
  background: var(--gold); transform: rotate(45deg);
}
.ss-pin.show { opacity: 1; transform: none; }
.ss-cap { text-align: center; margin-top: 24px; font-size: 14px; color: var(--slate); line-height: 1.65; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Interactive demo */
.demo-tabs { display: flex; gap: 4px; padding: 0 10px; }
.demo-tab {
  padding: 11px 22px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  color: var(--slate-dim); background: rgba(255,255,255,0.04);
  border: 1px solid transparent; border-bottom: none; border-radius: 9px 9px 0 0;
  transition: all 0.25s;
}
.demo-tab:hover { color: #A0ABBA; background: rgba(255,255,255,0.07); }
.demo-tab.on { color: var(--gold-deep); background: #fff; border-color: #E8E3D8; }

.demo-frame {
  background: #fff; border-radius: 0 12px 12px 12px; overflow: hidden; position: relative;
  min-height: 430px; box-shadow: 0 40px 110px rgba(0,0,0,0.5);
}
.demo-side {
  position: absolute; left: 0; top: 0; bottom: 0; width: 54px; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; padding: 15px 0; gap: 13px;
}
.demo-side .lg { width: 29px; height: 29px; background: rgba(199,168,87,0.2); border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; }
.demo-side .ic { width: 23px; height: 23px; border-radius: 5px; background: rgba(255,255,255,0.06); cursor: pointer; transition: background 0.25s; display: flex; align-items: center; justify-content: center; }
.demo-side .ic:hover { background: rgba(255,255,255,0.14); }
.demo-side .ic.on { background: rgba(199,168,87,0.28); }
.demo-side .ic svg { width: 12px; height: 12px; stroke: var(--slate); fill: none; stroke-width: 1.4; }
.demo-side .ic.on svg { stroke: var(--gold); }

.demo-body { margin-left: 54px; padding: 24px 28px; min-height: 430px; }
.demo-pane { display: none; }
.demo-pane.on { display: block; animation: paneIn 0.35s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.demo-h { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.demo-h .pill { font-family: var(--mono); font-size: 9px; color: var(--gold-deep); background: rgba(199,168,87,0.12); padding: 3px 8px; border-radius: 3px; }

.d-stats { display: flex; gap: 11px; margin-bottom: 18px; }
.d-stat { flex: 1; background: #F9F7F2; border: 1px solid #EEEADF; border-radius: 9px; padding: 15px; cursor: pointer; transition: border-color 0.25s, transform 0.2s; }
.d-stat:hover { border-color: var(--gold); transform: translateY(-2px); }
.d-stat .l { font-size: 9.5px; color: #8A8574; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px; }
.d-stat .v { font-size: 21px; font-weight: 700; color: var(--ink); }
.d-stat .v small { font-size: 11px; font-weight: 500; color: #3B9B6E; margin-left: 4px; }
.d-stat .s { font-size: 10.5px; color: #8A8574; margin-top: 3px; }

.d-tbl { background: #F9F7F2; border: 1px solid #EEEADF; border-radius: 9px; padding: 15px; }
.d-tbl-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.d-tbl-h span:first-child { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.d-tbl-h .pill { font-family: var(--mono); font-size: 9px; color: var(--gold-deep); background: rgba(199,168,87,0.12); padding: 2px 7px; border-radius: 3px; }
.d-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 9px; border-bottom: 1px solid #EEEADF; font-size: 11.5px;
  cursor: pointer; border-radius: 5px; transition: background 0.2s;
}
.d-row:hover { background: rgba(199,168,87,0.07); }
.d-row:last-child { border-bottom: none; }
.d-row .n { color: var(--ink); font-weight: 500; }
.d-row .a { color: var(--ink); font-weight: 600; }
.d-row .st { padding: 3px 8px; border-radius: 3px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.st-paid { background: rgba(59,155,110,0.12); color: #2D7A54; }
.st-pend { background: rgba(199,168,87,0.16); color: #8A6D22; }
.st-over { background: rgba(200,60,60,0.1); color: #B83B3B; }
.st-open { background: rgba(59,120,200,0.1); color: #3B6FB8; }

.d-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 270px; background: #fff;
  border-left: 1px solid #EEEADF; box-shadow: -10px 0 40px rgba(0,0,0,0.07);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  padding: 24px 20px; z-index: 10; overflow-y: auto;
}
.d-panel.on { transform: none; }
.d-panel .x {
  position: absolute; top: 13px; right: 13px; width: 23px; height: 23px;
  background: #F4F1E8; border: none; border-radius: 5px; cursor: pointer;
  font-size: 14px; color: var(--ink-mute); display: flex; align-items: center; justify-content: center;
}
.d-panel .x:hover { background: #EEEADF; }
.d-panel .pt { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.d-panel .ps { font-size: 11.5px; color: #8A8574; margin-bottom: 20px; }
.d-fld { margin-bottom: 13px; }
.d-fld .fl { font-size: 9.5px; color: #8A8574; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.d-fld .fv { font-size: 13px; color: var(--ink); font-weight: 500; }

/* Comparison (before/after) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comp-card { border-radius: 12px; padding: 38px 34px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); }
.comp-card.good { border-color: rgba(199,168,87,0.3); background: rgba(199,168,87,0.04); }
.comp-card .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 14px; }
.comp-card.good .lbl { color: var(--gold); }
.comp-card h3 { font-size: 20px; font-weight: 700; color: var(--cream); margin-bottom: 22px; }
.comp-card ul { list-style: none; margin-bottom: 26px; }
.comp-card li { font-size: 14px; color: var(--slate); padding: 9px 0 9px 24px; position: relative; line-height: 1.5; }
.comp-card li::before { content: '→'; position: absolute; left: 0; color: var(--slate-dim); }
.comp-card.good li::before { content: '✓'; color: var(--gold); }
.comp-card .time { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--cream); }
.comp-card.good .time { color: var(--gold); }
.comp-card .freq { font-size: 12.5px; color: var(--slate-dim); margin-top: 5px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 40px 34px; background: rgba(255,255,255,0.02); position: relative; transition: border-color 0.35s, transform 0.35s var(--ease); }
.plan:hover { transform: translateY(-4px); border-color: rgba(199,168,87,0.25); }
.plan.feat { border-color: rgba(199,168,87,0.35); background: rgba(199,168,87,0.035); }
.plan .badge { position: absolute; top: -11px; left: 34px; background: var(--gold); color: var(--navy); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 11px; border-radius: 3px; }
.plan h3 { font-size: 21px; font-weight: 700; color: var(--cream); margin-bottom: 5px; }
.plan .sub { font-size: 13px; color: var(--slate-dim); margin-bottom: 22px; }
.plan .price { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--cream); line-height: 1; }
.plan .price span { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--slate); }
.plan .price-note { font-size: 12px; color: var(--slate-dim); margin: 10px 0 26px; line-height: 1.5; }
.plan ul { list-style: none; margin-bottom: 30px; }
.plan li { font-size: 13.5px; color: var(--slate); padding: 10px 0 10px 25px; position: relative; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,0.04); }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-size: 12px; }
.plan .btn { width: 100%; justify-content: center; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.theme-parent .faq-item { border-bottom-color: var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 26px 40px 26px 0; font-size: 16px; font-weight: 600; font-family: var(--sans);
  position: relative; transition: color 0.25s;
}
.theme-product .faq-q { color: var(--cream); }
.theme-parent .faq-q { color: var(--ink); }
.faq-q::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 300; color: var(--gold); transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { font-size: 14.5px; line-height: 1.75; padding-bottom: 26px; }
.theme-product .faq-a p { color: var(--slate); }
.theme-parent .faq-a p { color: var(--ink-soft); }

/* Support cards */
.sup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sup { border-left: 2px solid rgba(199,168,87,0.3); padding: 6px 0 6px 26px; }
.sup .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sup h4 { font-size: 17px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.sup p { font-size: 13.5px; line-height: 1.7; color: var(--slate); }
.theme-parent .sup h4 { color: var(--ink); }
.theme-parent .sup p { color: var(--ink-soft); }
.theme-parent .sup .k { color: var(--gold-deep); }

/* CTA dark */
.cta-dark {
  padding: 130px 48px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-lift) 0%, var(--navy) 100%);
}
.cta-dark::before {
  content: ''; position: absolute; top: -180px; right: -140px; width: 500px; height: 500px;
  border-radius: 50%; background: radial-gradient(circle, rgba(199,168,87,0.07) 0%, transparent 68%);
}
.cta-dark h2 { margin-bottom: 20px; }
.cta-dark p { font-size: 17px; color: var(--slate); margin-bottom: 38px; max-width: 470px; margin-left: auto; margin-right: auto; }

/* Transition band between themes */
.band-to-dark { height: 140px; background: linear-gradient(180deg, var(--ivory) 0%, #1A2740 55%, var(--navy) 100%); }
.band-to-light { height: 140px; background: linear-gradient(180deg, var(--navy) 0%, #1A2740 45%, var(--ivory) 100%); }

/* ═══════════════════ FORMS ═══════════════════ */
.form { max-width: 560px; }
.fg { margin-bottom: 22px; }
.fg label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 9px; color: var(--gold-deep); }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 14px 16px; font-size: 14.5px; font-family: var(--sans);
  border: 1px solid var(--line); background: rgba(255,255,255,0.5); color: var(--ink);
  border-radius: 3px; transition: border-color 0.25s, background 0.25s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.fg textarea { min-height: 130px; resize: vertical; }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer { padding: 70px 48px 40px; }
.theme-parent .footer { background: var(--ivory-warm); border-top: 1px solid var(--line); }
.theme-product .footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.06); }
.foot-top { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.foot-brand .fl { font-family: var(--serif); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.theme-parent .foot-brand .fl { color: var(--ink); }
.theme-product .foot-brand .fl { color: var(--cream); font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.foot-brand .fl .dot { color: var(--gold); }
.foot-brand p { font-size: 13px; line-height: 1.65; max-width: 290px; }
.theme-parent .foot-brand p { color: var(--ink-mute); }
.theme-product .foot-brand p { color: #5A6A7D; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 16px; }
.theme-parent .foot-col h5 { color: var(--gold-deep); }
.theme-product .foot-col h5 { color: var(--slate-dim); }
.foot-col a { display: block; font-size: 13.5px; margin-bottom: 10px; transition: color 0.25s; }
.theme-parent .foot-col a { color: var(--ink-mute); }
.theme-parent .foot-col a:hover { color: var(--gold-deep); }
.theme-product .foot-col a { color: var(--slate); }
.theme-product .foot-col a:hover { color: var(--gold); }
.foot-btm {
  max-width: 1140px; margin: 44px auto 0; padding-top: 26px; font-size: 11.5px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.theme-parent .foot-btm { border-top: 1px solid var(--line); color: #9A958A; }
.theme-product .foot-btm { border-top: 1px solid rgba(255,255,255,0.05); color: #3D4E60; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 900px) {
  .nav, .nav.scrolled { padding: 14px 22px; }
  .nav-links {
    position: fixed; top: 58px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 0 22px; align-items: stretch;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), border-width 0.4s;
    border-bottom: 0 solid transparent;
  }
  .theme-parent .nav-links { background: var(--ivory); border-bottom-color: var(--line); }
  .theme-product .nav-links { background: var(--navy); border-bottom-color: var(--navy-line); }
  .nav-links.open { max-height: 420px; padding: 14px 22px 24px; border-bottom-width: 1px; }
  .nav-links a { padding: 13px 0; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .hero-parent, .hero-product { padding-left: 22px; padding-right: 22px; }
  .sec, .sec-dark, .cta-band, .cta-dark, .footer { padding-left: 22px; padding-right: 22px; }
  .sec, .sec-dark { padding-top: 76px; padding-bottom: 76px; }
  .steps, .f-grid, .sup-grid, .compare, .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .seal { display: none; }
  .prod-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .prod-row.live:hover { padding-left: 0; }
  .prod-row .go { display: none; }
  .d-stats { flex-direction: column; }
  .d-panel { width: 100%; }
  .demo-body { padding: 20px; }
  .foot-cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .split-line > span { transform: none; }
  body { opacity: 1; animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
