/* CheapTuna landing — the Fleck landing layout (paper sheet with crop marks, halftone accent,
 * square 1px ink borders, hard "sticker" shadows) on the CheapTuna tokens. Light theme only; the
 * editor's three themes live in css/cheaptuna.css. */

:root {
  --bg: #e2dccd; --paper: #f2ede1; --paper-hover: #efe9db; --sunken: #e7e0cf; --field: #ffffff;
  --ink: #1c1a17; --ink-muted: #4a463d; --muted: #8a8478; --muted-faint: #b3a88f; --divider: #d3cbb9;
  --accent: #a9e838; --accent-ink: #3a4a1a; --accent-deep: #2f7a44; --danger: #e0503a; --gold: #f2c94c; --info: #4a86c5;
  --dark: #1c1a17; --dark-2: #0f0d0b; --dark-text: #d8d0bf;
  --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;   /* RU copy: the bundled Hanken Grotesk is latin-only */
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
  --font-display: 'Silkscreen', Consolas, monospace;
  --halftone: radial-gradient(circle, rgba(28, 26, 23, .1) 30%, transparent 33%);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
a { color: var(--ink); text-decoration: none; transition: color .12s ease, background .12s ease, transform .12s ease, box-shadow .12s ease; }
a:hover { color: var(--accent-deep); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: #c7bfae; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: var(--bg); }
canvas { display: block; }
button { font-family: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.grain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; mix-blend-mode: multiply; opacity: .07; background-size: 150px 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.crop { position: fixed; z-index: 121; pointer-events: none; background: var(--ink); }
.crop.tl-h { left: 0; top: 0; width: 11px; height: 1px; } .crop.tl-v { left: 0; top: 0; width: 1px; height: 11px; }
.crop.tr-h { right: 0; top: 0; width: 11px; height: 1px; } .crop.tr-v { right: 0; top: 0; width: 1px; height: 11px; }
.crop.bl-h { left: 0; bottom: 0; width: 11px; height: 1px; } .crop.bl-v { left: 0; bottom: 0; width: 1px; height: 11px; }
.crop.br-h { right: 0; bottom: 0; width: 11px; height: 1px; } .crop.br-v { right: 0; bottom: 0; width: 1px; height: 11px; }

/* ---------- type helpers ---------- */
.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); }
.eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: .1em; border: 1px solid var(--ink); padding: 3px 6px; color: var(--ink-muted); text-transform: uppercase; }
.tag.accent { color: var(--ink); background: var(--accent); box-shadow: 1.5px 1.5px 0 var(--ink); }
.hl { background: var(--accent); padding: 0 4px; }
.code { font-family: var(--font-mono); font-size: 12px; background: var(--sunken); padding: 0 4px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.sec-head .num { font-family: var(--font-display); font-size: 11px; }
.sec-head .line { flex: 1; height: 1px; background: var(--ink); }
.sec-head .side { font-family: var(--font-mono); font-size: 10px; color: var(--muted-faint); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 13px; border: 1px solid var(--ink); background: var(--paper); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.btn:hover { background: var(--paper-hover); color: var(--ink); }
.btn.accent { background-color: var(--accent); background-image: var(--halftone); background-size: 5px 5px; font-family: var(--font-display); font-weight: 400; font-size: 10px; box-shadow: 3px 3px 0 var(--ink); }
.btn.accent:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn.accent:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn.sticker { box-shadow: 2px 2px 0 var(--ink); }
.btn.sticker:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn.sticker:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn .sq { width: 11px; height: 11px; background: var(--accent); border: 1px solid var(--ink); }
.cta { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 13px 20px; border: 1px solid var(--ink); background: var(--paper); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.cta .big { font-size: 14px; font-weight: 700; }
.cta .sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--muted); }
.cta.accent { background-color: var(--accent); background-image: var(--halftone); background-size: 6px 6px; box-shadow: 4px 4px 0 var(--ink); }
.cta.accent .big { font-family: var(--font-display); font-weight: 400; font-size: 13px; }
.cta.accent .sub { color: var(--accent-ink); }
.cta.accent:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.cta.accent:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.cta.ghost:hover { background: var(--paper-hover); color: var(--ink); }
.chip { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--ink); padding: 6px 9px; background: var(--paper); white-space: nowrap; }

/* ---------- sheet ---------- */
.sheet { max-width: 1180px; margin: 0 auto; background: var(--paper); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); min-height: 100vh; position: relative; overflow: clip; }   /* clip, not hidden: hidden would turn the sheet into a scrollport and un-stick the header */
.section { padding: 38px 40px 44px; scroll-margin-top: 64px; }
.section + .section, footer { border-top: 2px solid var(--ink); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .sq { width: 32px; height: 32px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAADJElEQVR4nL1XTWhTQRCeYEBRREsENTbQhBI1IkISRCmeAgF7EA8KwYP0Eqg3JZBLsRKhF7F4FXrzICF66EkhNAfRXMS/UixSahJpjFYqtQSj4iG+2TDPeft2X56J5IPk7W5m5vtmdt9m1wsMw/79bRgA6o11D7VNAUhefJcYBD8kj5TaJMLLyZdaFYthJloVz9lXwf8qAONloiBEeHXkVuOqKYJE9SuMRHjBBTj5cv6gOR5hwnqFUgDPUhYSYSLw2a8IxwroApcfNWBs3K8VoUpAF0spwCkj/C1tEBRHt2A4vMcmAslrqfMWn42lJsSjJWVcV2tAhQ+r300BXASSj+TnbfYvjiWUInoSIFchkvoEvaLnCiCS0y3juwW+sRui/7WcM3+jMXm8q4B/2XyIZCiwF1bz10Sbyn/0dBA+1zdhc+2bsItrRFgEIDkFzURzWhHcjpPjPCPib0vw7PYEjKbuwJvCFQgcOqCNa6vAl/I8HE5NABgOsjFVh5eXgOT7ju8WK35yewzu/nopxpGcwyfFtQjovEaL0Hj6HPxnTpoiuLMMLLEOC/AEYgofH4urXITNj8tG4LAo75BRRiyxilwGZs/x/up1KBjPxKmYZXqmZm7BTBnUAqgKP2oRoxcWK9iJvDB7ziD4W6XX679tNnP3H0D80kXRFuRTWXPTcvUaTo7vgpFgZ85CoRBUKhWzTcDMcO4RNP9kR8QIIicoX0PKGBckwAnhRAEQtap1r8cM00aGRExjsq1MrhRAQPJtsGhxRhE8IG8TIY3LIlXkNgGUPZHLDplo1tJ3qoobcpuAzsLIGeTqnVDeEzCwLISTqvwcBXQz5uSWk1Eqa7OhVU72Og7tf4FbYfWVLZi73Ib0PY+tQmsLF5Q+gehD9U7oBjx7JMdzgYocbZobZfFXTfa8TXB1IpKrgsR4DnAifxzeAWdXfjqSawXoQMHxTKgi10FHbhOgmn/5HhARfY/ZlyGfnF1PQTdyTtANJKJ4c6f44JQheNsUgNcjvKs5EfRy7kefpMMbhcmJqxkOYAOvaDJRv7cepxOV5XJKIvCuBgMAv57/Abc84ATLaJCYAAAAAElFTkSuQmCC) center / contain no-repeat; image-rendering: pixelated; }   /* the app icon (desktop/icon.fleck) at 1:1 */
.logo .name { font-family: var(--font-display); font-size: 14px; letter-spacing: .02em; }
.vsep { width: 1px; height: 20px; background: var(--divider); flex: none; }
.hdr .tagline { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; color: var(--muted); }
.hdr .spacer { flex: 1; }
.hdr nav { display: flex; gap: 16px; align-items: center; }
.hdr nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-muted); }
@media (max-width: 900px) { .hdr .tagline, .hdr .tagline + .vsep { display: none; } }
@media (max-width: 700px) { .hdr nav, .hdr nav + .vsep { display: none; } .hdr { padding: 0 16px; } }

/* ---------- hero ---------- */
.hero { padding: 44px 40px 40px; }
.hero .cols { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hero .copy { flex: 1 1 400px; min-width: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 58px; line-height: .94; letter-spacing: -.02em; margin: 0 0 22px; }
.hero h1 .dot { color: var(--accent); }
.hero .title-row { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.hero .title-row h1 { margin: 0; }
/* the mascot (a crop of desktop/icon.fleck): swims idle, hops on every beat while the demo plays (js sets --beat) */
.mascot { width: 140px; height: auto; flex: none; image-rendering: pixelated; transform-origin: 50% 85%; animation: ct-swim 2.4s ease-in-out infinite; }
.mascot.dancing { animation: ct-hop var(--beat, .36s) ease-out infinite; }
@media (max-width: 600px) { .mascot { width: 84px; } .hero .title-row { gap: 16px; } }
.hero .rule { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero .rule .bar { height: 5px; width: 66px; background: var(--accent); box-shadow: 5px 0 0 var(--info); flex: none; }
.hero .rule span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.hero .lead { font-size: 19px; line-height: 1.5; font-weight: 500; max-width: 460px; margin: 0 0 10px; text-wrap: pretty; }
.hero .lead-sub { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 430px; margin: 0 0 26px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-bottom: 16px; }
.hero .fine { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-mono); font-size: 10px; color: var(--muted-faint); letter-spacing: .04em; }
.hero .fine a { color: var(--accent-deep); font-weight: 600; }
@media (max-width: 600px) { .hero { padding: 32px 20px; } .hero h1 { font-size: 44px; } .section { padding: 30px 20px 36px; } }

/* demo player */
.hero .demo { flex: 1 1 380px; min-width: 0; max-width: 520px; }
.frame { position: relative; }
.frame .plus { position: absolute; font-family: var(--font-mono); font-size: 13px; }
.frame .plus.a { left: -14px; top: -14px; color: var(--accent-deep); } .frame .plus.b { right: -14px; top: -14px; color: var(--info); }
.frame .plus.c { left: -14px; bottom: -14px; color: var(--info); } .frame .plus.d { right: -14px; bottom: -14px; color: var(--accent-deep); }
.player { border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--sunken); }
.player .strip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.player .strip .t { font-family: var(--font-display); font-size: 8.5px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .strip .m { font-family: var(--font-mono); font-size: 9px; color: var(--muted); white-space: nowrap; }
.player .strip .pos { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .05em; min-width: 52px; text-align: right; }
#demo-roll { width: 100%; height: 220px; }
.player .tracks { display: flex; border-top: 1px solid var(--ink); background: var(--paper); }
.player .tracks .tr { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 6px 4px; border-right: 1px solid var(--divider); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; overflow: hidden; }
.player .tracks .tr:last-child { border-right: 0; }
.player .tracks .tr .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.player .tracks .tr .sw { width: 7px; height: 7px; border: 1px solid var(--ink); flex: none; }
.player .tracks .tr .lv { height: 4px; background: var(--divider); position: relative; }
.player .tracks .tr .lv i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent-deep); transition: width .06s linear; }
.controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.controls .hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); flex: 1 1 200px; }
.controls .hint b { color: var(--accent-deep); font-weight: 600; }
.select { height: 34px; padding: 0 26px 0 10px; border: 1px solid var(--ink); background: var(--field); color: var(--ink); font-family: var(--font-mono); font-size: 11px; outline: none; border-radius: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%238a8478'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
.select:focus { box-shadow: 2px 2px 0 var(--ink); }
#demo-play { width: 110px; }
#demo-play.on { background-color: var(--accent); background-image: var(--halftone); background-size: 5px 5px; }

/* ---------- claude (dark band) ---------- */
.claude { background: var(--dark); color: var(--paper); position: relative; overflow: hidden; }
.claude::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(169, 232, 56, .1) 30%, transparent 33%); background-size: 8px 8px; pointer-events: none; }
.claude .cols { position: relative; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.claude .copy { flex: 1 1 360px; min-width: 0; }
.claude .tags { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.claude .tags .stk { font-family: var(--font-display); font-size: 10px; letter-spacing: .04em; color: var(--ink); background: var(--accent); padding: 5px 9px; }
.claude .tags .ey { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.claude h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.04; margin: 0 0 16px; }
.claude h2 .dot { color: var(--accent); }
.claude p { font-size: 15px; line-height: 1.55; color: var(--dark-text); max-width: 480px; margin: 0 0 12px; text-wrap: pretty; }
.claude p b { color: var(--accent); font-weight: 600; }
.claude .stamp { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.4; font-weight: 600; color: var(--ink); background: var(--accent); padding: 6px 10px; margin: 6px 0 0; box-shadow: 2px 2px 0 var(--dark-2); }
.claude .req { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 14px; }
.claude .req b { color: var(--accent); font-weight: 600; }
/* install cards */
.claude .install { flex: 1 1 420px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 16px; }
.inst { border: 1px solid var(--accent); background: var(--dark-2); box-shadow: 5px 5px 0 #000; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.inst-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; }
.inst-t { color: var(--accent); font-weight: 600; } .inst-s { color: var(--muted); }
.inst-n { font-size: 12.5px; line-height: 1.5; color: var(--dark-text); }
.inst-n .code, .claude .code { background: rgba(242, 237, 225, .12); color: var(--paper); font-size: 11px; }
.inst-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.inst-arrow { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.inst .input { flex: 1 1 160px; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--paper); background: transparent; color: var(--paper); font-family: var(--font-mono); font-size: 11px; outline: none; border-radius: 0; }
.inst .input:focus { border-color: var(--accent); box-shadow: 2px 2px 0 #000; }
.inst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.inst-grid .btn { font-size: 10px; padding: 0 8px; white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 34px; }
@media (max-width: 480px) { .inst-grid { grid-template-columns: 1fr; } }
.cmd { margin: 0; padding: 10px 12px; border: 1px solid rgba(242, 237, 225, .25); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.55; color: var(--dark-text); white-space: pre-wrap; word-break: break-all; min-height: 38px; }
.cmd.ok { border-color: var(--accent); }
.claude .btn { background: transparent; color: var(--paper); border-color: var(--paper); }
.claude .btn:hover { background: rgba(242, 237, 225, .08); color: var(--accent); }
.claude .btn.sticker { box-shadow: 2px 2px 0 #000; }
.claude .btn.sticker:hover { box-shadow: 3px 3px 0 #000; }
.claude .btn.accent { background-color: var(--accent); background-image: var(--halftone); color: var(--ink); border-color: var(--accent); box-shadow: 3px 3px 0 #000; }
.claude .btn.accent:hover { box-shadow: 5px 5px 0 #000; color: var(--ink); }
.claude .btn.copied { border-color: var(--accent); color: var(--accent); }

/* ---------- feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; overflow: hidden; transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out); }
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.card.featured { box-shadow: 4px 4px 0 var(--accent-deep); }
.card.featured:hover { box-shadow: 6px 6px 0 var(--accent-deep); }
/* 8 cards on 3 columns: the featured one takes the last two cells, terminal on the left */
@media (min-width: 981px) {
  .card.featured { grid-column: span 2; flex-direction: row; }
  .card.featured .art { flex: 0 0 calc(50% - 9px); border-bottom: 0; border-right: 1px solid var(--ink); }
  .card.featured .term { height: 100%; aspect-ratio: auto; }
}
.card .art { border-bottom: 1px solid var(--ink); background: var(--sunken); }
.card .art canvas { width: 100%; aspect-ratio: 60 / 34; image-rendering: pixelated; }
.card .body { padding: 15px 15px 17px; flex: 1; display: flex; flex-direction: column; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.card .idx { font-family: var(--font-mono); font-size: 10px; color: var(--muted-faint); }
.card .new { font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: .1em; color: var(--accent-deep); }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 7px; }
.card p { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); margin: 0; text-wrap: pretty; }
.term { font-family: var(--font-mono); font-size: 9.5px; line-height: 1.6; padding: 10px 12px; background: var(--dark); color: var(--dark-text); aspect-ratio: 60 / 34; overflow: hidden; white-space: pre; }
.term .p { color: var(--accent); }
.term .c { color: var(--muted); }
.term .cur { display: inline-block; width: 6px; height: 11px; background: var(--accent); vertical-align: -1px; animation: ct-blink 1s steps(1) infinite; }

/* ---------- downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .dl-grid { grid-template-columns: 1fr; } }
.dl { display: flex; flex-direction: column; gap: 8px; padding: 16px 17px 18px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.dl:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.dl-t { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.dl-t::before { content: '↓ '; color: var(--accent-deep); }
.dl-d { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- footer ---------- */
footer { padding: 22px 40px; }
footer .bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
footer .bottom .spacer { flex: 1; }
footer .bottom a { color: var(--accent-deep); }
footer .bottom .ver { font-family: var(--font-display); font-size: 8px; letter-spacing: .06em; color: var(--muted-faint); }
@media (max-width: 600px) { footer { padding: 20px; } }

/* ---------- motion ---------- */
@keyframes ct-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ct-sticker-in { from { opacity: 0; transform: translate(-10px, -10px); } to { opacity: 1; transform: none; } }
@keyframes ct-blink { 50% { opacity: 0; } }
@keyframes ct-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ct-swim { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes ct-hop { 0%, 100% { transform: none; } 35% { transform: translateY(-10px) rotate(-5deg); } }
/* the hero settles on load, everything else rises as it scrolls into view (js adds .in) */
.hero .copy > * { animation: ct-rise .5s var(--ease-out) both; }
.hero .copy > :nth-child(2) { animation-delay: .05s; } .hero .copy > :nth-child(3) { animation-delay: .1s; } .hero .copy > :nth-child(4) { animation-delay: .15s; }
.hero .copy > :nth-child(5) { animation-delay: .2s; } .hero .copy > :nth-child(6) { animation-delay: .25s; } .hero .copy > :nth-child(7) { animation-delay: .3s; } .hero .copy > :nth-child(8) { animation-delay: .35s; }
.hero .rule .bar { transform-origin: left; animation: ct-bar .6s var(--ease-out) .25s both; }
.hero .demo { animation: ct-sticker-in .55s var(--ease-out) .2s both; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; } .reveal.d5 { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .mascot, .mascot.dancing { animation: none !important; }
}
