/* Pedal Pixel Studio's site (a local mock, Oct 19, 2026). The editor's look: dark, the game's 16 colours, Press Start 2P for
   labels, Barlow for reading. Placeholders Tyler still has to decide are .tbd (gold, dashed). */
@font-face { font-family: 'Press Start 2P'; src: url(fonts/press-start-2p-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Press Start 2P'; src: url(fonts/pp-symbols.woff2) format('woff2'); font-display: swap;
  unicode-range: U+2190, U+2192, U+2197, U+21B3, U+21B6, U+21B7, U+21BA, U+21BB, U+21C4, U+21E7, U+2212, U+2295, U+22C8, U+22EE, U+22EF, U+2303, U+2316, U+2318, U+2325, U+23EE, U+23F8, U+25A0, U+25A2, U+25A4, U+25A6, U+25B2, U+25B4, U+25B6, U+25B8, U+25BC, U+25BE, U+25C0, U+25C2, U+25C6, U+25CE, U+25CF, U+25D0, U+25EF, U+2605, U+2665, U+266A, U+266B, U+2699, U+26A0, U+2702, U+270E, U+2713, U+2715, U+2717, U+2726, U+275A, U+27F2, U+2913, U+2922, U+29C9, U+FF0B; }  /* (the app's own pixel symbols: ⤓ ★ ▸ ✓ …) */
@font-face { font-family: 'Barlow'; font-weight: 400; src: url(fonts/barlow-400-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow'; font-weight: 800; src: url(fonts/barlow-800-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; src: url(fonts/barlow-semi-condensed-500-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; src: url(fonts/barlow-semi-condensed-700-latin.woff2) format('woff2'); font-display: swap; }

:root {
  --bg: #13141f; --ink: #1a1c2c; --panel: #222539; --panel2: #2a2e47; --line: #3a4466; --line2: #4d5780;
  --text: #f4f4f4; --dim: #a6b6cc; --faint: #6f7c99;
  --gold: #ffcd75; --cyan: #73eff7; --lime: #a7f070; --pink: #ff8fb1; --orange: #ef7d57; --red: #f2545b; --blue: #41a6f6;
  --px: 'Press Start 2P', monospace; --sans: 'Barlow', system-ui, sans-serif; --num: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  --w: 1180px; --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.px { font-family: var(--px); letter-spacing: .02em; }
.eyebrow { font-family: var(--px); font-size: 11px; color: var(--gold); letter-spacing: .08em; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--dim); max-width: 640px; }
.dim { color: var(--dim); } .fine { font-size: 15px; color: var(--faint); }
.tbd { color: var(--gold); border: 1.5px dashed var(--gold); border-radius: 4px; padding: 0 5px; white-space: nowrap; }

/* buttons (the editor's chips) */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--px); font-size: 12px; letter-spacing: .04em; text-decoration: none; color: var(--text);
  padding: 15px 20px; border: 2px solid var(--line2); border-radius: 6px; background: var(--panel); cursor: pointer; transition: transform .12s, border-color .12s; }
.btn:hover { transform: translateY(-1px); border-color: var(--text); }
.btn.gold { background: var(--gold); color: #1a1c2c; border-color: var(--gold); box-shadow: 0 4px 0 #b88a3b; }
.btn.gold:hover { box-shadow: 0 5px 0 #b88a3b; }
.btn.sm { padding: 10px 14px; font-size: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(19, 20, 31, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--px); font-size: 12px; line-height: 1.5; }
.brand img { width: 36px; height: 36px; image-rendering: pixelated; }
.brand b { color: var(--gold); font-weight: 400; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--dim); text-decoration: none; font-family: var(--px); font-size: 10px; }
.nav nav a:hover { color: var(--text); }
/* (Nov 27 evening, Tyler's walk-through note 3: ONE top bar on every page, the same words to the same place: WHAT IT DOES · LITE & STUDIO
   (PRICING while Studio is on sale) · HOW TO · ▶ TRY LITE · FREE; the page you're on lit. On a phone only LITE & STUDIO (.np) and the
   button stay, and under 520 px the button goes too) */
.nav nav a[aria-current] { color: var(--gold); }
.nav nav a, .nav .btn { white-space: nowrap; }
@media (max-width: 1240px) { .nav .wrap { gap: 16px; } .nav nav { gap: 16px; } }
@media (max-width: 920px) { .nav nav a:not(.np) { display: none; } }
@media (max-width: 520px) { .nav .btn { display: none; } }

/* hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 70% -10%, rgba(115, 239, 247, .08), transparent 60%), radial-gradient(900px 500px at 0% 30%, rgba(255, 205, 117, .06), transparent 60%); }
.hero .grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.frame { border: 3px solid var(--line2); border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.works { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--px); font-size: 9px; color: var(--faint); letter-spacing: .06em; }
.works span:first-child { color: var(--dim); }

/* sections */
section { padding: 88px 0; }
[data-sale][hidden] { display: none !important; }   /* (a page's other mode's side, studio-site/site.mjs build: hidden in the source) */
section.alt { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 40px; }

/* the three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.step .n { font-family: var(--px); font-size: 22px; color: var(--ink); background: var(--lime); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; margin-bottom: 18px; }
.step:nth-child(2) .n { background: var(--cyan); } .step:nth-child(3) .n { background: var(--gold); }
.step p { color: var(--dim); font-size: 17px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* a feature: picture and words side by side */
.feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.feat.flip { grid-template-columns: 1fr 1.25fr; }
.feat.flip .pic { order: 2; }
.feat + .feat { margin-top: 96px; }
@media (max-width: 920px) { .feat, .feat.flip { grid-template-columns: 1fr; gap: 28px; } .feat.flip .pic { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 12px; color: var(--dim); font-size: 17px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; background: var(--lime); box-shadow: 0 0 0 3px rgba(167, 240, 112, .18); }
.ticks li b { color: var(--text); font-weight: 400; font-family: var(--num); font-weight: 700; letter-spacing: .01em; }
.quote { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--lime); background: rgba(167, 240, 112, .06); font-family: var(--num); font-size: 17px; color: var(--text); }

/* the style switcher */
.styles { display: grid; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font-family: var(--px); font-size: 9px; color: var(--dim); background: var(--panel); border: 2px solid var(--line); border-radius: 5px; padding: 10px 11px; cursor: pointer; }
.tabs button[aria-selected='true'] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.tabs button .free { color: var(--lime); }
.tabs button[aria-selected='true'] .free { color: #2a5d1a; }
.stage { position: relative; aspect-ratio: 16 / 9; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.stage img.on { opacity: 1; }

/* a phone */
.phone { width: min(300px, 80%); margin: 0 auto; border: 10px solid #0b0c14; border-radius: 36px; overflow: hidden; box-shadow: 0 0 0 2px var(--line2), 0 30px 70px rgba(0, 0, 0, .6); position: relative; }
.phone .tag { position: absolute; top: 14px; left: 14px; font-family: var(--px); font-size: 8px; background: rgba(0, 0, 0, .55); color: #fff; padding: 6px 8px; border-radius: 4px; }

/* small cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); padding: 20px 18px; }
.card .k { font-family: var(--px); font-size: 10px; color: var(--gold); margin-bottom: 10px; line-height: 1.5; }
.card:nth-child(4n+2) .k { color: var(--cyan); } .card:nth-child(4n+3) .k { color: var(--pink); } .card:nth-child(4n+4) .k { color: var(--lime); }
.card p { color: var(--dim); font-size: 16px; margin: 0; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* private */
.private { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--panel); border: 2px solid var(--line2); border-radius: 14px; padding: 34px; }
.lock { width: 72px; height: 72px; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--line2); border-radius: 10px; font-family: var(--px); font-size: 26px; color: var(--lime); }
@media (max-width: 640px) { .private { grid-template-columns: 1fr; } }

/* pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; }
.price { background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; }
.price.studio { border-color: var(--gold); background: linear-gradient(180deg, rgba(255, 205, 117, .08), var(--panel) 40%); }
.price .name { font-family: var(--px); font-size: 13px; margin-bottom: 18px; }
.price.studio .name { color: var(--gold); }
.price .amt { font-family: var(--num); font-weight: 700; font-size: 52px; line-height: 1; }
.price .amt small { font-size: 18px; color: var(--dim); font-weight: 500; margin-left: 6px; }
.price .sub { color: var(--dim); font-size: 16px; margin: 8px 0 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.price li::before { content: '✓'; position: absolute; left: 4px; color: var(--lime); font-weight: 800; }
.price li.plus::before { content: '+'; color: var(--gold); }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* maker, blog, affiliates */
.maker { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; } }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; }
.post div { padding: 18px 18px 20px; }
.post .k { font-family: var(--px); font-size: 9px; color: var(--cyan); margin-bottom: 10px; }
.post h3 { font-size: 20px; margin: 0; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.band { background: linear-gradient(90deg, rgba(255, 143, 177, .12), rgba(115, 239, 247, .1)); border: 2px solid var(--line2); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* questions */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
summary::after { content: '+'; font-family: var(--px); color: var(--gold); }
details[open] summary::after { content: '−'; }
details p { color: var(--dim); margin: 12px 0 0; }
.faq { max-width: 820px; }

/* the end */
.cta { text-align: center; padding: 100px 0; }
.cta .btns { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--faint); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--dim); text-decoration: none; }
footer .brand { margin-right: auto; }

/* the affiliates page */
.split { background: var(--panel); border: 2px solid var(--line2); border-radius: 14px; padding: 28px; max-width: 760px; }
.split input[type=range] { width: 100%; accent-color: var(--gold); margin: 18px 0 8px; }
.split .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.split .row div { background: var(--ink); border: 2px solid var(--line); border-radius: 8px; padding: 14px; }
.split .row .k { font-family: var(--px); font-size: 9px; color: var(--dim); margin-bottom: 8px; }
.split .row b { font-family: var(--num); font-size: 30px; }
@media (max-width: 560px) { .split .row { grid-template-columns: 1fr; } }
form.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
form.apply label { display: grid; gap: 6px; font-family: var(--px); font-size: 9px; color: var(--dim); }
form.apply .full { grid-column: 1 / -1; }
form.apply input, form.apply select, form.apply textarea { font: 400 17px var(--sans); color: var(--text); background: var(--ink); border: 2px solid var(--line2); border-radius: 6px; padding: 12px; }
form.apply textarea { min-height: 110px; resize: vertical; }
@media (max-width: 560px) { form.apply { grid-template-columns: 1fr; } }
.mock { font-family: var(--px); font-size: 9px; color: var(--ink); background: var(--gold); padding: 8px 10px; border-radius: 4px; display: inline-block; }
