/* =====================================================================
   Lodgedwell website — built on the Lodgedwell Design System
   Tokens: warm cream paper · eucalypt green brand · ochre accent
   Type: Plus Jakarta Sans (display) · Public Sans (body) · IBM Plex Mono
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* DESIGN TOKENS (from the Lodgedwell Design System)                  */
/* ------------------------------------------------------------------ */
:root {
  /* Neutrals — warm, paper-forward */
  --paper-bg:   #FFFFFF;   /* page canvas — crisp white (2026-11 restyle) */
  --paper-sunk: #E2F4EC;   /* mint wash bands */
  --white:      #FFFFFF;   /* raised card surface */

  --ink-900: #0A1E19;
  --ink-700: #24352F;
  --ink-500: #4E5E58;
  --ink-400: #6C7C76;
  --ink-300: #A3B3AC;

  --line-200: #D6E3DD;
  --line-100: #E8F0EC;

  /* Brand — eucalypt green */
  --green-900: #04342C;   /* logo tile — hero, header, blocks */
  --green-800: #06463A;
  --green-700: #0B5A47;
  --green-600: #0F6E56;   /* brand primary = logo wordmark */
  --green-500: #1B8A71;
  --green-300: #5DCAA5;   /* logo mint — accent on dark */
  --green-200: #9FE1CB;   /* logo pale mint — sell block */
  --green-100: #CDEFE2;
  --green-050: #E2F4EC;

  /* Flag yellow — the "sign here" tab. Used sparingly (token names kept from ochre) */
  --ochre-700: #A87600;
  --ochre-800: #6B4C00;
  --ochre-500: #FFC53D;
  --ochre-300: #FFDF85;
  --ochre-100: #FFF3CC;

  /* Semantic aliases */
  --brand: var(--green-600);
  --brand-hover: var(--green-700);
  --brand-active: var(--green-900);
  --accent: var(--green-300);
  --accent-hover: var(--green-200);
  --text-on-accent: var(--green-900);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;

  /* Radii */
  --radius-xs: 3px; --radius-sm: 4px; --radius-md: 6px;
  --radius-lg: 0; --radius-xl: 0; --radius-pill: 999px;   /* blocks are square; buttons are pills */

  /* Elevation — soft, warm-tinted (never pure black) */
  --shadow-xs: 0 1px 2px rgba(22,36,31,.06);
  --shadow-sm: 0 1px 3px rgba(22,36,31,.08), 0 1px 2px rgba(22,36,31,.04);
  --shadow-md: 0 4px 12px rgba(22,36,31,.08), 0 2px 4px rgba(22,36,31,.05);
  --shadow-lg: 0 12px 32px rgba(22,36,31,.12), 0 4px 8px rgba(22,36,31,.06);
  --shadow-focus: 0 0 0 3px rgba(42,115,96,.30);

  /* Motion — calm, no bounce */
  --ease-standard: cubic-bezier(.2,0,0,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 320ms;

  /* Layout */
  --maxw: 1200px;
  --prose: 680px;
  --gutter: clamp(20px, 5vw, 48px);

  /* ---- Back-compat aliases (used by existing markup/inline styles) ---- */
  --cream: var(--paper-bg);
  --cream-200: var(--paper-sunk);
  --cream-300: var(--line-200);
  --paper: var(--white);
  --ink: var(--ink-900);
  --ink-soft: var(--ink-700);
  --muted: var(--ink-500);
  --coral: var(--ochre-500);
  --coral-600: var(--ochre-700);
  --coral-100: var(--ochre-100);
  --amber: var(--ochre-300);
  --amber-100: var(--ochre-100);
  --line: var(--line-200);
  --line-strong: var(--ink-300);
  --radius: var(--radius-lg);
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--green-100); color: var(--green-900); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

/* Keyboard skip link — off-screen until focused, then a normal green button. */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  background: var(--green-600); color: #fff;
  font-weight: var(--fw-semibold); border-radius: var(--radius-sm);
  transition: top var(--dur-base) var(--ease-standard);
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.02em; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-weight: var(--fw-bold); letter-spacing: 0; }

/* ------------------------------------------------------------------ */
/* Heading size utilities                                             */
/* A heading's LEVEL is a document-structure decision (screen readers  */
/* and search engines use it to build an outline); its SIZE is a       */
/* design one. These let a heading sit at the correct level without    */
/* changing how it looks, so fixing a skipped level costs nothing      */
/* visually.                                                          */
/* ------------------------------------------------------------------ */
.h-size-3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -0.01em; }
.h-size-4 { font-size: 1.0625rem; font-weight: var(--fw-bold); letter-spacing: 0; }
.h-size-card { font-size: 1.25rem; }

p  { margin: 0 0 1rem; color: var(--ink-700); text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); color: var(--ink-500); line-height: 1.6; }

.serif-accent { font-style: italic; color: var(--green-600); }
.underline-mark { position: relative; white-space: nowrap; }
.underline-mark::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: .08em; height: .32em;
  background: var(--ochre-300); z-index: -1; border-radius: 3px; opacity: .8;
}

/* ------------------------------------------------------------------ */
/* Layout helpers                                                     */
/* ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 8vw, 96px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.section-head { max-width: 640px; }
.center .section-head, .section-head.center { margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ------------------------------------------------------------------ */
/* Buttons — DS: radius-md, semibold, ochre accent / green primary    */
/* ------------------------------------------------------------------ */
.btn {
  --_bg: var(--brand); --_fg: #fff; --_bd: transparent; --_hbg: var(--brand-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--radius-md);
  border: 1px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 1rem; letter-spacing: -.01em;
  line-height: 1; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.btn:hover { background: var(--_hbg); box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(.99); }
.btn svg { width: 18px; height: 18px; }
.btn--coral { --_bg: var(--accent); --_fg: var(--text-on-accent); --_hbg: var(--accent-hover); }
.btn--coral:hover { color: #fff; }
.btn--dark { --_bg: var(--green-900); --_hbg: var(--green-800); }
.btn--ghost {
  --_bg: var(--white); --_fg: var(--brand); --_bd: var(--line-200); --_hbg: var(--green-050);
  box-shadow: none;
}
.btn--ghost:hover { color: var(--brand-hover); border-color: var(--green-300); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 1.125rem; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: var(--fw-semibold); color: var(--brand);
}
.arrow-link svg { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-standard); }
.arrow-link:hover { color: var(--brand-hover); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Header — DS sticky translucent paper + blur                        */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.site-header.scrolled {
  background: rgba(250, 246, 239, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { display: block; height: 36px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: var(--fw-medium); font-size: .9375rem; color: var(--ink-700);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-links a.active { color: var(--green-700); font-weight: var(--fw-semibold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-md);
  border: 1px solid var(--line-200); background: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink-900);
  border-radius: 2px; transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
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(-1.4px); }

/* ------------------------------------------------------------------ */
/* Hero — flat cream, surface layering (no gradients / blobs)         */
/* ------------------------------------------------------------------ */
.hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: .3em; }
.hero .lead { margin-bottom: 2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-reassure {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px;
  font-size: .875rem; font-weight: var(--fw-medium); color: var(--ink-500);
}
.hero-reassure span { display: inline-flex; align-items: center; gap: 8px; }
.hero-reassure svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }

/* DS: no decorative blobs */
.blob { display: none !important; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line-200);
  box-shadow: var(--shadow-xs); font-weight: var(--fw-semibold); font-size: .875rem; color: var(--green-700);
  margin-bottom: 24px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
  animation: pulse 2.4s ease-in-out infinite;
}
.pill .tag {
  background: var(--ochre-100); color: var(--ochre-800); font-size: .6875rem;
  font-weight: var(--fw-bold); letter-spacing: .04em; padding: 3px 8px; border-radius: var(--radius-pill);
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ------------------------------------------------------------------ */
/* Hero roofline tile — the chevron climb IS the matter tracker       */
/* ------------------------------------------------------------------ */
.hero-visual { position: relative; }

/* One brand tile. The canvas is painted by /assets/js/roofline-scene.js
   (chevron particle procession = the live tracker). */
.roofline-panel {
  position: relative;
  aspect-ratio: 13 / 14;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(180deg, #F4FAF7, #DCEEE4);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-md);
}
.roofline-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Dashboard chrome living ON the tile (light ground, ink text) */
.roofline-ui {
  position: absolute; inset: clamp(18px, 5%, 26px) clamp(18px, 5.5%, 28px) auto;
  display: grid; gap: 12px; pointer-events: none;
}
.roofline-chip {
  justify-self: start;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  color: var(--ink-400);
  background: rgba(255,255,255,.6); border: 1px solid var(--line-200);
  padding: 4px 11px; border-radius: var(--radius-pill);
}
.roofline-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.roofline-title {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: clamp(.95rem, 2.3vw, 1.0625rem); color: var(--ink-900); letter-spacing: -.01em;
}
.roofline-badge {
  font-size: .6563rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(30,92,74,.10); color: var(--green-700);
  border: 1px solid rgba(30,92,74,.20); white-space: nowrap;
  transition: background .4s var(--ease-standard), color .4s var(--ease-standard);
}
.roofline-badge.is-settled { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.roofline-progress {
  height: 6px; border-radius: var(--radius-pill); background: rgba(22,36,31,.10); overflow: hidden;
}
.roofline-progress > i {
  display: block; height: 100%; width: 33.3%; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #5DCAA5, #2E8A6C);
  transition: width .9s cubic-bezier(.2,.7,.2,1);
}
.mock {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-200);
  overflow: hidden; position: relative;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--line-100); background: var(--paper-bg);
}
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-200); display: block; }
.mock-bar i:nth-child(1) { background: #E6B7A0; }
.mock-bar i:nth-child(2) { background: var(--ochre-300); }
.mock-bar i:nth-child(3) { background: var(--green-300); }
.mock-bar .mock-url {
  margin-left: 10px; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-400); font-weight: 500;
  background: var(--white); border: 1px solid var(--line-200); padding: 5px 12px; border-radius: var(--radius-pill);
}
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-title { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.125rem; color: var(--green-900); }
.mock-badge {
  font-size: .6875rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-700);
  transition: background .4s var(--ease-standard), color .4s var(--ease-standard);
}
.mock-badge.is-settled { background: var(--green-600); color: #fff; }

.tracker { display: grid; gap: 0; margin: 4px 0; }
.tracker-step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 20px; }
.tracker-step:last-child { padding-bottom: 0; }
.tracker-step::before {
  content: ""; position: absolute; left: 14px; top: 26px; bottom: -2px; width: 2px; background: var(--line-200);
  transition: background .6s var(--ease-standard);
}
.tracker-step:last-child::before { display: none; }
.tracker-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line-200); color: var(--ink-400); z-index: 1;
  transition: background .45s var(--ease-standard), border-color .45s var(--ease-standard),
              color .45s var(--ease-standard), box-shadow .45s var(--ease-standard);
}
.tracker-dot svg { width: 15px; height: 15px; }
.tracker-step.done .tracker-dot { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tracker-step.done::before { background: var(--green-300); }
.tracker-step.current .tracker-dot {
  border-color: var(--ochre-500); color: var(--ochre-700);
  box-shadow: 0 0 0 5px var(--ochre-100);
}
.tracker-label { display: block; font-weight: var(--fw-bold); font-size: .9375rem; color: var(--ink-900); line-height: 1.3; }
.tracker-sub { display: block; font-size: .8125rem; color: var(--ink-400); font-weight: 500; }
.tracker-step.pending .tracker-label { color: var(--ink-400); }

.mock-progress { height: 8px; border-radius: var(--radius-pill); background: var(--green-050); overflow: hidden; }
.mock-progress > i { display: block; height: 100%; width: 62%; border-radius: var(--radius-pill); background: var(--green-500);
  transition: width .8s cubic-bezier(.2,.7,.2,1); }

/* floating cards */
.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 13px 16px;
  display: flex; align-items: center; gap: 11px; font-weight: var(--fw-bold); font-size: .875rem;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: var(--radius-sm); display: grid; place-items: center; flex: none; }
.float-card small { display: block; font-weight: 500; color: var(--ink-400); font-size: .75rem; }
.float-1 { top: -22px; left: -30px; }
.float-1 .ic { background: var(--green-100); color: var(--green-700); }
.float-2 { bottom: -30px; right: -30px; animation-delay: -3s; }
.float-2 .ic { background: var(--ochre-100); color: var(--ochre-700); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ------------------------------------------------------------------ */
/* Trust strip                                                        */
/* ------------------------------------------------------------------ */
.trust { border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); background: var(--paper-sunk); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; padding-block: 24px; }
.trust-label { font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.trust-items { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-weight: var(--fw-semibold); color: var(--green-700); font-size: .9375rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--green-600); }

/* ------------------------------------------------------------------ */
/* Cards — white surface, hairline + soft shadow, 1px lift on hover    */
/* ------------------------------------------------------------------ */
.card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.card .ic-badge {
  width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--green-050); color: var(--green-600); margin-bottom: 18px;
}
.card .ic-badge svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: .35em; }
.card p { margin: 0; font-size: .9375rem; color: var(--ink-500); }

.card--coral .ic-badge { background: var(--ochre-100); color: var(--ochre-700); }
.card--amber .ic-badge { background: var(--ochre-100); color: var(--ochre-700); }

/* numbered step cards — DS: tinted green panel, mono step label feel  */
.step-card { position: relative; padding-top: 30px; }
.step-num {
  position: absolute; top: -20px; left: 24px;
  width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--fw-semibold); color: #fff;
  background: var(--green-600); box-shadow: var(--shadow-sm);
}
.step-card:nth-child(2) .step-num { background: var(--green-500); }
.step-card:nth-child(3) .step-num { background: var(--ochre-500); color: var(--green-900); }
.step-card:nth-child(4) .step-num { background: var(--green-700); }

/* feature list check */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-700); font-weight: 500; }
.check-list li svg { width: 22px; height: 22px; color: var(--green-600); flex: none; margin-top: 1px; }

/* ------------------------------------------------------------------ */
/* Split feature blocks                                               */
/* ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: -1; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-200);
  box-shadow: var(--shadow-md); background: var(--white);
}

/* stat panel — flat brand green (no gradient) */
.stat-panel {
  background: var(--green-700); border-radius: var(--radius-lg); padding: 32px; color: #fff;
  position: relative; overflow: hidden;
}
.stat-panel::after { display: none; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.stat b { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(1.9rem, 4vw, 2.75rem); display: block; line-height: 1; color: #fff; }
.stat span { font-size: .875rem; color: rgba(255,255,255,.8); font-weight: 500; }
.stat .accent { color: var(--ochre-300); }

/* ------------------------------------------------------------------ */
/* Pricing                                                            */
/* ------------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-xl);
  padding: 32px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.price-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--green-500); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--green-900); font-weight: var(--fw-bold); font-size: .6875rem;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.price-name { font-weight: var(--fw-bold); font-size: 1.0625rem; color: var(--green-800); letter-spacing: -.01em; }
.price-desc { font-size: .9375rem; color: var(--ink-400); min-height: 42px; margin: 4px 0 18px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount .cur { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.4rem; color: var(--green-700); }
.price-amount .num { font-family: var(--font-display); font-size: 3rem; font-weight: var(--fw-bold); color: var(--green-800); line-height: 1; }
.price-amount .per { color: var(--ink-400); font-weight: var(--fw-semibold); font-size: .9375rem; }
.price-note { font-size: .8125rem; color: var(--ink-400); margin-bottom: 22px; }
.price-card .check-list { margin-bottom: 26px; }
.price-card .check-list li { font-size: .9375rem; }
.price-card .btn { margin-top: auto; }

/* ------------------------------------------------------------------ */
/* FAQ accordion                                                      */
/* ------------------------------------------------------------------ */
.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.0625rem; color: var(--green-900);
}
.faq-q .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--green-600); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard);
}
.faq-q .plus::before { width: 20px; height: 2px; }
.faq-q .plus::after  { width: 2px; height: 20px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-700); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* CTA band — flat deep green                                         */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; }
.cta-inner {
  background: var(--green-900); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 64px);
  color: #fff; position: relative; overflow: hidden; text-align: center;
}
.cta-inner::before, .cta-inner::after { display: none; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 52ch; margin-inline: auto; }
.cta-inner .btn--ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.4); --_hbg: rgba(255,255,255,.12); }
.cta-inner .btn--ghost:hover { color: #fff; border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; position: relative; }

/* ------------------------------------------------------------------ */
/* Path chooser (buy / sell) — flat tinted panels                     */
/* ------------------------------------------------------------------ */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card {
  border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
  border: 1px solid var(--line-200);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  display: flex; flex-direction: column;
}
.path-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.path-card.buy  { background: var(--green-050); }
.path-card.sell { background: var(--ochre-100); }
.path-card .ic-badge { width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: 16px; }
.path-card.buy .ic-badge { background: var(--green-100); color: var(--green-700); }
.path-card.sell .ic-badge { background: #F6DDB6; color: var(--ochre-700); }
.path-card .ic-badge svg { width: 26px; height: 26px; }
.path-card h3, .path-card h2 { margin-bottom: .3em; }
.path-card p { flex: 1; color: var(--ink-700); }

/* ------------------------------------------------------------------ */
/* Testimonials                                                       */
/* ------------------------------------------------------------------ */
.quote-card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.quote-card .stars { display: flex; gap: 2px; color: var(--ochre-500); }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { margin: 0; font-size: 1.0625rem; color: var(--ink-900); line-height: 1.55; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-bold); color: #fff; font-size: 1rem; flex: none;
}
.quote-author b { display: block; font-size: .9375rem; color: var(--ink-900); }
.quote-author span { font-size: .8125rem; color: var(--ink-400); }

/* ------------------------------------------------------------------ */
/* Page hero (inner pages)                                            */
/* ------------------------------------------------------------------ */
.page-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(28px, 4vw, 44px); position: relative; }
.page-hero .lead { max-width: 56ch; }
.breadcrumb { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-500); font-weight: 500; margin-bottom: 16px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-300); }
.breadcrumb a:hover { color: var(--green-700); text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ */
/* Get started / forms                                                */
/* ------------------------------------------------------------------ */
.form-embed-card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.form-embed-card iframe { width: 100%; border: 0; display: block; min-height: 280px; background: var(--white); transition: height .25s ease; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; background: var(--paper-sunk); border-radius: 14px; }
.tab {
  border: 0; background: transparent; padding: 10px 24px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: var(--fw-semibold); color: var(--ink-500); font-size: .9375rem;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.tab.active { background: var(--white); color: var(--green-700); box-shadow: var(--shadow-sm); }

.info-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-100); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--green-050); color: var(--green-600); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4, .info-row h3 { margin-bottom: .2em; }
.info-row p { margin: 0; font-size: .9375rem; color: var(--ink-500); }

/* ------------------------------------------------------------------ */
/* About values / team                                                */
/* ------------------------------------------------------------------ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-item { padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-200); box-shadow: var(--shadow-sm); }
.value-item .ic { width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: 14px; background: var(--green-050); color: var(--green-600); }
.value-item .ic svg { width: 24px; height: 24px; }
.value-item h4, .value-item h3 { margin-bottom: .3em; color: var(--green-900); }
.value-item p { margin: 0; font-size: .9375rem; color: var(--ink-500); }

/* ------------------------------------------------------------------ */
/* Footer — flat deep green                                           */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 72px) 44px; }
.footer-brand .brand-logo { height: 34px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9375rem; max-width: 30ch; margin-top: 14px; }
.footer-col .footer-col-title { color: rgba(255,255,255,.5); font-family: var(--font-body); font-weight: var(--fw-bold); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; padding: 6px 0; color: rgba(255,255,255,.75); font-size: .9375rem; transition: color var(--dur-fast) var(--ease-standard); }
.footer-col a:hover { color: var(--ochre-300); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-block: 22px; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8125rem; color: rgba(255,255,255,.55);
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: rgba(255,255,255,.7); }
.footer-bottom .socials a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.footer-bottom .socials svg { width: 17px; height: 17px; }
.footer-disc { max-width: 62ch; color: rgba(255,255,255,.62); } /* was inheriting ink-700 on the dark footer: 1.3:1 */

/* ------------------------------------------------------------------ */
/* Reveal animations — calm, short slide                              */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 500px; margin: 12px auto 0; }
  .split, .cols-4, .cols-5 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 780px) {
  .site-header.menu-visible .nav-links {
    display: flex; position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    background: var(--paper-bg); padding: 16px var(--gutter) 24px; gap: 4px; border-bottom: 1px solid var(--line-200);
    box-shadow: var(--shadow-md); z-index: 99;
  }
  .site-header.menu-visible .nav-links a { padding: 14px 4px; font-size: 1.0625rem; }
  .cols-2, .cols-3, .cols-4, .cols-5, .price-grid, .path-grid, .value-grid, .stat-grid, .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .price-card.featured { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero .lead { max-width: none; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .float-1 { left: -8px; }
  .float-2 { right: -6px; }
}

/* ------------------------------------------------------------------ */
/* GUIDES — long-form explainer pages (/guides)                        */
/* ------------------------------------------------------------------ */

/* Hub ---------------------------------------------------------------- */
.guide-group { margin-bottom: clamp(40px, 5vw, 64px); }
.guide-group-title {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .09em;
  font-family: var(--font-mono); font-weight: var(--fw-medium);
  color: var(--ochre-700); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.guide-card { display: flex; flex-direction: column; color: inherit; }
.guide-card h3 { color: var(--green-900); }
.guide-card p { flex: 1; }
.guide-card-more {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 16px;
  font-weight: var(--fw-semibold); color: var(--brand); font-size: .9375rem;
}
.guide-card-more svg {
  width: 18px; height: 18px;
  transition: transform var(--dur-base) var(--ease-standard);
}
.guide-card:hover .guide-card-more svg { transform: translateX(3px); }

/* Article layout ----------------------------------------------------- */
.guide-layout {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
.guide-body { max-width: var(--prose); min-width: 0; }

/* Guide titles are full questions, not hero taglines. The global h1 clamp goes
   up to 4.25rem, which turns a 7-word question into four lines of shouting. */
.guide-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; }
.guide-hero .section-head { max-width: 780px; }

/* The direct answer. Deliberately the first and most prominent block:
   it is what a search engine or an assistant is most likely to extract. */
.guide-answer {
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 22px;
}
.guide-answer-q {
  font-family: var(--font-mono); font-size: .82rem; font-weight: var(--fw-medium);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--green-700); margin: 0 0 .6em;
}
.guide-answer-a {
  font-size: 1.12rem; line-height: 1.55; color: var(--green-900);
  font-weight: var(--fw-medium); margin: 0;
}

.guide-meta {
  font-family: var(--font-mono); font-size: .84rem; line-height: 1.6;
  color: var(--muted); margin-bottom: 2em;
}

.guide-toc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 2.4em;
  box-shadow: var(--shadow-xs);
}
.guide-toc-title {
  font-size: .82rem !important; text-transform: uppercase; letter-spacing: .08em;
  font-family: var(--font-mono); font-weight: var(--fw-medium);
  color: var(--muted); margin: 0 0 .8em !important;
  border-top: none !important; padding-top: 0 !important;
}
.guide-toc ul { margin: 0; padding-left: 1.1em; }
.guide-toc li { margin-bottom: .4em; color: var(--ink-700); }
.guide-toc li::marker { color: var(--ochre-500); }

/* Prose ---------------------------------------------------------------
   Mirrors .legal-body on /privacy so long-form pages read consistently. */
.guide-body > p { margin-bottom: 1.1em; color: var(--ink-700); }
.guide-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--green-900);
  margin: 2.2em 0 .6em; padding-top: .9em;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.guide-body h3 {
  font-size: 1.1rem; color: var(--green-800);
  margin: 1.8em 0 .5em; scroll-margin-top: 96px;
}
.guide-body ul, .guide-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.guide-body li { margin-bottom: .55em; color: var(--ink-700); }
.guide-body li::marker { color: var(--ochre-500); }
.guide-body a { text-decoration: underline; text-underline-offset: .18em; }
.guide-body strong { color: var(--green-900); font-weight: var(--fw-semibold); }
.guide-body blockquote {
  margin: 1.4em 0; padding: 16px 22px;
  background: var(--ochre-100); border: 1px solid var(--ochre-300);
  border-radius: var(--radius-md);
}
.guide-body blockquote p { margin: 0; color: var(--ink-700); }
/* Wide tables scroll inside this box rather than widening the grid column.
   A table cannot shrink below its min-content width, so without the wrapper it
   pushes the whole page sideways on a phone. Added by the rehype plugin in
   src/lib/rehype-wrap-tables.mjs. */
.table-wrap {
  overflow-x: auto; margin: 1.4em 0 1.8em;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-xs);
  -webkit-overflow-scrolling: touch;
}
.guide-body table {
  width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0;
  min-width: 420px;
}
.guide-body th {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  text-align: left; color: #fff; background: var(--green-600); padding: 12px 16px;
}
.guide-body td {
  padding: 12px 16px; border-top: 1px solid var(--line-100);
  vertical-align: top; color: var(--ink-700);
}
.guide-body tbody tr:nth-child(even) td { background: var(--green-050); }

.guide-faq-item { margin-bottom: 1.4em; }
.guide-faq-item h3 { margin-top: 0; }
.guide-faq-item p { color: var(--ink-700); margin: 0; }

.guide-sources ul { font-size: .95rem; }
.guide-sources li { color: var(--ink-500); }

.guide-disclaimer {
  margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--line);
  font-size: .875rem; line-height: 1.65; color: var(--muted);
}

/* Sidebar -------------------------------------------------------------- */
.guide-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.guide-cta {
  background: var(--green-900); color: #fff;
  border-radius: var(--radius-lg); padding: 26px;
}
.guide-cta h2 {
  color: #fff; font-size: 1.2rem; margin: 0 0 .5em;
  border-top: none; padding-top: 0;
}
.guide-cta p { color: #CFE3DA; font-size: .9375rem; margin: 0 0 18px; }
.guide-cta .arrow-link { color: var(--ochre-500); }
.guide-cta .arrow-link:hover { color: #fff; }
.guide-related {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-xs);
}
.guide-related h2 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  font-family: var(--font-mono); font-weight: var(--fw-medium);
  color: var(--muted); margin: 0 0 .9em; border-top: none; padding-top: 0;
}
.guide-related ul { margin: 0; padding-left: 1.1em; }
.guide-related li { margin-bottom: .5em; }
.guide-related li::marker { color: var(--ochre-500); }

/* Unapproved-draft banner --------------------------------------------- */
.review-banner {
  background: var(--ochre-100); border-bottom: 1px solid var(--ochre-300);
  padding: 12px 0; font-size: .9rem; color: var(--green-900);
}
.review-banner code {
  font-family: var(--font-mono); font-size: .85em;
  background: rgba(0, 0, 0, .06); padding: 1px 5px; border-radius: var(--radius-xs);
}

@media (max-width: 980px) {
  /* minmax(0, 1fr), not 1fr: a bare 1fr track has an automatic MINIMUM of
     min-content, so any wide child still forces the column past the viewport. */
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-aside { position: static; }
}

/* =====================================================================
   TERRACE STREET restyle (2026-11, branch restyle-terrace)
   The logo's own greens become the environment: deep-green header and
   heroes, mint accents, oversized Bricolage headlines, square colour
   blocks, pill buttons. Light pages are crisp white with mint-wash bands.
   Layered over the components above so the markup stays unchanged.
   ===================================================================== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; font-variation-settings: "wdth" 90, "opsz" 72; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: .92; letter-spacing: -0.04em; font-variation-settings: "wdth" 88, "opsz" 96; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: .98; letter-spacing: -0.035em; }
h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
h4, .h-size-4 { font-weight: 700; letter-spacing: -0.01em; }
.h-size-3 { font-weight: 700; letter-spacing: -0.015em; }
.lead { color: var(--ink-500); }
.serif-accent { font-style: normal; font-weight: 600; color: var(--green-600); }
.underline-mark::after { display: none; }
.underline-mark { color: var(--green-300); white-space: normal; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .9375rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--green-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Buttons — pills. .btn = deep green, .btn--coral = mint (the one loud CTA) */
.btn {
  --_bg: var(--green-900); --_hbg: var(--green-700);
  border-radius: var(--radius-pill); height: 46px; padding: 0 22px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em;
}
.btn:hover { box-shadow: none; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--coral { --_bg: var(--green-300); --_fg: var(--green-900); --_hbg: var(--green-200); }
.btn--coral:hover { color: var(--green-900); }
.btn--dark { --_bg: var(--ink-900); --_hbg: var(--green-900); }
.btn--ghost { --_bg: transparent; --_fg: var(--green-900); --_bd: transparent; --_hbg: var(--green-050); box-shadow: inset 0 0 0 2px var(--green-900); }
.btn--ghost:hover { color: var(--green-900); }
.arrow-link { font-family: var(--font-display); font-weight: 700; color: var(--green-600); }

/* Header — always deep green, reversed logo */
.site-header, .site-header.scrolled { background: var(--green-900); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav { min-height: 74px; }
.nav-links a { color: var(--green-200); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-toggle { background: transparent; border-color: rgba(159,225,203,.4); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #fff; }
@media (max-width: 640px) {
  .site-header.menu-visible .nav-links { inset: 74px 0 auto; background: var(--green-900); border-bottom: 0; }
}
/* Tablet / narrow desktop: keep the full menu, drop the header CTA to make room */
@media (min-width: 641px) and (max-width: 1000px) {
  .nav-cta .btn { display: none; }
  .nav-links { gap: 20px; }
}

/* Inner-page hero — deep green band with the mint "ground" line */
.page-hero {
  --muted: #A9D3C4;
  background: var(--green-900); color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px);
  border-bottom: 14px solid var(--green-300);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.page-hero h1 { color: #fff; }
.page-hero .lead, .page-hero p { color: #CFEBDF; }
.page-hero .eyebrow { color: var(--green-300); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: var(--green-200); }
.page-hero .breadcrumb a { text-decoration-color: rgba(159,225,203,.5); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .section-head { max-width: 860px; }
.guide-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1; }

/* Trust strip — mint wash */
.trust { background: var(--green-050); border: 0; }
.trust-label { color: var(--green-700); }
.trust-item { color: var(--green-900); }

/* Cards — flat, square, a heavy top rule instead of shadow */
.card, .value-item {
  border: 0; border-top: 3px solid var(--green-900); border-radius: 0;
  box-shadow: none; padding: 22px 0 0; background: transparent;
}
.card:hover { transform: none; box-shadow: none; }
.card .ic-badge, .value-item .ic, .info-row .ic { border-radius: 50%; background: var(--green-050); color: var(--green-600); }
.card--coral .ic-badge, .card--amber .ic-badge { background: var(--green-050); color: var(--green-600); }
.card h3, .value-item h3, .value-item h4 { font-size: 1.375rem; color: var(--ink-900); }
.guide-card { padding-bottom: 6px; }

/* Step cards — big outlined numerals */
.step-card { padding-top: 18px; }
.step-num, .step-card:nth-child(n) .step-num {
  position: static; width: auto; height: auto; display: block; margin-bottom: 10px;
  background: none; box-shadow: none; border-radius: 0;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--green-600);
}

/* Buy / sell — solid colour blocks */
.path-grid { gap: 0; }
.path-card { border: 0; border-radius: 0; padding: clamp(28px, 4vw, 48px); min-height: 300px; }
.path-card:hover { transform: none; box-shadow: none; }
.path-card.buy { background: var(--green-900); }
.path-card.buy h2, .path-card.buy h3, .path-card.buy p { color: #fff; }
.path-card.buy p { color: #CFEBDF; }
.path-card.sell { background: var(--green-200); }
.path-card.sell h2, .path-card.sell h3, .path-card.sell p { color: var(--green-900); }
.path-card h2, .path-card h3 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.path-card .ic-badge { display: none; }
.path-card .btn { align-self: flex-start; }
.path-card.buy .btn { --_bg: var(--green-300); --_fg: var(--green-900); --_hbg: var(--green-200); }
.path-card.sell .btn { --_bg: var(--green-900); --_fg: #fff; --_hbg: var(--green-700); }

/* Stat panel + CTA band — deep blocks, square */
.stat-panel { background: var(--green-900); border-radius: 0; }
.stat b { font-weight: 800; }
.stat .accent { color: var(--green-300); }
.cta-inner { background: var(--green-900); border-radius: 0; border-bottom: 14px solid var(--green-300); }
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-inner p { color: #CFEBDF; }
.cta-inner .btn--ghost { box-shadow: inset 0 0 0 2px rgba(159,225,203,.5); }

/* Pricing cards — square, featured is the deep block */
.price-card { border-radius: 0; border: 2px solid var(--green-900); }
.price-card:hover { transform: none; box-shadow: none; }
.price-card.featured { background: var(--green-900); border-color: var(--green-900); box-shadow: none; }
.price-card.featured .price-name, .price-card.featured .price-amount .num, .price-card.featured .price-amount .cur { color: #fff; }
.price-card.featured .price-desc, .price-card.featured .price-note, .price-card.featured .price-amount .per { color: #A9D3C4; }
.price-card.featured .check-list li { color: #E2F4EC; }
.price-card.featured .check-list li svg { color: var(--green-300); }
.price-card.featured .btn { --_bg: var(--green-300); --_fg: var(--green-900); --_hbg: var(--green-200); }
.price-amount .num { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; }
.price-name { font-family: var(--font-display); font-size: 1.25rem; }
.price-badge { background: var(--ochre-500); color: var(--ochre-800); border-radius: 0; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); padding-left: 20px; box-shadow: none; }

/* FAQ — rules, not boxes */
.faq { gap: 0; border-top: 3px solid var(--green-900); }
.faq-item { border: 0; border-bottom: 1px solid var(--line-200); border-radius: 0; background: transparent; }
.faq-q { padding: 22px 0; font-size: 1.25rem; font-weight: 700; color: var(--ink-900); }
.faq-a-inner { padding: 0 0 22px; }

/* Tabs — pill segmented control */
.tabs { background: var(--green-050); border-radius: var(--radius-pill); }
.tab { border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; }
.tab.active { background: var(--green-900); color: #fff; box-shadow: none; }

/* Forms + guides furniture */
.form-embed-card { border-radius: 0; border: 2px solid var(--green-900); box-shadow: none; }
.guide-answer { border-radius: 0; border: 0; border-left: 6px solid var(--green-300); background: var(--green-050); }
.guide-toc, .guide-related, .table-wrap { border-radius: 0; box-shadow: none; }
.guide-cta { border-radius: 0; border-bottom: 10px solid var(--green-300); }
.guide-cta .arrow-link { color: var(--green-300); }
.guide-group-title { color: var(--green-600); }
.guide-body li::marker, .guide-toc li::marker, .guide-related li::marker { color: var(--green-500); }
.guide-body th { background: var(--green-900); }
.guide-body blockquote { border-radius: 0; }

/* Footer — near-black ink */
.site-footer { background: var(--ink-900); }
.footer-col a:hover { color: var(--green-300); }

/* ---- Homepage hero: headline, fee statement, roofline street ---- */
.street-hero { background: var(--green-900); color: #fff; padding-top: clamp(40px, 7vw, 96px); overflow: hidden; }
.street-hero .kicker { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--green-300); display: inline-flex; gap: 10px; align-items: center; }
.street-hero .kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.street-hero h1 { color: #fff; font-size: clamp(3rem, 9.4vw, 8.6rem); line-height: .88; max-width: 12ch; margin: 18px 0 28px; }
.street-hero h1 span { color: var(--green-300); }
.street-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px 56px; align-items: end; }
.street-hero .lead { color: #CFEBDF; max-width: 42ch; margin-bottom: 28px; }
.street-hero .hero-reassure { color: var(--green-200); margin-top: 24px; }
.street-hero .hero-reassure svg { color: var(--green-300); }
.street-hero .btn--ghost { --_fg: #fff; --_hbg: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(159,225,203,.5); }
.fee-doc { position: relative; padding-right: 30px; transform: rotate(1.5deg); margin-bottom: -90px; z-index: 2; color: var(--ink-900); }
.fee-doc::before { content: ""; position: absolute; inset: 14px 16px -14px 14px; background: var(--green-600); opacity: .6; }
.fee-sheet { position: relative; z-index: 1; background: #fff; padding: 24px 24px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.fee-sheet .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink-900); padding-bottom: 12px; margin-bottom: 4px; }
.fee-sheet .hd b { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.01em; }
.fee-sheet .mono { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-500); }
.fee-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-200); font-size: .9375rem; }
.fee-row span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-row.tot { font-weight: 700; border-bottom: 2px solid var(--ink-900); }
.fee-row.sub { color: var(--ink-500); font-size: .875rem; }
.fee-sig { position: relative; margin-top: 20px; height: 34px; border-bottom: 1px solid var(--ink-900); }
.fee-sig svg { position: absolute; left: 6px; bottom: 2px; width: 120px; height: 30px; }
.sign-flag {
  position: absolute; right: -30px; bottom: -4px; z-index: 2; white-space: nowrap;
  background: var(--ochre-500); color: var(--ochre-800); font-weight: 700; font-size: .8125rem;
  padding: 7px 12px 7px 22px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
}
.street { display: block; width: 100%; height: auto; margin-top: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.street .yours polyline { stroke-dasharray: 60; stroke-dashoffset: 60; animation: street-draw .9s ease-out .3s forwards; }
.street .yours polyline:nth-child(2) { animation-delay: .55s; }
.street .yours polyline:nth-child(3) { animation-delay: .8s; }
@keyframes street-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .street .yours polyline { stroke-dashoffset: 0; } }
.street-ground { height: 14px; background: var(--green-300); }

/* Homepage giant fee band */
.fee-band { background: var(--green-050); }
.fee-band .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.fee-fig { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 96; font-size: clamp(5rem, 13vw, 11.5rem); line-height: .85; letter-spacing: -.05em; color: var(--green-900); }
.fee-fig small { font-size: .28em; letter-spacing: -.01em; color: var(--green-600); margin-left: .1em; }
.fee-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.fee-list li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid rgba(4,52,44,.12); padding-bottom: 12px; }
.fee-list b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .street-row, .fee-band .container { grid-template-columns: 1fr; }
  .fee-doc { max-width: 360px; margin-bottom: -28px; padding-right: 20px; }
  .sign-flag { right: -20px; }
  .path-card { min-height: 0; }
}

/* Buttons on the deep-green page hero */
.page-hero .btn { --_bg: var(--green-300); --_fg: var(--green-900); --_hbg: var(--green-200); }
.page-hero .btn--ghost { --_bg: transparent; --_fg: #fff; --_hbg: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(159,225,203,.5); }
.page-hero .btn--ghost:hover { color: #fff; }

/* Product mock cards — square, no browser-window dots */
.mock { border-radius: 0; border: 2px solid var(--green-900); box-shadow: 10px 10px 0 var(--green-050); }
.mock-bar { background: var(--green-050); border-bottom-color: var(--line-200); }
.mock-bar i { display: none; }
.mock-bar .mock-url { margin-left: 0; border-radius: var(--radius-pill); }
.mock-badge { background: var(--green-050); color: var(--green-700); }
.tracker-step.current .tracker-dot { border-color: var(--ochre-500); color: var(--ochre-800); box-shadow: 0 0 0 5px var(--ochre-100); }
.path-card.buy .check-list li { color: #E2F4EC; }
.path-card.buy .check-list li svg { color: var(--green-300); }
.path-card.sell .check-list li { color: var(--green-900); }

/* Centred page heroes (pricing, get started, 404, portal): centre the measure-limited lead and any actions too */
.center .lead { margin-inline: auto; }
.center .hero-actions { justify-content: center; }

/* Accent word inside a dark hero headline */
.page-hero .serif-accent { color: var(--green-300); font-weight: inherit; }
/* Stat figures: the counter <span> inside <b> must not pick up the caption size */
.stat b span { font-size: inherit; color: inherit; font-weight: inherit; }
.stat { display: grid; gap: 6px; }
.stat b { font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: -.04em; }
