@font-face { font-family: 'Big Shoulders'; src: url('fonts/bigshoulders.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Allerta Stencil'; src: url('fonts/allerta-stencil.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/intertight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('fonts/plexmono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('fonts/plexmono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces.ttf'); font-weight: 100 900; font-display: swap; }
:root {
  --red: #C8102E; --blue: #003DA5; --yellow: #FFCD00; --canary: #F2C230; --paper: #F7F5F0; --oxide: #A64B2A;
  --ink: #0a0a0b; --char: #121214; --steel: #1c1c20; --line: rgba(255,255,255,.12); --dim: rgba(255,255,255,.62);
  --display: 'Big Shoulders', Impact, sans-serif; --stencil: 'Allerta Stencil', sans-serif; --mono: 'Plex Mono', ui-monospace, monospace;
  --body: 'Inter Tight', system-ui, sans-serif; --serif: 'Fraunces', Georgia, serif; --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--ink); color: #fff; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--body); min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: .06em; } .small { font-size: 11px; } .dim { color: var(--dim); }
.skip { position: absolute; left: 8px; top: -40px; background: var(--yellow); color: #000; padding: 8px; z-index: 99; } .skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.preview-ribbon { background: var(--yellow); color: #000; font: 600 10px/1 var(--mono); letter-spacing: .16em; text-align: center; padding: 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad); background: rgba(10,10,11,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; color: var(--yellow); display: block; } .brand-mark svg { width: 100%; height: auto; display: block; }
.wordmark { display: block; font: 400 18px/1 var(--stencil); letter-spacing: .12em; } .sub { display: block; font-size: 9px; color: var(--dim); margin-top: 3px; letter-spacing: .2em; }
.topnav { display: none; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a, .tabbar a { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-decoration: none; padding: 10px 10px; border: 1px solid transparent; text-transform: uppercase; }
.topnav a.on { border-color: var(--yellow); color: var(--yellow); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(18,18,20,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { text-align: center; padding: 12px 2px 14px; font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.tabbar a .ic { display: block; font-size: 18px; margin-bottom: 4px; letter-spacing: 0; }
.tabbar a.on { color: var(--yellow); }
@media (min-width: 900px) { .topnav { display: flex; } .tabbar { display: none; } body { padding-bottom: 0; } }
main { padding: 22px var(--pad) 40px; max-width: 1180px; margin: 0 auto; min-height: 60vh; }
h1, h2, h3 { margin: 0 0 10px; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .9; font-size: clamp(40px, 9vw, 92px); margin: 0 0 14px; }
.display .y { color: var(--yellow); }
.h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 5vw, 40px); line-height: .95; letter-spacing: .01em; }
.serif { font-family: var(--serif); }
.kicker { font: 600 11px/1.2 var(--mono); letter-spacing: .18em; color: var(--yellow); text-transform: uppercase; margin: 0 0 10px; }
.lead { font-size: 18px; color: var(--dim); max-width: 60ch; }
.grid { display: grid; gap: 14px; } .g2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .g3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--char); border: 1px solid var(--line); padding: 18px; position: relative; }
.card.paper { background: var(--paper); color: #16140F; border-color: #e3ddd0; }
.card.paper .dim { color: #6f6a60; }
.card.hi { border-color: var(--yellow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 18px; border: 1px solid var(--yellow); background: var(--yellow); color: #000; cursor: pointer; min-height: 44px; }
.btn.ghost { background: transparent; color: var(--yellow); } .btn.sm { padding: 9px 12px; min-height: 36px; font-size: 11px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; font: 600 10px/1 var(--mono); letter-spacing: .12em; padding: 6px 8px; border: 1px solid var(--line); text-transform: uppercase; }
.pill.y { border-color: var(--yellow); color: var(--yellow); } .pill.r { border-color: var(--red); color: #ff8a9b; } .pill.ai { background: #16140F; color: var(--paper); border-color: var(--canary); }
.streak { font-family: var(--display); font-size: 64px; font-weight: 900; color: var(--yellow); line-height: .9; }
.step-title { font-family: var(--serif); font-size: clamp(24px, 4vw, 34px); line-height: 1.15; margin: 6px 0 10px; }
.note { font-size: 13px; color: var(--dim); border-left: 3px solid var(--canary); padding: 6px 10px; margin: 14px 0 0; }
.lesson { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.thumb { aspect-ratio: 16/9; background: #222 center/cover; border: 1px solid var(--line); position: relative; }
.thumb .lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); font: 600 11px/1.3 var(--mono); letter-spacing: .14em; text-align: center; padding: 10px; }
.bar { height: 4px; background: var(--line); } .bar > i { display: block; height: 100%; background: var(--yellow); }
video { width: 100%; background: #000; aspect-ratio: 16/9; display: block; }
input, textarea, select { width: 100%; font: 400 16px/1.4 var(--body); background: #0f0f11; color: #fff; border: 1px solid var(--line); padding: 12px; }
label { display: block; font: 600 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 12px 0 6px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 12px 14px; max-width: 86%; white-space: pre-wrap; } .msg.me { align-self: flex-end; background: var(--steel); } .msg.ai { background: var(--paper); color: #16140F; }
.msg .tag { display: block; font: 600 9px/1 var(--mono); letter-spacing: .14em; color: #6f6a60; margin-bottom: 6px; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; } .price small { font: 600 12px var(--mono); color: var(--dim); }
ul.ticks { padding-left: 18px; margin: 10px 0; } ul.ticks li { margin: 4px 0; }
.disclosure { border: 2px solid var(--yellow); background: #fff; color: #16140F; padding: 16px; font-size: 16px; }
.disclosure h3 { font-family: var(--serif); font-size: 22px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 15px; text-transform: none; letter-spacing: 0; color: inherit; font-family: var(--body); }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t td, table.t th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px var(--pad) 24px; border-top: 1px solid var(--line); color: var(--dim); }
.hero { position: relative; overflow: hidden; padding: 10px 0 24px; }
.hero-cox { position: absolute; right: -8%; top: -10%; width: min(70vw, 520px); color: #fff; opacity: .07; pointer-events: none; }
.hero-cox svg { width: 100%; height: auto; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom)); background: var(--yellow); color: #000; padding: 10px 14px; font: 600 12px var(--mono); z-index: 50; }
.ai-footer { font-size: 12px; color: var(--dim); margin-top: 10px; }
.print-doc { background: #fff; color: #111; padding: 22px; font: 14px/1.5 var(--body); } .print-doc h3 { font-family: var(--serif); }
@media print { .top,.tabbar,.foot,.preview-ribbon,.noprint { display: none !important; } body,html { background: #fff; } .print-doc { padding: 0; } }
