/* gethomerun.app: the landing page, the legal pages and the error pages. */
/* Layout: the app's own surface. The dashboard glow behind the hero and the closing call, real app captures as the imagery, headings with their subtext underneath. Dark only. */
:root {
  --page: #121214;
  --card: #1A1A1E;
  --muted: #242428;
  --border: #29292E;
  --fg: #FAFAFA;
  --mfg: #A3A3A3;
  --cf-300: #A0BAEE;
  --cf-500: #5778DB;
  --cf-600: #3F57CF;
  --green-400: #4ADE80;
  --green-500: #22C55E;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.10);
  --glow: radial-gradient(75% 65% at 50% 24%, hsl(228 32% 20%) 0%, hsl(230 22% 12%) 45%, hsl(240 5.3% 7.5%) 85%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "rlig" 1, "calt" 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cf-500); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.win { width: 16px; height: 16px; fill: currentColor; flex: none; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* type */
.h2 { font: 800 clamp(30px, 3.4vw, 44px)/1.1 var(--font); letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: rgba(255,255,255,.7); }
.body { color: rgba(255,255,255,.65); font-size: 15px; }
.head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }

/* buttons, from the app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid transparent; font: 700 14px/1 var(--font); white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; background: none; }
.btn:active { filter: brightness(.95); }
.btn-primary { background: var(--cf-500); border-color: var(--cf-500); color: #fff; }
.btn-primary:hover { background: var(--cf-600); border-color: var(--cf-600); }
.btn-quiet { background: var(--page); border-color: var(--border); color: var(--fg); }
.btn-quiet:hover { background: var(--muted); }
.btn-lg { height: 52px; padding: 0 24px; border-radius: 10px; font-size: 16px; font-weight: 800; }

/* surfaces, from the app */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.shot { border-radius: 10px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.4); background: #121214; }

/* ---------- glow stage ---------- */
.stage { position: relative; background: var(--glow); background-repeat: no-repeat; margin-top: -64px; padding-top: 64px; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, rgba(18,18,20,0), var(--page)); pointer-events: none; }

/* nav: plain */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; transition: background-color .16s, border-color .16s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(18,18,20,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--hair); }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 36px; }
.nav img { height: 24px; width: auto; }
.nav nav { display: flex; gap: 28px; font: 600 14px var(--font); color: rgba(255,255,255,.7); }
.nav nav a:hover { color: #fff; }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 22px; font: 600 14px var(--font); color: rgba(255,255,255,.7); }
.nav .right a:hover { color: #fff; }
.nav .btn { height: 36px; }
@media (max-width: 860px) { .nav nav, .nav .right > a:not(.btn) { display: none; } }

/* hero */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { font: 800 clamp(40px, 5.8vw, 70px)/1.02 var(--font); letter-spacing: -.035em; }
.hero .lead { max-width: 56ch; }
.invited { font-size: 16px; font-weight: 700; color: var(--cf-300); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.cta-note { flex-basis: 100%; font-size: 14px; color: rgba(255,255,255,.55); }
.cta-note .link { margin-left: 4px; }
.after { display: grid; gap: 12px; padding: 20px 24px; max-width: 600px; text-align: left; }
.after b.t { font-size: 17px; }
.after ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; color: rgba(255,255,255,.75); font-size: 15px; }
.after li b { color: #fff; }

.frame { margin-top: clamp(44px, 5.5vw, 72px); border-radius: 14px; overflow: hidden; border: 1px solid var(--hair-2); box-shadow: 0 40px 90px -20px rgba(0,0,0,.7); background: #121214; }
.frame video { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); background: rgba(10,10,14,.72); }
.stats div { padding: 18px 28px 20px; display: grid; gap: 2px; }
.stats div + div { border-left: 1px solid var(--hair); }
.stats b { font: 800 26px var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats div + div { border-left: 0; border-top: 1px solid var(--hair); } }

/* sections */
section.sec { padding-block: clamp(80px, 9vw, 120px); }
/* alternate bands from the friends section down, so each section reads as its own block */
section.sec.alt { background: #1A1A1F; --card: #222228; --border: #313138; }
section.sec.alt .btn-quiet { background: #1A1A1F; }

/* games */
.games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .games { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 240px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; } .game { scroll-snap-align: start; } }
.game { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--hair-2); aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; isolation: isolate; }
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,13,18,.96) 0%, rgba(12,13,18,.75) 34%, rgba(12,13,18,0) 62%); }
.game h3 { font: 800 22px/1.15 var(--font); letter-spacing: -.02em; }
.game p { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; line-height: 1.45; }
.game .price { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 700; color: #fff; }
.game .price span { color: rgba(255,255,255,.6); font-weight: 500; }
.game .price.free { color: var(--green-400); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { overflow: hidden; display: flex; flex-direction: column; }
.step .media { aspect-ratio: 4 / 3; background: #121214; border-bottom: 1px solid var(--border); overflow: hidden; }
.step .media img, .step .media video { width: 100%; height: 100%; object-fit: cover; }
.step .txt { padding: 20px 22px 24px; display: grid; gap: 8px; }
.step h3 { font: 700 20px/1.3 var(--font); letter-spacing: -.01em; }
.step h3 span { color: var(--cf-300); margin-right: 8px; }

/* feature rows */
.row2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.row2.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row2.flip .text { order: 2; }
@media (max-width: 960px) { .row2, .row2.flip { grid-template-columns: 1fr; } .row2.flip .text { order: 0; } }
.text { display: grid; gap: 16px; align-content: start; }
.facts { display: grid; margin-top: 6px; }
.facts div { padding: 14px 0; border-top: 1px solid var(--border); display: grid; gap: 2px; }
.facts div:last-child { border-bottom: 1px solid var(--border); }
.facts b { font-size: 16px; }
.facts span { font-size: 14.5px; color: var(--mfg); }


/* friends: what you send, what they see */
/* two matching frames: the address you send, and the entry your friend sees.
   The six cells flow in columns over three rows, so both frames share a height. */
.sendsee { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr auto; grid-auto-flow: column; column-gap: clamp(20px, 3vw, 32px); row-gap: 12px; }
.sendsee .lbl { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); }
.sendsee .frame2 { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: clamp(20px, 3vw, 36px) clamp(16px, 2.5vw, 32px); display: grid; place-items: center; min-height: 150px; }
.sendsee .addr { font: 800 clamp(17px, 1.65vw, 22px)/1.3 var(--font); letter-spacing: -.01em; text-align: center; }
.sendsee .addr span { white-space: nowrap; }
.sendsee .addr span + span { color: rgba(255,255,255,.55); }
.sendsee .frame2 img { width: 100%; image-rendering: pixelated; }
.sendsee p { font-size: 15px; color: rgba(255,255,255,.64); }
@media (max-width: 860px) { .sendsee { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } .sendsee p { margin-bottom: 16px; } .sendsee .frame2 { min-height: 0; padding: 24px 16px; } }

/* co-hosts: who can host, and the handoff */
.handoff { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .handoff { grid-template-columns: 1fr; } }
.roster .r { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.roster .r:last-child { border-bottom: 1px solid var(--border); }
.roster img { width: 36px; height: 36px; border-radius: 7px; image-rendering: pixelated; }
.roster b { font-size: 16px; display: block; }
.roster .role { font-size: 13px; color: rgba(255,255,255,.55); }
.roster .st { margin-left: auto; font-size: 13px; color: rgba(255,255,255,.5); text-align: right; }
.roster .st.now { color: #86EFAC; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }
.desks { position: relative; height: 420px; }
.scard { position: absolute; overflow: hidden; border-radius: 16px; border: 1px solid var(--hair-2); box-shadow: 0 20px 50px rgba(0,0,0,.45); background: #121214; color: #fff; }
.scard .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,13,18,.97) 0%, rgba(12,13,18,.88) 42%, rgba(12,13,18,.35) 75%, rgba(12,13,18,.15) 100%); }
.scard .in { position: relative; z-index: 1; padding: 20px 24px; display: grid; gap: 14px; justify-items: start; }
.scard .st { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.scard .nm { display: flex; align-items: center; gap: 14px; }
.scard .nm img { border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.scard .nm b { display: block; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.scard .nm span, .scard .note { font-size: 13px; color: rgba(255,255,255,.75); }
.scard .note { display: flex; align-items: center; gap: 8px; }
.scard .who { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.scard .who .t { color: var(--green-400); font-weight: 800; }
.scard .who img { width: 24px; height: 24px; border-radius: 5px; image-rendering: pixelated; border: 2px solid #121214; }
.scard .who img + img { margin-left: -4px; }
.scard .ad { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.45); font-size: 14px; font-weight: 700; }
.scard .ad span { color: rgba(255,255,255,.6); }
.scard.off { left: 0; top: 0; width: 62%; opacity: .7; }
.scard.off .bg { filter: saturate(.35) brightness(.7); }
.scard.off .nm img { width: 40px; height: 40px; }
.scard.off .nm b { font-size: 20px; }
.scard.on { left: 20%; top: 172px; width: 80%; }
.scard.on .nm img { width: 52px; height: 52px; }
.scard.on .nm b { font-size: 28px; }
@media (max-width: 640px) { .desks { height: auto; display: grid; gap: 14px; } .scard { position: relative; left: auto !important; top: auto !important; width: 100% !important; } .scard.on .nm b { font-size: 22px; } .scard.on .nm img { width: 44px; height: 44px; } }

/* pricing, from the Plans page */
.free-row { display: flex; align-items: center; gap: 18px; padding: 18px 20px; flex-wrap: wrap; }
.free-row img { width: 48px; height: 48px; border-radius: 8px; }
.free-row .w { flex: 1; min-width: 220px; }
.free-row b { font: 700 18px var(--font); }
.free-row .w span { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.free-row .p { font: 800 28px var(--font); letter-spacing: -.02em; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plans h3 { font: 700 20px var(--font); margin-bottom: 14px; }
.addgame { padding: 4px 20px; }
.agrow { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.agrow + .agrow { border-top: 1px solid var(--border); }
.agrow img { width: 44px; height: 58px; border-radius: 5px; object-fit: cover; flex: none; }
.agrow b { font: 700 17px var(--font); }
.agrow span { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.note { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 14px; }
.premium { overflow: hidden; }
.premium .hd { height: 170px; position: relative; }
.premium .hd img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.premium .hd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--card)); }
.premium .bd { padding: 4px 26px 26px; display: grid; gap: 14px; }
.premium h4 { font: 800 26px var(--font); letter-spacing: -.02em; }
.premium .covers { display: flex; gap: 8px; }
.premium .covers img { width: 48px; height: 64px; border-radius: 5px; object-fit: cover; }
.bigprice { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bigprice b { font: 800 40px var(--font); letter-spacing: -.02em; }
.bigprice span { font-size: 15px; color: rgba(255,255,255,.6); font-weight: 600; }
.howbuy { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px; }
.howbuy p { flex: 1; min-width: 240px; color: rgba(255,255,255,.75); font-size: 15px; }
.howbuy p b { color: #fff; }

/* compare */
.cmp-wrap { overflow-x: auto; border: 1px solid #2E2E34; border-radius: 12px; background: #151518; scroll-snap-type: x proximity; }
/* on narrow screens the table scrolls sideways: say so, and fade the right edge until the end is reached */
.cmp-box { position: relative; }
.cmp-box::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 56px; border-radius: 0 11px 11px 0; background: linear-gradient(90deg, rgba(21,21,24,0), rgba(21,21,24,.95)); pointer-events: none; opacity: 0; transition: opacity .2s; }
.cmp-box.scrolls::after { opacity: 1; }
.cmp-box.scrolls.end::after { opacity: 0; }
.swipe { display: none; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.swipe svg { transform: rotate(-90deg); color: var(--cf-300); }
.swipe.on { display: flex; }
@media (max-width: 640px) { .cmp-wrap .cmp { min-width: 640px; } .cmp-wrap .cmp thead th:first-child { width: 22%; } .cmp-wrap .cmp .us { width: 22%; } .cmp-wrap .cmp th, .cmp-wrap .cmp td { padding: 13px 14px; font-size: 14px; } .cmp-wrap .cmp thead th { padding: 16px 14px 14px; } }
.cmp { border-collapse: collapse; width: 100%; min-width: 860px; table-layout: fixed; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; font-size: 15px; line-height: 1.4; vertical-align: middle; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); }
.cmp th:first-child, .cmp td:first-child { border-left: 0; }
.cmp thead th { background: #1C1C21; padding: 20px 20px 18px; vertical-align: bottom; border-bottom-color: #3A3A42; }
.cmp thead .nm { display: block; font: 800 16px/1.25 var(--font); color: #fff; letter-spacing: -.01em; }
.cmp thead .ds { display: block; font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; margin-top: 3px; }
.cmp tbody th { font-weight: 600; color: rgba(255,255,255,.88); width: 24%; position: sticky; left: 0; background: #151518; z-index: 1; }
.cmp tbody tr:nth-child(even) th { background: #19191C; }
.cmp tbody tr:nth-child(even) td { background: rgba(255,255,255,.022); }
.cmp td { color: rgba(255,255,255,.62); }
.cmp .us { background: rgba(87,120,219,.10) !important; color: #fff; font-weight: 700; width: 22%; border-left: 2px solid var(--cf-500); border-right: 2px solid var(--cf-500); }
.cmp thead .us { background: rgba(87,120,219,.20) !important; border-top: 2px solid var(--cf-500); }
.cmp thead .us img { height: 18px; width: auto; margin-bottom: 2px; }
.cmp tfoot td { border-bottom: 0; background: #151518; padding: 16px 20px 18px; }
.cmp tfoot .us { border-bottom: 2px solid var(--cf-500); }
.cmp tfoot .btn { width: 100%; }

/* quotes */
.quotes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quotes figure { margin: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quotes blockquote { margin: 0; }
.qbig blockquote { font: 700 clamp(22px, 2.4vw, 30px)/1.35 var(--font); letter-spacing: -.015em; }
.qside { display: grid; gap: 20px; }
.qside blockquote { font: 600 17px/1.5 var(--font); }
.by { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.by img { width: 40px; height: 40px; border-radius: 8px; image-rendering: pixelated; }
.by b { display: block; font-size: 15px; color: #fff; }

/* faq */
.faq { border-top: 1px solid var(--border); max-width: 860px; margin-inline: auto; }
#faq .head { margin-inline: auto; justify-items: center; text-align: center; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 36px 19px 0; font: 700 17px/1.4 var(--font); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { position: absolute; right: 4px; top: 22px; color: rgba(255,255,255,.5); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .a { padding: 0 0 22px; color: rgba(255,255,255,.7); max-width: 66ch; }
.faq .a b { color: #fff; }
.link { color: var(--cf-300); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* final */
.final { position: relative; overflow: hidden; background: radial-gradient(70% 70% at 50% 85%, hsl(228 32% 20%) 0%, hsl(230 22% 12%) 45%, hsl(240 5.3% 7.5%) 85%); padding-block: clamp(110px, 12vw, 160px); text-align: center; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(180deg, #1A1A1F, rgba(26,26,31,0)); pointer-events: none; }
.final .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.final h2 { font: 800 clamp(36px, 4.6vw, 58px)/1.05 var(--font); letter-spacing: -.035em; }

footer { border-top: 1px solid var(--border); padding-block: 64px 48px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; } .fgrid .col { justify-items: center; } .legal { text-align: center; } .legal p { margin-inline: auto; } }
.fgrid .col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.fgrid .col .h { font-weight: 700; color: #fff; }
.fgrid .col a { color: rgba(255,255,255,.7); font-weight: 600; }
.fgrid .col a:hover { color: #fff; }
.fgrid img { height: 24px; width: auto; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: rgba(255,255,255,.45); display: grid; gap: 6px; }
.legal p { max-width: 90ch; }

/* ---------- legal pages and 404 ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.page-hero .wrap { display: grid; gap: 14px; }
.page-hero h1 { font: 800 clamp(36px, 5vw, 60px)/1.05 var(--font); letter-spacing: -.035em; }
.page-hero .lead { max-width: 60ch; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(80px, 9vw, 120px); }
.doc > aside { align-self: stretch; }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 88px; display: grid; gap: 2px; font-size: 14px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 8px; }
.toc b { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: 8px; }
.toc a { color: rgba(255,255,255,.65); font-weight: 600; padding: 6px 0 6px 12px; border-left: 2px solid var(--border); line-height: 1.35; }
.toc a:hover { color: #fff; border-left-color: var(--cf-500); }
.toc-m { display: none; }
@media (max-width: 960px) {
  .toc { display: none; }
  .toc-m { display: block; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
  .toc-m summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m[open] summary svg { transform: rotate(180deg); }
  .toc-m nav { display: grid; padding: 0 18px 10px; }
  .toc-m a { padding: 10px 0; color: rgba(255,255,255,.7); font-weight: 600; font-size: 14px; border-top: 1px solid var(--border); }
}
.prose { max-width: 72ch; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; min-width: 0; }
.prose section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.prose h2 { font: 800 clamp(22px, 2.2vw, 28px)/1.25 var(--font); letter-spacing: -.02em; color: #fff; margin-bottom: 16px; scroll-margin-top: 88px; }
.prose h3 { font: 700 18px/1.35 var(--font); color: #fff; margin: 28px 0 10px; scroll-margin-top: 88px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--cf-300); }
.prose strong { color: #fff; font-weight: 700; }
.prose a { color: var(--cf-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(160,186,238,.4); overflow-wrap: anywhere; }
.prose .tbl { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--card); margin: 8px 0 20px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); }
.prose th:first-child, .prose td:first-child { border-left: 0; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: #202025; color: #fff; font-weight: 700; }
.doc-foot { margin-top: 56px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.doc-foot p { flex: 1; min-width: 220px; font-size: 15px; color: rgba(255,255,255,.75); margin: 0; }
.doc-foot b { color: #fff; }
.lost { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 48px 0 96px; position: relative; z-index: 1; }
.lost .wrap { display: grid; gap: 22px; justify-items: center; }
.lost h1 { font: 800 clamp(40px, 6vw, 72px)/1.02 var(--font); letter-spacing: -.035em; }
.page-hero .updated { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); }
