/* Shared chrome for the legal documents. Same flag palette, same type scale as
   the landing page — a terms page that looks like a different company reads as
   boilerplate someone bought. These are ours. */
/* Tokens come from /tokens.css, which every page linking this file also links.
   This block used to redeclare a partial, drifting copy of the palette — it is
   gone on purpose. Add new tokens to tokens.css, never here. */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--paper);color:var(--ink);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
.wrap{max-width:820px;margin:0 auto;padding:0 32px}

/* ── masthead ── */
.lg-top{background:var(--navy);color:#fff;padding:20px 0;position:sticky;top:0;z-index:20}
.lg-top .wrap{display:flex;align-items:center;gap:12px;max-width:1180px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:15px;color:#fff;text-decoration:none;letter-spacing:-.01em}
.brand em{font-style:normal;color:#ff8ba3}
.mark{width:30px;height:30px;border-radius:6px;background:#001a45;position:relative;overflow:hidden;flex:0 0 auto}
.mark i{position:absolute;left:44%;right:0;height:14.28%;background:var(--red);display:block}
.mark i:nth-child(1){top:0}.mark i:nth-child(2){top:28.56%}.mark i:nth-child(3){top:57.12%}.mark i:nth-child(4){top:85.68%}
.mark b{position:absolute;left:14%;top:20%;color:#fff;font-family:var(--serif);font-size:13px;font-weight:800;line-height:1}
.lg-top .back{margin-left:auto;font-size:13px;font-weight:600;color:rgba(255,255,255,.72);text-decoration:none;transition:color .15s}
.lg-top .back:hover{color:#fff}

/* ── doc head ── */
.lg-head{padding:64px 0 34px;border-bottom:1px solid var(--line);margin-bottom:40px}
.lg-head .eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin-bottom:14px;display:flex;align-items:center;gap:10px}
.lg-head .eyebrow::before{content:'';width:24px;height:2px;background:var(--red)}
/* Weight and tracking come from the tokens so the legal pages track the
   homepage. These previously set no font-weight at all, which meant the browser
   default (bold/700) — visibly heavier than the 500 the rest of the site uses. */
.lg-head h1{font-family:var(--serif);font-size:44px;line-height:1.1;letter-spacing:var(--track-display);font-weight:var(--w-display);margin-bottom:14px}
.lg-head .meta{font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.lg-head .lede{font-size:18px;color:var(--ink-2);margin-top:16px;max-width:64ch}

/* ── body ── */
main{padding-bottom:90px}
h2{font-family:var(--serif);font-size:26px;line-height:1.2;letter-spacing:var(--track-display);font-weight:var(--w-display);margin:44px 0 14px;scroll-margin-top:80px}
h2:first-child{margin-top:0}
h3{font-size:16px;font-weight:700;margin:26px 0 8px;color:var(--ink)}
p{color:var(--ink-2);margin-bottom:14px;max-width:70ch}
ul,ol{margin:0 0 16px 22px;color:var(--ink-2)}
li{margin-bottom:7px;max-width:68ch}
strong{color:var(--ink);font-weight:650}
a{color:var(--navy-2)}
code{font-family:var(--mono);font-size:.9em;background:var(--paper-3);padding:2px 5px;border-radius:4px}

/* the load-bearing promises get a visual weight the rest of the doc doesn't */
.pledge{border:1px solid var(--line);border-left:3px solid var(--red);border-radius:10px;background:var(--paper-2);padding:20px 22px;margin:22px 0}
.pledge .t{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--red);margin-bottom:9px}
.pledge p:last-child{margin-bottom:0}
.note{border:1px solid var(--line);border-left:3px solid var(--navy);border-radius:10px;background:var(--paper-2);padding:18px 20px;margin:20px 0;font-size:14.5px}
.note p:last-child{margin-bottom:0}

table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14.5px}
th{text-align:left;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);padding:9px 10px;border-bottom:2px solid var(--line-2)}
td{padding:10px;border-bottom:1px solid var(--line);color:var(--ink-2);vertical-align:top}
td:first-child{color:var(--ink);font-weight:600;white-space:nowrap}
.tag{display:inline-block;font-family:var(--mono);font-size:10px;font-weight:600;padding:2px 7px;border-radius:4px;letter-spacing:.05em}
.tag.live{background:rgba(0,40,104,.1);color:var(--navy)}
.tag.exp{background:rgba(191,10,48,.1);color:var(--red)}
.tag.no{background:var(--paper-3);color:var(--ink-3)}
.tag.soon{background:rgba(0,40,104,.1);color:var(--navy)}

/* ── toc ── */
.toc{background:var(--paper-2);border:1px solid var(--line);border-radius:12px;padding:20px 22px;margin-bottom:40px}
.toc .t{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);margin-bottom:10px}
.toc ol{margin:0 0 0 18px;columns:2;column-gap:26px}
.toc li{margin-bottom:5px;font-size:14px}
.toc a{color:var(--ink-2);text-decoration:none}
.toc a:hover{color:var(--navy);text-decoration:underline}
@media(max-width:640px){.toc ol{columns:1}.lg-head h1{font-size:32px}.wrap{padding:0 22px}}

footer{background:var(--ink);color:rgba(255,255,255,.55);padding:40px 0;font-size:13px}
footer .wrap{max-width:1180px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
footer a{color:rgba(255,255,255,.75)}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
