/* ==========================================================================
   Cajou — landing page
   Design language: "The Open Door". Committed burnt-orange on pure white.
   Display: Clash Display · Body: Figtree. OKLCH throughout.
   ========================================================================== */

/* ----------------------------- Tokens ----------------------------------- */
:root {
  /* Surfaces & ink */
  --bg:           oklch(1 0 0);             /* pure white — the No-Cream Rule */
  --surface:      oklch(0.986 0.006 60);    /* barely-warm off-white */
  --surface-2:    oklch(0.966 0.012 60);    /* warm card/section fill */
  --ink:          oklch(0.205 0.018 55);    /* near-black body + headings */
  --muted:        oklch(0.455 0.020 55);    /* secondary text (>=4.5:1 on white) */
  --line:         oklch(0.905 0.010 60);    /* hairline borders */

  /* Brand — burnt orange / terracotta (the one bold color) */
  --primary:        oklch(0.575 0.151 47);
  --primary-deep:   oklch(0.500 0.138 43);
  --primary-press:  oklch(0.430 0.118 41);
  --primary-wash:   oklch(0.950 0.036 58);  /* soft peach for illustration fills */
  --primary-on-dark:oklch(0.575 0.151 47);  /* brand color when it sits on a dark section */

  /* Dark sections (warm near-black) */
  --ink-bg:       oklch(0.198 0.018 55);
  --ink-bg-2:     oklch(0.262 0.020 55);
  --on-ink:       oklch(0.970 0.006 60);
  --on-ink-muted: oklch(0.775 0.012 60);    /* >=4.5:1 on ink-bg */
  --line-on-ink:  oklch(1 0 0 / 0.14);

  /* Accent — denim/indigo (minor, landlord-side) */
  --accent:       oklch(0.520 0.105 252);
  --accent-soft:  oklch(0.935 0.030 252);

  /* Type */
  --font-display: "Clash Display", "Figtree", system-ui, sans-serif;
  --font-body:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-display: clamp(2.75rem, 1.6rem + 5.3vw, 5.25rem);
  --step-h2:      clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  --step-h3:      clamp(1.3rem, 1.12rem + 0.7vw, 1.6rem);
  --step-lead:    clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --step-body:    1.0625rem;   /* 17px */
  --step-sm:      0.9375rem;   /* 15px */

  /* Spacing (4pt base) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;
  --space-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 7vw, 8rem);

  /* Radii — friendly, generous */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;

  /* Elevation — flat at rest, depth on state */
  --shadow-sm: 0 2px 10px oklch(0.205 0.018 55 / 0.06);
  --shadow-md: 0 12px 34px oklch(0.205 0.018 55 / 0.10);
  --shadow-lg: 0 28px 64px oklch(0.205 0.018 55 / 0.16);
  --shadow-primary: 0 16px 34px oklch(0.585 0.152 47 / 0.34);
  --cta-shadow:     oklch(0.430 0.118 41 / 0.5);   /* inner depth on the drenched CTA */

  /* Motion */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms; --dur-mid: 240ms; --dur-slow: 520ms;

  /* z-index scale */
  --z-base: 1; --z-nav: 100; --z-dropdown: 200; --z-tooltip: 300;

  --shell: 1180px;
}

/* ---- Alternate theme: dark green (toggled via [data-theme="green"]) ----- */
:root[data-theme="green"] {
  /* Neutrals retinted toward the green hue for cohesion */
  --surface:        oklch(0.986 0.006 158);
  --surface-2:      oklch(0.965 0.012 158);
  --ink:            oklch(0.205 0.016 158);
  --muted:          oklch(0.450 0.018 158);
  --line:           oklch(0.905 0.009 158);

  /* Brand — deep forest green (the one bold color) */
  --primary:        oklch(0.455 0.103 156);
  --primary-deep:   oklch(0.375 0.088 156);
  --primary-press:  oklch(0.300 0.070 155);
  --primary-wash:   oklch(0.945 0.035 158);
  --primary-on-dark:oklch(0.720 0.140 158);   /* bright emerald for use on dark sections */

  /* Dark sections — deep green charcoal */
  --ink-bg:         oklch(0.215 0.034 158);
  --ink-bg-2:       oklch(0.280 0.034 158);
  --on-ink:         oklch(0.972 0.010 158);
  --on-ink-muted:   oklch(0.795 0.022 158);

  /* Elevation / glow retuned to the green brand */
  --shadow-primary: 0 16px 34px oklch(0.455 0.103 156 / 0.34);
  --cta-shadow:     oklch(0.270 0.060 156 / 0.55);
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; word-spacing: 0.09em; text-wrap: balance; }
/* Clash Display ships a narrow space glyph; open word gaps so words never collide */
.problem__turn, .compare__col, .qa summary, .brand__word { word-spacing: 0.07em; }
p { text-wrap: pretty; }

/* --------------------------- Utilities ---------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2.5vw, 2.5rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 1rem; top: -120%; z-index: 999;
  background: var(--ink); color: var(--on-ink);
  padding: 0.75rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem; border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-quart),
              background var(--dur-fast) var(--ease-quart),
              box-shadow var(--dur-mid) var(--ease-quart);
}
.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--step-sm); }
.btn--primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn--primary:active { background: var(--primary-press); transform: translateY(0); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: oklch(0.27 0.02 55); }
.btn--ink:active { transform: translateY(0); }

.link-quiet { font-weight: 500; color: var(--muted); transition: color var(--dur-fast); }
.link-quiet:hover { color: var(--ink); }

/* Pill / status chip */
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem; border-radius: var(--r-pill);
  background: var(--primary-wash); color: var(--primary-deep);
  font-size: var(--step-sm); font-weight: 600; letter-spacing: -0.005em;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); position: relative; }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0.5; animation: ping 2.4s var(--ease-quart) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.7; } 70%,100% { transform: scale(1.6); opacity: 0; } }

/* Kicker — used deliberately, NOT over every section */
.kicker {
  display: inline-block; font-weight: 600; font-size: var(--step-sm);
  letter-spacing: -0.005em; color: var(--primary-deep); margin-bottom: var(--space-3);
}
.kicker--accent { color: var(--accent); }

/* Glossed French term */
.term {
  font-style: italic;
  border-bottom: 2px dotted color-mix(in oklab, var(--primary) 50%, transparent);
  cursor: help;
}
.term--light { border-bottom-color: oklch(0.97 0.006 60 / 0.5); }

.tooltip {
  position: fixed; z-index: var(--z-tooltip); max-width: 260px;
  background: var(--ink); color: var(--on-ink);
  padding: 0.6rem 0.8rem; border-radius: var(--r-sm); font-size: var(--step-sm);
  line-height: 1.4; box-shadow: var(--shadow-lg); pointer-events: none;
  opacity: 0; transform: translateY(4px); transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.tooltip[data-show] { opacity: 1; transform: translateY(0); }

/* --------------------- Section heads (shared) --------------------------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-title { font-size: var(--step-h2); }
.section-sub { margin-top: var(--space-4); font-size: var(--step-lead); color: var(--muted); max-width: 38ch; }

/* ------------------------------ Header ---------------------------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); background: oklch(1 0 0 / 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur-mid), box-shadow var(--dur-mid); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: var(--space-5); height: 72px; }

.brand { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; transition: color var(--dur-fast); }
.brand:hover { color: var(--primary); }

.nav__links { display: flex; gap: var(--space-5); margin-inline-start: auto; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); padding: 0.35rem 0; transition: color var(--dur-fast); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-mid) var(--ease-quart); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav__toggle { display: none; }

/* Theme toggle (burnt orange <-> dark green) */
.theme-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); }
.theme-opt { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; border-radius: var(--r-pill); cursor: pointer; }
.theme-dot { width: 16px; height: 16px; border-radius: 50%; opacity: 0.4; transition: opacity var(--dur-fast) var(--ease-quart), box-shadow var(--dur-fast) var(--ease-quart); }
.theme-dot--orange { background: oklch(0.575 0.151 47); }
.theme-dot--green  { background: oklch(0.455 0.103 156); }
.theme-opt:hover .theme-dot { opacity: 0.75; }
.theme-opt[aria-pressed="true"] .theme-dot { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.theme-opt:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.mobile-nav__theme { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); }
.mobile-nav__theme > span { font-weight: 600; font-size: 1.1rem; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.25rem; padding: var(--space-4) clamp(1.1rem, 0.6rem + 2.5vw, 2.5rem) var(--space-5); }
.mobile-nav a { padding: 0.85rem 0.4rem; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 0; margin-top: var(--space-3); justify-content: center; }

/* ------------------------------- Hero ----------------------------------- */
.hero { position: relative; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--section-y); }
.hero__copy { max-width: 36rem; }
.hero__title { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.02em; margin-top: var(--space-5); }
.hero__title em { font-style: normal; color: var(--primary); }
.hero__lead { margin-top: var(--space-5); font-size: var(--step-lead); color: var(--muted); max-width: 32ch; }

.waitlist { margin-top: var(--space-6); }
.waitlist__row { display: flex; gap: 0.6rem; background: var(--bg); padding: 0.4rem; border: 2px solid var(--ink); border-radius: var(--r-pill); max-width: 30rem; transition: box-shadow var(--dur-mid) var(--ease-quart), border-color var(--dur-fast); }
.waitlist__row:focus-within { box-shadow: 0 0 0 5px var(--primary-wash); border-color: var(--primary); }
.waitlist__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.55rem 0.5rem 0.55rem 1rem; font-size: var(--step-body); }
.waitlist__input::placeholder { color: var(--muted); }
.waitlist__input:focus-visible { outline: 0; }
.waitlist__note { margin-top: var(--space-3); font-size: var(--step-sm); color: var(--muted); }
.waitlist__status { margin-top: var(--space-3); font-size: var(--step-sm); font-weight: 600; }
.waitlist__status[data-state="error"] { color: var(--primary-deep); }
.waitlist__status[data-state="ok"] { color: var(--ink); display: flex; align-items: center; gap: 0.45rem; }
.waitlist__status[data-state="ok"]::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); flex: none; }

/* Hero art — two illustrations, one shown at random per visit */
.hero__art { position: relative; }
.art-stage { position: relative; }
.hero-art { width: 100%; height: auto; display: block; max-width: 460px; margin-inline: auto; overflow: visible; }
.hero-art--city { display: none; }
html.hero-city .hero-art--door { display: none; }
html.hero-city .hero-art--city { display: block; }

/* subtle, tasteful motion (neutralised by the reduced-motion block below) */
.art-spill { animation: heroPulse 4.6s ease-in-out infinite alternate; }
.art-glow  { animation: heroPulse 4s ease-in-out infinite alternate; }
@keyframes heroPulse { from { opacity: 0.12; } to { opacity: 0.3; } }
.art-keys { transform-box: fill-box; transform-origin: center top; animation: heroSway 5s var(--ease-quart) infinite alternate; }
@keyframes heroSway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.art-pin { animation: heroBob 3.4s var(--ease-quart) infinite alternate; }
@keyframes heroBob { from { transform: translateY(0); } to { transform: translateY(-6px); } }

.trust-chip {
  position: absolute; left: -0.5rem; bottom: 0.5rem; max-width: 17rem;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0.8rem 1rem; box-shadow: var(--shadow-md); font-size: var(--step-sm);
}
.trust-chip svg { flex: none; }
.trust-chip strong { font-weight: 700; }

/* ----------------------------- Problem (dark) --------------------------- */
.problem { background: var(--ink-bg); color: var(--on-ink); padding-block: var(--section-y); }
.problem__head { max-width: 52rem; }
.problem__title { font-size: var(--step-h2); color: var(--on-ink); }
.problem__intro { margin-top: var(--space-4); font-size: var(--step-lead); color: var(--on-ink-muted); max-width: 46ch; }

.hurdles { list-style: none; padding: 0; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hurdle { padding: var(--space-5) clamp(1.2rem, 0.5rem + 2vw, 2.4rem); border-left: 1px solid var(--line-on-ink); }
.hurdle:first-child { border-left: 0; padding-left: 0; }
.hurdle__num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--primary-on-dark); line-height: 1; display: block; margin-bottom: var(--space-4); }
.hurdle h3 { font-size: var(--step-h3); color: var(--on-ink); margin-bottom: var(--space-3); }
.hurdle p { color: var(--on-ink-muted); font-size: var(--step-body); }
.hurdle strong { color: var(--on-ink); font-weight: 600; }

.problem__turn { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); font-family: var(--font-display); font-weight: 600; font-size: var(--step-h3); letter-spacing: -0.02em; max-width: 40ch; color: var(--on-ink-muted); }
.problem__turn span { color: var(--on-ink); }

/* ----------------------------- How it works ----------------------------- */
.how { padding-block: var(--section-y); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 0.8rem + 2.5vw, 3rem); }
.step { position: relative; counter-increment: step; }
.step__art { width: 84px; height: 84px; display: grid; place-items: center; background: var(--primary-wash); border-radius: var(--r-lg); margin-bottom: var(--space-5); transition: transform var(--dur-mid) var(--ease-quart); }
.step__art svg { width: 56px; height: 56px; }
.step:hover .step__art { transform: translateY(-4px) rotate(-3deg); }
.step__title { font-size: var(--step-h3); margin-bottom: var(--space-3); display: flex; align-items: baseline; gap: 0.6rem; }
@media (min-width: 761px) { .step__title { min-height: 2.1em; } }
.step__title::before { content: counter(step); font-size: var(--step-sm); font-weight: 700; color: #fff; background: var(--primary); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-grid; place-items: center; flex: none; letter-spacing: 0; }
.step p { color: var(--muted); }

/* ----------------------------- Difference ------------------------------- */
.difference { padding-block: var(--section-y); background: var(--surface); }
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1.35fr 1fr 1fr; align-items: center; }
.compare__head { background: var(--ink); color: var(--on-ink); }
.compare__col { padding: 1rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em; }
.compare__col--new { background: var(--primary); color: #fff; }
.compare__rowhead { padding: 1rem 1.4rem; }
.compare__row { border-top: 1px solid var(--line); }
.compare__row:nth-child(even) { background: var(--surface); }
.compare__label { padding: 1.05rem 1.4rem; font-weight: 600; color: var(--ink); }
.compare__cell { padding: 1.05rem 1.4rem; display: flex; align-items: center; gap: 0.6rem; font-size: var(--step-body); }
.compare__cell--old { color: var(--muted); }
.compare__cell--new { color: var(--ink); font-weight: 500; }

.mk { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; }
.mk--yes { background: var(--primary); }
.mk--yes::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: translateY(-1px) rotate(45deg); }
.mk--no { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.mk--no::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background:
  linear-gradient(var(--muted), var(--muted)) center / 9px 2px no-repeat,
  linear-gradient(var(--muted), var(--muted)) center / 2px 9px no-repeat; }

/* ----------------------------- Landlords -------------------------------- */
.landlords { padding-block: var(--section-y); }
.landlords__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.landlords__art svg { width: 100%; max-width: 420px; margin-inline: auto; height: auto; }
.ll-shield { transform-origin: 180px 120px; animation: shieldpulse 5s var(--ease-quart) infinite alternate; }
@keyframes shieldpulse { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.landlords__copy { max-width: 34rem; }
.landlords__lead { margin-top: var(--space-4); font-size: var(--step-lead); color: var(--muted); }
.ll-points { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-4); }
.ll-points li { display: flex; align-items: flex-start; gap: 0.75rem; }
.ll-points strong { font-weight: 700; }
.ll-tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); flex: none; position: relative; margin-top: 1px; }
.ll-tick::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

/* ------------------------------- Why ------------------------------------ */
.why { padding-block: var(--section-y); background: var(--ink-bg); color: var(--on-ink); }
.why__inner { max-width: 56rem; margin-inline: auto; text-align: center; }
.why__title { font-size: var(--step-h2); color: var(--on-ink); text-wrap: balance; }
.why__body { margin-top: var(--space-5); font-size: var(--step-lead); color: var(--on-ink-muted); max-width: 60ch; margin-inline: auto; }

/* ------------------------------- FAQ ------------------------------------ */
.faq { padding-block: var(--section-y); }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 96px; }
.faq__contact { margin-top: var(--space-5); color: var(--muted); }
.faq__contact a { color: var(--primary-deep); font-weight: 600; border-bottom: 1px solid currentColor; }

.faq__list { display: grid; gap: var(--space-3); }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); transition: border-color var(--dur-fast), box-shadow var(--dur-mid); }
.qa[open] { border-color: color-mix(in oklab, var(--primary) 45%, transparent); box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 18px; height: 18px; flex: none; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform var(--dur-mid) var(--ease-quart); }
.qa__icon::before { left: 0; top: 8px; width: 18px; height: 2.5px; }
.qa__icon::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.qa[open] .qa__icon::after { transform: scaleY(0); }
.qa__body { padding: 0 1.3rem 1.25rem; color: var(--muted); }
.qa__body p { max-width: 62ch; }
.qa__body strong { color: var(--ink); font-weight: 600; }

/* ------------------------------- CTA ------------------------------------ */
.cta { padding-block: var(--section-y); background: var(--primary); color: #fff; position: relative; overflow: clip; }
.cta::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 85% 10%, oklch(1 0 0 / 0.16), transparent 60%),
  radial-gradient(50% 70% at 5% 100%, var(--cta-shadow), transparent 60%);
  pointer-events: none; }
.cta__inner { position: relative; max-width: 44rem; margin-inline: auto; text-align: center; }
.cta__art { width: 92px; margin: 0 auto var(--space-4); }
.cta__title { font-size: var(--step-h2); color: #fff; }
.cta__sub { margin-top: var(--space-4); font-size: var(--step-lead); color: oklch(1 0 0 / 0.9); max-width: 44ch; margin-inline: auto; }
.waitlist--oncolor { margin-inline: auto; max-width: 30rem; }
.waitlist--oncolor .waitlist__row { border-color: #fff; background: oklch(1 0 0 / 0.96); }
.waitlist--oncolor .waitlist__row:focus-within { box-shadow: 0 0 0 5px oklch(1 0 0 / 0.3); border-color: #fff; }
.waitlist--oncolor .waitlist__note { color: oklch(1 0 0 / 0.85); }
.waitlist--oncolor .waitlist__status[data-state="error"] { color: #fff; }
.waitlist--oncolor .waitlist__status[data-state="ok"] { color: #fff; }
.waitlist--oncolor .waitlist__status[data-state="ok"]::before { background: #fff; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--ink-bg); color: var(--on-ink); padding-block: var(--space-9) var(--space-6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid var(--line-on-ink); }
.footer__brand .brand { color: var(--on-ink); }
.footer__tag { margin-top: var(--space-3); color: var(--on-ink-muted); max-width: 28ch; }
.footer__motif { display: block; margin-top: var(--space-5); color: var(--on-ink-muted); opacity: 0.7; }
.footer__col h3 { font-family: var(--font-body); font-size: var(--step-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-ink-muted); margin-bottom: var(--space-4); }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--on-ink); opacity: 0.85; transition: opacity var(--dur-fast), color var(--dur-fast); width: fit-content; }
.footer__col a:hover { opacity: 1; color: var(--primary-on-dark); }
.footer__base { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-5); color: var(--on-ink-muted); font-size: var(--step-sm); }

/* --------------------------- Reveal motion ------------------------------ */
:where(section, [id]) { scroll-margin-top: 90px; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-expo), transform var(--dur-slow) var(--ease-expo); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-expo), transform var(--dur-slow) var(--ease-expo); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
/* stagger indices for lists that don't set --i inline */
.reveal-stagger > *:nth-child(1) { --i: 0; }
.reveal-stagger > *:nth-child(2) { --i: 1; }
.reveal-stagger > *:nth-child(3) { --i: 2; }
.reveal-stagger > *:nth-child(4) { --i: 3; }
.reveal-stagger > *:nth-child(5) { --i: 4; }
.reveal-stagger > *:nth-child(6) { --i: 5; }

/* --------------------------- Responsive --------------------------------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin-inline: auto; width: 100%; }
  .trust-chip { left: auto; right: 0; }
  .landlords__grid { grid-template-columns: 1fr; }
  .landlords__art { order: -1; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

@media (max-width: 920px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; margin-inline-start: auto; background: transparent; border: 0; padding: 0.6rem; cursor: pointer; }
  .nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-mid) var(--ease-quart), opacity var(--dur-fast); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .hurdles { grid-template-columns: 1fr; }
  .hurdle { border-left: 0; border-top: 1px solid var(--line-on-ink); padding-left: 0; padding-inline: 0; }
  .hurdle:first-child { border-top: 0; }
  .hurdle__num { margin-bottom: var(--space-2); }

  .steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: var(--space-4); align-items: start; }
  .step__art { width: 72px; height: 72px; margin-bottom: 0; grid-column: 1; grid-row: 1 / span 2; }
  .step__art svg { width: 46px; height: 46px; }
  .step__title { margin: 0 0 var(--space-2); grid-column: 2; }
  .step p { grid-column: 2; }

  /* compare → stacked groups */
  .compare { border: 0; box-shadow: none; background: transparent; display: grid; gap: var(--space-4); }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); overflow: hidden; }
  .compare__row:nth-child(even) { background: var(--bg); }
  .compare__label { grid-column: 1 / -1; background: var(--surface-2); font-family: var(--font-display); padding: 0.8rem 1.1rem; }
  .compare__cell { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0.9rem 1.1rem; font-size: var(--step-sm); }
  .compare__cell--old { border-right: 1px solid var(--line); }
  .compare__cell::before { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
  .compare__cell--old::before { content: "Old way"; color: var(--muted); }
  .compare__cell--new::before { content: "With Cajou"; color: var(--primary-deep); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .waitlist__row { flex-direction: column; border-radius: var(--r-lg); padding: 0.6rem; }
  .waitlist__row .btn { width: 100%; }
  .waitlist__input { padding: 0.7rem 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
