/* ============================================================
   Shared styling for the legal pages (privacy.html, terms.html).
   Tokens mirror index.html so the pages match the site brand.
   ============================================================ */
:root{
  --bg:#0d0d0f;
  --fg-strong:#ffffff;
  --fg:#f8f7fa;
  --fg-muted:rgba(248,247,250,.68);
  --fg-subtle:rgba(248,247,250,.45);
  --fg-faint:rgba(248,247,250,.28);

  --surface-1:rgba(248,247,250,.03);
  --surface-2:rgba(248,247,250,.05);
  --line:rgba(248,247,250,.10);
  --line-strong:rgba(248,247,250,.18);

  --thrive:#3b9be0;
  --gold:#ffc614;

  --logo-ratio:320/72;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{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:'Satoshi','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  line-height:1.7;
  letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--thrive);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
svg{display:block}

.wrap{width:100%;max-width:760px;margin:0 auto;padding:0 28px}

/* ---------- header ---------- */
.nav{border-bottom:1px solid var(--line);padding:20px 0;position:sticky;top:0;
     background:rgba(13,13,15,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:10}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;
        width:100%;max-width:760px;margin:0 auto;padding:0 28px}
.logo{display:inline-flex;align-items:center;color:var(--thrive)}
.logo-mark{height:24px;width:auto;aspect-ratio:var(--logo-ratio);flex:none}
.back{font-size:.875rem;color:var(--fg-muted)}
.back:hover{color:var(--fg-strong)}

/* ---------- document ---------- */
main{padding:20px 0 90px}
h1{font-size:clamp(2rem,5vw,2.8rem);font-weight:800;letter-spacing:-.04em;line-height:1.08;
   color:var(--fg-strong);margin:44px 0 14px}
.meta{font-size:.85rem;color:var(--fg-subtle);margin-bottom:44px;
      padding-bottom:26px;border-bottom:1px solid var(--line)}
h2{font-size:1.32rem;font-weight:700;letter-spacing:-.025em;color:var(--fg-strong);
   margin:46px 0 14px;scroll-margin-top:90px}
h3{font-size:1.02rem;font-weight:700;letter-spacing:-.02em;color:var(--fg-strong);margin:26px 0 10px}
p{color:var(--fg-muted);margin-bottom:15px;font-size:.955rem}
ul,ol{color:var(--fg-muted);margin:0 0 16px 20px;font-size:.955rem}
li{margin-bottom:9px}
li::marker{color:var(--fg-faint)}
strong{color:var(--fg);font-weight:700}

/* emphasised commitment block */
.commit{
  margin:22px 0;padding:20px 22px;border-radius:14px;
  border:1px solid var(--line-strong);background:var(--surface-2);
  border-left:3px solid var(--thrive);
}
.commit p:last-child{margin-bottom:0}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding:34px 0 46px}
.foot-in{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;
         width:100%;max-width:760px;margin:0 auto;padding:0 28px}
footer p{font-size:.815rem;color:var(--fg-faint);margin:0}
.foot-links{display:flex;gap:22px;flex-wrap:wrap}
.foot-links a{font-size:.815rem;color:var(--fg-subtle)}
.foot-links a:hover{color:var(--fg-strong)}

@media(max-width:600px){
  .wrap,.nav-in,.foot-in{padding:0 20px}
  main{padding:12px 0 64px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.001ms!important;animation-duration:.001ms!important}
  html{scroll-behavior:auto}
}
