/* Fonts are self-hosted (SIL Open Font Licence, fonts/OFL-*.txt), so visitors' browsers never contact Google. Latin subset. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/Archivo.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/IBMPlexMono-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #14100E;
  --card: #1E1815;
  --ink: #F4ECE4;
  --ink2: #C9B9AE;
  --muted: #A2928A;
  --accent: #E4572E;
  --accent-hover: #F07A50;
  --on-accent: #14100E;
  --cream: #FFF6EC;
  --line: rgba(244, 236, 228, .12);
  /* corner steps: control 12, card 14, feature 22 (panels 32 and 36, pills 999 are one-offs) */
  --r-control: 12px; --r-card: 14px; --r-feature: 22px;
  /* page colour (rgb for glows and edges, tint for small text): orange by default, each guide borrows an app tab's colour.
     The tints are the colour mixed 55% toward cream, so kickers stay above 4.5:1 even on the strongest glow. */
  --tab: 228, 87, 46; --tabtext: var(--accent);
}
body.t-learn { --tab: 184, 86, 110; --tabtext: #D9A8AF; }
body.t-support, body.t-security { --tab: 110, 140, 170; --tabtext: #B8C1CA; }  /* slate blue */
body.t-privacy { --tab: 120, 160, 100; --tabtext: #BCCAAA; }                    /* sage green */
body.t-terms { --tab: 150, 110, 190; --tabtext: #CAB3D3; }                      /* lavender */
body.sub:not([class*=" t-"]) { --tabtext: #F4A486; }  /* orange pages (404): a light orange, because the accent is only 3:1 on its own glow */
* { box-sizing: border-box; }
img { height: auto; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink2);
  font: 16px/1.6 'Archivo', system-ui, sans-serif;
}
a { color: var(--accent); }
[id] { scroll-margin-top: calc(var(--hh, 68px) + 16px); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header .wrap, footer .wrap { max-width: 1120px; }

/* header: sticky glass on every page, the same store buttons as the home page */
header { position: sticky; top: 0; z-index: 20; background: rgba(20,16,14,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { color: var(--ink); font-weight: 600; font-size: 19px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; border-radius: 22%; }
header nav { display: flex; align-items: center; gap: 2px; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink2); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--accent); }
.hstores { display: flex; gap: 8px; }
.hs { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(244,236,228,.06); color: var(--ink); text-decoration: none; font: 600 13px/1 'Archivo', sans-serif; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hs svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.hs:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hs:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

main { padding: 40px 0 56px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(30px, 5.2vw, 52px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; text-wrap: balance; }
h3 { font-size: 17px; margin: 26px 0 6px; text-wrap: balance; }
strong { color: var(--ink); }
.kicker { font: 500 12px/1.4 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--tabtext); margin: 0 0 10px; }
.lead { font-size: 18px; color: var(--ink2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; margin: 16px 0; }
.card h2 { margin-top: 0; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; outline: 3px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }

/* buttons and the closing block (shared with the home page) */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 'Archivo', sans-serif; background: var(--accent); color: var(--on-accent); text-decoration: none; padding: 16px 24px; border-radius: 999px; transition: transform .2s, background .2s; }
@media (hover:hover) and (pointer:fine) { .btn:hover { background: var(--accent-hover); transform: translateY(-2px); } }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.final { margin: 40px 0 0; border-radius: 36px; padding: 80px 24px; text-align: center; background: radial-gradient(70% 90% at 50% 0%, var(--accent) 0%, #9A3A1C 45%, #2a130b 100%); position: relative; overflow: hidden; }
.final h2 { color: var(--cream); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; margin: 0 0 12px; }
.final p { color: #FFE2D3; font-size: 19px; margin: 0 auto 28px; max-width: 520px; }
.final .btn { background: var(--bg); color: var(--ink); }
.final .btn:hover { background: #000; }
.final img { position: absolute; width: 220px; opacity: .13; }
.final img.l { left: -50px; bottom: -50px; transform: rotate(-18deg); } .final img.r { right: -50px; top: -40px; transform: rotate(16deg); }
.final .inner { position: relative; }

/* ---- guide and legal pages: a colour per page, glass head, cup, tiers ---- */
body.sub main { position: relative; overflow-x: clip; }
body.sub main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 560px; background: radial-gradient(60% 70% at 30% 0%, rgba(var(--tab), .26), transparent 70%); pointer-events: none; z-index: -1; }
.ml { font: 500 11px/1.3 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* glass panel: the home intro panel (glow in the corner, hairline edge fading from the page colour, faint watermark) */
.pagehead, .pstage, .pdetail, .fbub, .sechead, .fcard, .scard { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, rgba(244,236,228,.07), rgba(244,236,228,.025)); }
.pagehead::before, .pstage::before, .pdetail::before, .fbub::before, .sechead::before, .fcard::before, .scard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(var(--tab), .85), rgba(244,236,228,.08) 35%, rgba(244,236,228,.04) 65%, rgba(244,236,228,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pagehead::after, .pstage::after, .pdetail::after, .fbub::after, .sechead::after, .fcard::after, .scard::after { content: ""; position: absolute; left: -90px; top: -120px; width: 380px; height: 300px; background: radial-gradient(closest-side, rgba(var(--tab), .24), transparent); z-index: -1; }
.pagehead, .fbub { border-radius: 32px; padding: 40px 36px 34px; margin: 0 0 8px; }
.pagehead .wm { position: absolute; right: -28px; bottom: -40px; width: 200px; opacity: .07; transform: rotate(-14deg); z-index: -1; }
.pagehead h1 { margin: 0 0 12px; }
.pagehead .lead { margin: 0; max-width: 560px; }
.pagehead a { color: var(--tabtext); }


/* glass bubble (features page, and the Heart guide on the patterns page) */
.num { font: 500 13px/1 'IBM Plex Mono', monospace; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; display: block; }
.fbub { padding: 36px 36px 30px; }
main .fbub h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.fbub > p { font-size: 18px; margin: 0; }
.fbub .pts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.fbub .pts li { flex: 1 1 200px; padding: 18px 20px 0 0; font-size: 15.5px; }
.fbub .pts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.fbub .pts b { display: block; color: var(--ink); margin-bottom: 2px; }

/* the Heart guide: three moves on a timeline inside a glass bubble */
.moves { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.moves li { position: relative; padding-top: 50px; }
.moves li::before { content: ""; position: absolute; left: 0; top: 15px; right: -28px; height: 1px; background: linear-gradient(90deg, rgba(var(--tab), .7), rgba(244,236,228,.14)); }
.moves li:last-child::before { display: none; }
.mv-n { position: absolute; left: 0; top: 0; z-index: 1; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--tab), .75); background: #1b1613; color: var(--tabtext); font: 500 11px/1 'IBM Plex Mono', monospace; letter-spacing: .06em; }
.moves b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.mv-t { display: block; color: var(--ink2); font-size: 15.5px; line-height: 1.6; }
.how .num { text-transform: uppercase; }
.fbub .how-foot { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* section head: the home intro panel pattern, headline left and copy right, used above every home section */
.sechead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; padding: 44px 48px; border-radius: 32px; margin: 0 0 40px; }
.sechead h2 { margin: 0; }
.sechead .kicker { margin-bottom: 12px; }
.sechead > p { margin: 0; font-size: 18px; padding-left: 24px; border-left: 2px solid rgba(var(--tab), .6); }
@media (max-width: 900px) { .sechead { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; } .sechead > p { padding-left: 16px; } }

/* jump bar: the home stats pill, sticky under the header, lights the section you are in */
.jumpbar { position: sticky; top: var(--hh, 65px); z-index: 10; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 18px 0 8px; padding: 5px; border-radius: 999px; border: 1px solid rgba(244,236,228,.2); background: linear-gradient(180deg, rgba(244,236,228,.08), rgba(244,236,228,.02)), rgba(26,21,19,.72); box-shadow: 0 14px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.jumpbar::-webkit-scrollbar { display: none; }
.jumpbar a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 500 11px/1 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.jumpbar a:hover { color: var(--ink); }
.jumpbar a[aria-current] { background: rgba(var(--tab), .28); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--tab), .8); }
.jumpbar a:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.legal-body h2[id] { scroll-margin-top: calc(var(--hh, 65px) + 80px); }

/* pattern grid: nine tiles, tap one and a glass box opens under its row (no JS: the nine boxes just stack below the grid) */
.pgrid { list-style: none; margin: 14px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pgrid { scroll-margin-top: calc(var(--hh, 65px) + 16px); }
.ptile { --a: .1; position: relative; display: flex; flex-direction: column; aspect-ratio: 1 / 1.16; padding: 16px; border-radius: var(--r-feature); border: 1px solid rgba(var(--tab), .22); background: radial-gradient(120% 90% at 0 0, rgba(var(--tab), var(--a)), transparent 62%), var(--card); text-decoration: none; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.ptile[data-tier="2"] { --a: .15; } .ptile[data-tier="3"] { --a: .2; } .ptile[data-tier="4"] { --a: .26; } .ptile[data-tier="5"] { --a: .32; }
@media (hover:hover) and (pointer:fine) { .ptile:hover { transform: translateY(-4px); border-color: rgba(var(--tab), .55); } }
.ptile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ptile[aria-current] { border-color: rgba(var(--tab), .9); box-shadow: 0 0 0 1px rgba(var(--tab), .6), 0 18px 44px rgba(var(--tab), .26), inset 0 -46px 46px -26px rgba(var(--tab), .4); }
.pt-tier { font: 500 10px/1 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--tabtext); }
.pt-name { margin-top: 6px; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.pt-go { position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--on-accent); display: grid; place-items: center; }
.pt-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcup { position: relative; }
.pcup svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 20px rgba(0,0,0,.5)); }
.pcup img { position: absolute; left: 50%; top: 50%; width: 41%; height: 41%; transform: translate(-50%, -50%); opacity: .96; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.ptile .pcup { width: 84%; aspect-ratio: 1; margin: auto auto 0; }
.ptile[aria-current] .pcup img { animation: pour 1.1s cubic-bezier(.3,.7,.2,1); }
@keyframes pour { from { clip-path: inset(100% 0 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: .96; } }
.cupdefs { position: absolute; width: 0; height: 0; }
.trace { opacity: 0; }
.tr-pool { transform-box: fill-box; transform-origin: center; }
.tr-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pstage.in .trace { animation: tfade 3.3s both; }
.pstage.in .tr-pool { animation: pool 1.5s ease-out both; }
.pstage.in .tr-line { animation: pull .8s 1.5s cubic-bezier(.3,.7,.2,1) both; }
.pstage.in .pd-cup img { animation: pour .5s cubic-bezier(.23,1,.32,1) both; }
.pstage.again .trace { display: none; }
@keyframes tfade { 0% { opacity: 0; } 6% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pool { from { transform: scale(.12); } to { transform: scale(1); } }
@keyframes pull { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pstage, .pdetail { border-radius: 26px; padding: 22px 26px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pd-text { min-width: 0; }
.pd-cup { flex: none; width: 168px; height: 168px; }
.teach { margin: 12px 0 14px !important; font-size: 15px !important; color: var(--muted); }
.teach a { color: var(--tabtext); }
.pstage { grid-column: 1 / -1; }
.pstage.in { animation: rise .35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.pdetails { display: grid; gap: 12px; margin: 14px 0; }
.js .pdetails { display: none; }
.pstage h3, .pdetail h3 { margin: 8px 0 6px; font-size: 24px; letter-spacing: -.02em; }
.pstage p:not(.tier), .pdetail p:not(.tier) { margin: 0; font-size: 17px; max-width: 560px; }
.tier { display: flex; align-items: center; gap: 12px; margin: 0; }
.tier .ml { color: var(--tabtext); }
.lad { display: flex; gap: 4px; align-items: flex-end; height: 22px; }
.lad i { width: 14px; border-radius: 4px; background: var(--card); border: 1px solid var(--line); display: block; }
.lad i:nth-child(1) { height: 8px; } .lad i:nth-child(2) { height: 12px; } .lad i:nth-child(3) { height: 16px; } .lad i:nth-child(4) { height: 19px; } .lad i:nth-child(5) { height: 22px; }
.lad i.done { border-color: rgba(var(--tab), .55); background: rgba(var(--tab), .16); }
.lad i.on { border-color: rgba(var(--tab), .9); background: rgba(var(--tab), .55); }
.rail { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.rail li { counter-increment: s; position: relative; padding-left: 40px; }
.rail li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .3em; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .08em; color: var(--tabtext); }
.note { border: 1px solid var(--line); border-left: 3px solid rgb(var(--tab)); background: var(--card); border-radius: var(--r-control); padding: 14px 18px; margin: 20px 0; }
code { font: 500 .86em 'IBM Plex Mono', monospace; color: var(--ink); background: rgba(244,236,228,.08); border-radius: 6px; padding: 2px 6px; }

/* drinks table: real table on desktop, one card per drink on a phone */
.cards .mm { display: none; }
.cards td small { font-size: inherit; margin-left: .25em; }
.cards .big { white-space: nowrap; }

/* legal pages: labelled header card and a contents rail */
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 14px 0 8px; }
.meta .w2 { grid-column: 1 / -1; }
.meta .ml { display: block; margin-bottom: 3px; }
.meta b { color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.4; display: block; }
.legal-grid { display: block; }
.legal-body > :first-child { margin-top: 24px; }
.legal-body hr { margin: 28px 0; }

/* support cards (home Support section and the Support page) */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { border: 1px solid transparent; border-radius: var(--r-feature); padding: 26px; }
.scard h3 { color: var(--ink); font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 14px; }
.scard .ic { width: 46px; height: 46px; border-radius: var(--r-card); background: rgba(228,87,46,.14); display: grid; place-items: center; margin-bottom: 22px; }
.scard .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scard .mail { color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 1px solid rgba(228,87,46,.55); overflow-wrap: anywhere; transition: color .2s; }
.scard .mail:hover { color: var(--accent); }
.scard address { font-style: normal; font-size: 15px; line-height: 1.65; }
.scard.del { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.9fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(var(--tab), .14), rgba(244,236,228,.03) 60%); }
.scard.del p { margin: 0; font-size: 15.5px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(12,10,9,.55); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 16px; font-size: 14.5px; line-height: 1.5; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.steps b { color: var(--ink); }
.sgrid.two { grid-template-columns: repeat(2, 1fr); }
.sgrid.two .scard:not(.del) { display: flex; flex-direction: column; }
.sgrid.two { margin-top: 16px; }
.sgrid.two .scard.del { grid-template-columns: 1fr; gap: 24px; }
.sgrid.two .scard:not(.del) p { margin: 0 0 14px; font-size: 15.5px; }
@media (max-width: 900px) { .sgrid { grid-template-columns: 1fr 1fr; } .scard.del { grid-template-columns: 1fr; gap: 24px; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sgrid, .sgrid.two, .steps { grid-template-columns: 1fr; } .steps li { padding: 18px 20px; } }

@media (max-width: 820px) {
  header .wrap { row-gap: 4px; padding-top: 10px; }
  header nav { order: 3; width: 100%; justify-content: space-between; padding-bottom: 4px; }
  .hs { width: 38px; padding: 0; justify-content: center; }
  .hs span { display: none; }
}
@media (min-width: 1000px) {
  body.t-privacy main .wrap, body.t-terms main .wrap, body.t-security main .wrap { max-width: 1040px; }
  .legal-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .legal-grid > .jumpbar { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: calc(var(--hh, 65px) + 16px); flex-direction: column; gap: 1px; overflow-y: auto; max-height: calc(100vh - var(--hh, 65px) - 40px); margin: 0; padding: 4px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .legal-grid > .jumpbar a { min-height: 0; padding: 9px 12px; border-radius: 10px; font: 400 13.5px/1.35 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; white-space: normal; }
  .legal-grid > .jumpbar a[aria-current] { background: rgba(var(--tab), .18); box-shadow: inset 2px 0 0 rgb(var(--tab)); }
  .legal-grid > :not(.jumpbar) { grid-column: 2; }
  .legal-body h2[id] { scroll-margin-top: calc(var(--hh, 65px) + 24px); }
}
@media (max-width: 600px) {
  .fbub { padding: 26px 20px 22px; }
  .sechead { padding: 28px 20px; }
  .scard { padding: 24px 20px; }
  .fbub .pts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
  .fbub .pts li { padding-right: 0; flex-basis: 100%; }
  .moves { grid-template-columns: 1fr; gap: 0; }
  .moves li { padding: 0 0 24px 48px; }
  .moves li:last-child { padding-bottom: 0; }
  .moves li::before { display: block; left: 15px; top: 34px; bottom: 2px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(var(--tab), .7), rgba(244,236,228,.14)); }
  .moves li:last-child::before { display: none; }
  .pagehead { padding: 28px 20px 24px; border-radius: var(--r-feature); }
  .pagehead .wm { width: 150px; }
  .pgrid { gap: 8px; }
  .ptile { aspect-ratio: 1 / 1.2; padding: 10px; border-radius: var(--r-card); }
  .pt-tier { font-size: 8.5px; }
  .pt-name { font-size: 13px; margin-top: 4px; }
  .pt-go { display: none; }
  .ptile .pcup { width: 78%; }
  .pstage { padding: 20px 20px 22px; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .pd-cup { width: 128px; height: 128px; align-self: center; }
  .pstage h3 { font-size: 20px; }
  .pstage p:not(.tier) { font-size: 15.5px; }
  .pstage .teach { font-size: 14px !important; }
  .final { padding: 56px 20px; border-radius: var(--r-feature); }
  .meta { grid-template-columns: 1fr; }
  .cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cards table, .cards tbody { display: block; }
  .cards tr { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 20px 18px; margin: 0 0 10px; }
  .cards td { display: block; padding: 0; border: 0; }
  .cards td[data-k=name] { color: var(--ink); font-size: 16px; font-weight: 600; }
  .cards td[data-k=milk] { margin-top: 12px; }
  .cards .big { display: block; color: var(--ink); font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
  .cards td small { display: block; margin: 8px 0 0; font: 500 10px/1.3 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .cards .mm { display: inline; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.btn:active, .ptile:active, .hs:active { transform: scale(.97); transition-duration: .12s; }
@media (prefers-reduced-motion: reduce) {
  details.qa::details-content, details.qa summary::after { transition: none; }
  .pstage.in .trace, .pstage.in .tr-pool, .pstage.in .tr-line, .pstage.in .pd-cup img, .ptile[aria-current] .pcup img { animation: none; }
  .js .pcup img, .js .pcup.in img { opacity: .96; clip-path: none; transition: none; }
  .hs, .btn { transition: none; }
}

/* FAQ rows: site.js folds each question and its answer into a details row (Watermelon UI accordion, rebuilt in CSS). Without JS every answer shows. */
details.qa { border-top: 1px solid var(--line); }
details.qa:last-of-type { border-bottom: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary h2 { margin: 0; font-size: 19px; }
details.qa summary::after { content: "+"; flex: none; font: 500 20px/1 'IBM Plex Mono', monospace; color: var(--tabtext); }
details.qa summary::after { transition: transform .2s cubic-bezier(.23,1,.32,1); }
details.qa[open] summary::after { transform: rotate(45deg); }
@supports (selector(::details-content)) {
  details.qa { interpolate-size: allow-keywords; }
  details.qa::details-content { height: 0; overflow: hidden; transition: height .25s cubic-bezier(.23,1,.32,1), content-visibility .25s allow-discrete; }
  details.qa[open]::details-content { height: auto; }
}
details.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
details.qa > p:last-child { margin-bottom: 20px; }
