/* GoBounty site: shared look for /, /students and /merchant. Moved from index.html (override passes kept in order). */
/* Layout: off-white paper on a 16px grid; colour only in pops (hero field, card plates, the Hunter half). Single light look by choice. */
:root {
  --paper: #FAF8F3;
  --white: #FFFFFF;
  --ink: #111113;
  --muted: #5C5C5C;
  --line: rgba(17,17,19,.12);
  --surface: #E6E6E6;
  --green: #26693F;
  --orange: #F0502E;
  --pink: #E04CE0;
  --cream: #F3EFE6;
  --f-head: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --f-dot: "Doto", "JetBrains Mono", ui-monospace, monospace;
  --f-card: "Unbounded", "Familjen Grotesk", Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
--rangoli: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='%23B5361A'%3E%3Ccircle cx='14' cy='70' r='2.2'/%3E%3Ccircle cx='28' cy='56' r='2.2'/%3E%3Ccircle cx='28' cy='84' r='2.2'/%3E%3Ccircle cx='42' cy='42' r='2.2'/%3E%3Ccircle cx='42' cy='70' r='2.2'/%3E%3Ccircle cx='42' cy='98' r='2.2'/%3E%3Ccircle cx='56' cy='28' r='2.2'/%3E%3Ccircle cx='56' cy='56' r='2.2'/%3E%3Ccircle cx='56' cy='84' r='2.2'/%3E%3Ccircle cx='56' cy='112' r='2.2'/%3E%3Ccircle cx='70' cy='14' r='2.2'/%3E%3Ccircle cx='70' cy='42' r='2.2'/%3E%3Ccircle cx='70' cy='70' r='3.4'/%3E%3Ccircle cx='70' cy='98' r='2.2'/%3E%3Ccircle cx='70' cy='126' r='2.2'/%3E%3Ccircle cx='84' cy='28' r='2.2'/%3E%3Ccircle cx='84' cy='56' r='2.2'/%3E%3Ccircle cx='84' cy='84' r='2.2'/%3E%3Ccircle cx='84' cy='112' r='2.2'/%3E%3Ccircle cx='98' cy='42' r='2.2'/%3E%3Ccircle cx='98' cy='70' r='2.2'/%3E%3Ccircle cx='98' cy='98' r='2.2'/%3E%3Ccircle cx='112' cy='56' r='2.2'/%3E%3Ccircle cx='112' cy='84' r='2.2'/%3E%3Ccircle cx='126' cy='70' r='2.2'/%3E%3Ccircle cx='126' cy='70' r='6.5' fill='none' stroke='%23B5361A' stroke-width='1.2'/%3E%3Ccircle cx='14' cy='70' r='6.5' fill='none' stroke='%23B5361A' stroke-width='1.2'/%3E%3Ccircle cx='70' cy='126' r='6.5' fill='none' stroke='%23B5361A' stroke-width='1.2'/%3E%3Ccircle cx='70' cy='14' r='6.5' fill='none' stroke='%23B5361A' stroke-width='1.2'/%3E%3Ccircle cx='70' cy='70' r='10' fill='none' stroke='%23B5361A' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-head); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.035em; line-height: .95; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.dot { font-family: var(--f-dot); font-weight: 800; }

/* registration marks */
.reg { position: absolute; width: 18px; height: 18px; pointer-events: none; opacity: .5; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--ink); }
.reg::before { left: 8px; top: 0; width: 1px; height: 18px; }
.reg::after { top: 8px; left: 0; height: 1px; width: 18px; }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
nav .links { display: flex; gap: 20px; }
nav .links a { text-decoration: none; font-family: var(--f-mono); font-size: 12px; }
nav .links a:hover { text-decoration: underline; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* three saturated blobs that drift slowly; a paper veil on the left keeps the headline readable */
.field i { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .95; will-change: transform; }
.field i:nth-child(1) { width: 62vmax; height: 62vmax; right: -14vmax; top: -22vmax; background: radial-gradient(circle, #E04CE0 0%, rgba(224,76,224,.6) 40%, transparent 68%); animation: driftA 19s ease-in-out infinite alternate; }
.field i:nth-child(2) { width: 54vmax; height: 54vmax; right: 8vmax; bottom: -30vmax; background: radial-gradient(circle, #F0502E 0%, rgba(240,80,46,.65) 42%, transparent 68%); animation: driftB 23s ease-in-out infinite alternate; }
.field i:nth-child(3) { width: 46vmax; height: 46vmax; right: -18vmax; bottom: -16vmax; background: radial-gradient(circle, #26693F 0%, rgba(38,105,63,.7) 40%, transparent 68%); animation: driftC 17s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate(-9vmax, 7vmax) scale(1.12); } }
@keyframes driftB { to { transform: translate(7vmax, -6vmax) scale(.9); } }
@keyframes driftC { to { transform: translate(-6vmax, -9vmax) scale(1.15); } }
.field::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--paper) 0%, rgba(250,248,243,.92) 30%, rgba(250,248,243,0) 62%); }
.field::after { content: ""; position: absolute; inset: 0; z-index: 2; background-image: var(--grain); opacity: .28; mix-blend-mode: multiply; }
@media (max-width: 960px) { .field::before { background: linear-gradient(180deg, rgba(250,248,243,.55) 0%, rgba(250,248,243,.88) 45%, rgba(250,248,243,.6) 100%); } }
.gridlines { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px; opacity: .45;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.dots { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(17,17,19,.34) 1.3px, transparent 1.7px); background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(50% 60% at 85% 60%, #000, transparent 75%); mask-image: radial-gradient(50% 60% at 85% 60%, #000, transparent 75%); }
.hero-body { position: relative; z-index: 2; padding-block: 40px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
@media (max-width: 960px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
}
.hero h1 { font-size: clamp(52px, 10vw, 136px); letter-spacing: -.055em; line-height: .86; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--green); }
.lede { margin-top: 28px; font-size: clamp(18px, 2vw, 22px); max-width: 34ch; color: #2a2a2e; }
form.wait { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
form.wait input { flex: 1 1 200px; min-width: 0; height: 52px; padding: 0 14px; font: 500 16px var(--f-head); border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 0; }
.btn { height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--cream); font: 600 15px var(--f-head); cursor: pointer; border-radius: 0; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn:hover { background: var(--green); border-color: var(--green); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.orange { background: var(--orange); border-color: var(--ink); color: var(--ink); }
.btn.orange:hover { background: var(--ink); color: var(--cream); }
.btn.small { height: 40px; padding: 0 14px; font-size: 14px; }
.hint { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.err { color: #B5361A; font-family: var(--f-mono); font-size: 12px; min-height: 18px; margin-top: 8px; }
.ok { margin-top: 32px; max-width: 560px; padding: 18px 20px; background: var(--ink); color: var(--cream); }
.ok strong { font-family: var(--f-dot); font-size: 28px; display: block; line-height: 1; margin-bottom: 8px; }

/* retro windows */
.win { background: var(--white); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); position: relative; min-width: 0; }
.win > .bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 30px; padding: 0 8px; border-bottom: 1.5px solid var(--ink); background: var(--cream);
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; user-select: none; touch-action: none; }
.win > .bar .boxes { display: flex; gap: 4px; }
.win > .bar .boxes i { width: 10px; height: 10px; border: 1.5px solid var(--ink); display: block; }
.win > .bar .boxes i:first-child { background: var(--orange); }
.win.drag > .bar { cursor: grab; }
.win.dragging { z-index: 20; }
.win.dragging > .bar { cursor: grabbing; }
.win .body { padding: 14px; }
.news .body { display: grid; gap: 12px; }
.news .item { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.news .item:last-child { border: 0; padding-bottom: 0; }
.news .item b { font-weight: 600; line-height: 1.25; }
.news .d { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.livedot { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-right: 6px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* desk of windows */
.desk { position: relative; padding-block: 72px 96px; }
.desk-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.desk-head h2 { font-size: clamp(36px, 5.4vw, 64px); max-width: 14ch; }
.desk-head p { max-width: 40ch; color: #2a2a2e; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
.desk-col { display: grid; gap: 28px; min-width: 0; }

/* bounty card (app look) */
.bcard { background: var(--surface); }
.bcard .top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pill { font: 600 10.5px var(--f-head); letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border: 1.5px solid currentColor; }
.pill.live { color: var(--ink); }
.pill.assigned { background: var(--green); color: var(--cream); border-color: var(--green); }
.pill.done { color: var(--muted); }
.bcard .main { padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.bcard input.title { width: 100%; font: 700 19px var(--f-head); letter-spacing: -.02em; border: 0; border-bottom: 1.5px dashed rgba(17,17,19,.35); background: transparent; padding: 2px 0 4px; color: var(--ink); border-radius: 0; }
.bcard input.title:disabled { border-bottom-color: transparent; }
.bcard select { font: 500 14px var(--f-head); background: transparent; border: 0; color: var(--muted); padding: 0; }
.meta { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.reward { text-align: right; }
.reward .num { font: 500 30px var(--f-card); line-height: 1; letter-spacing: -.02em; }
.stepper { display: flex; gap: 4px; justify-content: flex-end; margin-top: 6px; }
.stepper button { width: 30px; height: 30px; border: 1.5px solid var(--ink); background: var(--white); font: 600 16px var(--f-mono); cursor: pointer; color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: default; }
.flow { padding: 14px 0 0; display: grid; gap: 10px; }
.status { font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }

/* player card */
.pcard { position: relative; overflow: hidden; height: 176px; color: var(--cream); background: #141414; animation: dealIn .45s cubic-bezier(.32,.72,0,1) both; }
@keyframes dealIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.pcard.orange { background: var(--orange); color: #000; background-image: radial-gradient(rgba(0,0,0,.22) 1.5px, transparent 1.9px); background-size: 12px 12px; }
.pcard.green { background-color: var(--green); background-image: repeating-linear-gradient(135deg, rgba(243,239,230,.08) 0 8px, transparent 8px 22px); }
.pcard .ghost { position: absolute; left: -2px; top: -16px; font: 700 128px var(--f-card); letter-spacing: -.06em; opacity: .09; line-height: 1; pointer-events: none; }
.pcard .tag { position: absolute; left: 12px; top: 12px; font: 700 9px var(--f-card); letter-spacing: .12em; padding: 4px 7px; border: 2px solid currentColor; text-transform: uppercase; }
.pcard.green .tag { background: var(--pink); color: #000; border-color: var(--pink); }
.pcard .name { position: absolute; left: 12px; top: 38px; font: 700 22px var(--f-card); letter-spacing: -.03em; text-transform: uppercase; }
.pcard .m { position: absolute; left: 12px; top: 66px; font-size: 13px; font-weight: 500; }
.pcard .price { position: absolute; left: 12px; bottom: 56px; font: 500 30px var(--f-card); line-height: 1; }
.pcard .eta { position: absolute; left: 12px; bottom: 36px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.pcard canvas { position: absolute; right: -4px; bottom: 0; image-rendering: pixelated; width: 156px; height: 174px; }
.pcard .pick { position: absolute; left: 12px; bottom: 8px; height: 22px; padding: 0 9px; font: 600 11px var(--f-mono); background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); cursor: pointer; }
.pcard .pick:hover { background: var(--ink); color: var(--cream); border-color: var(--cream); }
.pin { background: var(--ink); color: var(--cream); padding: 18px; text-align: center; display: grid; gap: 8px; }
.pin .digits { font: 900 clamp(56px, 14vw, 84px) var(--f-dot); letter-spacing: .08em; line-height: 1; color: var(--orange); }
.pts { text-align: center; padding: 20px 10px; display: grid; gap: 6px; background: var(--pink); }
.pts .big { font: 900 72px var(--f-dot); line-height: 1; }

/* avatar maker */
.av { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.av .stage { width: 156px; background: var(--paper); border: 1.5px solid var(--ink); background-image: radial-gradient(rgba(17,17,19,.12) 1px, transparent 1.4px); background-size: 6px 6px; display: flex; align-items: end; justify-content: center; height: 192px; }
.av canvas { image-rendering: pixelated; width: 156px; height: 174px; }
.opts { display: grid; gap: 4px; }
.opts button { display: flex; justify-content: space-between; gap: 8px; align-items: center; text-align: left; height: 30px; padding: 0 8px; border: 1px solid var(--line); background: var(--white); font: 500 13px var(--f-head); cursor: pointer; color: var(--ink); }
.opts button span { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.opts button:hover { border-color: var(--ink); }
.av-foot { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* campus board */
.board { background: var(--ink); color: var(--cream); padding: 14px; background-image: radial-gradient(rgba(243,239,230,.07) 1.1px, transparent 1.5px); background-size: 5px 5px; }
.ticker { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; height: 132px; overflow: hidden; }
.ticker li { font: 800 16px var(--f-dot); letter-spacing: .02em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker li:first-child { color: #7FD39C; animation: tickIn .5s ease both; }
.ticker li:nth-child(n+4) { opacity: .45; }
@keyframes tickIn { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.board .ex { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: #9A958C; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.counters div { padding: 12px; border-right: 1px solid var(--line); }
.counters div:last-child { border-right: 0; }
.counters .dot { font-size: 40px; line-height: 1; display: block; color: var(--ink); }
.counters b { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.2; }
.counters small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }

/* two sides */
/* LD5: one sentence split across a gutter, student in grotesk, Hunter in Doto, then their conversation */
.who { display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .02em; line-height: 1.4; margin-bottom: 4px; opacity: .7; }
.line.open > span { font-size: clamp(34px,5.2vw,72px); line-height: 1; letter-spacing: -.04em; padding-block: 0 28px; }
.line.open > span.dt { line-height: 1.06; letter-spacing: .01em; }
.talk { padding-block: clamp(48px,7vw,96px) 0; }
.line { display: grid; grid-template-columns: 1fr 1px 1fr; column-gap: clamp(20px,3vw,40px); align-items: end; }
.gut { background: var(--line); align-self: stretch; }
.line > span, .meet > span { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; font-size: clamp(24px,3.4vw,42px); padding-block: 14px; }
.line > span { color: #B9B6AE; transition: color .6s ease; }
.line.on > span { color: var(--ink); }
.line > span.dt, .meet > span.dt { font-family: var(--f-dot); font-weight: 800; letter-spacing: .01em; line-height: 1.1; }
.line > span:first-child, .meet > span:first-child { text-align: right; }
.meet { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(20px,3vw,40px); padding-block: 36px 12px; }
.meet-pin { border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 18px clamp(20px,3vw,40px) 22px; display: grid; gap: 8px; justify-items: center; background: var(--white); }
.meet-pin small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.meet-pin b { font: 900 clamp(56px,8vw,104px)/1 var(--f-dot); letter-spacing: .08em; color: var(--orange); }
.paid { text-align: center; max-width: 30em; margin: 0 auto; padding-block: clamp(48px,7vw,64px) 40px; display: grid; gap: 8px; justify-items: center; text-wrap: balance; }
.paid b { font-size: clamp(22px,2.6vw,30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.paid span { font-size: 16px; color: var(--muted); }
.sides-head { padding-block: 96px 40px; position: relative; }
.sides-head h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; }
.sides-head p { margin-top: 18px; max-width: 46ch; font-size: 18px; color: #2a2a2e; }

/* editorial sections */
.sect { padding-block: 96px; border-bottom: 1px solid var(--line); position: relative; }
.sect-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.sect h2 { font-size: clamp(40px, 5.6vw, 72px); }
.sect .intro { margin-top: 20px; max-width: 36ch; font-size: 18px; color: #2a2a2e; }
.offers { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.offer { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.offer .when { font-family: var(--f-mono); font-size: 11px; margin-top: 6px; display: inline-block; padding: 2px 6px; background: var(--cream); }
.offer .when.now { background: var(--green); color: var(--cream); }
.offer p { color: #2a2a2e; }
.offer .eg { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.addr { font-family: var(--f-mono); font-size: 14px; padding: 10px 12px; border: 1.5px dashed var(--ink); user-select: all; }
.vision { display: grid; gap: 18px; font-size: 19px; max-width: 58ch; }
.socials { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.socials a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 1px; }
.socials a:hover { color: var(--green); border-color: var(--green); }
.socials svg { width: 16px; height: 16px; }
.queue { display: flex; align-items: flex-end; margin-top: 14px; padding-left: 8px; }
.queue canvas { width: 40px; height: 45px; image-rendering: pixelated; margin-left: -8px; background: var(--cream); border: 1.5px solid var(--ink); animation: dealIn .4s cubic-bezier(.32,.72,0,1) both; }
.queue canvas:nth-child(odd) { background: #EAE4D6; }
.queue .more { margin-left: 6px; height: 45px; padding: 0 10px; display: flex; align-items: center; font: 900 22px var(--f-dot); background: var(--ink); color: var(--cream); animation: dealIn .4s cubic-bezier(.32,.72,0,1) both; }
.loop { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.loop span { padding: 5px 9px; border: 1.5px solid var(--ink); background: var(--white); }
.loop span:nth-of-type(2) { background: var(--pink); }
.loop b { font-family: var(--f-mono); }
.net { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); }
.net div { padding: 14px; border-right: 1px solid var(--line); }
.net div:last-child { border: 0; }
.net .dot { font-size: 34px; line-height: 1; display: block; }
.net b { display: block; font-size: 14px; margin-top: 6px; }
.net small { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.note { margin-top: 40px; }
.note .body { font-size: 18px; display: grid; gap: 14px; }
.note .sign { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.draft { background: var(--pink); color: #000; padding: 1px 6px; }

.textlink { background: none; border: 0; cursor: pointer; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; padding-block: 12px; }
.assure { margin-top: 10px; font-size: 14px; color: var(--muted); }
.assure a { color: var(--ink); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 48px; }
.cta-band > p { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--f-head); letter-spacing: -.03em; max-width: 22ch; }
.cta-band > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.cta-band .assure { margin: 0; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; min-height: 48px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px var(--f-mono); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; max-width: 58ch; color: #2a2a2e; }
.foot-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--f-mono); font-size: 12px; color: #9A958C; }
footer { padding-block: 56px 40px; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
footer .f { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; position: relative; z-index: 1; }
footer .big { font: 900 clamp(64px, 16vw, 220px) var(--f-dot); line-height: .8; letter-spacing: -.02em; color: var(--cream); }
footer .cols { display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--f-mono); font-size: 12px; color: #9A958C; }
footer .cols a { color: var(--cream); }

/* colour rhythm below the hero: one tint per section, each a soft wash of the brand colours, never at full strength except the CTA band */
.bleed { position: relative; isolation: isolate; }
.bleed::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; }
/* plate: warm cream with a faint dot pattern, plus the hero's grain */
.desk::before { background: radial-gradient(rgba(17,17,19,.17) 1px, transparent 1.5px) 0 0 / 14px 14px, #F3EFE6; border-bottom: 1px dotted rgba(17,17,19,.3); }
.desk::after, #sides::after, #shops::after, #faq::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .13; mix-blend-mode: multiply; }
.desk::after { left: calc(50% - 50vw); width: 100vw; }
#sides::after, #shops::after, #faq::after { left: 0; right: 0; }
#sides, #shops, #faq { position: relative; isolation: isolate; }
/* one soft tint per section; voices in the two-sides section stay split by font only */
#sides { background: #E3EFE4; border-bottom: 1px dotted rgba(17,17,19,.3); }
.cta-band::before { background: var(--orange); background-image: radial-gradient(rgba(0,0,0,.14) 1.4px, transparent 1.8px); background-size: 11px 11px; border-block: 1.5px solid var(--ink); }
.cta-band .assure { color: var(--ink); }
.cta-band .btn:hover { background: var(--cream); color: var(--ink); border-color: var(--ink); }
#shops { background: #FCE8DE; overflow: hidden; border-bottom: 1px dotted rgba(17,17,19,.3); }
#shops::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2;
  background-image: var(--rangoli), var(--rangoli); background-repeat: no-repeat;
  background-size: 260px 260px, 150px 150px; background-position: left -40px bottom -40px, right -50px top -50px; }
#faq { background: #FBE6F5; border-bottom: 0; }

/* app screenshots in a plain phone frame */
.phone { margin: 0; display: grid; gap: 10px; justify-items: center; }
.phone .frame { width: min(270px, 72vw); border: 9px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--white); box-shadow: 8px 8px 0 rgba(17,17,19,.16); }
.phone img { display: block; width: 100%; height: auto; }
.phones { display: flex; gap: 20px; align-items: flex-start; }
.phones .frame { width: min(240px, 40vw); }
.faq-phone { margin-top: 32px; justify-items: start; }
.faq-phone figcaption { text-align: left; }
.phone figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: center; max-width: 30ch; }
.sides-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.shop-phone { margin-top: 40px; justify-items: start; }
.shop-phone figcaption { text-align: left; }
@media (max-width: 960px) { .sides-head { grid-template-columns: minmax(0, 1fr); } .phones { justify-content: center; } .shop-phone, .faq-phone { justify-items: center; } .shop-phone figcaption, .faq-phone figcaption { text-align: center; } }

/* responsive */
@media (max-width: 960px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .desk-grid { grid-template-columns: minmax(0, 1fr); }
  .sect-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .line, .meet { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .gut { display: none; }
  .line > span:first-child, .meet > span:first-child { text-align: left; }
  .line > span:last-child, .meet > span:last-child { text-align: right; }
  .line { border-bottom: 1px solid var(--line); padding-block: 10px; }
  .meet { row-gap: 14px; }
  .meet .meet-pin { justify-self: center; }
}
@media (max-width: 560px) {
  nav .links { display: none; }
  .av { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .av .opts { width: 100%; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counters div:nth-child(2) { border-right: 0; }
  .counters div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .net { grid-template-columns: minmax(0, 1fr); }
  .net div { border-right: 0; border-bottom: 1px solid var(--line); }
  .queue canvas { width: 32px; height: 36px; margin-left: -6px; }
  .queue .more { height: 36px; font-size: 18px; }
  .win { box-shadow: 3px 3px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== v2 sizing pass: app fonts, app colours, calmer scale ===== */
:root { --paper: #FFFFFF; --ink: #000000; --surface: #E6E6E6; --muted: #5C5C5C; --line: rgba(0,0,0,.1);
  --f-head: "Onest", "Helvetica Neue", Arial, sans-serif; --f-display: "Unbounded", "Onest", Arial, sans-serif;
  --dotgrid: radial-gradient(rgba(0,0,0,.10) 1.2px, transparent 1.6px) 0 0 / 20px 20px; }
body { font-size: 16px; line-height: 1.55; background: var(--paper); }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.08; }
.wrap { max-width: 1120px; }

/* hero: text left, phone right */
.hero { border-bottom: 0; }
.hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; padding-block: 24px 72px; align-items: center; }
@media (max-width: 960px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin-top: 8px; }
.hero h1 em { color: var(--green); }
.lede { margin-top: 20px; font-size: 18px; max-width: 38ch; color: #2a2a2e; }
form.wait { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; }
form.wait input { height: 48px; font: 400 15px var(--f-head); border: 1.5px solid var(--ink); }
form.wait #college { grid-column: 1 / -1; }
form.wait .btn { grid-column: 1 / -1; justify-self: start; }
.btn { height: 48px; padding: 0 20px; font: 600 15px var(--f-head); }
.btn.small { height: 40px; font-size: 14px; }
.assure { font-size: 13px; }
.hint { font-size: 12px; }
.field i:nth-child(1) { width: 40vmax; height: 40vmax; right: -10vmax; top: -12vmax; }
.field i:nth-child(2) { width: 34vmax; height: 34vmax; right: 6vmax; bottom: -18vmax; }
.field i:nth-child(3) { width: 30vmax; height: 30vmax; right: -12vmax; bottom: -8vmax; }
.field::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 42%, rgba(255,255,255,0) 70%); }
.field::after { opacity: .18; }
.strip { background: var(--ink); color: var(--cream); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 12px; font: 500 13px var(--f-head); }
.strip .livedot { margin-right: 8px; background: #45A266; }

/* phones: one frame style everywhere */
.phone .frame, .card-shot .frame { border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: 0 24px 48px rgba(0,0,0,.14); }
.hero-phone { justify-items: end; }
@media (max-width: 960px) { .hero-phone { justify-items: center; } }
.hero-phone .frame { width: min(290px, 70vw); }
.shop-phone { justify-items: center; margin-top: 48px; }
.shop-phone .frame { width: min(300px, 100%); }

/* section rhythm: white with the app's dot grid, then cream, alternating */
.sect, .desk { padding-block: 88px; }
.desk::before { background: var(--dotgrid), #fff; border: 0; }
#sides { border: 0; background:
    radial-gradient(58% 42% at 0% 66%, rgba(240,80,46,.55), rgba(240,80,46,.18) 45%, transparent 72%),
    radial-gradient(58% 42% at 100% 66%, rgba(38,105,63,.55), rgba(38,105,63,.18) 45%, transparent 72%),
    radial-gradient(44% 26% at 50% 6%, rgba(224,76,224,.28), transparent 72%),
    radial-gradient(rgba(0,0,0,.09) 1.2px, transparent 1.6px) 0 0 / 20px 20px,
    var(--cream); }
#shops { background: var(--dotgrid), #fff; border: 0; }
#shops::before { display: none; }
#faq { background: var(--cream); }
.desk::after, #sides::after, #shops::after, #faq::after { display: none; }

/* section heads: one size */
.desk-head h2, .sect h2, .sides-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; max-width: 18ch; }
.desk-head { margin-bottom: 36px; }
.desk-head p, .sect .intro, .sides-head p { font-size: 17px; color: #2a2a2e; max-width: 46ch; }
.sides-head { display: block; text-align: center; padding-block: 88px 40px; }
.sides-head h2, .sides-head p { margin-inline: auto; }
.sides-head .reg { display: none; }

/* two sides: screenshot cards with a caption, like a product tour */
.phones { justify-content: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.card-shot { margin: 0; width: min(300px, 100%); background: #fff; border: 1px solid var(--line); display: grid; }
.card-shot .frame { width: auto; margin: 24px 24px 0; border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: none; aspect-ratio: 1080 / 1300; }
.card-shot .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-shot figcaption { border-top: 1px solid var(--line); padding: 16px 20px 20px; font-size: 14px; color: var(--muted); text-align: left; }
.card-shot figcaption b { display: block; font: 600 16px var(--f-head); color: var(--ink); margin-bottom: 4px; }

/* the conversation: calmer type */
.line.open > span { font-size: clamp(24px, 3vw, 40px); padding-block: 0 20px; }
.line > span, .meet > span { font-size: clamp(18px, 2.2vw, 28px); padding-block: 10px; }
/* menu and share links look and act like buttons */
nav .links { gap: 2px; align-items: center; margin-left: auto; }
nav .links a { font: 500 14px var(--f-head); padding: 9px 12px; text-decoration: none; }
nav .links a:hover { background: var(--surface); text-decoration: none; }
.nav-cta { height: 40px; margin-left: 12px; background: #fff; }
.hint { gap: 8px; margin-top: 18px; }
.hint .textlink { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; font: 600 14px var(--f-head); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer; }
.hint .textlink:hover { background: var(--ink); color: var(--cream); }
.hint span { flex-basis: 100%; font: 400 13px var(--f-head); color: var(--muted); order: -1; }
/* rows line up on the text baseline, labels get their own row */
.line { align-items: baseline; }
.line .gut { align-self: stretch; }
.line.labels > span { font: 500 12px var(--f-mono); letter-spacing: .02em; color: var(--muted); padding-block: 0 6px; transition: none; }
.line.labels.on > span { color: var(--muted); }
/* balance the two voices: grotesk semibold for the student, heaviest dot type a touch larger for the Hunter (dots read lighter) */
.line > span:not(.dt), .meet > span:not(.dt) { font-family: var(--f-head); font-weight: 600; letter-spacing: -.015em; }
.line > span.dt, .meet > span.dt { font-weight: 900; font-size: clamp(20px, 2.5vw, 32px); letter-spacing: 0; }
.line.open > span.dt { font-size: clamp(27px, 3.4vw, 45px); }
.meet-pin b { font-size: clamp(44px, 5.6vw, 72px); }
.paid b { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 26px); }

/* CTA band and offers */
.cta-band > p { font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--f-display); }
.offer h3 { font-size: 17px; }
.offer p { font-size: 15px; }
.faq summary { font: 600 17px var(--f-head); }
.faq details p { font-size: 15px; }

/* footer */
footer .big { font-size: clamp(48px, 9vw, 128px); }

@media (max-width: 960px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .field::before { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.95) 55%, rgba(255,255,255,.4) 100%); }
}
@media (max-width: 560px) {
  form.wait { grid-template-columns: minmax(0, 1fr); }
  .strip .wrap { justify-content: flex-start; }
  .sect, .desk { padding-block: 64px; }
  .sides-head { padding-block: 64px 32px; }
}

/* ===== fill pass: app notifications, stickers and pixel heads around the content ===== */
.hero .stage { position: relative; display: grid; justify-items: end; }
.notif { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; width: 236px; padding: 10px 12px;
  background: rgba(17,17,19,.94); color: var(--cream); border: 1.5px solid #000; box-shadow: 5px 5px 0 rgba(0,0,0,.22); font: 400 12px/1.3 var(--f-head); }
.notif b { display: block; font-weight: 600; font-size: 14px; }
.notif span { color: #B9B6AE; }
.notif .head { width: 38px; height: 42px; flex: none; background: var(--cream); border-radius: 50%; image-rendering: pixelated; }
.notif .pts { flex: none; display: grid; place-items: center; width: 42px; height: 42px; background: var(--pink); color: #000; font: 900 18px var(--f-dot); }
.n1 { top: 120px; left: -20px; }
.n2 { top: 410px; left: -20px; }
.n3 { bottom: 70px; right: 18px; width: 252px; }
.sticker { position: absolute; z-index: 3; display: inline-block; padding: 10px 14px; border: 3px solid #000; box-shadow: 4px 4px 0 #000;
  font: 700 12px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.s-green { background: var(--green); color: var(--cream); }
.s-orange { background: var(--orange); color: #000; }
.s-pink { background: var(--pink); color: #000; font: 900 26px/1 var(--f-dot); padding: 14px 12px; border-radius: 50%; }
.s-pink-wide { background: var(--pink); color: #000; }
.hero .stage .s-green { top: -10px; left: -14px; transform: rotate(-8deg); }
.hero .stage .s-orange { top: 300px; left: 0; transform: rotate(7deg); }
.hero .stage .s-pink { top: 236px; right: 4px; transform: rotate(12deg); }
.desk-head, #shops .sect-grid > div:first-child { position: relative; }
.desk-head h2, #shops h2 { position: relative; }
.desk-head .sticker { position: static; margin: 0 0 0 12px; vertical-align: 6px; padding: 5px 9px; font-size: 10px; border-width: 2.5px; box-shadow: 3px 3px 0 #000; }
footer { padding-top: 104px; }
.tilt-r { transform: rotate(6deg); }
.tilt-l { transform: rotate(-6deg); }
#shops h2 + .sticker { position: absolute; top: -18px; right: 8px; }
.float { animation: bob 5s ease-in-out infinite; }
.n2.float { animation-delay: -1.6s; } .n3.float { animation-delay: -3.1s; }
.hero .stage .sticker.float { animation-name: bobtilt; }
@keyframes bob { 50% { translate: 0 -7px; } }
@keyframes bobtilt { 50% { translate: 0 -5px; } }
footer { overflow: hidden; }
footer .wrap { position: relative; }
/* oversized mascot: his cut-off torso sinks below the footer edge, which hides it */
.mascot { position: absolute; right: -10px; bottom: -96px; pointer-events: none; }
.mascot .head { display: block; width: 330px; height: 367px; image-rendering: pixelated; }
.mascot .bubble { position: absolute; top: 34px; right: 300px; white-space: nowrap; background: #fff; color: #000; border: 3px solid #000; padding: 8px 14px; font: 700 14px var(--f-display); transform: rotate(-5deg); box-shadow: 4px 4px 0 var(--orange); }
footer .f { position: relative; z-index: 1; }
footer .cols { max-width: calc(100% - 320px); }
@media (max-width: 960px) {
  .hero .stage { justify-items: center; }
  .n1 { left: 0; top: 70px; } .n2 { left: 0; top: 430px; } .n3, .hero .stage .s-pink { display: none; }
  .hero .stage .s-green { right: auto; left: 8px; top: -10px; } .hero .stage .s-orange { left: auto; right: 8px; top: 470px; }
  footer { padding-bottom: 0; } footer .wrap { display: flex; flex-direction: column; } footer .cols { max-width: 100%; } .mascot { position: relative; order: 2; right: auto; bottom: auto; margin: 32px -16px -84px auto; } .mascot .head { width: 200px; height: 222px; } .mascot .bubble { top: 6px; right: 150px; font-size: 12px; }
}
@media (max-width: 560px) { .notif { width: 210px; } .desk-head .sticker { display: none; } }

/* ===== clean screen cards (no bezel), floating bits kept off the screens ===== */
.phone .frame, .card-shot .frame { border: 0; border-radius: 32px; padding-top: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 30px 60px -20px rgba(0,0,0,.40), 0 10px 20px -10px rgba(0,0,0,.18); }
.phone .frame.dark, .card-shot .frame.dark { background: #111113; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.45), 0 10px 20px -10px rgba(0,0,0,.2); }
.card-shot .frame { border-radius: 26px 26px 0 0; padding-top: 14px; box-shadow: none; }
.card-shot .frame.dark { box-shadow: none; }
.card-shot { border-radius: 30px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); }

/* hero stage: stickers in a band above the screen, notifications in a band below it */
.hero .stage { padding: 64px 0 132px; }
.hero-phone .frame { width: min(270px, 70vw); }
.hero .stage .s-green { top: 6px; left: auto; right: 160px; transform: rotate(-6deg); }
.hero .stage .s-pink { top: 0; right: -4px; transform: rotate(10deg); }
.n1 { top: auto; left: auto; right: 118px; bottom: 60px; width: 230px; }
.n3 { top: auto; right: 0; bottom: 0; width: 236px; }
.sides-head .sticker { margin-left: 12px; vertical-align: 6px; padding: 5px 9px; font-size: 10px; border-width: 2.5px; box-shadow: 3px 3px 0 #000; }
@media (max-width: 960px) {
  .hero .stage { padding: 64px 0 140px; }
  .hero .stage .s-green { right: auto; left: 0; top: 4px; }
  .n1 { right: auto; left: 0; bottom: 64px; } .n3 { display: flex; right: 0; bottom: 0; width: 210px; }
}
@media (max-width: 560px) { .n1, .n3 { width: 200px; } .sides-head .sticker { display: none; } }

/* ===== oversized mockups; stickers may overlap the screen corners ===== */
.hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
@media (max-width: 960px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero .stage .s-green { right: auto; left: 0; top: 0; }
  .n1 { right: auto; left: 0; bottom: 48px; } .n3 { right: 0; bottom: 0; }
}
.hero-phone .frame { width: min(340px, 86vw); }
.hero .stage { padding: 40px 0 92px; }
.hero .stage .s-green { top: 6px; right: 250px; }
.hero .stage .s-pink { top: 60px; right: -14px; }
.n1 { right: 170px; bottom: 44px; }
.n3 { right: -10px; bottom: 0; }
.phones { gap: 32px; }
.card-shot { width: min(380px, 100%); }
.shop-phone .frame { width: min(360px, 100%); }
@media (max-width: 960px) {
  .hero .stage .s-green { right: auto; left: 0; top: 0; }
  .n1 { right: auto; left: 0; bottom: 48px; } .n3 { right: 0; bottom: 0; }
}

/* ===== v3: three pages, demos that look playable ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* nav: links stay visible on phones as a row under the brand */
nav .links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 560px) {
  nav { flex-wrap: wrap; row-gap: 2px; padding-block: 14px 8px; }
  nav .links { display: flex; order: 3; flex-basis: 100%; margin-left: -12px; }
  nav .links a { font-size: 13px; padding: 8px 12px; }
}
/* pressable: an ink shadow that sinks on press */
.btn { box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn.ghost.small, .nav-cta { box-shadow: 2px 2px 0 var(--ink); }
.stepper button, .pcard .pick { box-shadow: 2px 2px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.stepper button:active, .pcard .pick:active { transform: translate(2px, 2px); box-shadow: none; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
/* every demo window says it is playable */
.win > .bar .playable { margin-left: auto; margin-right: 6px; padding: 2px 6px; background: var(--green); color: #fff; font: 700 10px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
/* step chips above a game */
.steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font: 600 12px var(--f-mono); }
.steps li { padding: 5px 10px; border: 1.5px solid var(--ink); background: #fff; }
.steps li.done { background: var(--green); border-color: var(--green); color: #fff; }
.steps li[aria-current] { background: var(--ink); color: #fff; }
/* coach: bubble + pulsing ring + a pointer that taps (no pointer with reduced motion) */
.coach { position: absolute; z-index: 30; padding: 8px 12px; background: var(--ink); color: #fff; font: 600 13px/1.3 var(--f-head); box-shadow: 3px 3px 0 var(--orange); pointer-events: none; animation: coachIn .35s cubic-bezier(.32,.72,0,1) both; width: max-content; }
.coach::after { content: ""; position: absolute; left: var(--arrow, 50%); bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.coach.below::after { bottom: auto; top: -6px; }
.coach-ring { position: absolute; z-index: 29; border: 2.5px solid var(--orange); pointer-events: none; animation: ring 1.4s ease-out infinite; }
.coach-hand { position: absolute; z-index: 31; width: 22px; height: 34px; pointer-events: none; animation: hand 6s ease-in-out infinite; }
.coach-hand svg { width: 100%; height: 100%; display: block; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.25)); }
@keyframes coachIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(240,80,46,.6); } to { box-shadow: 0 0 0 14px rgba(240,80,46,0); } }
@keyframes hand { 0% { transform: translate(46px, 52px); opacity: 0; } 12% { opacity: 1; } 38%, 44% { transform: translate(0, 0) scale(1); } 48% { transform: translate(0, 0) scale(.82); } 54%, 82% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }
/* avatar maker: the face is a button, rows get arrows */
button.stage { padding: 0; cursor: pointer; position: relative; font: inherit; color: inherit; }
button.stage:hover { background-color: #FCE8DE; }
button.stage:active canvas { transform: scale(.96); }
button.stage .dice { position: absolute; left: 6px; top: 6px; padding: 2px 6px; background: var(--orange); border: 1.5px solid var(--ink); font: 700 10px var(--f-mono); text-transform: uppercase; }
.opts .opt { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.15fr) 30px; align-items: center; height: 32px; border: 1px solid var(--line); background: #fff; padding-left: 8px; font: 500 13px var(--f-head); }
.opts .opt b { font: 500 12px var(--f-mono); color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.opts .opt button { display: grid; place-items: center; height: 30px; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--cream); font-size: 11px; color: var(--ink); cursor: pointer; }
.opts .opt button:hover { background: var(--ink); color: #fff; }
.opts .opt b + button { border-left: 1px solid var(--line); }
/* first screen: the game */
.top { position: relative; z-index: 3; }
#play.desk { padding-top: 20px; }
.play-head { margin-bottom: 22px; }
.kicker { font: 600 12px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.play-head h1 { font-size: clamp(28px, 4vw, 48px); margin-top: 8px; max-width: 22ch; }
.play-head p { margin-top: 10px; max-width: 52ch; color: #2a2a2e; }
.skip { display: inline-block; margin-top: 28px; font: 600 14px var(--f-head); text-underline-offset: 4px; }
/* the waitlist block (old hero) is now a section below the game */
#join.hero .hero-body { padding-block: 72px; }
.hero h2.hl { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin-top: 8px; max-width: 16ch; }
.hero h2.hl em { font-style: normal; color: var(--green); }
/* three doors */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.door { --c: var(--green); display: grid; align-content: start; gap: 10px; padding: 0 22px 22px; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.door::before { content: ""; height: 10px; margin: 0 -22px 12px; background: var(--c); border-bottom: 1.5px solid var(--ink); }
.door:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.door b { font: 700 20px/1.15 var(--f-display); letter-spacing: -.02em; }
.door span { color: #2a2a2e; font-size: 15px; }
.door .go { font: 600 13px var(--f-mono); color: var(--ink); margin-top: 4px; }
.door.orange { --c: var(--orange); } .door.pink { --c: var(--pink); }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }
footer .pages { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font: 600 14px var(--f-head); }
footer .pages a { color: var(--cream); }

/* ===== the student's Rewards phone (rewards.js), used on /students and /merchant ===== */
.rphone { position: relative; width: min(330px, 100%); margin: 0 auto; border: 7px solid var(--ink); border-radius: 30px; background: #fff; overflow: hidden; box-shadow: 6px 6px 0 rgba(0,0,0,.14); }
.rphone .scr { min-height: 500px; padding: 18px 14px 20px; display: grid; align-content: start; gap: 12px; font-size: 14px; }
.rphone .hd { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.rphone .hd b { font: 700 20px var(--f-display); letter-spacing: -.02em; }
.rphone .back { border: 0; background: none; padding: 6px 0; font: 600 13px var(--f-mono); cursor: pointer; color: var(--ink); }
.chip-pts { font: 900 15px var(--f-dot); background: var(--pink); padding: 3px 8px; border: 1.5px solid var(--ink); white-space: nowrap; }
.rphone .sub { color: var(--muted); font-size: 13px; }
.rphone .btn { width: 100%; justify-content: center; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: grid; text-align: left; padding: 0; border: 1.5px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink); font: inherit; color: inherit; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.tile:active { transform: translate(3px, 3px); box-shadow: none; }
.tile .ph, .shop-hd .ph { display: grid; place-items: center; background: var(--c); font: 900 28px var(--f-dot); color: #000; }
.tile .ph { height: 64px; border-bottom: 1.5px solid var(--ink); }
.tile .tx { display: grid; gap: 2px; padding: 8px; font-size: 12px; color: var(--muted); }
.tile .tx b { font-size: 13px; color: var(--ink); line-height: 1.2; }
.tile .tx em { font: 700 10px var(--f-mono); font-style: normal; text-transform: uppercase; color: var(--orange); }
.tile.you { outline: 3px solid var(--orange); outline-offset: 2px; }
.track { display: inline-flex; gap: 4px; margin-top: 3px; }
.track i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.track i.on { background: var(--green); border-color: var(--green); }
.shop-hd { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; }
.shop-hd .ph { height: 56px; border: 1.5px solid var(--ink); font-size: 22px; }
.shop-hd b { display: block; font: 700 18px var(--f-display); letter-spacing: -.02em; }
.shop-hd span { font-size: 12px; color: var(--muted); }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ladder span { padding: 6px 2px; border: 1.5px solid var(--ink); text-align: center; font: 600 10.5px var(--f-mono); }
.ladder span.on { background: var(--ink); color: #fff; }
.rrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.rrow .lvl { font: 700 11px var(--f-mono); border: 1.5px solid var(--ink); padding: 2px 5px; }
.rrow b { font-weight: 600; }
.rrow small { display: block; font-size: 11.5px; color: var(--muted); }
.rrow .st { font: 600 11px/1.3 var(--f-mono); text-align: right; color: var(--muted); }
.rrow .st.ok { color: var(--green); }
.acts { display: grid; gap: 8px; margin-top: 4px; }
.howto { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.bill { display: grid; gap: 2px; padding: 14px; border: 1.5px solid var(--ink); background: var(--cream); }
.bill b { font: 500 40px/1 var(--f-card); letter-spacing: -.02em; }
.bill span:last-child { font-size: 13px; color: var(--muted); margin-top: 4px; }
.staff { display: grid; gap: 6px; justify-items: center; padding: 12px; border: 1.5px dashed var(--ink); background: #fff; margin-bottom: 10px; text-align: center; }
.staff b { font-size: 14px; }
canvas.qr { image-rendering: pixelated; width: 140px; height: 140px; display: block; }
.viewfinder { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #1b1b1e;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-repeat: no-repeat; background-size: 34px 4px, 4px 34px, 34px 4px, 4px 34px, 34px 4px, 4px 34px, 34px 4px, 4px 34px;
  background-position: 14px 14px, 14px 14px, right 14px top 14px, right 14px top 14px, 14px bottom 14px, 14px bottom 14px, right 14px bottom 14px, right 14px bottom 14px; }
.viewfinder canvas.qr { width: 58%; height: auto; aspect-ratio: 1; }
.viewfinder::after { content: ""; position: absolute; left: 10%; right: 10%; top: 18%; height: 2px; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: scanline 1.8s ease-in-out infinite alternate; }
.viewfinder.idle::after { display: none; }
.viewfinder.idle .mono { color: #9A958C; }
@keyframes scanline { to { top: 82%; } }
.result { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 0 6px; }
.result b { font: 700 18px var(--f-display); letter-spacing: -.02em; }
.result b.rw { font-size: 26px; }
.result span { color: var(--muted); font-size: 13px; }
.big-pts { font: 900 72px/1 var(--f-dot); color: var(--green); }
.tick { width: 72px; height: 72px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 40px; border: 2px solid var(--ink); }
.slide { --v: 0%; position: relative; height: 58px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--green) var(--v), var(--cream) var(--v)); }
.slide span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px var(--f-head); pointer-events: none; }
.slide input { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.slide input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.slide input::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 52px; margin-top: 1px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 5l7 7-7 7M12 5l7 7-7 7' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") center / 26px no-repeat; border: 0; }
.slide input::-moz-range-thumb { width: 52px; height: 52px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 5l7 7-7 7M12 5l7 7-7 7' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") center / 26px no-repeat; border: 0; border-radius: 0; }
.slide input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* trademark mark after the wordmark */
.tm { font-size: .62em; font-weight: 600; vertical-align: super; line-height: 0; margin-left: 1px; letter-spacing: 0; }
