/* Shared shell for the standalone pages (privacy, terms).
   The marketing page and thanks.html carry their own inline styles. */
:root{
  --bg:#020617; --bg-2:#050b1c; --surface:#0b1224;
  --border:#1e293b; --border-2:#26344d;
  --fg:#f8fafc; --fg-muted:#93a2bd; --fg-dim:#64748b;
  --accent:#22c55e; --accent-2:#16a34a;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--fg);
  font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased;
  min-height:100vh;display:flex;flex-direction:column}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}

/* nav */
.nav{position:sticky;top:0;z-index:40;background:rgba(2,6,23,.82);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:20px}
.brand{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:-.01em;color:var(--fg)}
.brand:hover{text-decoration:none}
.brand b{font-weight:700}
.mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:0 0 auto;
  background:linear-gradient(140deg,var(--accent),var(--accent-2));
  box-shadow:0 0 16px rgba(34,197,94,.35)}
.mark svg{width:17px;height:17px}
.nav-links{display:flex;gap:28px;font-size:14.5px;color:var(--fg-muted)}
.nav-links a{color:inherit;transition:color .25s var(--ease)}
.nav-links a:hover{color:var(--fg);text-decoration:none}
@media(max-width:720px){.nav-links{display:none}}

/* document body */
main{flex:1;padding:clamp(40px,7vw,72px) 0 clamp(48px,8vw,88px)}
.doc{max-width:720px;margin:0 auto}
.doc h1{font-size:clamp(30px,5vw,42px);line-height:1.12;letter-spacing:-.03em;
  font-weight:800;margin-bottom:10px}
.doc .updated{font-size:13.5px;color:var(--fg-dim);margin-bottom:34px}
.doc h2{font-size:19px;font-weight:700;letter-spacing:-.015em;color:var(--fg);
  margin:36px 0 12px;padding-top:22px;border-top:1px solid var(--border)}
.doc h2:first-of-type{border-top:0;padding-top:0}
.doc h3{font-size:15.5px;font-weight:650;margin:22px 0 8px}
.doc p{color:var(--fg-muted);margin-bottom:14px;font-size:15.5px}
.doc ul{margin:0 0 16px;padding-left:20px;color:var(--fg-muted);font-size:15.5px}
.doc li{margin-bottom:8px}
.doc li::marker{color:var(--accent)}
.doc b,.doc strong{color:var(--fg);font-weight:650}
.doc table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:14.5px}
.doc th,.doc td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);
  color:var(--fg-muted);vertical-align:top}
.doc th{color:var(--fg);font-weight:650;font-size:13px;letter-spacing:.03em;
  text-transform:uppercase}
.doc .note{background:var(--surface);border:1px solid var(--border);border-radius:14px;
  padding:18px 20px;margin:0 0 18px}
.doc .note p:last-child{margin-bottom:0}
.doc .back{display:inline-flex;align-items:center;gap:8px;margin-top:34px;font-size:14.5px;
  font-weight:600}

/* footer */
footer{border-top:1px solid var(--border);background:var(--bg-2);padding:30px 0 36px;font-size:13px}
.foot-in{display:flex;flex-wrap:wrap;gap:12px 26px;justify-content:space-between;
  align-items:center;color:var(--fg-dim)}
.foot-in a{color:var(--fg-muted)}
.foot-nav{display:flex;gap:20px;flex-wrap:wrap}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
}
