/* tkay.app — tokens mirror apps/mobile/src/theme/tokens.ts */
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Nunito_800ExtraBold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("/assets/fonts/Nunito_900Black.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter_400Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter_600SemiBold.woff") format("woff"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Caveat_700Bold.woff") format("woff"); }

:root {
  --canvas: #F6F2E9;
  --surface: #FFFFFF;
  --ink: #20241F;
  --muted: #55594F;
  --border: #D9D0BF;
  --chip: #F3E7D3;
  --hero-top: #F7632F;
  --hero-bottom: #E2471C;
  --on-hero: #FFFFFF;
  --note: #FFE07A;
  --on-note: #20241F;
  --pin: #F45B32;
  --ray: #F4B54A;
  --scout: #E2471C;
  --maker: #2F63D8;
  --checker: #1D6E46;
  --add-bg: #E2F6E7;
  --add-ink: #1D6E46;
  --del-bg: #FBE6E1;
  --del-ink: #A2341D;
  --focus: #1D4FB8;
  --shadow: 32 36 31;

  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #161B17;
    --surface: #20261F;
    --ink: #F5F2E8;
    --muted: #C2BEB1;
    --border: #3A4239;
    --chip: #2E352D;
    --note: #E6C65A;
    --pin: #FF7A52;
    --scout: #FF7A52;
    --maker: #8DB2F7;
    --checker: #7FD8A6;
    --add-bg: #17311F;
    --add-ink: #A8E8BE;
    --del-bg: #3B1F1B;
    --del-ink: #FFB4A6;
    --focus: #8AB4FF;
    --shadow: 0 0 0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--hero-bottom); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip { position: absolute; left: 8px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--canvas); border-radius: 999px; z-index: 10; text-decoration: none; }
.skip:focus { top: 8px; }

/* header / footer */
.top, .foot, main > section, .doc { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 900 1.625rem/1 var(--display); letter-spacing: -.02em; }
.wordmark img { width: 22px; height: 26px; }
.top nav { display: flex; gap: clamp(14px, 3vw, 28px); font-weight: 600; font-size: .9375rem; }
.top nav a { text-decoration: none; padding: 8px 2px; }
.top nav a:hover { text-decoration: underline; }

.foot { margin-top: clamp(64px, 10vw, 120px); padding-block: 36px 48px; border-top: 1px solid var(--border); display: grid; gap: 20px 40px; grid-template-columns: 1fr auto; align-items: start; color: var(--muted); font-size: .9375rem; }
.foot-brand p { margin-top: 6px; font-family: var(--hand); font-size: 1.375rem; }
.foot-brand .wordmark { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; color: var(--ink); }
.foot-legal { grid-column: 1 / -1; font-size: .8125rem; }

/* buttons */
.btn-hero, .btn-light, .btn-quiet { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 900 1.1875rem/1 var(--display); text-decoration: none; transition: transform .18s var(--spring), box-shadow .18s; }
.btn-hero { color: var(--on-hero); background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); box-shadow: 0 10px 22px -10px rgb(226 71 28 / .7); }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgb(226 71 28 / .75); }
.btn-hero:active, .btn-light:active { transform: translateY(1px) scale(.98); }
.btn-quiet { padding: 0 16px; font-weight: 800; }
.btn-quiet:hover { text-decoration: underline; }
.btn-light { background: #F6F2E9; color: #20241F; }
.btn-light:hover { transform: translateY(-2px); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(24px, 6vw, 72px) clamp(24px, 4vw, 48px); }
.hero h1 { font-size: clamp(3.25rem, 8.4vw, 6.5rem); line-height: .93; letter-spacing: -.035em; }
.lede { margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; max-width: 34ch; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.availability { margin-top: 18px; font-size: .9375rem; color: var(--muted); }

.stage { position: relative; display: grid; justify-items: center; padding-top: 8px; }
.note {
  position: relative; margin: 0; width: min(270px, 72vw); aspect-ratio: 1 / .86; padding: 34px 26px 22px;
  background: var(--note); color: var(--on-note); border-radius: 6px 6px 18px 6px;
  box-shadow: 0 1px 0 rgb(var(--shadow) / .08), 0 18px 28px -18px rgb(var(--shadow) / .45);
  transform: rotate(-4deg);
  display: grid; align-content: center;
  animation: note-drop .7s var(--spring) .1s both;
}
.note p { font: 700 clamp(1.625rem, 3vw, 2rem)/1.05 var(--hand); }
.pin { position: absolute; top: 12px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--pin); box-shadow: 0 3px 0 rgb(var(--shadow) / .18); animation: pin-pop .45s var(--spring) .6s both; }
.marks { position: absolute; right: -44px; top: -22px; width: 56px; fill: none; stroke: var(--ray); stroke-width: 5; stroke-linecap: round; }
.marks path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease-out) 1.35s forwards; }

.crew { display: flex; justify-content: center; margin-top: -6px; }
.mate { position: relative; display: grid; justify-items: center; padding: 0; margin: 0 -10px; border: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 28px; }
.mate img { width: clamp(112px, 15vw, 196px); height: auto; transform-origin: 50% 85%; animation: pop-in .6s var(--spring) both; pointer-events: none; user-select: none; }
.mate:nth-child(1) img { animation-delay: .75s; }
.mate:nth-child(2) img { animation-delay: .9s; }
.mate:nth-child(3) img { animation-delay: 1.05s; }
.mate .name { margin-top: -8px; font: 700 1.375rem/1 var(--hand); color: var(--muted); animation: fade .4s ease 1.3s both; }
.mate { transform-origin: 50% 90%; transition: transform .2s var(--spring); }
.mate:hover { transform: translateY(-4px); }
.mate.hop { animation: hop .62s var(--spring); }
.mate:focus-visible { outline-offset: -2px; }

.bubble {
  position: absolute; top: 0; left: var(--bx, 50%); transform: translate(-50%, -8px) scale(.9); opacity: 0;
  max-width: 230px; padding: 10px 16px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--ink);
  font: 800 1rem/1.25 var(--display); text-align: center; pointer-events: none; z-index: 2;
  transition: opacity .18s ease, transform .25s var(--spring);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; background: var(--surface); border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* how it works */
.how { padding-block: clamp(40px, 6vw, 72px); }
.how h2, .code h2, .rules h2, .invite h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.02; letter-spacing: -.025em; }
.how h2 { max-width: 16ch; }
.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 70px; border-top: 3px dashed var(--border); }
.step { counter-increment: step; position: relative; display: grid; grid-template-rows: 140px auto; gap: 18px; }
.step-art { position: relative; display: grid; place-items: center; }
.step-art img { width: 140px; }
.step-text h3 { display: flex; gap: 10px; align-items: baseline; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.step-text h3::before { content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--canvas); font: 900 .9375rem/1 var(--display); transform: translateY(-2px); }
.step:nth-child(2) h3::before { background: var(--scout); color: #fff; }
.step:nth-child(4) h3::before { background: var(--maker); color: #fff; }
.step:nth-child(5) h3::before { background: var(--checker); color: #fff; }
@media (prefers-color-scheme: dark) { .step h3::before { color: #161B17; } .step:nth-child(1) h3::before, .step:nth-child(3) h3::before { color: var(--canvas); } }
.step-text p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.mini-note { display: grid; place-items: center; width: 104px; height: 92px; padding: 10px; background: var(--note); color: var(--on-note); border-radius: 4px 4px 12px 4px; transform: rotate(-5deg); font: 700 1.375rem/1 var(--hand); text-align: center; box-shadow: 0 12px 18px -12px rgb(var(--shadow) / .45); }
.mini-approve { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: #fff; background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); font: 900 1rem/1 var(--display); white-space: nowrap; transform: rotate(2deg); box-shadow: 0 10px 18px -10px rgb(226 71 28 / .7); }

/* code */
.code { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.code-text p { margin-top: 18px; max-width: 46ch; font-size: 1.125rem; }
.code-text .fine { font-size: .9375rem; color: var(--muted); }
.pr { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; transform: rotate(1.2deg); box-shadow: 0 24px 40px -28px rgb(var(--shadow) / .5); }
.pr-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: .9375rem; }
.pr-head svg { fill: var(--muted); flex: none; }
.pr-head span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { margin-left: auto; flex: none; padding: 5px 12px; border-radius: 999px; background: var(--add-bg); color: var(--add-ink); font: 800 .8125rem/1 var(--display); }
.diff { margin: 0; padding: 14px 0; font: .8125rem/1.7 var(--mono); overflow-x: auto; white-space: normal; }
.diff span { display: block; padding: 0 20px; white-space: pre; }
.diff .del { background: var(--del-bg); color: var(--del-ink); }
.diff .add { background: var(--add-bg); color: var(--add-ink); }
.pr-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); }
.ok { color: var(--add-ink); font-weight: 600; }
.ok::before { content: "✓ "; }

/* rules */
.rules { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.rules h2 { max-width: 12ch; position: sticky; top: 32px; }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { position: relative; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--border); font-size: 1.125rem; color: var(--muted); }
.rule-list li:first-child { padding-top: 4px; }
.rule-list li:first-child::before { top: 6px; }
.rule-list strong { display: block; color: var(--ink); font: 800 1.3125rem/1.25 var(--display); margin-bottom: 4px; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 30px; height: 30px; border-radius: 10px; background: var(--checker); }
.rule-list li::after { content: ""; position: absolute; left: 10px; top: 28px; width: 8px; height: 14px; border: solid var(--canvas); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rule-list li:first-child::after { top: 12px; }

/* invite */
.invite { margin-top: clamp(72px, 10vw, 120px); padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 6vw, 64px); border-radius: 36px; background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); color: var(--on-hero); text-align: center; display: grid; justify-items: center; }
.invite-crew { display: flex; justify-content: center; margin-top: clamp(-64px, -7vw, -44px); margin-bottom: 4px; }
.invite-crew img { width: clamp(92px, 12vw, 140px); margin: 0 -8px; }
.invite h2 { max-width: 18ch; }
.invite p { margin: 16px 0 28px; max-width: 46ch; font-size: 1.125rem; }
.invite :focus-visible { outline-color: #fff; }

/* legal and help pages */
.doc { max-width: 720px; padding-block: clamp(24px, 5vw, 56px) 0; }
.doc h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1; letter-spacing: -.03em; }
.doc .intro { margin-top: 18px; font-size: 1.1875rem; color: var(--muted); }
.doc h2 { margin-top: 48px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.doc h3 { margin-top: 28px; font-size: 1.125rem; font-weight: 800; }
.doc p, .doc li { line-height: 1.7; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 1.3em; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--ink); }
.draft-note { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 12px; background: var(--chip); font-size: .875rem; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border); }
.doc th { font-family: var(--display); font-weight: 800; }
.callout { margin-top: 24px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.callout ol { margin-top: 10px; }
.doc .doc-art { width: 150px; margin: 0 0 8px -12px; }

/* help guide */
.help { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-top: clamp(24px, 5vw, 56px); }
.help-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.help-hero h1, .faq h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: .95; letter-spacing: -.035em; }
.help-hero .intro, .faq .intro { margin-top: 18px; max-width: 46ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.help-hero-art { display: flex; }
.help-hero-art img { width: clamp(84px, 10vw, 128px); margin: 0 -6px; animation: pop-in .6s var(--spring) both; }
.help-hero-art img:nth-child(2) { animation-delay: .12s; }
.help-hero-art img:nth-child(3) { animation-delay: .24s; }
.toc { margin-top: clamp(28px, 4vw, 44px); }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--chip); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: transform .18s var(--spring); }
.toc a::before { content: counter(toc); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); font: 900 .8125rem/1 var(--display); }
.toc a:hover { transform: translateY(-2px); }
.help > .guide { width: auto; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--border); scroll-margin-top: 16px; }
.guide:nth-of-type(even) .phone { transform: rotate(1.5deg); }
.guide-text { max-width: 60ch; }
.guide-text .kicker { font: 700 1.5rem/1 var(--hand); color: var(--scout); }
.guide-text h2 { margin-top: 6px; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; }
.guide-text p, .guide-text li { line-height: 1.7; }
.guide-text p { margin-top: 14px; }
.guide-text ol, .guide-text ul { margin: 14px 0 0; padding-left: 1.3em; }
.guide-text li + li { margin-top: 8px; }
.guide-text li::marker { font-weight: 800; color: var(--muted); }
.tip { margin-top: 20px; padding: 14px 18px; border-radius: 16px; background: var(--note); color: var(--on-note); font-size: .9375rem; transform: rotate(-.6deg); box-shadow: 0 10px 18px -14px rgb(var(--shadow) / .5); }
.tip strong { font-family: var(--display); font-weight: 800; }
.phones { display: flex; gap: 18px; align-items: flex-start; }
.phone { margin: 0; flex: none; width: clamp(200px, 22vw, 248px); transform: rotate(-1.5deg); }
.phone .screen { position: relative; border: 9px solid #20241F; border-radius: 42px; overflow: hidden; background: #20241F; box-shadow: 0 2px 0 rgb(var(--shadow) / .1), 0 28px 44px -26px rgb(var(--shadow) / .55); }
.phone.cut .screen { border-bottom: 0; border-radius: 42px 42px 0 0; }
.phone.cut img { -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.phone img { width: 100%; }
.phone figcaption { margin-top: 12px; text-align: center; font: 700 1.25rem/1.1 var(--hand); color: var(--muted); }
.phones .phone + .phone { margin-top: 48px; }
@media (prefers-color-scheme: dark) { .phone .screen { border-color: #000; background: #000; box-shadow: 0 0 0 1px #3A4239, 0 28px 44px -26px #000; } }
@supports (animation-timeline: view()) {
  .guide .phone, .qa { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.help-more { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* faq */
.faq { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; padding-top: clamp(24px, 5vw, 56px); }
.faq-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.faq-head img { width: clamp(96px, 14vw, 150px); }
.faq h2 { margin-top: clamp(40px, 6vw, 56px); font-size: 1.5rem; font-weight: 800; }
.qa { margin-top: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none; font: 800 1.125rem/1.3 var(--display); border-radius: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .22s var(--spring); }
.qa[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa summary:hover { color: var(--hero-bottom); }
.qa-body { padding: 0 20px 18px; color: var(--muted); }
.qa-body p + p, .qa-body ul, .qa-body ol { margin-top: 10px; }
.qa-body ul, .qa-body ol { padding-left: 1.3em; }
.qa-body a, .qa-body strong { color: var(--ink); }
.qa blockquote { margin: 12px 0 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--checker); color: var(--ink); font-style: italic; }

@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr; }
  .phones { justify-content: center; }
  .guide .phone, .guide:nth-of-type(even) .phone { transform: none; }
}
@media (max-width: 560px) {
  .help-hero, .faq-head { grid-template-columns: 1fr; }
  .help-hero-art { order: -1; }
  .faq-head img { order: -1; width: 96px; }
  .phones { gap: 12px; }
  .phones .phone { width: calc(50% - 6px); }
  .phones .phone + .phone { margin-top: 32px; }
  .phone .screen { border-width: 6px; border-radius: 30px; }
  .phone.cut .screen { border-radius: 30px 30px 0 0; }
  .phone:only-child { width: min(248px, 70vw); }
}

/* 404 */
.lost { text-align: center; display: grid; justify-items: center; padding-top: clamp(24px, 6vw, 64px); }
.lost img { width: 180px; }
.lost p { margin-top: 12px; color: var(--muted); }
.lost .btn-hero { margin-top: 28px; }

/* motion */
@keyframes note-drop { from { opacity: 0; transform: translateY(-48px) rotate(-14deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes pin-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(40px) scale(.6, .4); } 60% { opacity: 1; transform: translateY(-8px) scale(.96, 1.06); } 100% { opacity: 1; transform: none; } }
@keyframes hop { 0% { transform: none; } 22% { transform: scale(1.06, .9); } 55% { transform: translateY(-22px) scale(.96, 1.05); } 100% { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .guide .phone, .qa { animation: none !important; }
}

/* layout breakpoints */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 59px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 3px dashed var(--border); }
  .step { grid-template-rows: none; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; }
  .step-art img { width: 116px; }
  .mini-note { width: 92px; height: 80px; font-size: 1.25rem; }
  .mini-approve { font-size: .9375rem; padding: 0 14px; min-height: 40px; }
  .mini-approve .wide { display: none; }
  .step { align-items: start; }
  .step-art { min-height: 96px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .stage { padding-top: 24px; }
  .code, .rules { grid-template-columns: 1fr; }
  .rules h2 { position: static; }
  .pr { transform: none; }
}
@media (max-width: 560px) {
  .foot { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .top nav a[href="/#how"] { display: none; }
  .step { grid-template-columns: 92px 1fr; }
  .steps::before { left: 45px; }
  .step-art img { width: 96px; }
  .mini-note { width: 80px; height: 72px; font-size: 1.125rem; }
}
