/* =========================================================================
   StoneyAI — Design System
   Premium-modern: ink slate + warm gold accent, warm paper background.
   No external dependencies. Works offline over file://.
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Ink / dark surfaces */
  --ink:        #0B1220;
  --ink-2:      #0F172A;
  --ink-3:      #16213B;
  --ink-line:   rgba(255, 255, 255, .10);

  /* Paper / light surfaces */
  --paper:      #FBFAF6;
  --paper-2:    #F4F1EA;
  --surface:    #FFFFFF;

  /* Gold accent */
  --gold:       #C9A227;
  --gold-2:     #E3C158;
  --gold-3:     #A8841A;
  --gold-soft:  #F6EFD8;

  /* Cool secondary (AI / tech signals) */
  --indigo:     #5B63F5;
  --indigo-2:   #8A8FFB;
  --teal:       #1F9D8F;

  /* Neutral stone scale */
  --stone-50:   #F7F6F2;
  --stone-100:  #EFEDE6;
  --stone-200:  #E2DFD5;
  --stone-300:  #CDC8B9;
  --stone-400:  #A8A292;
  --stone-500:  #837D6E;
  --stone-600:  #635E52;
  --stone-700:  #494539;
  --stone-800:  #2E2B23;
  --stone-900:  #1A1813;

  /* Semantic */
  --text:       #1B2233;
  --text-soft:  #5A6276;
  --text-mute:  #8A92A6;
  --line:       #E7E3D8;
  --line-2:     #D9D4C6;
  --success:    #2E9C6B;
  --success-bg: #E5F4EC;
  --warn:       #C8841A;
  --warn-bg:    #FBF0DD;
  --danger:     #D14343;
  --danger-bg:  #FBE9E9;
  --info:       #3B6FE0;
  --info-bg:    #E8EFFC;

  /* Radius */
  --r-xs: 7px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 38px;
  --r-full: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(16, 20, 35, .06);
  --sh-sm: 0 2px 8px rgba(16, 20, 35, .06), 0 1px 2px rgba(16,20,35,.05);
  --sh-md: 0 8px 24px rgba(16, 20, 35, .08), 0 2px 6px rgba(16,20,35,.05);
  --sh-lg: 0 24px 60px rgba(16, 20, 35, .14), 0 6px 18px rgba(16,20,35,.06);
  --sh-xl: 0 40px 90px rgba(11, 18, 32, .22);
  --glow-gold: 0 0 0 1px rgba(201,162,39,.30), 0 18px 50px rgba(201,162,39,.20);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --nav-h: 72px;

  /* Type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* --------------------------------------------------------------- Type */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.08rem; }
p  { color: var(--text-soft); }
strong { color: var(--text); font-weight: 650; }
small { font-size: .82rem; }
code, .mono { font-family: var(--font-mono); }

.serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--ink); color: #E8ECF4; }
.section-paper2 { background: var(--paper-2); }

.row { display: flex; gap: 24px; }
.row.center { align-items: center; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}.mt-5{margin-top:56px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:36px}
.hidden { display: none !important; }

/* --------------------------------------------------------- Section head */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.section-dark .eyebrow { color: var(--gold-2); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 1.12rem; }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: var(--r-full);
  font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; border: 1.5px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--sh-md); }
.btn-primary:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2A2204; box-shadow: var(--glow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(201,162,39,.4), 0 22px 60px rgba(201,162,39,.32); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-lg { height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-sm { height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.gold { color: var(--gold-3); }
.section-dark .link-arrow { color: #fff; }

/* ------------------------------------------------------------- Badges */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px; border-radius: var(--r-full);
  font-size: .8rem; font-weight: 600; letter-spacing: -.01em;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-soft);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.badge-gold { background: var(--gold-soft); border-color: rgba(201,162,39,.3); color: var(--gold-3); }
.badge-glass { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #E8ECF4; backdrop-filter: blur(6px); }

.pill { display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 11px; border-radius:var(--r-full); font-size:.76rem; font-weight:650; }
.pill-success { background: var(--success-bg); color: var(--success); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-mute { background: var(--stone-100); color: var(--stone-600); }
.pill .dot { width:6px;height:6px;border-radius:50%;background:currentColor; }

/* ------------------------------------------------------------- Cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.card-flush { padding: 0; overflow: hidden; }

/* ============================================================== HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(251,250,246,.78);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-xs); background: rgba(251,250,246,.92); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; border-radius: var(--r-full); font-size: .94rem; font-weight: 550;
  color: var(--text-soft); transition: color .2s, background .2s; position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,.04); }
.nav-link.active { color: var(--ink); font-weight: 650; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 1.18rem; letter-spacing: -.03em; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--sh-sm);
  position: relative; overflow: hidden;
}
.logo-mark::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(227,193,88,.5), transparent 60%); }
.logo-mark svg { width: 21px; height: 21px; position: relative; z-index: 1; }
.logo b { font-weight: 750; }
.logo .ai { color: var(--gold-3); }
.section-dark .logo, .app-shell .logo { color: #fff; }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; background: var(--surface); }
.hamburger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu .scrim { position: absolute; inset: 0; background: rgba(11,18,32,.4); backdrop-filter: blur(3px); }
.mobile-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw); background: var(--paper); box-shadow: var(--sh-xl); padding: 22px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .3s var(--ease); }
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel .m-top { display:flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-panel a.m-link { padding: 14px 12px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.mobile-panel a.m-link:hover { background: rgba(0,0,0,.04); }
.mobile-panel .m-foot { margin-top: auto; display: grid; gap: 10px; }

/* ============================================================== HERO */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(40px,6vw,72px); overflow: hidden; }
.hero-mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 12%, rgba(201,162,39,.20), transparent 70%),
    radial-gradient(38% 46% at 14% 8%, rgba(91,99,245,.14), transparent 70%),
    radial-gradient(50% 50% at 50% 0%, rgba(227,193,88,.10), transparent 70%);
  filter: blur(8px);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { letter-spacing: -.035em; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content:""; position:absolute; left:0; right:0; bottom: .06em; height: .34em; background: linear-gradient(90deg, var(--gold-2), rgba(227,193,88,.25)); z-index:-1; border-radius: 3px; }
.hero-sub { font-size: 1.18rem; max-width: 540px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-mute); font-size: .9rem; }
.hero-trust .avatars { display: flex; }
.avatars .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }
.avatars .av:first-child { margin-left: 0; }

/* Logo cloud */
.logos { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; opacity: .85; }
.logos .lc { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; color: var(--stone-500); font-size: 1.05rem; }
.logos .lc svg { width: 22px; height: 22px; opacity: .8; }
.logo-strip-label { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; margin-bottom: 26px; }

/* ============================================ Browser / App mockups */
.browser {
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--stone-50); border-bottom: 1px solid var(--line); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar .url { flex: 1; height: 30px; border-radius: var(--r-full); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: .8rem; color: var(--text-mute); }
.browser-bar .url svg { width: 13px; height: 13px; color: var(--success); }
.browser-body { background: #fff; }

.tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-style: preserve-3d; }

/* A small fake rendered website preview (used in mockups) */
.miniweb { font-size: 10px; color: #20283a; }
.miniweb .mw-nav { display:flex; align-items:center; justify-content:space-between; padding: 14px 20px; }
.miniweb .mw-logo { font-weight: 800; letter-spacing: -.02em; }
.miniweb .mw-links { display:flex; gap: 14px; color:#7a8296; }
.miniweb .mw-hero { padding: 26px 20px 30px; display:grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items:center; }
.miniweb .mw-hero h5 { font-size: 21px; line-height:1.08; letter-spacing:-.03em; }
.miniweb .mw-chip { display:inline-block; font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; padding:4px 8px; border-radius:99px; }
.miniweb .mw-btn { display:inline-block; padding:8px 14px; border-radius:99px; font-weight:700; font-size:9px; }
.miniweb .mw-img { border-radius: 12px; aspect-ratio: 1/1; }
.miniweb .mw-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; padding: 4px 20px 22px; }
.miniweb .mw-card { border:1px solid #ececec; border-radius:10px; padding:12px; }
.miniweb .mw-card i { width:24px;height:24px;border-radius:7px; display:block; margin-bottom:8px; }
.miniweb .mw-line { height:5px; border-radius:4px; background:#eceae4; margin-top:6px; }
.miniweb .mw-line.s { width:60%; } .miniweb .mw-line.m { width:80%; }

/* ============================================================== Features */
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--gold-soft); color: var(--gold-3); border: 1px solid rgba(201,162,39,.2);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 9px; }
.feature p { font-size: .96rem; }
.feature.ind .ico { background: rgba(91,99,245,.1); color: var(--indigo); border-color: rgba(91,99,245,.2); }

/* Feature split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--r-xl); overflow: hidden; }
.feature-list { display: grid; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); margin-top: 1px; }
.feature-list .ck svg { width: 14px; height: 14px; }
.feature-list b { display: block; }
.feature-list span { color: var(--text-soft); font-size: .95rem; }

/* ============================================================== Steps */
.steps { display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: none; }
.step-num {
  width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center;
  font-weight: 750; font-size: 1.15rem; font-family: var(--font-serif);
  background: var(--ink); color: var(--gold-2); box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.28rem; margin-bottom: 7px; }
.step .step-cmd { margin-top: 12px; }
.cmd-chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .84rem;
  background: var(--ink); color: #D9E0EE; padding: 8px 13px; border-radius: 9px; border:1px solid var(--ink-3);
}
.cmd-chip .pf { color: var(--gold-2); }

/* Vertical timeline (dark) */
.flow { position: relative; display: grid; gap: 0; }
.flow::before { content:""; position: absolute; left: 23px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--gold), rgba(201,162,39,.1)); }
.flow-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 16px 0; position: relative; }
.flow-dot { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--gold-2); position: relative; z-index: 1; }
.flow-dot svg { width: 22px; height: 22px; }
.flow-item h4 { color: #fff; font-size: 1.08rem; }
.flow-item p { color: #9AA6BD; font-size: .94rem; margin-top: 4px; }

/* ============================================================== Verticals */
.vert {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 24px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  border: 1px solid var(--ink-line); transition: transform .25s var(--ease);
}
.vert:hover { transform: translateY(-4px); }
.vert .v-ico { position: absolute; top: 20px; left: 20px; width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; background: rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.vert .v-ico svg { width: 22px; height: 22px; }
.vert h4 { color: #fff; font-size: 1.1rem; }
.vert p { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: 2px; }

/* ============================================================== Pricing */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--r-full); background: var(--paper-2); border: 1px solid var(--line); }
.price-toggle button { padding: 9px 18px; border-radius: var(--r-full); font-weight: 600; font-size: .9rem; color: var(--text-soft); transition: all .2s; }
.price-toggle button.active { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.price-toggle .save { font-size: .72rem; color: var(--gold-3); font-weight: 700; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s;
}
.price-card.hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.price-card.featured { background: var(--ink); color: #E8ECF4; border-color: var(--ink); box-shadow: var(--sh-lg); position: relative; }
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.price-card .plan-name { font-weight: 700; font-size: 1.15rem; }
.price-card .plan-desc { font-size: .88rem; color: var(--text-mute); margin-top: 4px; min-height: 40px; }
.price-card.featured .plan-desc { color: #9AA6BD; }
.price-card .price-row { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price-card .amount { font-size: 2.5rem; font-weight: 750; letter-spacing: -.03em; }
.price-card .per { color: var(--text-mute); font-size: .9rem; }
.price-card .feat { display: grid; gap: 12px; margin: 22px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.price-card.featured .feat { border-top-color: var(--ink-3); }
.price-card .feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.price-card.featured .feat li { color: #C4CCDC; }
.price-card .feat .ck { flex: none; width: 19px; height: 19px; color: var(--gold-3); margin-top: 1px; }
.price-card.featured .feat .ck { color: var(--gold-2); }
.price-card .btn { margin-top: auto; }
.featured-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2A2204; font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: var(--r-full); letter-spacing: .02em; box-shadow: var(--sh-sm); }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cmp thead th { background: var(--paper-2); font-weight: 700; font-size: .85rem; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tr:last-child td { border-bottom: none; }
.cmp .row-group td { background: var(--stone-50); font-weight: 700; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.cmp .yes { color: var(--success); }
.cmp .no { color: var(--stone-300); }
.cmp svg { width: 18px; height: 18px; display: inline; }

/* ============================================================== Testimonials */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote-card .stars { display: flex; gap: 3px; color: var(--gold); }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.06rem; line-height: 1.6; color: var(--text); font-weight: 450; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.quote-card .who b { display: block; font-size: .95rem; }
.quote-card .who span { font-size: .84rem; color: var(--text-mute); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 750; letter-spacing: -.03em; font-family: var(--font-serif); color: var(--ink); }
.section-dark .stat .n { color: #fff; }
.stat .n .u { color: var(--gold); }
.stat .l { color: var(--text-mute); font-size: .92rem; margin-top: 4px; }
.section-dark .stat .l { color: #9AA6BD; }

/* ============================================================== FAQ */
.faq { display: grid; gap: 0; max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-weight: 650; font-size: 1.08rem; color: var(--text); }
.faq-q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; }
.faq-q .ic svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--text-soft); line-height: 1.65; }

/* ============================================================== CTA band */
.cta-band { position: relative; background: var(--ink); border-radius: var(--r-2xl); padding: clamp(48px, 6vw, 80px); overflow: hidden; text-align: center; color: #fff; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 50% 0%, rgba(201,162,39,.25), transparent 65%), radial-gradient(50% 60% at 85% 100%, rgba(91,99,245,.2), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B6C0D4; font-size: 1.15rem; max-width: 560px; margin: 18px auto 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ============================================================== Footer */
.site-footer { background: var(--ink); color: #AEB8CC; padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: #8B95AB; font-size: .92rem; margin-top: 16px; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; color: #9AA6BD; font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--ink-line); flex-wrap: wrap; }
.footer-bottom p { color: #7C8699; font-size: .88rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: #B6C0D4; transition: all .2s; }
.footer-social a:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================== Misc */
.divider { height: 1px; background: var(--line); border: none; }
.note { background: var(--gold-soft); border: 1px solid rgba(201,162,39,.25); border-radius: var(--r-md); padding: 16px 18px; font-size: .92rem; color: var(--gold-3); display: flex; gap: 12px; }
.note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

.kbd { font-family: var(--font-mono); font-size: .8rem; background: var(--paper-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--text); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================== Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .col-3 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .tilt { transform: none; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 600px) {
  .col-2, .col-4, .price-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions, .hero-actions { flex-direction: column; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .logos { justify-content: center; gap: 22px; }
}
