/* RAaaS site: shared stylesheet. Plain CSS, no build step. Light by default; dark only via the toggle. */

:root {
  --bg: #f4f3ee;
  --card: #ffffff;
  --ink: #1b2620;
  --ink-2: #34423a;
  --muted: #637068;
  --line: #e2e2d8;
  --line-2: #d0d1c4;
  --accent: #2f6b3f;
  --accent-ink: #ffffff;
  --accent-soft: #e9f2ea;
  --water: #1f78b4;
  --water-2: #5aa9dd;
  --water-soft: #e6f1f9;
  --soil-1: #e8d9b5;
  --soil-2: #cdb07c;
  --soil-3: #9c7447;
  --grass: #cfe0b8;
  --grass-2: #b9d19c;
  --warn: #b86400;
  --warn-soft: #fff3e0;
  --ok: #2b8a3e;
  --ok-soft: #e8f5ec;
  --bad: #c0392b;
  --bad-soft: #fcecea;
  --lab-bg: #fafaf6;
  --grid: #ebebe2;
  --shadow: 0 1px 2px rgba(27, 38, 32, 0.05), 0 8px 24px rgba(27, 38, 32, 0.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --content-w: 1080px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0f1311;
  --card: #171c19;
  --ink: #e7ede8;
  --ink-2: #c9d2cc;
  --muted: #97a39b;
  --line: #28302b;
  --line-2: #36403a;
  --accent: #7cc98e;
  --accent-ink: #0d1a10;
  --accent-soft: #17261b;
  --water: #5fb3ec;
  --water-2: #8fcbf3;
  --water-soft: #122231;
  --soil-1: #43392a;
  --soil-2: #775d38;
  --soil-3: #b38752;
  --grass: #2c3b25;
  --grass-2: #37492d;
  --warn: #ffb44d;
  --warn-soft: #2a2010;
  --ok: #62d17f;
  --ok-soft: #14251a;
  --bad: #ff7b6e;
  --bad-soft: #2c1714;
  --lab-bg: #131815;
  --grid: #232a26;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

/* Metric-matched stand-in for Source Serif 4 while the web font loads, so headings do not jump on swap.
   Values measured in the browser against Times New Roman Bold at weight 600. */
@font-face {
  font-family: "Source Serif Fallback";
  src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Times New Roman");
  font-weight: 500 700;
  size-adjust: 96.2%;
  ascent-override: 108.1%;
  descent-override: 35.3%;
  line-gap-override: 0%;
}
:root { --serif: "Source Serif 4", "Source Serif Fallback", Georgia, serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
a { color: var(--water); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; border-radius: 6px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--content-w); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { font-weight: 700; font-size: 15px; line-height: 1.1; }
.brand-text span { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.steps::-webkit-scrollbar { display: none; }
.step-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 6px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: background .2s, border-color .2s, color .2s;
}
.step-pill b {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 11px;
}
.step-pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step-pill.is-active b { background: var(--accent-ink); color: var(--accent); }
.icon-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--card); border-radius: 10px;
  padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--accent); }
.scrollbar { height: 3px; background: transparent; }
.scrollbar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 16px 80px; }

.hero { padding: 44px 0 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 14px; }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.chip svg { width: 14px; height: 14px; color: var(--accent); }
.hero-art { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 16 / 11; }
.hero-art svg { width: 100%; height: 100%; display: block; }

/* Agenda overview */
.overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 8px 0 36px; }
.ov-card {
  display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--card);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s;
}
.ov-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.ov-num { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; }
.ov-card h3 { font-size: 15px; margin-bottom: 2px; }
.ov-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }

/* Sections */
.item { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.item-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.item-num {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 20px;
}
.item-head h2 { font-size: clamp(22px, 3vw, 28px); }
.item-head .kicker { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.agenda-quote {
  border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 18px; color: var(--ink-2); font-size: 15px;
}
.agenda-quote b { color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p, .card li { font-size: 14.5px; color: var(--ink-2); }
.card ul { margin: 0; padding-left: 18px; }

/* ---------- Labs ---------- */
.lab { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin: 0 0 18px; }
.lab-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.lab-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--water-soft); color: var(--water); }
.lab-tag.tag-play { background: var(--warn-soft); color: var(--warn); }
.lab-tag.tag-tool { background: var(--accent-soft); color: var(--accent); }
.lab-head h3 { font-size: 17px; }
.lab-hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.lab-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.lab-controls { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lab-view { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stage { background: var(--lab-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.stage canvas, .stage svg { display: block; width: 100%; }
.note { font-size: 12.5px; color: var(--muted); margin: 0; }
.note b { color: var(--ink-2); }

.ctl label, .ctl .ctl-label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.ctl output, .ctl .val { font-family: var(--mono); font-weight: 600; color: var(--water); }
input[type="range"] { width: 100%; accent-color: var(--water); }
.seg { display: flex; background: var(--lab-bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 6px 8px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--card); padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.water { background: var(--water); border-color: var(--water); color: #fff; }
.btn svg { width: 15px; height: 15px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; flex: none; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--water); }
.switch input:checked::after { transform: translateX(16px); }

.readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.readout { background: var(--lab-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; }
.readout span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.readout b { font-family: var(--mono); font-size: 17px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--lab-bg); border: 1px solid var(--line-2); color: var(--muted); transition: all .25s; }
.badge svg { width: 14px; height: 14px; flex: none; }
.badge.on { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.badge.pop { animation: pop .45s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.challenge { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-soft); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; color: var(--ink-2); }
.challenge svg { flex: none; width: 18px; height: 18px; color: var(--warn); margin-top: 2px; }
.challenge.done { background: var(--ok-soft); }
.challenge.done svg { color: var(--ok); }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.check-group { background: var(--lab-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.check-group h4 { font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 8px; }
.check-group h4 span { font-family: var(--mono); color: var(--muted); font-size: 12px; }

/* ---------- Scorecard ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.score { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.score th, .score td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.score thead th { background: var(--lab-bg); font-size: 12.5px; color: var(--muted); }
.score td.crit { font-weight: 600; color: var(--ink-2); }
.score td.crit small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.score tfoot td { background: var(--lab-bg); font-weight: 700; }
.state {
  width: 100%; min-width: 96px; border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px; font-size: 12.5px; font-weight: 700;
  background: var(--card); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; justify-content: center; transition: all .15s;
}
.state[data-s="1"] { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.state[data-s="2"] { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.state[data-s="3"] { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }

/* ---------- Irrigation options ---------- */
.opt-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.opt-tab { border: 1px solid var(--line-2); background: var(--card); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.opt-tab[aria-selected="true"] { border-color: var(--water); background: var(--water-soft); color: var(--water); }
.opt-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.meter { display: grid; grid-template-columns: 130px 1fr; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.meter-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--water); border-radius: inherit; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.confirm-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.confirm-list li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.confirm-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--water); }

/* ---------- Technology cards ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tech-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.tech-card h4 { font-size: 15.5px; display: flex; gap: 8px; align-items: center; }
.tech-card h4 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.tech-card .src { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 600; }
.tech-card dl { margin: 0; display: grid; gap: 6px; }
.tech-card dt { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tech-card dd { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }


/* ---------- Diagrams ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cost-box { background: var(--lab-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.cost-box h4 { font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.cost-box h4 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.cost-box p { font-size: 13px; color: var(--muted); }
.field-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.field-item {
  display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line-2); background: var(--card);
  border-radius: 10px; padding: 7px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .2s;
}
.field-item b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--water-soft); color: var(--water); }
.field-item[aria-pressed="true"] { border-color: var(--water); background: var(--water-soft); color: var(--ink); }
.field-item[aria-pressed="true"] b { background: var(--water); color: #fff; }
.field-desc { margin-top: 12px; background: var(--lab-bg); border: 1px solid var(--line); border-left: 3px solid var(--water); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; color: var(--ink-2); min-height: 64px; }
.field-desc b { display: block; color: var(--ink); margin-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-sm { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Experts ---------- */
.experts { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.expert { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.expert-top { display: flex; gap: 12px; align-items: center; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.avatar.vendor { background: var(--water-soft); color: var(--water); }
.expert h4 { font-size: 15px; }
.expert .org { font-size: 12.5px; color: var(--muted); }
.expert p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.ask { background: var(--lab-bg); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; color: var(--ink-2); border: 1px dashed var(--line-2); }
.ask b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--water); margin-bottom: 2px; }

/* ---------- Sources / footer ---------- */
.sources { columns: 2 320px; column-gap: 28px; font-size: 13.5px; color: var(--ink-2); padding-left: 0; list-style: none; }
.sources li { break-inside: avoid; margin-bottom: 8px; display: flex; gap: 8px; }
.sources li b { flex: none; font-family: var(--mono); color: var(--muted); font-size: 12px; margin-top: 2px; }
.foot a { font-weight: 600; text-decoration: none; }
.foot { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: all .25s; z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .lab-body, .opt-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .brand-text span { display: none; }
}
@media (max-width: 560px) {
  .lab, .card { padding: 14px; }
  .item-num { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }
  .brand-text { display: none; }
  .meter { grid-template-columns: 110px 1fr; }
  .field-list { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .btn-row, .toast { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}

/* ---------- Hero animation ---------- */
.h-spin { animation: h-spin 6s linear infinite; }
@keyframes h-spin { to { transform: rotate(-360deg); } }
.h-jet { animation: h-jet 0.9s linear infinite; }
.h-jet2 { animation-duration: 1.3s; }
@keyframes h-jet { to { stroke-dashoffset: -44; } }
.h-cart { animation: h-cart 16s ease-in-out infinite; }
@keyframes h-cart { 0%, 8% { transform: translateX(0); } 88%, 100% { transform: translateX(-96px); } }
.h-hose { transform-box: view-box; transform-origin: 112px 285px; animation: h-hose 16s ease-in-out infinite; }
@keyframes h-hose { 0%, 8% { transform: scaleX(1); } 88%, 100% { transform: scaleX(0.709); } }
.h-drops circle { animation: h-drop 1.1s ease-in infinite; }
.h-drops circle:nth-child(2) { animation-delay: .3s; }
.h-drops circle:nth-child(3) { animation-delay: .55s; }
.h-drops circle:nth-child(4) { animation-delay: .8s; }
@keyframes h-drop { 0% { transform: translateY(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
.h-sig { animation: h-sig 1.6s ease-in-out infinite; }
.h-sig2 { animation-delay: .4s; }
@keyframes h-sig { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.h-ping { transform-box: fill-box; transform-origin: center; animation: h-ping 2.4s ease-out infinite; }
.h-ping2 { animation-delay: 1.2s; }
@keyframes h-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.h-s { opacity: .25; animation: h-sense 6s ease-in-out infinite; }
.h-s2 { animation-delay: 1s; }
.h-s3 { animation-delay: 2s; }
@keyframes h-sense { 0%, 100% { opacity: .25; } 20%, 45% { opacity: 1; } }
.h-front { animation: h-front 6s ease-in-out infinite; transform-box: fill-box; transform-origin: top; }
@keyframes h-front { 0% { transform: scaleY(0.2); opacity: .15; } 45% { transform: scaleY(8); opacity: .4; } 100% { transform: scaleY(9); opacity: 0; } }
.probe-in { animation: probe-in .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes probe-in { 0% { transform: translateY(-18px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .h-spin, .h-jet, .h-cart, .h-hose, .h-drops circle, .h-ping, .h-sig, .h-s, .h-front, .probe-in { animation: none; }
  .h-s { opacity: 1; }
}

.topbar-inner .icon-btn { margin-left: auto; }

/* ==========================================================================
   Landing page (scoped to body.landing so the agenda page is untouched)
   ========================================================================== */
.landing {
  --radius: 6px;
  --radius-sm: 4px;
  --wide: 1160px;
  background: var(--bg);
}
.landing h1, .landing h2, .landing .l-row h3, .landing .l-col h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
.landing h1 em, .landing h2 em { font-style: normal; color: var(--accent); }
.l-container { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.l-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.l-num { color: var(--accent); font-family: var(--mono); letter-spacing: .04em; }
.l-num::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--line-2); margin-left: 10px; vertical-align: middle; }
.l-mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Header: brand left, nav centred, actions right; burger menu on small screens */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.sh-inner { max-width: var(--wide); margin: 0 auto; padding: 12px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); justify-self: start; }
.sh-brand .brand-mark { width: 30px; height: 30px; border-radius: 7px; }
.sh-word { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.sh-nav { display: flex; gap: 30px; justify-self: center; }
.sh-nav a { position: relative; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; transition: color .2s; }
.sh-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sh-nav a:hover, .sh-nav a.is-active { color: var(--ink); }
.sh-nav a:hover::after, .sh-nav a.is-active::after { transform: scaleX(1); }
.sh-actions { justify-self: end; display: flex; gap: 8px; }
.sh-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius-sm); color: var(--ink-2); transition: all .2s; }
.sh-icon:hover { border-color: var(--ink); color: var(--ink); }
.sh-icon svg { width: 18px; height: 18px; }
.sh-burger { display: none; }
.sh-burger .i-close { display: none; }
.sh-burger[aria-expanded="true"] .i-open { display: none; }
.sh-burger[aria-expanded="true"] .i-close { display: block; }
.sh-menu {
  position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); z-index: 31;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  animation: sh-drop .22s cubic-bezier(.2, .8, .2, 1);
}
.sh-menu .l-label { padding: 10px 16px; margin: 0; border-bottom: 1px solid var(--line); font-size: 10.5px; }
.sh-menu ul { list-style: none; margin: 0; padding: 0; }
.sh-menu li + li { border-top: 1px solid var(--line); }
.sh-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sh-menu a span { color: var(--muted); }
.sh-menu a:hover, .sh-menu a.is-active { background: var(--accent-soft); color: var(--accent); }
@keyframes sh-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hero */
.l-hero-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.l-contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.l-contours path { stroke-dasharray: 6 10; animation: l-drift 30s linear infinite; }
@keyframes l-drift { to { stroke-dashoffset: -320; } }
.l-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.l-hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; margin-bottom: 20px; }
.l-lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.l-hero-art { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 30px 60px -30px rgba(27, 38, 32, .35); }
.l-hero-art svg { width: 100%; height: 100%; display: block; }
.l-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.l-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: all .2s; }
.l-btn.primary { background: var(--ink); color: var(--bg); }
.l-btn.primary:hover { background: var(--accent); color: var(--accent-ink); }
.l-btn.ghost { border-color: var(--ink); color: var(--ink); }
.l-btn.ghost:hover { background: var(--ink); color: var(--bg); }
.l-btn.light { background: var(--accent-ink); color: var(--accent); }
.l-btn.light:hover { opacity: .9; }
.l-btn.outline-light { border-color: color-mix(in srgb, var(--accent-ink) 60%, transparent); color: var(--accent-ink); }
.l-btn.outline-light:hover { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); }


/* Sections */
.l-sec { padding: 88px 0; border-bottom: 1px solid var(--line); }
.l-sec-tint { background: color-mix(in srgb, var(--card) 55%, var(--bg)); }
.l-sec-head { max-width: 760px; margin-bottom: 40px; }
.l-sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin-bottom: 12px; }
.l-sec-head > p:not(.l-label) { color: var(--muted); margin: 0; font-size: 16px; }
.l-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.l-col { border-top: 2px solid var(--ink); padding-top: 22px; }
.l-col h3 { font-size: 22px; margin: 16px 0 8px; }
.l-col p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.landing .l-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.landing .l-icon svg { width: 20px; height: 20px; }
.landing .l-icon.sm { width: 36px; height: 36px; flex: none; }
.landing .l-icon.sm svg { width: 18px; height: 18px; }
.l-art { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.l-art svg { display: block; width: 100%; height: 120px; }

/* Shared labs, restyled for the landing page */
.landing .lab { border-radius: var(--radius); box-shadow: none; padding: 22px; }
.landing .stage, .landing .field-item, .landing .field-desc, .landing .seg, .landing .seg button { border-radius: var(--radius-sm); }
.landing .field-item { font-size: 14px; }
.l-cash-text { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-2); min-height: 48px; }

/* Package: ruled grid */
.l-package { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.l-pkg { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--card); transition: background .2s; }
.l-pkg:hover { background: var(--accent-soft); }
.reveal.in .l-pkg { animation: l-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.l-pkg h4 { font-size: 15px; margin-bottom: 4px; }
.l-pkg p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@keyframes l-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Audience rows */
.l-rows { border-top: 2px solid var(--ink); }
.l-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.l-row h3 { font-size: 24px; margin: 0; }
.l-row p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.65; }

.l-note { margin-top: 28px; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; max-width: 820px; }
.l-note p:last-child { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

/* Closing band */
.l-band { background: var(--accent); color: var(--accent-ink); }
.l-band-inner { padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.l-band h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 640px; margin: 0; color: var(--accent-ink); }
.landing .l-band h2 em { color: inherit; opacity: .75; }

/* Footer */
.l-footer { padding-top: 56px; background: var(--bg); }
.l-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
.l-footer-grid p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.l-footer-grid > div:first-child p { max-width: 380px; margin-top: 14px; color: var(--muted); }
.l-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.l-footer ul a, .l-footer-base a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.l-footer ul a:hover, .l-footer-base a:hover { color: var(--accent); }
.l-footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Hero scene animations */
.l-sun g { transform-box: view-box; transform-origin: 96px 84px; animation: l-sun 24s linear infinite; }
@keyframes l-sun { to { transform: rotate(360deg); } }
.l-wheat g { transform-box: fill-box; transform-origin: bottom; animation: l-grow 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes l-grow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.l-ai circle { transform-box: fill-box; transform-origin: center; animation: l-pulse 2.4s ease-in-out infinite; }
.l-ai circle:nth-child(3) { animation-delay: .4s; } .l-ai circle:nth-child(4) { animation-delay: .8s; }
.l-ai circle:nth-child(5) { animation-delay: 1.2s; } .l-ai circle:nth-child(6) { animation-delay: 1.6s; }
@keyframes l-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.l-arrow { animation: l-nudge 1.6s ease-in-out infinite; }
@keyframes l-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.l-leaf { transform-box: fill-box; animation: l-leaf 3s ease-in-out infinite; }
.l-leaf1 { transform-origin: right bottom; } .l-leaf2 { transform-origin: left bottom; animation-delay: .5s; }
@keyframes l-leaf { 0%, 100% { transform: scale(.8) rotate(0deg); } 50% { transform: scale(1.05) rotate(-4deg); } }

@media (max-width: 1000px) {
  .l-package { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sh-inner { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .sh-nav { display: none; }
  .sh-burger { display: grid; }
  .l-container { padding: 0 16px; }
  .l-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 48px; }
  .l-sec { padding: 60px 0; }
  .l-cols-3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .l-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .l-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 861px) {
  .sh-menu { display: none !important; }
}
@media (max-width: 520px) {
  .l-package { grid-template-columns: minmax(0, 1fr); }
  .l-lead { font-size: 16.5px; }
  .landing .lab { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .l-contours path, .l-sun g, .l-wheat g, .l-ai circle, .l-arrow, .l-leaf, .reveal.in .l-pkg, .sh-menu { animation: none; }
}
.l-footer-grid .l-label { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.landing .h-front { animation-name: l-front; }
@keyframes l-front { 0% { transform: scaleY(0.2); opacity: .1; } 45% { transform: scaleY(4.5); opacity: .28; } 100% { transform: scaleY(5); opacity: 0; } }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.l-legal { max-width: 760px; }
.l-legal h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 0; }
.l-legal-meta { margin: 24px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.l-legal-sec { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 40px; }
.l-legal-sec h2 { display: flex; align-items: baseline; gap: 14px; font-size: 24px; margin: 0 0 14px; }
.l-legal-sec h2 span { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.l-legal-sec p, .l-legal-sec li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.l-legal-sec ul { padding-left: 20px; display: grid; gap: 10px; margin: 0 0 12px; }
.l-legal-sec a { color: var(--accent); }

/* ---------- Landing: three clicks, local rails, capital ---------- */
.l-clicks { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 26px; }
.l-clicks span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.l-clicks b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--warn); color: #fff; font-size: 12px; }
.reveal.in .l-clicks span, .l-hero .l-clicks span { animation: l-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.l-hero .l-clicks span:nth-child(2) { animation-delay: .12s; } .l-hero .l-clicks span:nth-child(3) { animation-delay: .24s; }

.l-demo { padding: 28px; }
.l-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.l-demo-ctl .l-label { margin: 0 0 8px; }
.l-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.l-chips button { border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; transition: all .2s; }
.l-chips button:hover { border-color: var(--ink); }
.l-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.l-steps { display: grid; gap: 10px; margin-top: 4px; }
.l-steps button { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-align: left; border: 1px solid var(--line-2); background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; transition: all .25s; }
.l-steps button b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--warn); color: var(--warn); font-size: 14px; transition: all .25s; }
.l-steps button span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.l-steps button strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.l-steps button[aria-pressed="true"] { border-color: var(--warn); box-shadow: 0 0 0 2px var(--warn); }
.l-steps button[aria-pressed="true"] b { background: var(--warn); color: #fff; }
.l-demo-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }

.l-phone { position: relative; width: 100%; max-width: 330px; margin: 0 auto; background: #141a16; border-radius: 42px; padding: 12px; box-shadow: 0 40px 70px -35px rgba(20, 30, 24, .55); }
.l-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; border-radius: 12px; background: #141a16; z-index: 2; }
.l-screen { background: var(--bg); border-radius: 31px; height: 664px; overflow: hidden; color: var(--ink); }
.l-swap { height: 100%; display: flex; flex-direction: column; padding: 44px 16px 16px; animation: l-swap .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes l-swap { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.l-sbar-top { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.l-swap h4 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0; }
.l-ssub { font-size: 12.5px; color: var(--muted); margin: 2px 0 12px; }
.l-srow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin-bottom: 5px; font-size: 12.5px; font-weight: 700; }
.l-srow > div { min-width: 0; }
.l-srow small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-soffers { flex: none; font-size: 10.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 8px; }
.l-spick { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent); }
.l-spick.on { background: var(--accent); box-shadow: inset 0 0 0 3px var(--card); }
.l-ssim { margin-top: 6px; padding: 10px; border-radius: 10px; background: var(--accent-soft); }
.l-ssim p { margin: 0 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.l-ssim small { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-2); line-height: 1.4; }
.l-smeter { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-2); margin-bottom: 4px; }
.l-smeter i { height: 6px; border-radius: 999px; background: var(--card); overflow: hidden; }
.l-smeter em { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.l-sseg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; }
.l-sseg button { border: 0; background: transparent; padding: 8px 6px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.l-sseg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.l-sflow { list-style: none; margin: 0 0 12px; padding: 0; font-size: 13.5px; }
.l-sflow li { position: relative; padding: 0 0 12px 22px; color: var(--ink-2); }
.l-sflow li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.l-sflow li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 17px; bottom: 0; width: 1px; background: var(--line-2); }
.l-snote { font-size: 12px; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.l-scta { margin-top: auto; border: 0; border-radius: 12px; padding: 13px; font-size: 13.5px; font-weight: 800; background: var(--warn); color: #fff; }
.l-sdots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.l-sdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.l-sdots i.on { background: var(--ink); width: 16px; border-radius: 3px; }

.l-subhead { max-width: 680px; margin: 48px 0 18px; }
.l-subhead h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.l-subhead p { margin: 0; color: var(--muted); }
.l-esc-foot { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.l-esc-steps { display: flex; gap: 6px; }
.l-esc-steps button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 800; color: var(--ink-2); transition: all .2s; }
.l-esc-steps button[aria-pressed="true"] { background: var(--water); border-color: var(--water); color: #fff; }
.l-esc-text { flex: 1; min-width: 240px; margin: 0; font-size: 15px; color: var(--ink-2); }

.l-table-wrap { background: var(--card); border-radius: var(--radius); }
.l-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.l-table th, .l-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.l-table th { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--lab-bg); }
.l-table tr:last-child td { border-bottom: 0; }
.l-table td:first-child { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.l-table td { color: var(--ink-2); }
.l-status { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.l-status.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.l-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.l-vs-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.l-vs-card .l-label { margin: 0; }
.l-vs-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0; }
.l-vs-card p:not(.l-label) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.l-vs-card.ours { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.l-vs-tag { align-self: flex-start; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.l-vs-card.ours .l-vs-tag { color: var(--accent); }

.l-capital { padding: 88px 0; background: #13291b; color: #e9f1ea; }
.l-capital .l-label { color: #9fc4a8; }
.l-capital .l-num { color: #7cc98e; }
.l-capital h2 { color: #fff; }
.landing .l-capital h2 em { color: #7cc98e; }
.l-capital .l-sec-head > p:not(.l-label) { color: #b9cdbd; }
.l-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); margin: 8px 0 28px; }
.l-stats > div { padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.l-stats > div:first-child { border-left: 0; padding-left: 0; }
.l-stats b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 46px); color: #fff; line-height: 1.1; }
.l-stats span { font-size: 13px; color: #b9cdbd; }
.l-capital-text { max-width: 780px; }
.l-capital-text p { color: #dbe7dd; font-size: 16.5px; line-height: 1.7; margin: 0 0 10px; }
.l-capital-text .l-source { font-size: 12.5px; color: #93a998; }

@media (max-width: 920px) {
  .l-demo-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
  .l-versus { grid-template-columns: minmax(0, 1fr); }
  .l-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .l-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .l-capital { padding: 60px 0; }
  .l-subhead { margin-top: 36px; }
}
@media (max-width: 520px) {
  .l-demo { padding: 14px; }
  .l-esc-text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .l-swap, .l-clicks span { animation: none; }
}
@media (max-width: 760px) {
  .l-table-wrap { overflow: visible; border: 0; background: transparent; }
  .l-table { min-width: 0; }
  .l-table thead { display: none; }
  .l-table, .l-table tbody, .l-table tr, .l-table td { display: block; width: 100%; }
  .l-table tr { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 6px 16px 14px; margin-bottom: 12px; }
  .l-table td { border: 0; padding: 8px 0 0; }
  .l-table td:first-child { padding-top: 10px; font-size: 20px; }
  .l-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}
:root[data-theme="dark"] .l-phone, :root[data-theme="dark"] .l-notch { background: #0a0d0b; }
:root[data-theme="dark"] .l-phone { box-shadow: 0 0 0 1px #34403a, 0 40px 70px -35px rgba(0, 0, 0, .7); }

/* ---------- Landing: join, providers, pay as you grow, worked example, path ---------- */
.l-lead-sub { font-size: 16px; color: var(--ink-2); margin: -14px 0 24px; max-width: 560px; }
.l-lead-sub b { color: var(--accent); }
.l-track-note { font-size: 13.5px; color: var(--ink-2); margin: -10px 0 20px; min-height: 42px; line-height: 1.55; }

.l-confirm { margin-top: 18px; }
.l-confirm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.l-confirm-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); transition: border-color .3s, box-shadow .3s, transform .3s; }
.l-confirm-item h4 { font-size: 14px; margin: 0 0 2px; }
.l-confirm-item p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.l-confirm-item.on { border-color: var(--water); box-shadow: 0 0 0 2px var(--water-soft); transform: translateY(-2px); }
.l-confirm-item.on .l-icon { background: var(--water); color: #fff; }
.l-confirm-sides { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: 820px; }

.l-prov { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.l-prov-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.l-prov-card .l-label { margin-bottom: 6px; }
.l-prov-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 6px; }
.l-prov-card p:not(.l-label) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.l-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l-route { background: var(--card); border: 1px solid var(--line-2); border-top: 3px solid var(--warn); border-radius: var(--radius); padding: 22px; }
.l-route b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 14px; margin-bottom: 12px; }
.l-route h4 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 6px; }
.l-route p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.l-rails { margin-top: 26px; }
.l-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.l-marquee-track { display: flex; gap: 10px; flex-wrap: wrap; }
.l-marquee-track.run { flex-wrap: nowrap; width: max-content; animation: l-marquee 32s linear infinite; }
.l-marquee:hover .l-marquee-track.run { animation-play-state: paused; }
.l-marquee-track span { flex: none; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); }
@keyframes l-marquee { to { transform: translateX(calc(-50% - 5px)); } }

.l-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.l-calc-ctl { display: grid; gap: 18px; }
.l-calc-ctl output { color: var(--accent); }
.l-calc-ctl input[type="range"] { accent-color: var(--accent); }
.l-calc-out { display: grid; gap: 18px; }
.l-calc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.l-calc-row span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.l-calc-row b { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 34px); }
.l-calc-row i { grid-column: 1 / -1; height: 14px; border-radius: 999px; background: var(--grid); overflow: hidden; }
.l-calc-row em { display: block; height: 100%; border-radius: inherit; background: var(--water); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.l-calc-row em.claim { background: var(--accent); }
.l-calc-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

.l-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
.l-path::before { content: ""; position: absolute; top: 9px; left: 9px; right: 9px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.l-path-run { position: absolute; top: 4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 6px color-mix(in srgb, var(--warn) 25%, transparent); animation: l-run 7s ease-in-out infinite; }
@keyframes l-run { 0% { left: 3px; } 45%, 55% { left: calc(50% - 6px); } 100% { left: calc(100% - 15px); } }
.l-stop { position: relative; }
.l-stop-dot { position: absolute; top: -26px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); }
.l-stop:nth-child(2) .l-stop-dot { left: calc(50% - 10px); }
.l-stop:nth-child(3) .l-stop-dot { left: auto; right: 0; }
.l-stop:nth-child(2) { text-align: center; }
.l-stop:nth-child(3) { text-align: right; }
.l-stop:nth-child(2) .l-label { justify-content: center; }
.l-stop:nth-child(3) .l-label { justify-content: flex-end; }
.l-stop .l-label { margin: 10px 0 4px; color: var(--accent); }
.l-stop h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.l-stop p:not(.l-label) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

@media (max-width: 1000px) {
  .l-confirm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .l-prov, .l-routes, .l-calc { grid-template-columns: minmax(0, 1fr); }
  .l-calc { gap: 24px; }
  .l-path { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 0 0 34px; }
  .l-path::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .l-path-run { left: 4px; top: 0; animation: l-run-v 7s ease-in-out infinite; }
  @keyframes l-run-v { 0% { top: 4px; } 45%, 55% { top: calc(50% - 6px); } 100% { top: calc(100% - 16px); } }
  .l-stop .l-stop-dot, .l-stop:nth-child(2) .l-stop-dot, .l-stop:nth-child(3) .l-stop-dot { top: 2px; left: -34px; right: auto; }
  .l-stop:nth-child(2), .l-stop:nth-child(3) { text-align: left; }
  .l-stop:nth-child(2) .l-label, .l-stop:nth-child(3) .l-label { justify-content: flex-start; }
  .l-stop .l-label { margin-top: 0; }
}
@media (max-width: 520px) {
  .l-confirm-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .l-path-run, .l-marquee-track.run { animation: none; }
}
.l-risk .l-route { border-top-color: var(--water); }
.l-risk .l-route b { background: var(--water); }
.l-risk { margin-bottom: 4px; }
.l-goal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .18); }
.l-goal-num b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 9vw, 112px); line-height: .95; color: #7cc98e; letter-spacing: -0.02em; }
.l-goal-num span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9cdbd; }
.l-goal-text { max-width: 640px; }
.l-goal-text h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin: 0 0 10px; line-height: 1.2; }
.l-goal-text p:not(.l-label) { color: #dbe7dd; font-size: 16px; line-height: 1.7; margin: 0 0 10px; }
.l-goal-text p.l-source { font-size: 12.5px; color: #93a998; }
@media (max-width: 860px) {
  .l-goal { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
