:root {
  --blur: 15px;
  --bg:#F7F8F2; --bg2:#EDEFE6; --ink:#233D32; --muted:#5C6960; --faint:#6C776F;
  --line:#E3E7DC; --card:#FFFFFF;
  --glass:rgba(255,255,255,0.58); --glass2:rgba(255,255,255,0.34); --glassbrd:rgba(255,255,255,0.9);
  --btn:#285B46; --btn-ink:#FFFFFF; --btn-hov:#1B4433;
  --panel:#285B46; --panel-ink:#FFFFFF; --panel-sub:#CEE0D3; --panel-acc:#DCEF9F;
  --panel-glass:rgba(255,255,255,0.10); --panel-brd:rgba(220,239,159,0.26);
  --tile:#DCEF9F; --tile-ink:#233D32; --acc:#285B46;
  --lav:#EAE5F7; --lav-ink:#3E3E52; --lav-label:#453977;
  --peach:#F7E6D5; --peach-ink:#54432F;
  --band:#233D32; --band-ink:#FFFFFF; --band-sub:#CEE0D3;
  --shadow:rgba(35,61,50,0.42);
  --amb1:rgba(220,239,159,0.9); --amb2:rgba(40,91,70,0.28); --amb3:rgba(234,229,247,0.85);
  --mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg:#0D1712; --bg2:#111E17; --ink:#E9F1EB; --muted:#A6B9AD; --faint:#8B9E92;
  --line:rgba(233,241,235,0.13); --card:rgba(233,241,235,0.05);
  --glass:rgba(233,241,235,0.06); --glass2:rgba(233,241,235,0.035); --glassbrd:rgba(233,241,235,0.14);
  --btn:#DCEF9F; --btn-ink:#14251B; --btn-hov:#C6E27F;
  --panel:#16291F; --panel-ink:#FFFFFF; --panel-sub:#B7CEBF; --panel-acc:#DCEF9F;
  --panel-glass:rgba(220,239,159,0.07); --panel-brd:rgba(220,239,159,0.2);
  --tile:#DCEF9F; --tile-ink:#14251B; --acc:#C6E27F;
  --lav:rgba(180,166,235,0.14); --lav-ink:#D3CBEF; --lav-label:#BFAFF2;
  --peach:rgba(247,230,213,0.11); --peach-ink:#E6D0B9;
  --band:#0A130E; --band-ink:#FFFFFF; --band-sub:#B7CEBF;
  --shadow:rgba(0,0,0,0.75);
  --amb1:rgba(220,239,159,0.24); --amb2:rgba(40,91,70,0.55); --amb3:rgba(180,166,235,0.2);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }

.page { position: relative; width: 100%; min-height: 100vh; overflow-x: hidden; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient div { position: absolute; border-radius: 50%; }
.ambient .a1 { top:-14vh; left:-8vw; width:58vw; height:58vw; background:radial-gradient(circle at 50% 50%, var(--amb1), transparent 68%); filter:blur(60px); }
.ambient .a2 { top:34vh; right:-14vw; width:52vw; height:52vw; background:radial-gradient(circle at 50% 50%, var(--amb2), transparent 68%); filter:blur(70px); }
.ambient .a3 { bottom:-18vh; left:22vw; width:46vw; height:46vw; background:radial-gradient(circle at 50% 50%, var(--amb3), transparent 70%); filter:blur(70px); }
.content { position: relative; z-index: 1; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.glass {
  background: var(--glass); border: 1px solid var(--glassbrd);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.glass2 {
  background: var(--glass2); border: 1px solid var(--glassbrd);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; color: var(--faint); }
.h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; letter-spacing: -1.4px; line-height: 1.1; }
.lede { font-size: 16px; line-height: 1.65; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: 20px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn); color: var(--btn-ink); font-weight: 600;
  border-radius: 14px; padding: 16px 26px; font-size: 16px; border: 0; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--btn-hov); color: var(--btn-ink); }
.btn.small { padding: 14px 22px; font-size: 15px; border-radius: 13px; }
.btn.tiny { padding: 9px 16px; font-size: 14px; border-radius: 11px; gap: 8px; }
.btn.fixed { background: #285B46; color: #FFFFFF; }
.btn.fixed:hover { background: #1B4433; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 16px; font-weight: 600; padding: 15px 24px; border-radius: 14px;
  transition: border-color .15s ease;
}
.btn-ghost:hover { border-color: var(--acc); color: var(--ink); }

/* Logo mark */
.mark { border-radius: 11px; background: #285B46; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mark.s34 { width: 34px; height: 34px; }
.mark.s36 { width: 36px; height: 36px; border-radius: 12px; }
.mark .r { display: flex; align-items: flex-start; gap: 1.5px; line-height: 1; }
.mark .r span { font-weight: 700; color: #DCEF9F; font-size: 25px; }
.mark.s36 .r span { font-size: 27px; }
.mark .r svg { flex-shrink: 0; margin-top: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass); border-bottom: 1px solid var(--glassbrd);
  backdrop-filter: blur(var(--blur)) saturate(1.6); -webkit-backdrop-filter: blur(var(--blur)) saturate(1.6);
}
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .word { font-size: 22px; font-weight: 700; letter-spacing: -0.9px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav > a.link { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav > a.link:hover { color: var(--ink); }
.theme-toggle {
  display: flex; align-items: center; gap: 8px; color: var(--ink);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.8px;
  padding: 9px 13px; border-radius: 11px; cursor: pointer; transition: border-color .15s ease;
}
.theme-toggle:hover { border-color: var(--acc); }
.theme-toggle .when-dark { display: none; }
html[data-theme="dark"] .theme-toggle .when-dark { display: inline-flex; align-items: center; gap: 8px; }
html[data-theme="dark"] .theme-toggle .when-light { display: none; }
.theme-toggle .when-light { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 720px) { .nav > a.link { display: none; } }

/* Hero */
.hero {
  padding-top: 64px; padding-bottom: 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  border-radius: 99px; padding: 7px 14px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--acc); }
.pill span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.8px; color: var(--ink); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 600; letter-spacing: -2.4px; line-height: 1.02;
  color: var(--ink); text-wrap: pretty;
}
.hero .sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.hero .sub b { color: var(--ink); font-weight: 500; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.4px; }
.hero-shot { display: flex; justify-content: center; min-width: 0; }
.phone { position: relative; width: 100%; max-width: 330px; border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px -24px var(--shadow); }
.phone img { width: 100%; border-radius: 29px; }

/* Examples panel */
.examples { padding-top: 20px; padding-bottom: 72px; }
.panel {
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 32px;
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px;
  box-shadow: 0 24px 50px -30px var(--shadow);
}
.panel-label { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; color: var(--panel-acc); }
.panel .grid { gap: 12px; }
.example {
  background: var(--panel-glass); border: 1px solid var(--panel-brd);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 16px; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--panel-ink);
  cursor: copy; position: relative; transition: border-color .15s ease;
}
.example:hover { border-color: rgba(220,239,159,0.6); }
.example.copied::after {
  content: "COPIED"; position: absolute; top: 8px; right: 10px; font-size: 9px; letter-spacing: 1px; color: var(--panel-acc);
}
.panel .note { font-size: 14px; line-height: 1.7; color: var(--panel-sub); max-width: 80ch; }
.panel .note code { font-family: var(--mono); color: var(--panel-acc); font-size: inherit; }

/* Flow */
.flow { padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 660px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.shot { border-radius: 26px; padding: 8px; }
.shot img { width: 100%; border-radius: 19px; }
.step-label { font-family: var(--mono); font-size: 11px; color: var(--acc); letter-spacing: 1px; }
.step-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.step-text code { font-family: var(--mono); font-size: 13px; }

/* Capabilities */
.capabilities { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 0; border-right: 0; }
.capabilities .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.cap-card { border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cap-head { display: flex; align-items: center; gap: 11px; }
.cap-head .tile { width: 34px; height: 34px; border-radius: 11px; background: var(--tile); display: flex; align-items: center; justify-content: center; }
.cap-head .name { font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; color: var(--acc); font-weight: 500; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row .k { font-weight: 500; }
.row .v { font-family: var(--mono); font-size: 12px; color: var(--faint); text-align: right; }
.not-impl { background: var(--peach); border: 1px solid var(--glassbrd); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.not-impl .cap-head .name { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { background: var(--glass); border: 1px solid var(--glassbrd); border-radius: 99px; padding: 8px 15px; font-size: 14px; color: var(--ink); }
.not-impl p { font-size: 14px; line-height: 1.7; color: var(--peach-ink); max-width: 80ch; }

/* Privacy */
.privacy { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: start; }
.privacy .intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.privacy .intro p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 52ch; }
.privacy .cards { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pcard { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.pcard .t { font-size: 16px; font-weight: 600; }
.pcard .d { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Behaviour band */
.behaviour { background: var(--band); }
.behaviour .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.behaviour .section-head { max-width: 680px; }
.behaviour .eyebrow { color: var(--panel-acc); }
.behaviour .h2 { color: var(--band-ink); }
.behaviour .lede { color: var(--band-sub); }
.bcard {
  background: rgba(220,239,159,0.07); border: 1px solid var(--panel-brd);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 9px; min-width: 0;
}
.bcard .l { font-family: var(--mono); font-size: 11px; color: var(--panel-acc); letter-spacing: 1px; }
.bcard .t { font-size: 16px; font-weight: 600; color: var(--band-ink); }
.bcard .d { font-size: 14px; line-height: 1.7; color: var(--band-sub); }
.bcard .d em { font-style: normal; color: var(--panel-acc); }

/* Install */
.install { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.icard { border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.icard.tile { background: var(--tile); border: 0; box-shadow: 0 20px 44px -30px var(--shadow); }
.icard .t { font-size: 20px; font-weight: 600; }
.icard.tile .t { color: #233D32; }
.icard .d { font-size: 15px; line-height: 1.7; color: var(--muted); }
.icard.tile .d { color: #33452F; }
.icard .d code, .icard .fine code { font-family: var(--mono); font-size: 13px; }
.icard .fine { font-family: var(--mono); font-size: 11px; color: var(--faint); line-height: 1.7; }
.icard.tile .fine { color: #3F5138; }
.icard .btn { align-self: flex-start; }
.hash { font-family: var(--mono); font-size: 11px; line-height: 1.7; color: #3F5138; word-break: break-all; background: rgba(255,255,255,0.35); border-radius: 10px; padding: 10px 12px; }
.hash a { color: #285B46; text-decoration: underline; }
.cmd {
  background: #0A130E; border: 1px solid var(--panel-brd); border-radius: 14px; padding: 16px 18px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: #DCEF9F; overflow-x: auto; white-space: nowrap;
}
.testers {
  background: var(--lav); border: 1px solid var(--glassbrd);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 26px; padding: clamp(26px, 3.4vw, 38px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; align-items: center;
}
.testers .eyebrow { color: var(--lav-label); }
.testers .t { font-size: 23px; font-weight: 600; letter-spacing: -0.8px; color: var(--ink); line-height: 1.2; }
.testers .d { font-size: 15px; line-height: 1.7; color: var(--lav-ink); }
.testers .report { background: var(--glass); border: 1px solid var(--glassbrd); border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.testers .fine { font-family: var(--mono); font-size: 11px; color: var(--lav-label); line-height: 1.7; }
.testers .btn { align-self: flex-start; }

/* FAQ */
.faq { border-top: 1px solid var(--line); border-left: 0; border-right: 0; border-bottom: 0; }
.faq .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.faq .h2 { max-width: 600px; }
.qcard { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.qcard .q { font-size: 17px; font-weight: 600; }
.qcard .a { font-size: 15px; line-height: 1.7; color: var(--muted); }
.qcard .a code { font-family: var(--mono); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 52px; padding-bottom: 52px; display: flex; flex-direction: column; gap: 30px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand .word { font-size: 20px; font-weight: 700; letter-spacing: -0.8px; }
.foot-brand .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.rule { height: 1px; background: var(--line); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.foot-bottom p { font-size: 12.5px; line-height: 1.75; color: var(--faint); max-width: 74ch; }
.foot-bottom .ver { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.8px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Legal pages */
.legal { padding-top: 64px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; max-width: 800px; }
.legal .h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; letter-spacing: -2px; line-height: 1.05; text-wrap: pretty; }
.legal .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; color: var(--faint); line-height: 1.8; }
.legal .summary { border-radius: 22px; padding: 22px 24px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal .summary b, .legal p b { font-weight: 600; color: var(--ink); }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.6px; line-height: 1.2; margin-top: 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal p + p, .legal ul + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal code { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .block { display: flex; flex-direction: column; gap: 8px; }
