/* Legal pages — /terms and /privacy.
   Built from the shared tokens only, so both follow the site's own
   light/dark toggle. Deliberately plainer than the rest of the site: a
   legal page that performs is a legal page people stop trusting. Long
   measure, generous leading, one accent used only to mark what is not
   finished yet. */

body{background:var(--bg);color:var(--fg)}

.lgwrap{position:relative;max-width:680px;margin:0 auto;
  padding:clamp(60px,10vh,110px) var(--gut) 110px}

.lgkick{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--faint);margin:0 0 22px}
.lgtitle{font-family:var(--disp);font-weight:700;font-size:clamp(30px,5vw,44px);line-height:1.05;
  letter-spacing:-.018em;margin:0 0 12px}
.lgmeta{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10.5px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--faint);margin:0 0 42px}
.lgmeta b{color:var(--mute);font-weight:500}

.lgwrap h2{font-family:var(--disp);font-weight:700;font-size:17px;letter-spacing:-.005em;
  margin:40px 0 12px;padding-top:22px;border-top:1px solid var(--line)}
.lgwrap p{font-size:14.5px;line-height:1.72;color:var(--mute);margin:0 0 14px;max-width:62ch}
.lgwrap b{color:var(--fg);font-weight:600}
.lgwrap a{color:var(--fg);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--line-ctl)}
.lgwrap a:hover{text-decoration-color:var(--fg)}

.lgaddr{font-size:14px;line-height:1.75;color:var(--mute)}

/* Unfinished sections are marked, loudly enough that nothing ships looking
   complete when it isn't — the accent earns its one use on this page here. */
.lgflag{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:9.5px;letter-spacing:.06em;
  color:var(--accent-ink);margin-left:8px;vertical-align:middle;font-weight:500}
.lgtodo{border:1px solid var(--line2);border-left:2px solid var(--accent-ink);
  border-radius:2px;padding:18px 20px;margin:0 0 42px;background:var(--s1)}
.lgtodo.small{margin:0 0 14px;padding:14px 18px}
.lgtodo b{display:block;font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink);margin-bottom:8px;font-weight:500}
.lgtodo p{font-size:13.5px;line-height:1.65;color:var(--mute);margin:0}
.lgtodo i{font-style:normal;color:var(--accent-ink)}

.lgtable{width:100%;border-collapse:collapse;margin:0 0 18px}
.lgtable th{text-align:left;vertical-align:top;width:34%;padding:13px 16px 13px 0;
  border-bottom:1px solid var(--line);font-size:13px;font-weight:600;color:var(--fg)}
.lgtable td{vertical-align:top;padding:13px 0;border-bottom:1px solid var(--line);
  font-size:14px;line-height:1.65;color:var(--mute)}
@media(max-width:560px){
  .lgtable,.lgtable tr,.lgtable th,.lgtable td{display:block;width:auto}
  .lgtable th{border-bottom:0;padding-bottom:4px}
  .lgtable td{padding-top:0}
}

.lgalso{margin-top:48px;padding-top:24px;border-top:1px solid var(--line);font-size:13px}

.lglist{margin:0 0 16px;padding-left:20px;max-width:62ch}
.lglist li{font-size:14.5px;line-height:1.72;color:var(--mute);margin-bottom:9px}
.lglist li::marker{color:var(--faint)}

/* A visible way back, for the people not swiping and for anyone who landed
   here from a link rather than from the site. Falls back to the entry when
   there is no history to go back to — see js/legal.js. */
.lgback{display:inline-block;font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--faint);text-decoration:none;
  margin:0 0 26px;transition:color 200ms var(--ease)}
.lgback:hover{color:var(--fg)}
