/* ONBOARD base system: tokens, type, buttons, chips, nav, cards, skeletons, toasts, footer. White / black / yellow. No backdrop-filter, no heavy filters. */
:root {
  --bg: #fff; --ink: #0a0a0a; --g1: #f3f3f3; --g2: #e7e7e7; --g3: #cfcfcf; --mut: #5e5e5e; --mut2: #8a8a8a;
  --y: #ffd400; --y2: #ffe666; --y3: #fff6bf; --ok: #12a150; --bad: #d92d20; --warn: #b54708;
  --r: 18px; --r2: 12px; --r3: 999px; --wrap: 1180px;
  --sh1: 0 1px 2px rgba(10,10,10,.06), 0 8px 24px -12px rgba(10,10,10,.18); --sh2: 0 2px 4px rgba(10,10,10,.08), 0 24px 48px -20px rgba(10,10,10,.28);
  --hf: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif; --bf: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --mf: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto }
html.lenis, html.lenis body { height: auto } .lenis.lenis-smooth { scroll-behavior: auto !important } .lenis.lenis-stopped { overflow: hidden }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--bf); -webkit-font-smoothing: antialiased; overflow-x: hidden }
img, svg { display: block; max-width: 100% } a { color: inherit; text-decoration: none } button { font: inherit; color: inherit; cursor: pointer }
h1, h2, h3, h4 { font-family: var(--hf); margin: 0; line-height: 1.02; letter-spacing: -.035em; font-weight: 800 }
p { margin: 0 } ::selection { background: var(--y); color: var(--ink) }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto }
.mono { font-family: var(--mf) } .mut { color: var(--mut) } .hide { display: none !important }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r3); border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-weight: 650; font-size: 15px; letter-spacing: -.01em; overflow: hidden; transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease), color .2s; white-space: nowrap }
.btn:hover { background: var(--g1) } .btn:active { transform: scale(.97) }
.btn.pri { background: var(--ink); color: #fff } .btn.pri:hover { background: #222; box-shadow: 0 10px 24px -10px rgba(10,10,10,.6) }
.btn.yel { background: var(--y); border-color: var(--ink); color: var(--ink) } .btn.yel:hover { background: var(--y2); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px) }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 17px } .btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px }
.btn[disabled], .btn.dis { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none }
.btn .rip { position: absolute; border-radius: 50%; background: rgba(255, 212, 0, .55); transform: scale(0); animation: rip .7s ease-out forwards; pointer-events: none } @keyframes rip { to { transform: scale(2.6); opacity: 0 } }
.soonTag { font: 700 10px/1 var(--mf); letter-spacing: .08em; text-transform: uppercase; background: var(--y); color: var(--ink); padding: 4px 7px; border-radius: 6px }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r3); background: var(--g1); border: 1px solid var(--g2); font-size: 13px; font-weight: 600; color: var(--ink) }
.chip.y { background: var(--y); border-color: var(--ink) } .chip.k { background: var(--ink); color: #fff; border-color: var(--ink) }
.chip.ok { background: #e7f6ee; border-color: #b7e3c9; color: #0b6b36 } .chip.bad { background: #fdeceb; border-color: #f5c2bd; color: #a3201a } .chip.warn { background: #fdf3e2; border-color: #f4d9a8; color: #8a4a05 }
button.chip { cursor: pointer; transition: background .2s } button.chip:hover { background: var(--g2) }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(255, 212, 0, .8); animation: pulse 1.8s infinite; border: 1px solid var(--ink) } @keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 212, 0, 0) } 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0) } }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .45s var(--ease), background .3s, box-shadow .3s }
.nav.scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--g2) } .nav.hide { transform: translateY(-110%) }
.nav-in { display: flex; align-items: center; gap: 22px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--hf); font-weight: 800; font-size: 21px; letter-spacing: -.04em } .brand img { width: 36px; height: 36px; object-fit: contain }
.links { display: flex; gap: 6px; margin-left: 14px } .links a { padding: 8px 12px; border-radius: var(--r3); font-weight: 600; font-size: 15px; color: var(--mut); transition: color .2s, background .2s } .links a:hover, .links a.on { color: var(--ink); background: var(--g1) }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; align-items: center; justify-content: center } .burger i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative } .burger i::before, .burger i::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink) } .burger i::before { top: -6px } .burger i::after { top: 6px }
.mmenu { position: fixed; inset: 68px 0 auto 0; z-index: 49; background: #fff; border-bottom: 1px solid var(--g2); padding: 12px 16px 20px; display: none; flex-direction: column; gap: 4px } .mmenu.open { display: flex } .mmenu a { padding: 14px 8px; font-size: 18px; font-weight: 650; border-bottom: 1px solid var(--g1) }
.motion { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: var(--r3); border: 1px solid var(--g2); background: #fff; font-size: 12.5px; font-weight: 650; color: var(--mut) } .motion i { width: 26px; height: 15px; border-radius: 9px; background: var(--g3); position: relative; transition: background .2s } .motion i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease) } .motion[aria-pressed='true'] i { background: var(--ink) } .motion[aria-pressed='true'] i::after { transform: translateX(11px); background: var(--y) }

/* cards, kv, tables */
.card { background: #fff; border: 1px solid var(--g2); border-radius: var(--r); padding: 22px; box-shadow: var(--sh1) }
.card.flat { box-shadow: none } .card.k { background: var(--ink); color: #fff; border-color: var(--ink) } .card.y { background: var(--y); border-color: var(--ink) }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--g2); font-size: 14.5px } .kv:last-child { border: 0 } .kv span { color: var(--mut) } .kv b { font-weight: 650; text-align: right }
.reward { display: inline-block; background: var(--y); border: 1.5px solid var(--ink); border-radius: 12px; padding: 2px 12px; font-family: var(--hf); font-weight: 800; letter-spacing: -.04em; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--ink) }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--mf); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--g1); border: 1px solid var(--g2); padding: 8px 12px; border-radius: var(--r3) }

/* inputs */
.field { display: grid; gap: 6px; margin-bottom: 14px } .field > label { font-weight: 650; font-size: 14px } .field small { color: var(--mut); font-size: 13px }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--g3); border-radius: var(--r2); padding: 12px 14px; min-height: 46px; transition: border-color .2s, box-shadow .2s } textarea { min-height: 110px; resize: vertical }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--y3) } input::placeholder, textarea::placeholder { color: var(--mut2) }
input[type=checkbox] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--ink) }

/* skeleton, empty, toast */
.sk { position: relative; overflow: hidden; background: var(--g1); border-radius: var(--r2) } .sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .85) 50%, transparent 80%); transform: translateX(-100%); animation: shim 1.3s infinite } @keyframes shim { to { transform: translateX(100%) } }
.empty { text-align: center; padding: 44px 20px; border: 1.5px dashed var(--g3); border-radius: var(--r); color: var(--mut) } .empty b { display: block; color: var(--ink); font-family: var(--hf); font-size: 20px; letter-spacing: -.03em; margin-bottom: 6px }
#toasts { position: fixed; z-index: 99; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)) } .toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14.5px; box-shadow: var(--sh2); transform: translateY(14px) scale(.96); opacity: 0; transition: transform .35s var(--ease), opacity .3s } .toast.in { transform: none; opacity: 1 } .toast.err { background: var(--bad) } .toast.ok::before { content: '✓ '; color: var(--y) }

/* footer */
.foot { border-top: 1px solid var(--g2); margin-top: 90px; padding: 40px 0 56px; color: var(--mut); font-size: 14px } .foot-in { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start } .foot a:hover { color: var(--ink); text-decoration: underline } .foot .col { display: grid; gap: 8px } .foot small { display: block; max-width: 520px; margin-top: 10px; line-height: 1.5 }

/* reduced motion is NOT used on purpose; the manual switch adds .calm */
html.calm *, html.calm *::before, html.calm *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important }
@media (max-width: 900px) { .links, .nav-cta .hide-m { display: none } .burger { display: inline-flex } .nav-in { gap: 10px } .nav-cta { gap: 6px } }
@media (max-width: 560px) { body { font-size: 15.5px } .btn.lg { min-height: 52px; padding: 0 22px; font-size: 16px } #toasts { left: 16px; right: 16px } }
