/* =====================================================================
   Upzella — marketing site
   Design system: "Upsell Ledger" — deep pine + moneyed gold on porcelain
   Built by twinecom.com
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0C231B;
  --ink-soft:   #20362C;
  --pine:       #15563E;
  --pine-deep:  #0E3A29;
  --pine-bright:#1C7A57;

  --paper:      #EDF1EC;
  --surface:    #FFFFFF;
  --surface-2:  #F6F8F4;

  --gold:       #EFC451;
  --gold-deep:  #C0902A;
  --gold-soft:  #F7E4A6;

  --ivory:      #F5F3E9;
  --muted:      #566259;
  --muted-2:    #8A968D;
  --muted-dark: rgba(245, 243, 233, 0.68);

  --line:       #DBE2D8;
  --line-dark:  rgba(245, 243, 233, 0.14);
  --clay:       #E4724A;

  --shadow-sm:  0 1px 2px rgba(12, 35, 27, 0.06),
                0 4px 14px rgba(12, 35, 27, 0.05);
  --shadow-md:  0 6px 20px rgba(12, 35, 27, 0.08),
                0 18px 48px rgba(12, 35, 27, 0.10);
  --shadow-lg:  0 12px 30px rgba(9, 30, 22, 0.16),
                0 40px 80px rgba(9, 30, 22, 0.22);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

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

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--pine-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.cta :focus-visible,
.spotlight :focus-visible { outline-color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold-deep);
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 44ch;
}
.on-dark .lead, .lead.on-dark { color: var(--muted-dark); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { max-width: 52ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .h2 { margin-top: 0.7rem; }
.section-head .lead { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.92em 1.5em;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), filter 0.18s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { filter: brightness(1.04); box-shadow: 0 10px 28px rgba(201, 154, 46, 0.4); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pine); background: var(--surface-2); }

.btn--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  box-shadow: inset 0 0 0 1.5px var(--line-dark);
}
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(245,243,233,0.5); background: rgba(245,243,233,0.06); }

.btn--sm { padding: 0.7em 1.15em; font-size: 0.9rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.textlink {
  font-weight: 600;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s var(--ease), gap 0.18s var(--ease);
}
.textlink:hover { border-color: var(--gold-deep); gap: 0.6em; }
.on-dark .textlink { color: var(--gold); }
.on-dark .textlink:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(237, 241, 236, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--pine); }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(239, 196, 81, 0.16), transparent 55%),
    radial-gradient(90% 80% at 5% 110%, rgba(28, 122, 87, 0.35), transparent 60%),
    linear-gradient(165deg, #103628 0%, var(--ink) 65%);
  color: var(--ivory);
  overflow: hidden;
}
.hero::after {
  /* subtle ledger grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,243,233,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,243,233,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 80% at 40% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-top: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.09em;
  background: var(--gold);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.9s var(--ease) 0.7s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead {
  margin-top: 1.5rem;
  color: var(--muted-dark);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  max-width: 40ch;
}
.hero-cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-trust {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted-dark);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }
.hero-trust .divider { width: 1px; height: 18px; background: var(--line-dark); }
.badge-bfs {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ivory);
}
.badge-bfs svg { width: 15px; height: 15px; color: var(--gold); }

.hero-anim > * { opacity: 0; animation: rise 0.8s var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.28s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.4s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.52s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Hero vignette (signature) ---------- */
.vignette {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 430px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}
.receipt {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.5rem 1.35rem;
  position: relative;
  z-index: 2;
}
.receipt-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--line);
}
.receipt-top .r-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.live { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.14em; color: var(--clay); text-transform: uppercase; }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay);
  box-shadow: 0 0 0 0 rgba(228,114,74,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(228,114,74,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(228,114,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,114,74,0); }
}
.line-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--surface-2);
}
.li-thumb {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: var(--pine);
  background: var(--surface-2);
}
.li-thumb.gold { background: var(--gold-soft); color: var(--gold-deep); }
.li-thumb svg { width: 20px; height: 20px; }
.li-main { flex: 1; min-width: 0; }
.li-name { font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; }
.li-tag {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.li-price { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; }
.li-price.add { color: var(--pine-bright); }

.line-item.offer { opacity: 0; transform: translateY(8px); }
.vignette.play .line-item.offer { animation: rise 0.55s var(--ease) forwards; }
.vignette.play .line-item.offer:nth-of-type(2) { animation-delay: 1.05s; }
.vignette.play .line-item.offer:nth-of-type(3) { animation-delay: 1.75s; }

.receipt-total { padding-top: 1rem; }
.aov-row { display: flex; align-items: flex-end; justify-content: space-between; }
.aov-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); }
.aov-value {
  font-family: var(--font-display); font-weight: 700; font-size: 2.15rem;
  letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.aov-lift {
  display: inline-flex; align-items: center; gap: 0.3em;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem;
  color: var(--pine-bright); margin-left: 0.5rem;
}
.ship-bar { margin-top: 1rem; }
.ship-track { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ship-fill {
  height: 100%; width: 68%; border-radius: 999px;
  background: linear-gradient(90deg, var(--pine), var(--pine-bright));
  transition: width 1.4s var(--ease);
}
.vignette.play .ship-fill { width: 100%; }
.ship-note {
  margin-top: 0.55rem; display: flex; align-items: center; gap: 0.4em;
  font-size: 0.8rem; color: var(--muted); font-weight: 500;
}
.ship-note .free { color: var(--pine-bright); font-weight: 700; display: none; }
.vignette.play .ship-note .pending { display: none; }
.vignette.play .ship-note .free { display: inline-flex; align-items: center; gap: 0.3em; }

.receipt-foot {
  margin-top: 1.05rem; padding-top: 0.9rem; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted-2);
}
.receipt-foot .by { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--muted); }
.receipt-foot .by svg { width: 15px; height: 15px; color: var(--gold-deep); }
/* floating chip behind receipt */
.vignette-chip {
  position: absolute; z-index: 1;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 0.7rem 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.vignette-chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-deep); }
.vignette-chip .ic svg { width: 17px; height: 17px; }
.vignette-chip .t { font-size: 0.72rem; line-height: 1.25; }
.vignette-chip .t b { font-family: var(--font-mono); font-size: 0.82rem; display: block; }
.vignette-chip.tl { top: -26px; left: -26px; }
.vignette-chip.br { bottom: -22px; right: -30px; }
@media (max-width: 520px) { .vignette-chip { display: none; } }

/* ---------- Marquee / theme strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface-2);
}
.strip-inner {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  justify-content: center; padding-block: 1.4rem;
  font-size: 0.86rem; color: var(--muted);
}
.strip-inner b { color: var(--ink); font-weight: 600; }
.strip-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 0.4em 0.8em; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}

/* ---------- Value / stats ---------- */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem); margin-top: 1rem;
}
.stat { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.stat .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .n span { color: var(--gold-deep); }
.stat .k { margin-top: 0.65rem; color: var(--muted); font-size: 0.96rem; max-width: 30ch; }

/* ---------- Features ---------- */
.features { background: var(--surface); }
.feat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.5rem);
}
.feat-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card .num {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2);
  letter-spacing: 0.1em;
}
.feat-ic {
  width: 52px; height: 52px; border-radius: 14px; margin: 1rem 0 1.2rem;
  display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-sm); color: var(--pine);
}
.feat-ic svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 1.32rem; }
.feat-card p { margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; }
/* wide, highlighted AI card */
.feat-card.is-wide {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--ivory); border-color: transparent;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  overflow: hidden;
}
.feat-card.is-wide::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(239,196,81,0.18), transparent 55%);
}
.feat-card.is-wide > * { position: relative; z-index: 1; }
.feat-card.is-wide h3 { color: var(--ivory); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feat-card.is-wide p { color: var(--muted-dark); font-size: 1.02rem; max-width: 40ch; }
.feat-card.is-wide .feat-ic { background: rgba(245,243,233,0.1); color: var(--gold); box-shadow: none; }
.feat-card.is-wide .num { color: var(--gold); }
.wizard-list { margin-top: 1.3rem; display: grid; gap: 0.7rem; }
.wizard-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.96rem; color: var(--ivory); }
.wizard-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 1px; }
/* AI draft preview inside wide card */
.draft {
  background: rgba(9, 28, 21, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(4px);
}
.draft-head { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.draft-head .spark { width: 15px; height: 15px; }
.draft-row {
  margin-top: 0.9rem; padding: 0.75rem 0.85rem; border-radius: 10px;
  background: rgba(245,243,233,0.06); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.draft-row .dr-name { font-size: 0.86rem; font-weight: 600; }
.draft-row .dr-sub { font-size: 0.72rem; color: var(--muted-dark); }
.draft-row .approve {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 0.4em 0.7em; border-radius: 999px; font-weight: 700; flex: none;
}

/* ---------- Spotlight (dark) ---------- */
.spotlight {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(28,122,87,0.4), transparent 55%),
    var(--ink);
  color: var(--ivory);
}
.spotlight .h2 { color: var(--ivory); }
.spotlight .lead { color: var(--muted-dark); }
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.dash {
  background: rgba(245,243,233,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.dash-head .t { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-dark); }
.dash-attr {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1;
}
.dash-attr small { display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); margin-top: 0.5rem; }
.bars { display: flex; align-items: flex-end; gap: 0.55rem; height: 130px; margin-top: 1.4rem; }
.bars .bar { flex: 1; background: linear-gradient(180deg, var(--pine-bright), var(--pine));
  border-radius: 6px 6px 3px 3px; opacity: 0.85; }
.bars .bar.hi { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); opacity: 1; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  color: var(--ink); background: var(--gold); padding: 0.35em 0.6em; border-radius: 8px;
}
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 0.55rem; color: var(--muted); font-size: 0.98rem; }
.step .rule { position: absolute; top: 0.85rem; left: 3.4rem; right: -1rem; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent); }
.step:last-child .rule { display: none; }

/* ---------- Pricing ---------- */
.pricing { background: var(--surface); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.4rem); align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-featured {
  background: linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--ivory); border-color: transparent; box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.is-featured h3 { color: var(--ivory); }
.plan-name { font-size: 1.2rem; }
.plan-flag {
  position: absolute; top: 1.3rem; right: 1.3rem;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 0.35em 0.7em; border-radius: 999px; font-weight: 700;
}
.plan-price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.3rem; }
.plan-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; letter-spacing: -0.04em; }
.plan-price .per { color: var(--muted); font-size: 0.9rem; }
.is-featured .plan-price .per { color: var(--muted-dark); }
.plan-desc { margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted); min-height: 2.6em; }
.is-featured .plan-desc { color: var(--muted-dark); }
.plan-feats { margin-top: 1.3rem; display: grid; gap: 0.7rem; flex: 1; }
.plan-feats li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.93rem; }
.plan-feats svg { width: 18px; height: 18px; color: var(--pine-bright); flex: none; margin-top: 2px; }
.is-featured .plan-feats svg { color: var(--gold); }
.plan-cta { margin-top: 1.5rem; }
.price-note { margin-top: 1.6rem; text-align: center; font-size: 0.88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink);
}
.faq-q .pm { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px;
  background: var(--pine); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q .pm::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height 0.3s var(--ease); }
.faq-a-inner { padding: 0 0 1.4rem; color: var(--muted); max-width: 64ch; }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(1rem, 3vw, 2rem); }
.cta-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 140% at 85% -20%, rgba(239,196,81,0.22), transparent 55%),
    linear-gradient(155deg, var(--pine) 0%, var(--ink) 90%);
  color: var(--ivory);
  border-radius: var(--r-xl);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,243,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,243,233,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 75%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: var(--ivory); font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; margin-inline: auto; }
.cta-card .lead { color: var(--muted-dark); margin: 1.1rem auto 0; }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.94rem; }
.footer-mail { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.5em; color: var(--gold); font-weight: 600; }
.footer-mail svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.35rem 0; font-size: 0.94rem; color: var(--muted-dark); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer-bottom .built b { color: var(--ivory); font-weight: 600; }
.footer-bottom .built a { color: var(--gold); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal / privacy page ---------- */
.legal { background: var(--surface); }
.legal-hero { padding-block: clamp(3rem, 7vw, 5rem) 1rem; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero .meta { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.legal-body { max-width: 760px; padding-bottom: clamp(4rem, 8vw, 6rem); }
.legal-body h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.legal-body h3 { font-size: 1.14rem; margin-top: 1.7rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-top: 0.9rem; font-size: 1.02rem; }
.legal-body ul { margin-top: 0.6rem; display: grid; gap: 0.5rem; }
.legal-body li { position: relative; padding-left: 1.4rem; margin-top: 0; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--gold); }
.legal-body a { color: var(--pine); border-bottom: 1.5px solid var(--gold-soft); }
.legal-body a:hover { border-color: var(--gold-deep); }
.legal-toc {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.5rem; margin-top: 2rem;
}
.legal-toc strong { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 0.8rem 0 0; padding-left: 1.2rem; columns: 2; gap: 1rem; }
.legal-toc li { color: var(--pine); font-size: 0.94rem; padding: 0.2rem 0; }
.legal-callout {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold);
  background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 0.96rem; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .vignette { grid-row: 1; max-width: 400px; }
  .hero-text { text-align: left; }
  .feat-card.is-wide { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-nav-mobile .nav-actions .btn { display: inline-flex; }
  .value-grid, .steps, .price-grid, .feat-grid { grid-template-columns: 1fr; }
  .price-card.is-featured { order: -1; }
  .legal-toc ol { columns: 1; }
  .step .rule { display: none; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { gap: 0.7rem; }
}

/* Mobile nav panel */
.mobile-menu {
  position: fixed; inset: 72px 0 auto; z-index: 55;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1.2rem var(--pad) 1.8rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
body.nav-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 0.85rem 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.2rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 1.2rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-anim > *, .vignette { opacity: 1 !important; transform: none !important; }
  .line-item.offer { opacity: 1 !important; transform: none !important; }
  .ship-fill { width: 100% !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .live .dot { animation: none !important; }
}
