/* Wastora design system
   Palette: warm "market paper" neutrals, deep forest ink, and a three-step
   freshness scale (tomato / amber / leaf) that doubles as the product's
   status language: Sell today / Sell this week / Safe. Lime is the brand
   highlight and is never used to signal status. */

:root {
  --ink: #10231c;
  --ink-2: #2c3d36;
  --muted: #5d6b64;
  --paper: #f7f4ec;
  --paper-2: #efe9db;
  --card: #ffffff;
  --line: #e1dacb;
  --line-2: #cfc6b2;

  --lime: #cdea6c;
  --lime-deep: #a9cc3a;

  --today: #c93a22;      /* tomato */
  --today-bg: #fbe5df;
  --week: #b86b00;       /* amber, text-safe */
  --week-fill: #e8a237;
  --week-bg: #fbefd9;
  --safe: #23744a;       /* leaf */
  --safe-bg: #e0f0e4;
  --na: #5d6b64;
  --na-bg: #ebe8e1;

  --wa: #1f8f62;         /* chat accent */
  --wa-bubble: #dff5e3;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(16, 35, 28, .06), 0 2px 8px rgba(16, 35, 28, .05);
  --shadow-2: 0 2px 4px rgba(16, 35, 28, .05), 0 18px 40px -12px rgba(16, 35, 28, .22);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
svg[viewBox="0 0 24 24"] { width: 1.15em; height: 1.15em; flex: none; }
h3 > svg[viewBox="0 0 24 24"] { display: inline-block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
small, .small { font-size: .875rem; }
code, .mono { font-family: var(--font-mono); font-size: .86em; letter-spacing: -0.01em; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--lime); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-alt { background: var(--paper-2); }
.section-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.on-dark { background: var(--ink); color: #e9ece6; }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lede, .on-dark .muted { color: #b5c0b9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: var(--lime); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #1d3a2f; box-shadow: 0 8px 20px -8px rgba(16,35,28,.5); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); background: var(--card); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d9f283; transform: translateY(-1px); }
.btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--lime-deep); }
.text-link:hover { text-decoration-color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Pills & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-1);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--week-fill); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--week-fill); opacity: .5; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font: 600 .72rem/1.5 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent;
}
.badge-dev { background: var(--week-bg); color: #7a4700; border-color: #f0d9ad; }
.badge-roadmap { background: #e8e6f6; color: #3d3a7a; border-color: #d5d1ef; }
.badge-now { background: var(--safe-bg); color: #175635; border-color: #c4e2cc; }
.badge-proposed { background: var(--na-bg); color: var(--ink-2); border-color: var(--line); }
.badge-sample { background: var(--ink); color: var(--lime); }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .8rem; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-today { color: var(--today); background: var(--today-bg); }
.status-week { color: var(--week); background: var(--week-bg); }
.status-safe { color: var(--safe); background: var(--safe-bg); }
.status-na { color: var(--na); background: var(--na-bg); }
.status-rescued { color: #175635; background: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 236, .86);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 236, .95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 30px; height: 30px; }
.wordmark { font-family: var(--font-display); font-weight: 750; font-size: 1.42rem; letter-spacing: -0.04em; line-height: 1; }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 11px; border-radius: 8px; text-decoration: none;
  font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; text-decoration: none; padding: 8px 4px; }
.nav-demo:hover { text-decoration: underline; text-underline-offset: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 3px var(--safe-bg); }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; color: var(--ink);
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 18px; padding: 16px var(--gutter) 28px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .nav-demo { justify-content: center; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(205, 234, 108, .35), transparent 70%),
    radial-gradient(520px 320px at 8% 100%, rgba(232, 162, 55, .14), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lede { margin-bottom: 30px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); max-width: 56ch; }
.hero-visual { position: relative; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 18ch; margin-top: 4px; }
.page-hero .lede { margin-top: 18px; }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Mock UI (product visuals) ---------- */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); overflow: hidden; position: relative; font-size: 14px; line-height: 1.45;
}
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mock-title { font-weight: 600; font-size: 13px; color: var(--ink-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 16px; }
.mock-label {
  position: absolute; z-index: 3; top: 12px; right: 12px; background: var(--ink); color: var(--lime);
  font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px;
}
.mock-bar .mock-label { position: static; }
.mock-caption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi b { display: block; font: 700 22px/1.1 var(--font-display); letter-spacing: -0.02em; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi.k-today b { color: var(--today); }
.kpi.k-week b { color: var(--week); }
.kpi.k-safe b { color: var(--safe); }

.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 92px 1fr 104px; gap: 12px; align-items: center;
  padding: 10px 4px; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
.row .id { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.row .what { min-width: 0; }
.row .what b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .what span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.row .left { text-align: right; }
.row .left .status { font-size: 11.5px; }
.life { height: 5px; border-radius: 99px; background: var(--paper-2); margin-top: 6px; overflow: hidden; }
.life i { display: block; height: 100%; border-radius: inherit; }
.life .f-today { background: var(--today); }
.life .f-week { background: var(--week-fill); }
.life .f-safe { background: var(--safe); }

.float-card { position: absolute; z-index: 4; box-shadow: var(--shadow-2); }
.hero-visual .float-card { left: -28px; bottom: -34px; width: min(300px, 78%); }
@media (max-width: 960px) { .hero-visual .float-card { left: auto; right: 8px; bottom: -40px; } .hero-visual { margin-bottom: 40px; } }

/* Chat (WhatsApp-style, unbranded) */
.chat { background: #efeae0; border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--wa); color: #fff; font-weight: 600; font-size: 13.5px; }
.chat-head .avatar { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chat-head .avatar svg { width: 18px; height: 18px; }
.chat-head small { display: block; font-weight: 400; opacity: .85; font-size: 11.5px; }
.bubble { max-width: 86%; padding: 8px 11px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06); white-space: pre-line; }
.bubble.me { align-self: flex-end; background: var(--wa-bubble); }
.bubble .meta { display: block; text-align: right; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.bubble.alert { border-left: 4px solid var(--today); }
.bubble b { font-weight: 600; }
.photo-thumb { width: 168px; height: 104px; border-radius: 8px; overflow: hidden; }

/* Reason card */
.reason-card .big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.reason-card .big b { font: 700 40px/1 var(--font-display); letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; }

/* Bar chart */
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 150px; padding: 6px 2px 0; }
.bar-pair { display: flex; gap: 3px; align-items: flex-end; height: 100%; }
.bar-pair i { flex: 1; border-radius: 4px 4px 0 0; display: block; min-height: 2px; }
.bar-pair .lost { background: var(--today); opacity: .85; }
.bar-pair .saved { background: var(--safe); }
.bar-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Offer card */
.offer-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.offer-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.offer-item span { color: var(--muted); font-size: 12px; }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); position: relative; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card-link .arrow-link { margin-top: auto; padding-top: 14px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--paper-2); color: var(--ink);
}
.icon svg { width: 22px; height: 22px; }
.on-dark .card { background: #183129; border-color: #29443a; color: #d7ddd8; }
.on-dark .icon { background: #23423a; color: var(--lime); }

/* Audience strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip-inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.strip-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: none; }
.strip-list { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.strip-list li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-2); font-size: .98rem; }
.strip-list li svg { width: 18px; height: 18px; color: var(--muted); }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.highlight { padding: 28px 26px; border-left: 1px solid var(--line); }
.highlight:first-child { border-left: 0; }
.highlight b { display: block; font: 700 1.55rem/1.15 var(--font-display); letter-spacing: -0.02em; margin-bottom: 8px; }
.highlight p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .highlights { grid-template-columns: repeat(2, 1fr); } .highlight:nth-child(3) { border-left: 0; } .highlight:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } .highlight { border-left: 0; border-top: 1px solid var(--line); } .highlight:first-child { border-top: 0; } }

/* Stats with sources */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.stat { border-top: 3px solid var(--today); padding-top: 20px; }
.stat b { display: block; font: 700 clamp(2.2rem, 3.6vw, 3rem)/1 var(--font-display); letter-spacing: -0.035em; margin-bottom: 12px; }
.stat p { color: var(--ink-2); font-size: .98rem; margin-bottom: 10px; }
.stat .src { font-size: .85rem; color: var(--muted); }
.stat .src a { color: var(--ink); }
.source-note { margin-top: 28px; font-size: .88rem; color: var(--muted); padding: 12px 16px; border-radius: 10px; background: var(--paper-2); display: inline-block; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

/* Today vs */
.versus { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.versus > div { padding: clamp(24px, 3vw, 36px); }
.versus .before { background: var(--card); }
.versus .after { background: var(--ink); color: #dfe5e0; }
.versus h3 { display: flex; align-items: center; gap: 10px; }
.versus .after h3 { color: #fff; }
.versus ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.versus li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.versus li svg { width: 20px; height: 20px; margin-top: 3px; }
.versus .before li svg { color: var(--today); }
.versus .after li svg { color: var(--lime); }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* Feature rows */
.features { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 12px 0 14px; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feature-step { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.benefit { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--lime-deep); background: var(--card); border-radius: 0 10px 10px 0; font-size: .97rem; }
.benefit b { font-weight: 600; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-copy { order: 0; } }

/* Compact feature grid (home) */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.fcard.wide { grid-column: span 2; }
.fcard .mini { margin-top: auto; padding-top: 14px; }
.fgrid > *, .mini > *, .grid > *, .split > *, .feature > *, .hero-grid > *, .batch-grid > *, .flow-step > *, .segment > *, .ai-grid > *, .contact-grid > * { min-width: 0; }
.mini-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.fcard h3 { margin: 4px 0 0; }
.fcard p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } .fcard.wide { grid-column: span 2; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } .fcard.wide { grid-column: auto; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 600 .8rem/1 var(--font-mono); color: var(--muted); margin-bottom: 26px;
}
.steps li::after { content: ""; position: absolute; top: 28px; left: 52px; right: 20px; height: 1px; background: var(--line); }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.on-dark .steps li { background: #183129; border-color: #29443a; }
.on-dark .steps li::after { background: #2f4c41; }
.on-dark .steps p { color: #c0cbc4; }
.on-dark .steps li::before { color: var(--lime); }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Long-form steps (how it works page) */
.flow { display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-step { display: grid; grid-template-columns: 72px 1fr 1fr; gap: clamp(20px, 3vw, 48px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); align-items: start; }
.flow-step:first-child { border-top: 0; }
.flow-num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime);
  font: 700 1.25rem/1 var(--font-display);
}
.flow-step h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.flow-step ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.flow-step li { margin-bottom: 6px; }
@media (max-width: 900px) { .flow-step { grid-template-columns: 56px 1fr; } .flow-step > .flow-visual { grid-column: 2; } }
@media (max-width: 560px) { .flow-step { grid-template-columns: 1fr; } .flow-step > .flow-visual { grid-column: auto; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 .78rem/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: #fbfaf6; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.col-us, th.col-us { background: #f5f9e6; }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.yes svg, .no svg, .part svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--safe); }
.no svg { color: #a9a294; }
.part svg { color: var(--week-fill); }
.table-note { margin-top: 12px; font-size: .86rem; color: var(--muted); }

/* AI section */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.do-dont { display: grid; gap: 14px; }
.do-dont .card { padding: 22px 24px; }
.do-dont h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.do-dont ul { margin: 10px 0 0; padding-left: 1.1em; }
.do-dont li { margin-bottom: 8px; color: var(--ink-2); }
.on-dark .do-dont li { color: #c9d2cc; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* Segments */
.segment { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.segment:first-of-type { border-top: 0; }
.segment dl { margin: 0; display: grid; gap: 18px; }
.segment dt { font: 600 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.segment dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .segment { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--lime); color: var(--ink); font: 600 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: 6px; }
.plan h3 { margin-bottom: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.price b { font: 700 3rem/1 var(--font-display); letter-spacing: -0.04em; }
.price span { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .96rem; }
.plan li svg { width: 18px; height: 18px; color: var(--safe); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-note { font-size: .86rem; color: var(--muted); margin: 0; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r);
  background: var(--week-bg); border: 1px solid #efd9ae; color: #5c3a00; font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.notice p { margin: 0; }
.notice.neutral { background: var(--card); border-color: var(--line); color: var(--ink-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.rm { padding: 26px 24px; background: var(--card); border-left: 1px solid var(--line); }
.rm:first-child { border-left: 0; background: var(--ink); color: #dfe5e0; }
.rm:first-child h3 { color: #fff; }
.rm .when { font: 600 .78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); display: block; margin-bottom: 14px; }
.rm:first-child .when { color: var(--lime); }
.rm h3 { font-size: 1.1rem; }
.rm p { font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } .rm:nth-child(3) { border-left: 0; } .rm:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } .rm { border-left: 0; border-top: 1px solid var(--line); } .rm:first-child { border-top: 0; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; background: var(--paper-2); }
.person .initials { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--ink); color: var(--lime); font: 700 1.9rem/1 var(--font-display); letter-spacing: -0.02em; }
.person h3 { margin-bottom: 2px; font-size: 1.2rem; }
.person .role { color: var(--muted); margin-bottom: 12px; display: block; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font: 600 .74rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }

/* Architecture diagram */
.arch { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2vw, 28px); overflow-x: auto; }
.arch svg { min-width: 860px; width: 100%; height: auto; }
.arch text { font-family: var(--font-body); }
.svc-table td:first-child { white-space: nowrap; font-weight: 600; }

/* CTA band */
.cta-band { background: var(--ink); color: #dfe5e0; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(205,234,108,.28), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #b9c4bd; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-2);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(205,234,108,.6); }
.field [aria-invalid="true"] { border-color: var(--today); }
.field .err { color: var(--today); font-size: .85rem; min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .93rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--safe-bg); color: #175635; }
.form-status.bad { background: var(--today-bg); color: #8a2513; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }
.toc { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 36px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: .95rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4bd; padding: 72px 0 32px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #dfe5e0; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font: 600 .76rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: #8fa197; margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-status { margin-top: 48px; padding-top: 24px; border-top: 1px solid #29443a; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .86rem; color: #8fa197; }
.footer-status p { margin: 0; max-width: 70ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 700 clamp(5rem, 16vw, 10rem)/1 var(--font-display); letter-spacing: -0.06em; color: var(--ink); }
.notfound .code span { color: var(--today); }

/* Reveal motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.list-check svg { width: 20px; height: 20px; color: var(--safe); margin-top: 3px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
