/* ================= document pages =================
   support, terms, privacy, cookies, data deletion.

   Deliberately NOT site.css. That stylesheet exists to hold a WebGL particle
   field, five fixed background planes and a scroll spine off each other, and
   none of that belongs behind a page somebody has been sent to in order to
   read one specific paragraph — least of all when the somebody is a reviewer
   at Apple or Google on a slow connection. These pages are text: no canvas,
   no video, no modules, one stylesheet.

   The tokens are the site's own, so the two do not look like two products. */
:root{
  --ink:#0B0E0A;
  --paper:#F2EFE6;
  --lime:#A5C715;
  --signal:#E4761B;
  --fg:#F2EFE6;
  --bg:#0B0E0A;
  --muted:rgba(242,239,230,.66);
  --rule:rgba(242,239,230,.16);
  --card:rgba(242,239,230,.04);
  --measure:44rem;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  background:var(--bg);color:var(--fg);
  font-family:"Source Serif 4",Georgia,serif;
  font-size:19px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
@media (max-width:640px){ body{font-size:17px} }

a{color:inherit}
a:hover{color:var(--lime)}

/* ---------- the bar ---------- */
.bar{
  position:sticky;top:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem clamp(1.2rem,5vw,3rem);
  background:rgba(11,14,10,.82);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.bar a.home{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 122,"wght" 640;
  font-size:.95rem;letter-spacing:.02em;text-decoration:none;
}
.bar nav{display:flex;gap:1.1rem;flex-wrap:wrap;justify-content:flex-end}
.bar nav a{
  font-family:"Martian Mono",monospace;font-size:.62rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);text-decoration:none;
}
.bar nav a[aria-current="page"]{color:var(--lime)}
/* On a phone the brand and seven nav links cannot share a row: the wordmark
   was wrapping to two lines against a nav that had already wrapped to two of
   its own. Stacked, it is one clean line and one tidy block underneath. */
@media (max-width:640px){
  .bar{flex-direction:column;align-items:flex-start;gap:.55rem}
  .bar a.home{white-space:nowrap}
  .bar nav{justify-content:flex-start;gap:.5rem .9rem}
}

/* ---------- the page ---------- */
.wrap{max-width:var(--measure);margin:0 auto;padding:clamp(2.5rem,7vw,5rem) clamp(1.2rem,5vw,3rem) 5rem}
.wrap.wide{max-width:58rem}

.eyebrow{
  font-family:"Martian Mono",monospace;font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--lime);display:block;margin-bottom:1.1rem;
}
h1{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 112,"wght" 660;
  font-size:clamp(2.1rem,6.2vw,3.4rem);line-height:1.02;letter-spacing:-.02em;
  margin-bottom:1rem;
}
h2{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 108,"wght" 620;
  font-size:clamp(1.3rem,3.4vw,1.7rem);line-height:1.15;letter-spacing:-.01em;
  margin:3rem 0 .9rem;scroll-margin-top:5rem;
}
h3{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 106,"wght" 600;
  font-size:1.05rem;margin:1.9rem 0 .5rem;
}
p{margin:0 0 1rem}
.lead{font-size:1.1rem;color:var(--muted);margin-bottom:2rem}
.stamp{
  font-family:"Martian Mono",monospace;font-size:.66rem;letter-spacing:.05em;
  color:var(--muted);margin-bottom:2.6rem;
}
ul,ol{margin:0 0 1.2rem 1.2rem}
li{margin-bottom:.5rem}
strong,b{font-weight:600}
hr{border:0;border-top:1px solid var(--rule);margin:3rem 0}
code,kbd{font-family:"Martian Mono",monospace;font-size:.82em}

/* A definition row — "what we collect / why", used all over privacy. */
.rows{border-top:1px solid var(--rule);margin:1.2rem 0 1.8rem}
.row{
  display:grid;grid-template-columns:13rem 1fr;gap:.4rem 1.6rem;
  padding:1rem 0;border-bottom:1px solid var(--rule);
}
.row > b{
  font-family:"Martian Mono",monospace;font-size:.68rem;letter-spacing:.05em;
  text-transform:uppercase;color:var(--lime);font-weight:400;line-height:1.5;
  padding-top:.18rem;
}
.row > div > :last-child{margin-bottom:0}
@media (max-width:640px){ .row{grid-template-columns:1fr;gap:.25rem} }

/* Callouts. .key is the one a reviewer is looking for on the page. */
.key{
  background:var(--card);border:1px solid var(--rule);border-left:2px solid var(--lime);
  border-radius:3px;padding:1.2rem 1.4rem;margin:1.6rem 0;
}
.key p:last-child{margin-bottom:0}
.key .big{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 108,"wght" 620;
  font-size:clamp(1.1rem,3.4vw,1.45rem);word-break:break-word;
}
.key .big a{text-decoration:none;color:var(--lime)}

/* ---------- contact cards ---------- */
.cards{
  display:grid;
  /* 11rem, not 14: the wrap is 44rem *including* its 3rem side padding, so the
     usable row is 38rem and a 14rem minimum fits only two — which left the
     third card alone on a second row with a hole beside it. */
  grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));
  gap:1rem;margin:2rem 0 1rem;
}
.card{
  background:var(--card);border:1px solid var(--rule);border-radius:3px;
  padding:1.2rem 1.3rem;
}
.card h3{margin:0 0 .35rem}
.card p{margin:0;color:var(--muted);font-size:.95rem}
.card a{word-break:break-word}

/* ---------- forms ---------- */
.form-card{
  background:var(--card);border:1px solid var(--rule);border-radius:3px;
  padding:clamp(1.3rem,3vw,2rem);margin:2rem 0;
}
.fld{margin-bottom:1.1rem}
.fld > label{
  display:block;font-family:"Martian Mono",monospace;font-size:.66rem;
  letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.4rem;
}
.fld input,.fld textarea,.fld select{
  width:100%;background:rgba(11,14,10,.5);color:var(--fg);
  border:1px solid var(--rule);border-radius:2px;
  padding:.75rem .85rem;font:inherit;font-size:1rem;
}
.fld textarea{min-height:8rem;resize:vertical}
.fld input:focus,.fld textarea:focus,.fld select:focus{outline:2px solid var(--lime);outline-offset:1px}
.fld .hint{display:block;margin-top:.35rem;font-size:.85rem;color:var(--muted)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
@media (max-width:640px){ .two{grid-template-columns:1fr} }
.opt{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.6rem;font-size:.95rem}
.opt input{width:1.05rem;height:1.05rem;margin-top:.3rem;flex:none;accent-color:var(--lime)}
/* The honeypot. Hidden from people, filled in by bots — see routes/public.js. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.btn{
  display:inline-block;background:var(--lime);color:var(--ink);
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-variation-settings:"wdth" 108,"wght" 640;
  font-size:1rem;border:0;border-radius:2px;padding:.85rem 1.6rem;cursor:pointer;
  text-decoration:none;
}
.btn:hover{background:#B8DC1C;color:var(--ink)}
.btn[disabled]{opacity:.55;cursor:default}
.btn.ghost{background:transparent;color:var(--fg);border:1px solid var(--rule)}
.btn.ghost:hover{border-color:var(--lime);color:var(--lime);background:transparent}
.form-msg{margin-top:.9rem;font-size:.95rem;min-height:1.4rem}
.form-msg.ok{color:var(--lime)}
.form-msg.bad{color:var(--signal)}

/* ---------- table of contents ---------- */
.toc{
  background:var(--card);border:1px solid var(--rule);border-radius:3px;
  padding:1.1rem 1.3rem;margin:0 0 2.6rem;
}
.toc b{
  display:block;font-family:"Martian Mono",monospace;font-size:.62rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--muted);
  font-weight:400;margin-bottom:.6rem;
}
.toc ol{margin:0 0 0 1.1rem;font-size:.95rem}
.toc li{margin-bottom:.25rem}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--rule);padding:2.6rem clamp(1.2rem,5vw,3rem) 3.4rem}
footer .inner{max-width:58rem;margin:0 auto}
footer nav{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin-bottom:1.6rem}
footer nav a{
  font-family:"Martian Mono",monospace;font-size:.66rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);text-decoration:none;
}
footer nav a:hover{color:var(--lime)}
footer .legal{font-size:.85rem;color:var(--muted);max-width:44rem}
footer .legal p{margin-bottom:.4rem}
