/* Becoming web. Legal pages, delete-account and 404. Same tokens and fonts as the home page (Blush over Heat, website-soft-revision.md). */
@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage-600.v3.woff2) format("woff2"); font-weight: 500 700; font-stretch: 96%; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage-800c.v2.woff2) format("woff2"); font-weight: 800; font-stretch: 75%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-var.v2.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 98%; ascent-override: 97%; descent-override: 25%; }
:root {
  --heat: #FF3D7F; --ink: #1A0A14; --blush: #FFF1F5; --night: #14060F; --night-2: #22101B;
  --flare: #C2004F; --rose: #FFC2D6; --petal: #FFE6EE; --spark: #D9F24A; --smoke: #6B4459; --haze: #C9A6B8;
  --bg: var(--blush); --bg-2: var(--petal); --hl: var(--rose); --text: var(--ink); --muted: var(--smoke); --link: var(--flare); --rule: rgba(26,10,20,.14); --tile: #fff; --focus: var(--flare);
  --f-display: "Bricolage", "Arial Narrow", sans-serif; --f-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: var(--night); --bg-2: var(--night-2); --hl: #4A1A33; --text: var(--blush); --muted: var(--haze); --link: var(--heat); --rule: rgba(255,241,245,.14); --tile: var(--night-2); --focus: var(--heat); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: var(--night); --bg-2: var(--night-2); --hl: #4A1A33; --text: var(--blush); --muted: var(--haze); --link: var(--heat); --rule: rgba(255,241,245,.14); --tile: var(--night-2); --focus: var(--heat); color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; background: var(--ink); color: var(--blush); padding: 12px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Masthead: Blush with a hairline, Ink wordmark, Heat pill */
.mast { background: var(--bg); color: var(--text); padding: max(10px, env(safe-area-inset-top)) var(--gut) 0; }
.mast-in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.mast a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.mast img { width: 120px; height: auto; display: block; }
.mast .join { font: 700 15px/1 var(--f-body); background: var(--heat); color: var(--ink); padding: 0 20px; border-radius: 999px; text-decoration: none; }
.mast-pad { height: 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mast img { filter: invert(1) hue-rotate(180deg); } }
:root[data-theme="dark"] .mast img { filter: invert(1) hue-rotate(180deg); }

main { max-width: 760px; margin: 0 auto; padding: 28px var(--gut) 64px; }
main > p:first-child { margin-top: 0; }
main > p:first-child a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
h1 { font: 600 clamp(40px, 11vw, 64px)/1 var(--f-display); font-stretch: 96%; letter-spacing: -0.024em; margin: 8px 0 16px; text-wrap: balance; }
h2 { font: 700 20px/1.3 var(--f-body); margin: 2.2em 0 .5em; padding-top: 16px; border-top: 1px solid var(--rule); }
h3 { font: 700 17px/1.35 var(--f-body); margin: 1.6em 0 .4em; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: .35em; }
b, strong { font-weight: 700; }
.muted { color: var(--muted); font-size: 15px; }
.box { background: var(--tile); border: 1px solid var(--rule); border-radius: 20px; padding: 14px 18px; margin: 20px 0; }
.box p { margin: .4em 0; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; border-bottom: 1px solid var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--heat); color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }

/* 404: Blush, one Rose highlight word */
.lost { min-height: 100dvh; display: flex; flex-direction: column; }
.lost main { flex: 1; width: 100%; padding-top: 40px; }
.lost h1 { font-size: clamp(48px, 13vw, 96px); line-height: .98; }
.lost h1 span { background: var(--hl); padding: 0 .08em; border-radius: .14em; }
.lost .muted { font-size: 18px; }

.foot { background: var(--bg-2); color: var(--muted); border-top: 1px solid var(--rule); padding: 28px var(--gut) max(28px, env(safe-area-inset-bottom)); font-size: 14px; }
.foot-in { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; column-gap: 20px; align-items: center; }
.foot a { color: var(--text); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 8px 0 0; flex-basis: 100%; }
