/* Landing page only. Colour tokens live in theme.css. */
:root{
  --wrap:1120px;
  --gap-section:clamp(72px,9vw,132px);
  --radius:14px;
  --radius-lg:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--fg);
  font:16px/1.62 var(--font-ui);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{max-width:100%}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:3px}
:where(a,button,summary,input):focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:6px;
}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 22px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:99;background:var(--bg-2);color:var(--fg);padding:10px 16px;border-radius:8px;border:1px solid var(--line)}

/* ---- shared type ----------------------------------------------------- */
h1,h2,h3{margin:0;letter-spacing:-.032em;line-height:1.08;font-weight:660}
h1{font-size:clamp(2.35rem,5.6vw,4.05rem)}
h2{font-size:clamp(1.75rem,3.6vw,2.6rem)}
h3{font-size:1.06rem;letter-spacing:-.015em;line-height:1.35}
p{margin:0}
.kicker{
  font:500 11px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;
  color:var(--fg-mute);margin:0 0 16px;
}
.lead{font-size:clamp(1.02rem,1.5vw,1.19rem);color:var(--fg-dim);max-width:56ch}

/* ---- buttons --------------------------------------------------------- */
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:48px;padding:0 22px;border-radius:11px;border:1px solid transparent;
  font-weight:560;font-size:15px;cursor:pointer;text-decoration:none;white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s,transform .15s;
}
.button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.button-primary{background:var(--accent);color:var(--accent-fg)}
.button-primary:hover{background:var(--accent-strong);transform:translateY(-1px)}
.button-quiet{background:var(--bg-2);color:var(--fg);border-color:var(--line)}
.button-quiet:hover{border-color:var(--fg-mute)}
.button-sm{height:38px;padding:0 15px;font-size:14px;border-radius:9px}
.button .icon-fill{fill:currentColor;stroke:none}

/* ---- nav ------------------------------------------------------------- */
.site-nav{
  position:sticky;top:0;z-index:40;
  background:color-mix(in srgb,var(--bg) 82%,transparent);
  backdrop-filter:blur(14px);border-bottom:1px solid transparent;
  transition:border-color .2s;
}
.site-nav[data-stuck]{border-bottom-color:var(--line)}
.nav-inner{display:flex;align-items:center;gap:10px;height:64px}
.brand{
  display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none;
  font-weight:640;letter-spacing:-.02em;font-size:16px;margin-right:auto;
}
.brand-mark{width:24px;height:24px;flex:none}
.brand-mark rect{fill:var(--accent);stroke:none}
.brand-mark path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-links{display:flex;align-items:center;gap:4px;margin-right:6px}
.nav-links a{
  color:var(--fg-dim);text-decoration:none;font-size:14.5px;
  padding:8px 11px;border-radius:8px;transition:color .15s,background .15s;
}
.nav-links a:hover{color:var(--fg);background:var(--bg-3)}
.icon-button{
  width:38px;height:38px;display:grid;place-items:center;flex:none;
  border:1px solid var(--line);border-radius:9px;background:var(--bg-2);
  color:var(--fg-dim);cursor:pointer;transition:color .15s,border-color .15s;
}
.icon-button:hover{color:var(--fg);border-color:var(--fg-mute)}
.lang{position:relative;flex:none}
.lang>summary{
  list-style:none;display:flex;align-items:center;gap:6px;height:38px;padding:0 10px;
  border:1px solid var(--line);border-radius:9px;background:var(--bg-2);color:var(--fg-dim);
  cursor:pointer;font:600 11.5px/1 var(--font-mono);letter-spacing:.06em;
  transition:color .15s,border-color .15s;
}
.lang>summary::-webkit-details-marker{display:none}
.lang>summary::marker{content:""}
.lang>summary:hover,.lang[open]>summary{color:var(--fg);border-color:var(--fg-mute)}
.lang>summary svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.lang-menu{
  position:absolute;top:calc(100% + 7px);right:0;z-index:60;min-width:158px;
  display:flex;flex-direction:column;gap:1px;padding:5px;
  background:var(--bg-2);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);
}
.lang-menu a{
  padding:9px 11px;border-radius:7px;white-space:nowrap;
  color:var(--fg-dim);text-decoration:none;font-size:14px;
}
.lang-menu a:hover{background:var(--bg-3);color:var(--fg)}
.lang-menu a[aria-current]{color:var(--fg);font-weight:600;background:var(--bg-3)}
.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---- hero ------------------------------------------------------------ */
.hero{position:relative;overflow:hidden;padding:clamp(52px,8vw,104px) 0 0}
.hero-glow{
  position:absolute;left:50%;top:-260px;width:min(1100px,150vw);height:640px;
  transform:translateX(-50%);pointer-events:none;z-index:0;
  background:radial-gradient(50% 50% at 50% 50%,var(--glow),transparent 72%);
}
.hero .wrap{position:relative;z-index:1}
.hero-copy{max-width:760px}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;margin-bottom:26px;
  padding:6px 13px 6px 9px;border:1px solid var(--accent-line);border-radius:100px;
  background:var(--accent-soft);color:var(--fg-dim);font-size:13.5px;
}
.eyebrow b{color:var(--fg);font-weight:560}
.pulse{width:7px;height:7px;border-radius:50%;background:var(--ok);flex:none}
.hero h1{margin-bottom:22px;max-width:16ch}
.hero .lead{font-size:clamp(1.06rem,1.6vw,1.24rem);max-width:60ch}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.cta-note{margin-top:16px;font-size:14px;color:var(--fg-mute)}

/* ---- editor mockup --------------------------------------------------- */
.mock{margin:clamp(44px,6vw,72px) auto 0;max-width:1000px}
.mock-frame{
  border:1px solid var(--line);border-radius:var(--radius-lg);
  background:var(--bg-2);box-shadow:var(--shadow-lg);overflow:hidden;
}
.mock-bar{
  display:flex;align-items:center;gap:9px;height:42px;padding:0 13px;
  border-bottom:1px solid var(--line);background:var(--bg-2);
}
.mock-mark{width:16px;height:16px;border-radius:4px;background:var(--accent);flex:none}
.mock-file{font-size:12.5px;font-weight:550;white-space:nowrap}
.mock-meta{font-size:11.5px;color:var(--fg-mute)}
.mock-bar .spacer{flex:1}
.mock-pill{height:22px;padding:0 10px;display:grid;place-items:center;border-radius:6px;background:var(--bg-3);color:var(--fg-mute);font-size:11px}
.mock-pill.on{background:var(--accent);color:var(--accent-fg)}
.mock-body{display:flex;min-height:340px;background:var(--stage)}
.mock-rail{
  width:46px;flex:none;display:flex;flex-direction:column;gap:5px;align-items:center;
  padding:9px 0;background:var(--bg-2);border-right:1px solid var(--line);
}
.mock-tool{width:28px;height:28px;border-radius:7px;background:var(--bg-3)}
.mock-tool.on{background:var(--accent)}
.mock-stage{flex:1;display:grid;place-items:center;padding:22px 16px;min-width:0}
.mock-page{
  width:100%;max-width:430px;aspect-ratio:1/1.29;background:var(--paper);
  border-radius:3px;box-shadow:var(--shadow);padding:30px 32px;
  display:flex;flex-direction:column;gap:9px;
}
.mock-line{height:7px;border-radius:3px;background:#d5d8e2}
.mock-line.short{width:52%}
.mock-line.mid{width:78%}
.mock-line.tiny{width:34%}
.mock-line.head{height:12px;width:60%;background:#aab0c0;margin-bottom:7px}
.mock-line.mark{background:#ffe14d}
.mock-edit{
  position:relative;height:16px;width:72%;border:1.5px solid var(--accent);
  border-radius:3px;background:var(--accent-soft);display:flex;align-items:center;padding:0 5px;
}
.mock-edit span{font:600 9.5px/1 var(--font-ui);color:#1b1f2b;letter-spacing:.01em}
.mock-caret{width:1.5px;height:11px;background:var(--accent);margin-left:2px;animation:blink 1.1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.mock-sign{margin-top:auto;align-self:flex-end;color:var(--accent)}
.mock-sign svg{width:104px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mock-props{
  width:110px;flex:none;padding:11px;background:var(--bg-2);border-left:1px solid var(--line);
  display:flex;flex-direction:column;gap:9px;
}
.mock-label{font:500 9px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--fg-mute)}
.mock-swatches{display:flex;flex-wrap:wrap;gap:5px}
.mock-swatches i{width:17px;height:17px;border-radius:5px;border:1px solid var(--line)}
.mock-slider{height:5px;border-radius:3px;background:var(--bg-3);position:relative}
.mock-slider::after{content:"";position:absolute;left:0;top:0;bottom:0;width:62%;border-radius:3px;background:var(--accent)}
.mock-caption{margin:15px 0 0;text-align:center;font-size:13px;color:var(--fg-mute)}

/* ---- the four zeros -------------------------------------------------- */
.zeros{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  margin-top:var(--gap-section);border:1px solid var(--line);border-radius:var(--radius);
  background:var(--line);overflow:hidden;
}
.zero{background:var(--bg);padding:26px 22px}
.zero b{display:block;font-size:clamp(2rem,3.4vw,2.7rem);font-weight:640;letter-spacing:-.04em;line-height:1;color:var(--accent)}
.zero strong{display:block;margin:9px 0 5px;font-size:14.5px;font-weight:560}
.zero span{font-size:13.5px;color:var(--fg-dim);line-height:1.5}

/* ---- sections -------------------------------------------------------- */
.section{padding-block:calc(var(--gap-section) / 2)}
.section-head{max-width:640px;margin-bottom:clamp(34px,4vw,52px)}
.section-head h2{margin-bottom:16px}

/* ---- feature cards --------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  padding:26px 24px 28px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--bg-2);transition:border-color .18s,transform .18s;
}
.card:hover{border-color:var(--accent-line);transform:translateY(-2px)}
.card-icon{
  width:38px;height:38px;display:grid;place-items:center;margin-bottom:18px;
  border-radius:10px;background:var(--accent-soft);color:var(--accent);
}
.card-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card h3{margin-bottom:9px}
.card p{color:var(--fg-dim);font-size:14.8px}

/* ---- steps ----------------------------------------------------------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step}
.step{padding-top:22px;border-top:2px solid var(--line);position:relative}
.step::before{
  counter-increment:step;content:"0" counter(step);
  position:absolute;top:-2px;left:0;padding-top:22px;
  font:500 11px/1 var(--font-mono);letter-spacing:.14em;color:var(--accent);
}
.step h3{margin:34px 0 9px}
.step p{color:var(--fg-dim);font-size:14.8px}

/* ---- privacy proof --------------------------------------------------- */
.proof{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(30px,5vw,64px);align-items:center}
.proof-copy h2{margin-bottom:18px}
.proof-copy p+p{margin-top:16px}
.netpanel{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--bg-2);box-shadow:var(--shadow);font-family:var(--font-mono);
}
.netpanel-bar{
  display:flex;align-items:center;gap:14px;padding:9px 13px;
  border-bottom:1px solid var(--line);font-size:11.5px;color:var(--fg-mute);
}
.netpanel-bar b{color:var(--fg);font-weight:560}
.netpanel-body{padding:46px 20px;text-align:center;color:var(--fg-mute);font-size:12.5px}
.netpanel-body strong{display:block;margin-bottom:6px;color:var(--fg);font-size:14px;font-weight:560}
.netpanel-foot{
  display:flex;gap:18px;padding:9px 13px;border-top:1px solid var(--line);
  background:var(--bg-3);font-size:11.5px;color:var(--fg-dim);
}
.netpanel-foot b{color:var(--ok);font-weight:560}

/* ---- comparison ------------------------------------------------------ */
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;min-width:620px;font-size:14.8px}
caption{text-align:left;padding:0 0 14px;color:var(--fg-mute);font-size:13.5px}
th,td{padding:15px 20px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
thead th{
  font:500 11px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;
  color:var(--fg-mute);background:var(--bg-2);
}
tbody th{font-weight:550;color:var(--fg);width:30%}
td{color:var(--fg-dim)}
td.mine{color:var(--fg)}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}

/* ---- faq ------------------------------------------------------------- */
.faq{max-width:800px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  display:flex;align-items:flex-start;gap:16px;padding:20px 0;cursor:pointer;
  font-weight:550;font-size:16.5px;letter-spacing:-.012em;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";flex:none;width:11px;height:11px;margin:6px 0 0 auto;
  border-right:1.8px solid var(--fg-mute);border-bottom:1.8px solid var(--fg-mute);
  transform:rotate(45deg);transition:transform .2s;
}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq-answer{padding:0 40px 22px 0;color:var(--fg-dim);font-size:15.2px}
.faq-answer p+p{margin-top:12px}

/* ---- why we build ---------------------------------------------------- */
.creed{
  position:relative;overflow:hidden;text-align:center;
  padding:clamp(46px,6vw,74px) clamp(22px,5vw,64px);
  border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg-2);
}
.creed::before{
  content:"";position:absolute;inset:-42% 18% auto;height:340px;
  background:radial-gradient(50% 50% at 50% 50%,var(--glow),transparent 70%);
}
.creed>*{position:relative}
.verse{margin:0 0 clamp(28px,4vw,42px)}
.verse p{
  margin:0 auto 15px;max-width:19ch;text-wrap:balance;
  font-size:clamp(1.5rem,3.2vw,2.3rem);line-height:1.22;letter-spacing:-.03em;font-weight:620;
}
.verse cite{
  display:block;font:500 11px/1 var(--font-mono);letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent);font-style:normal;
}
.creed-copy{max-width:62ch;margin:0 auto;text-align:left;color:var(--fg-dim);font-size:15.4px}
.creed-copy p+p{margin-top:15px}
.creed-copy a{color:var(--fg);text-decoration-color:var(--accent)}
.creed-copy a:hover{color:var(--accent)}
.creed-sign{
  max-width:62ch;margin:clamp(28px,4vw,40px) auto 0;padding-top:24px;
  border-top:1px solid var(--line);font-weight:560;color:var(--fg);
}

/* ---- closing cta ----------------------------------------------------- */
.final{
  text-align:center;padding:clamp(52px,7vw,86px) 26px;
  border:1px solid var(--line);border-radius:var(--radius-lg);
  background:var(--bg-2);position:relative;overflow:hidden;
}
.final::before{
  content:"";position:absolute;inset:-40% 25% auto;height:320px;
  background:radial-gradient(50% 50% at 50% 50%,var(--glow),transparent 70%);
}
.final>*{position:relative}
.final h2{margin-bottom:16px}
.final .lead{margin:0 auto}
.final .cta-row{justify-content:center}

/* ---- footer ---------------------------------------------------------- */
.site-footer{border-top:1px solid var(--line);padding:44px 0 52px}
.footer-inner{display:flex;flex-wrap:wrap;gap:26px;justify-content:space-between;align-items:flex-start}
.footer-note{max-width:36ch;font-size:13.8px;color:var(--fg-mute);margin-top:12px}
.footer-links{display:flex;flex-wrap:wrap;gap:26px}
.footer-col{display:flex;flex-direction:column;gap:9px}
.footer-col span{font:500 10.5px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--fg-mute);margin-bottom:3px}
.footer-col a{color:var(--fg-dim);text-decoration:none;font-size:14.2px}
.footer-col a:hover{color:var(--fg)}
.footer-bottom{
  max-width:80ch;margin-top:38px;padding-top:20px;border-top:1px solid var(--line);
  font-size:13.5px;color:var(--fg-mute);
}
.footer-bottom a{color:var(--fg-dim);text-decoration-color:var(--line)}
.footer-bottom a:hover{color:var(--fg)}

/* ---- scroll reveal --------------------------------------------------- */
[data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
[data-reveal].shown{opacity:1;transform:none}

/* ---- responsive ------------------------------------------------------ */
@media (max-width:900px){
  .cards,.steps{grid-template-columns:1fr 1fr}
  .proof{grid-template-columns:1fr}
  .zeros{grid-template-columns:1fr 1fr}
  /* five links plus the CTA do not fit; the footer still carries these two */
  .nav-links a[href="#what-it-does"],.nav-links a[href="#privacy"]{display:none}
}
@media (max-width:660px){
  .nav-links{display:none}
  .cta-row .button{white-space:normal}
  .cards,.steps{grid-template-columns:1fr}
  .mock-props{display:none}
  .mock-body{min-height:280px}
  /* the bar has no room for the full chrome at this width */
  .mock-meta,.mock-pill:not(.on){display:none}
  .cta-row .button{flex:1 1 100%}
  .zero{padding:20px 18px}
  .faq summary{font-size:15.5px}
  .faq-answer{padding-right:0}
}
@media (max-width:560px){
  /* the longest translation of the CTA no longer fits beside the brand;
     the hero repeats it a thumb-length below */
  .nav-inner>.button-primary{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
  [data-reveal]{opacity:1;transform:none}
}
