/* The small print, in the app's own hand: Paper and Bone, Plus Jakarta Sans,
   sections as cards, a bar back to the app, chips to jump between parts.
   Shared by /legal/ and /legal/terms/. The words are untouched. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url(../fonts/PlusJakartaSans-Variable.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/JetBrainsMono-Variable.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
:root {
  --bg:#F2F4F5; --s1:#E9ECEE; --s2:#FFFFFF; --s3:#E0E5E8; --t1:#0E0F11; --t2:#60676D;
  --acc:#0E0F11; --accT:#F2F4F5; --up:#1B7049; --dn:#AE4436;
  --hair:rgba(14,15,17,.085); --lift:#FFFFFF;
  --sh:0 18px 34px -24px rgba(14,15,17,.2), 0 2px 6px -2px rgba(14,15,17,.06);
  --rise:cubic-bezier(.16,1,.3,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg:#08090A; --s1:#101216; --s2:#16181D; --s3:#212429; --t1:#EDF0F3; --t2:#8A939B;
  --acc:#E9EDF0; --accT:#0B0D0F; --up:#6FCFA0; --dn:#F0857A;
  --hair:rgba(233,237,240,.065); --lift:rgba(233,237,240,.11); --sh:0 24px 46px -30px rgba(0,0,0,.95);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg:#08090A; --s1:#101216; --s2:#16181D; --s3:#212429; --t1:#EDF0F3; --t2:#8A939B;
  --acc:#E9EDF0; --accT:#0B0D0F; --up:#6FCFA0; --dn:#F0857A;
  --hair:rgba(233,237,240,.065); --lift:rgba(233,237,240,.11); --sh:0 24px 46px -30px rgba(0,0,0,.95);
  color-scheme: dark; }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--t1); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 132px; }
body { margin: 0; font: 400 16px/1.65 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
  background: radial-gradient(70% 40% at 50% -6%, color-mix(in srgb, var(--t1) 7%, transparent), transparent 70%) no-repeat, var(--bg); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--t1); outline-offset: 3px; border-radius: 6px; }

/* the bar back to the app */
.bar { position: sticky; top: 0; z-index: 5; padding: 10px 0; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--hair); }
.bar .in { max-width: 760px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 14px; text-transform: uppercase; }
.brand i { width: 30px; height: 30px; border-radius: 9px; background: var(--acc); color: var(--accT); display: grid; place-items: center; font: 800 12px/1 'JetBrains Mono', monospace; font-style: normal; }
.bar .back { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--s2); box-shadow: inset 0 1px 0 var(--lift), 0 0 0 1px var(--hair); }

main { max-width: 760px; margin: 0 auto; padding: 40px 16px 96px; }
.label { margin: 0; font: 600 11.5px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); display: flex; align-items: center; gap: 8px; }
main > .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t1); animation: beat 2.7s ease infinite; }
@keyframes beat { 50% { opacity: .35; transform: scale(.8); } }
h1 { font-size: clamp(36px, 8vw, 56px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 12px 0 16px; text-wrap: balance; animation: rise 900ms var(--rise) both; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.03em; font-weight: 800; margin: 0 0 12px; text-wrap: balance; }
main > p { max-width: 62ch; font-size: 17px; color: var(--t1); margin: 0 0 14px; animation: rise 900ms var(--rise) 120ms both; }
main > p.quiet { color: var(--t2); font-size: 15px; }
p, li { max-width: 68ch; }
p { margin: 0 0 12px; }
.quiet { color: var(--t2); }
strong { font-weight: 800; }

/* jump between the parts */
nav { position: sticky; top: 61px; z-index: 4; margin: 22px -16px 0; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: rise 900ms var(--rise) 200ms both; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
nav ul::-webkit-scrollbar { display: none; }
nav li { margin: 0; flex: none; }
nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700;
  background: var(--s2); box-shadow: inset 0 1px 0 var(--lift), 0 0 0 1px var(--hair); transition: background-color 250ms ease, color 250ms ease; }
nav a.is-on { background: var(--t1); color: var(--bg); }

/* each part is a card */
section { margin-top: 14px; padding: 22px 20px 12px; border-radius: 22px; background: var(--s2);
  box-shadow: inset 0 1px 0 var(--lift), 0 0 0 1px var(--hair), var(--sh); animation: rise 800ms var(--rise) both; }
section:nth-of-type(1) { margin-top: 18px; animation-delay: 260ms; } section:nth-of-type(2) { animation-delay: 320ms; } section:nth-of-type(n+3) { animation-delay: 380ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
section ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
section li { position: relative; margin: 0; padding: 12px 14px 12px 34px; border-radius: 14px; background: var(--s1); font-size: 15px; line-height: 1.55; }
section li::before { content: ""; position: absolute; left: 14px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--up); }
section li strong:first-child { display: block; margin-bottom: 2px; }
.line { font-weight: 800; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--up) 10%, var(--s2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--up) 28%, transparent); }
footer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hair); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; } }
