/* GoBits landing — cozy pixel office, modern polish. No external fonts or CDNs. */
@font-face {
  font-family: "Press Start 2P";
  src: url("../fonts/PressStart2P-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1a100a;
  --bg-2: #21150d;
  --bg-3: #2a1b11;
  --wood: #3b2615;
  --wood-2: #5a3920;
  --wood-hi: #7a5030;
  --ink: #23160e;
  --parch: #fbf1dc;
  --parch-2: #f2e3c2;
  --parch-edge: #d8bd8c;
  --text: #f7ecd6;
  --muted: #cdb791;
  --muted-2: #a8916d;
  --ink-text: #2b1b10;
  --ink-muted: #6a5236;
  --gold: #f4c64f;
  --gold-2: #ffd86e;
  --gold-d: #b9821a;
  --green: #7cc957;
  --green-d: #3c7a2a;
  --sky: #8fd0ff;
  --rose: #ef8b78;
  --danger: #c2412f;
  --danger-bg: #fde3dc;
  --radius: 0;
  --px: 4px;
  --maxw: 1200px;
  --header-h: 68px;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-px: "Press Start 2P", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: #fff1c4; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-px); font-weight: 400; line-height: 1.5; margin: 0 0 .6em; letter-spacing: 0; font-synthesis: none; overflow-wrap: break-word; }
.px-font, .btn, .brand-name, .eyebrow, .trust-list strong, .shot figcaption strong, .faq summary, .footer-main h2, .big-code, .lost-q, .d-coin, .lb-cap, .diorama .loading { font-synthesis: none; letter-spacing: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}
.on-parch :focus-visible, .parch :focus-visible { outline-color: #1f6fd1; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700;
  text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.pixelated { image-rendering: pixelated; image-rendering: crisp-edges; }

/* ---------- pixel primitives ---------- */
/* Stepped "pixel rounded" border made with offset shadows (corners stay empty). */
.px-box {
  --bc: var(--ink);
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--bc),
    0 var(--px) 0 0 var(--bc),
    calc(var(--px) * -1) 0 0 0 var(--bc),
    var(--px) 0 0 0 var(--bc);
}
.parch {
  background: var(--parch);
  color: var(--ink-text);
  --bc: var(--ink);
  box-shadow:
    inset 0 4px 0 0 #fffaf0,
    inset 0 -4px 0 0 var(--parch-2),
    0 -4px 0 0 var(--bc),
    0 4px 0 0 var(--bc),
    -4px 0 0 0 var(--bc),
    4px 0 0 0 var(--bc),
    0 12px 0 0 rgba(0, 0, 0, .35);
}
.parch a { color: #7a3f0c; }
.parch a:hover { color: #3b1d05; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--gold);
  --bg-btn-hi: var(--gold-2);
  --bg-btn-lo: var(--gold-d);
  --fg-btn: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--bg-btn); color: var(--fg-btn);
  font-family: var(--font-px); font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  box-shadow:
    inset 0 4px 0 0 var(--bg-btn-hi),
    inset 0 -4px 0 0 var(--bg-btn-lo),
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    0 8px 0 0 var(--ink);
  transform: translateY(0);
  transition: transform .08s steps(2), filter .15s;
}
.btn:hover { color: var(--fg-btn); filter: brightness(1.06); transform: translateY(-2px); }
.btn:active { transform: translateY(3px);
  box-shadow:
    inset 0 4px 0 0 var(--bg-btn-lo),
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: progress; filter: saturate(.6) brightness(.92); transform: none; }
.btn-ghost {
  --bg-btn: #3a2516; --bg-btn-hi: #5a3a22; --bg-btn-lo: #24170e; --fg-btn: var(--text);
}
.btn-green { --bg-btn: var(--green); --bg-btn-hi: #a5e27e; --bg-btn-lo: var(--green-d); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 16px; }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 16px; }
.btn .arrow { display: inline-block; transition: transform .15s steps(2); }
.btn:hover .arrow { transform: translateX(3px); }

/* sparkles spawned by site.js on CTA hover */
.sparkle {
  position: absolute; width: 12px; height: 12px; pointer-events: none; z-index: 2;
  background: url("../img/icon-sparkle.png") center / 12px 12px no-repeat;
  image-rendering: pixelated;
  animation: sparkle .7s steps(6) forwards;
}
@keyframes sparkle {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  30% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1.1); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.6), calc(var(--dy) * 1.6 - 10px)) scale(.6); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(26, 16, 10, .72);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(122, 80, 48, .35);
  transition: background .2s, border-color .2s;
}
.site-header.is-scrolled { background: rgba(26, 16, 10, .92); border-bottom-color: rgba(122, 80, 48, .7); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: auto; }
.brand-name { font-family: var(--font-px); font-weight: 400; font-size: 16px; line-height: 1; padding-top: 2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(255, 236, 200, .06); }
.nav .btn { margin-left: 12px; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 3px; background: var(--text); content: ""; position: relative; transition: transform .15s;
}
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 60px 0 40px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -80px, rgba(244, 198, 79, .20), transparent 70%),
    radial-gradient(700px 400px at 85% 30%, rgba(143, 208, 255, .07), transparent 70%),
    radial-gradient(600px 380px at 10% 40%, rgba(124, 201, 87, .06), transparent 70%);
}
.dotgrid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 226, 170, .08) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-copy { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: 22px;
  background: rgba(59, 38, 21, .7); color: var(--parch);
  font-size: 14px; font-weight: 600; letter-spacing: .2px;
  box-shadow: 0 -2px 0 0 var(--wood-hi), 0 2px 0 0 var(--wood-hi), -2px 0 0 0 var(--wood-hi), 2px 0 0 0 var(--wood-hi);
}
.eyebrow-chip .dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 3px rgba(124, 201, 87, .25); animation: blink 2.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 {
  font-size: 48px; line-height: 1.4; margin-bottom: 24px;
  text-shadow: 0 4px 0 #000, 0 0 40px rgba(244, 198, 79, .18);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--gold); }
.hero .lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 700px; margin: 0 auto 30px; text-wrap: pretty; }
.cta-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; color: var(--muted-2); font-size: 14px; display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--gold-d); }

.hero-visual { position: relative; margin: 92px auto 0; max-width: 1180px; }
.frame {
  position: relative; z-index: 2;
  padding: 12px;
  background: linear-gradient(#6b4426, #4f321c);
  box-shadow:
    inset 0 4px 0 0 #8a5c35, inset 0 -4px 0 0 #3a2414,
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    0 30px 80px -10px rgba(0, 0, 0, .7), 0 0 120px -20px rgba(244, 198, 79, .25);
}
.frame > picture, .frame > img, .frame > .frame-inner { display: block; background: #2a1b11; outline: 3px solid var(--ink); }
.frame img { width: 100%; }
.frame-plaque {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); z-index: 3;
  font: 600 12.5px/1 var(--font-body); letter-spacing: .3px; color: #3b2208; white-space: nowrap;
  padding: 7px 12px; background: linear-gradient(#ffd86e, #d9a23a);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 0 6px 0 0 rgba(0,0,0,.4);
}

/* Bits (CSS sprites from bits-sheet.png: 20 cols x 6 rows of 16x26) */
.bit {
  --s: 3;           /* pixel scale */
  --row: 0;
  --col: 16;
  width: calc(16px * var(--s)); height: calc(26px * var(--s));
  background-image: url("../img/bits-sheet.png");
  background-repeat: no-repeat;
  background-size: calc(320px * var(--s)) calc(156px * var(--s));
  background-position: calc(var(--col) * -16px * var(--s)) calc(var(--row) * -26px * var(--s));
  image-rendering: pixelated; image-rendering: crisp-edges;
}
.bit-shadow::after {
  content: ""; position: absolute; left: 50%; bottom: calc(-1px * var(--s)); width: calc(11px * var(--s)); height: calc(3px * var(--s));
  transform: translateX(-50%); background: rgba(0, 0, 0, .28); border-radius: 50%; z-index: -1;
}
.walker { position: absolute; z-index: 1; }
.walker .bit { animation: walk-left .64s steps(4) infinite; }
@keyframes walk-left {
  from { background-position-x: 0; }
  to { background-position-x: calc(-64px * var(--s)); }
}
.hero-walker { top: -75px; left: 6%; animation: patrol 16s linear infinite; }
@keyframes patrol {
  0% { left: 4%; transform: scaleX(-1); }
  45% { left: 34%; transform: scaleX(-1); }
  45.01% { left: 34%; transform: scaleX(1); }
  90% { left: 4%; transform: scaleX(1); }
  90.01%, 100% { left: 4%; transform: scaleX(-1); }
}
.hero-peek { position: absolute; top: -64px; right: 9%; z-index: 1; animation: peek 7s steps(8) infinite; }
.hero-peek .bit { --col: 8; }
@keyframes peek {
  0%, 12% { transform: translateY(70px); }
  22%, 70% { transform: translateY(0); }
  80%, 100% { transform: translateY(70px); }
}
.hero-sitter { position: absolute; top: -75px; right: 24%; z-index: 1; }
.hero-sitter .bit { --col: 16; animation: cheer 3.2s steps(1) infinite; }
@keyframes cheer {
  0%, 70% { background-position-x: calc(-256px * var(--s)); }
  71%, 85% { background-position-x: calc(-272px * var(--s)); }
  86%, 100% { background-position-x: calc(-256px * var(--s)); }
}
.say {
  position: absolute; z-index: 4; white-space: nowrap;
  font: 600 13px/1.2 var(--font-body); color: var(--ink-text);
  padding: 7px 10px; background: var(--parch);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
}
.say::after {
  content: ""; position: absolute; left: 14px; bottom: -9px; width: 6px; height: 6px; background: var(--parch);
  box-shadow: 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
}
.hero-sitter .say { bottom: calc(100% + 10px); right: -30px; animation: bubble 6.4s steps(1) infinite; }
@keyframes bubble { 0%, 45% { opacity: 0; } 46%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }

/* ---------- trust strip ---------- */
.trust { padding: 64px 0 18px; }
.trust-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: rgba(42, 27, 17, .6); border: 1px solid rgba(122, 80, 48, .35); }
.trust-list img { width: 32px; height: 32px; flex: none; margin-top: 2px; }
.trust-list strong { display: block; font-family: var(--font-px); font-weight: 400; font-size: 16px; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.trust-list span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- dividers ---------- */
.beam { height: 16px; background: url("../img/tile-beam.png") 0 0 / 64px 16px repeat-x; image-rendering: pixelated; opacity: .95; }
.grass { height: 20px; background: url("../img/tile-grass.png") 0 0 / 64px 20px repeat-x; image-rendering: pixelated; }

/* ---------- sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-px); font-weight: 400; font-size: 16px; line-height: 1.5; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; box-shadow: 8px 0 0 0 rgba(244, 198, 79, .35); margin-right: 16px; }
.section h2 { font-size: 32px; text-shadow: 0 4px 0 #000; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18.5px; text-wrap: pretty; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.diorama-wrap { position: relative; }
.diorama { position: relative; background: #2a1b11; overflow: hidden; }
.diorama canvas { width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; aspect-ratio: 352 / 240; }
.diorama .loading {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 10px; align-content: center;
  color: var(--muted); font-family: var(--font-px); font-size: 16px; line-height: 1.5; background: #2a1b11;
}
.diorama.is-ready .loading { display: none; }
.spinner {
  width: 24px; height: 24px; display: inline-block; vertical-align: middle;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 16px 0 / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 16px 16px / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 0 16px / 8px 8px no-repeat;
  animation: spin-px .8s steps(4) infinite;
}
.btn .spinner { width: 18px; height: 18px; background-size: 6px 6px; background-position: 0 0, 12px 0, 12px 12px, 0 12px; }
@keyframes spin-px { to { transform: rotate(360deg); } }
.d-bubble {
  position: absolute; z-index: 3; transform: translate(-50%, -100%);
  max-width: 46%; white-space: normal; text-align: left;
  font: 600 clamp(10.5px, 1.05vw, 13px)/1.25 var(--font-body); color: var(--ink-text);
  padding: 6px 9px; background: var(--parch);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
  pointer-events: none; opacity: 0; transition: opacity .15s steps(2);
}
.d-bubble.show { opacity: 1; }
.d-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; margin-left: -3px; background: var(--parch);
  box-shadow: 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
}
.d-bubble code { font-family: var(--font-mono); font-size: .92em; background: #efe0bd; padding: 0 3px; }
.d-bubble .ok { display: inline-block; margin-top: 4px; padding: 1px 6px; background: var(--green); color: #10240a; font-weight: 700; }
.d-coin { position: absolute; z-index: 3; transform: translate(-50%, -100%); font-family: var(--font-px); font-weight: 400; color: var(--gold-2); text-shadow: 0 2px 0 #000; font-size: 16px; white-space: nowrap; opacity: 0; }
.d-coin.show { animation: coin-up 1.6s steps(10) forwards; }
@keyframes coin-up { 0% { opacity: 0; margin-top: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; margin-top: -26px; } }
.diorama-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; color: var(--muted-2); font-size: 14px; }
.diorama-bar .btn { min-height: 36px; font-size: 15px; padding: 4px 14px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  padding: 18px 18px 18px 16px; cursor: pointer;
  background: rgba(42, 27, 17, .55); border: 1px solid rgba(122, 80, 48, .35);
  transition: background .2s, border-color .2s, transform .2s;
}
.step:hover { background: rgba(59, 38, 21, .7); }
.step button.step-hit { position: absolute; inset: 0; width: 100%; background: transparent; border: 0; cursor: pointer; }
.step .icon {
  width: 56px; height: 56px; display: grid; place-items: center; background: var(--parch);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
}
.step .icon img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.step h3 { font-size: 16px; line-height: 1.5; margin: 2px 0 8px; }
.step h3 .n { display: block; font-size: 8px; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.step .bar { position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: transparent; overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.step.is-active { background: rgba(74, 47, 26, .75); border-color: var(--gold-d); transform: translateX(4px); }
.step.is-active h3 { color: var(--gold-2); }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 26px 22px 24px; background: linear-gradient(180deg, #2c1c12, #24170e);
  border: 1px solid rgba(122, 80, 48, .4);
  transition: transform .2s, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(244, 198, 79, .55); }
.feature .slot {
  width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--parch);
  box-shadow: inset 0 -4px 0 0 var(--parch-2), 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink);
}
.feature .slot img { image-rendering: pixelated; object-fit: contain; }
.feature h3 { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.feature .tag { position: absolute; top: 16px; right: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ink); background: var(--sky); padding: 2px 7px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; grid-auto-flow: dense; }
.shot { position: relative; margin: 0; }
.shot.wide { grid-column: span 2; }
.shot button {
  display: block; width: 100%; padding: 8px; border: 0; cursor: zoom-in; text-align: left; height: 100%;
  background: linear-gradient(#5e3c22, #47301b);
  box-shadow: inset 0 3px 0 0 #7a5030, 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 0 16px 40px -12px rgba(0,0,0,.6);
  transition: transform .2s;
}
.shot button:hover { transform: translateY(-3px); }
.shot .media { position: relative; overflow: hidden; background: #2a1b11; outline: 2px solid var(--ink); aspect-ratio: 16 / 10; }
.shot:not(.wide) .media { aspect-ratio: auto; min-height: 240px; }
.shot:not(.wide) .media picture, .shot:not(.wide) .media img { position: absolute; inset: 0; }
.shot .media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot .media.is-loading { background: linear-gradient(100deg, #2a1b11 30%, #3b2717 50%, #2a1b11 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.shot .media.is-loading img { opacity: 0; }
.shot .media img { transition: opacity .3s; }
@keyframes shimmer { to { background-position: -150% 0; } }
.shot button { display: flex; flex-direction: column; }
.shot .media { flex: 1; }
.shot figcaption { padding: 12px 6px 4px; color: var(--parch); }
.shot figcaption strong { display: block; font-family: var(--font-px); font-weight: 400; font-size: 16px; line-height: 1.5; margin-bottom: 4px; }
.shot figcaption span { color: #e3cfaa; font-size: 14px; }
.gallery-note { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 30px; }

dialog.lightbox {
  padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; color: var(--text);
}
dialog.lightbox::backdrop { background: rgba(12, 7, 4, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox .frame { padding: 10px; }
.lightbox img { max-height: calc(92vh - 90px); width: auto; margin: 0 auto; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 0; }
.lightbox .lb-cap { font-family: var(--font-px); font-size: 16px; line-height: 1.5; }

/* ---------- security ---------- */
.security-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 2px;
  background: #24401a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%2390dc62' d='M9 3h1v1H9zM8 4h1v1H8zM7 5h1v1H7zM6 6h1v1H6zM5 7h1v1H5zM4 6h1v1H4zM3 5h1v1H3zM2 4h1v1H2zM9 3h1v2H9zM8 4h1v2H8zM7 5h1v2H7zM6 6h1v2H6zM5 7h1v2H5zM4 6h1v2H4zM3 5h1v2H3z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  box-shadow: 0 -2px 0 0 #3c7a2a, 0 2px 0 0 #3c7a2a, -2px 0 0 0 #3c7a2a, 2px 0 0 0 #3c7a2a;
}
.checks strong { color: var(--text); display: block; font-size: 17px; }
.checks span { color: var(--muted); font-size: 15.5px; }
.notice-board { padding: 34px 32px 30px; transform: rotate(-.6deg); }
.notice-board h3 { font-size: 24px; color: var(--ink-text); display: flex; gap: 12px; align-items: center; }
.notice-board h3 img { width: 32px; height: 32px; }
.notice-board ul { margin: 14px 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.notice-board li { padding-left: 26px; position: relative; color: var(--ink-text); font-size: 16px; }
.notice-board li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; background: var(--rose); box-shadow: 2px 2px 0 0 #a14b3c; }
.notice-board .fine { color: var(--ink-muted); font-size: 14px; margin: 0; border-top: 2px dashed var(--parch-edge); padding-top: 14px; }
.pin { position: absolute; top: -10px; left: 50%; width: 16px; height: 16px; margin-left: -8px; background: var(--rose); box-shadow: inset -4px -4px 0 0 #a14b3c, 0 0 0 3px var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 10px 0; }
.faq details { border-bottom: 2px dashed var(--parch-edge); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 28px; font-family: var(--font-px); font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--ink-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(216, 189, 140, .22); }
.faq summary .pm { flex: none; width: 20px; height: 20px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--ink-text); }
.faq summary .pm::before { left: 0; right: 0; top: 8px; height: 4px; }
.faq summary .pm::after { top: 0; bottom: 0; left: 8px; width: 4px; transition: transform .15s steps(2); }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .answer { padding: 0 28px 22px; color: #4a3622; font-size: 16.5px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq code { font-family: var(--font-mono); font-size: .9em; background: var(--parch-2); padding: 1px 5px; }

/* ---------- final CTA + form ---------- */
/* ---------- Product Hunt (badge + launch card) ---------- */
.ph-featured { margin-top: 40px; display: flex; justify-content: center; }
.ph-badge {
  display: inline-block; padding: 8px; line-height: 0; max-width: 100%;
  background: linear-gradient(#6b4426, #4f321c);
  box-shadow:
    inset 0 4px 0 0 #8a5c35, inset 0 -4px 0 0 #3a2414,
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    0 10px 0 0 rgba(0, 0, 0, .35);
  transform: translateY(0); transition: transform .08s steps(2), filter .15s;
}
.ph-badge img { width: 250px; max-width: 100%; height: auto; aspect-ratio: 250 / 54; outline: 3px solid var(--ink); background: #fff; }
.ph-badge:hover { transform: translateY(-2px); filter: brightness(1.05); }
.ph-badge:active { transform: translateY(2px); }
.footer-brand .ph-badge { margin-top: 22px; }

.ph-section { padding: 110px 0 30px;
  background: radial-gradient(640px 360px at 78% 55%, rgba(255, 97, 84, .10), transparent 70%); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 56px; align-items: center; }
.ph-copy p:not(.eyebrow) { color: var(--muted); font-size: 18.5px; max-width: 540px; text-wrap: pretty; }
.ph-card-wrap { position: relative; padding-top: 70px; }
.ph-sitter { position: absolute; top: 0; right: 40px; z-index: 3; }
.ph-sitter .bit { position: relative; animation: cheer 3.2s steps(1) infinite; }
.ph-sitter .say { bottom: calc(100% + 12px); right: -8px; }
.ph-sitter .say::after { left: auto; right: 22px; }
.ph-card { position: relative; padding: 26px 26px 30px; }
.ph-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.ph-logo { flex: none; width: 72px; height: 72px; padding: 4px; background: var(--parch-2);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); }
.ph-logo img { width: 64px; height: 64px; object-fit: cover; }
.ph-card-text { min-width: 0; }
.ph-card h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink-text); line-height: 1.3; }
.ph-card-text p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.45; }
.btn-ph { --bg-btn: #ff6154; --bg-btn-hi: #ff8a7f; --bg-btn-lo: #c9433a; --fg-btn: var(--ink); }
.ph-card .btn-ph { width: 100%; white-space: normal; text-align: center; }

.cta-section { padding: 120px 0 130px; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 20% 30%, rgba(244, 198, 79, .14), transparent 70%),
    linear-gradient(180deg, var(--bg), #23170d);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.cta-copy h2 { font-size: 40px; }
.cta-copy p { color: var(--muted); font-size: 18.5px; max-width: 520px; }
.cta-copy .perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--text); }
.cta-copy .perks li { display: flex; gap: 12px; align-items: center; }
.cta-copy .perks img { width: 24px; height: 24px; image-rendering: pixelated; }
.cheer-row { display: flex; gap: 6px; margin-top: 40px; align-items: flex-end; }
.cheer-row .bit { --s: 3; position: relative; animation: hop 1.8s steps(1) infinite; }
.cheer-row .bit:nth-child(2) { animation-delay: .3s; }
.cheer-row .bit:nth-child(3) { animation-delay: .6s; }
.cheer-row .bit:nth-child(4) { animation-delay: .9s; }
.cheer-row .bit:nth-child(5) { animation-delay: 1.2s; }
@keyframes hop {
  0%, 60% { background-position-x: calc(-256px * var(--s)); transform: translateY(0); }
  61%, 80% { background-position-x: calc(-272px * var(--s)); transform: translateY(-9px); }
  81%, 100% { background-position-x: calc(-256px * var(--s)); transform: translateY(0); }
}

.form-card { padding: 34px 32px 30px; }
.form-card h3 { font-size: 24px; margin-bottom: 10px; color: var(--ink-text); }
.form-card .sub { color: var(--ink-muted); font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; color: var(--ink-text); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; color: var(--ink-text); background: #fffaf0;
  border: 0; border-radius: 0; font-size: 16px;
  box-shadow: inset 0 3px 0 0 #e8d6b2, 0 -2px 0 0 #8c6a42, 0 2px 0 0 #8c6a42, -2px 0 0 0 #8c6a42, 2px 0 0 0 #8c6a42;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fffaf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' shape-rendering='crispEdges'%3E%3Cpath fill='%232b1b10' d='M0 0h12v2H0zM2 2h8v2H2zM4 4h4v2H4zM5 6h2v2H5z'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9c8463; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #1f6fd1; outline-offset: 2px; }
.field .hint { font-size: 13.5px; color: var(--ink-muted); margin-top: 6px; }
.field .error { display: none; font-size: 14px; font-weight: 700; color: var(--danger); margin-top: 7px; align-items: center; gap: 8px; }
.field .error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.field.has-error .error { display: flex; }
.field.has-error input, .field.has-error textarea, .field.has-error select {
  background-color: var(--danger-bg);
  box-shadow: inset 0 3px 0 0 #f6c6bb, 0 -2px 0 0 var(--danger), 0 2px 0 0 var(--danger), -2px 0 0 0 var(--danger), 2px 0 0 0 var(--danger);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; margin: 0 0 18px; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.form-alert.show { display: block; }
.form-alert.error { background: var(--danger-bg); color: #7c1d10; box-shadow: inset 4px 0 0 0 var(--danger); }
.form-alert.info { background: #e3f1ff; color: #123a63; box-shadow: inset 4px 0 0 0 #2c7be5; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn { min-width: 220px; }
.form-legal { font-size: 13.5px; color: var(--ink-muted); margin: 16px 0 0; }
.mailto-note { font-size: 14px; color: #123a63; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #140c07; color: var(--muted); }
.footer-walk { position: relative; height: 96px; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #1d140b 100%); }
.footer-walk .grass { position: absolute; left: 0; right: 0; bottom: 0; }
.footer-walk .walker { bottom: 12px; z-index: 2; }
.footer-walk .w1 { animation: cross 26s linear infinite; }
.footer-walk .w2 { animation: cross 26s linear -9s infinite; }
.footer-walk .w3 { animation: cross-back 32s linear -4s infinite; }
@keyframes cross { from { left: -60px; transform: scaleX(-1); } to { left: 100%; transform: scaleX(-1); } }
@keyframes cross-back { from { left: 100%; } to { left: -60px; } }
.footer-walk .plant { position: absolute; bottom: 12px; image-rendering: pixelated; z-index: 1; }
.footer-walk .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: #3d6b25; }
.footer-main { padding: 48px 0 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-main h2 { font-family: var(--font-px); font-weight: 400; font-size: 16px; line-height: 1.5; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-main a, .linklike { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-main a:hover, .linklike:hover { color: var(--text); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(122, 80, 48, .3); padding: 20px 0 34px; font-size: 13.5px; color: var(--muted-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(20, 12, 7, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(122, 80, 48, .6);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-visible { transform: translateY(0); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  padding: 22px 22px 20px;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 16px; margin: 0 0 10px; color: var(--ink-text); display: flex; align-items: center; gap: 10px; }
.cookie h2 img { width: 24px; height: 24px; }
.cookie p { font-size: 14.5px; color: #4a3622; margin-bottom: 14px; }
.cookie .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cookie .btn { min-height: 40px; font-size: 15px; padding: 6px 14px; }
.cookie .prefs { margin: 4px 0 16px; display: grid; gap: 10px; }
.cookie .prefs[hidden] { display: none; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; background: var(--parch-2); }
.toggle span { font-size: 14px; color: var(--ink-text); }
.toggle span small { display: block; color: var(--ink-muted); font-size: 12.5px; }
.toggle input { width: 22px; height: 22px; accent-color: #3c7a2a; flex: none; }

/* ---------- simple pages (legal, 404, thanks) ---------- */
.page-hero { padding: 80px 0 30px; text-align: center; position: relative; }
.page-hero h1 { font-size: 40px; text-shadow: 0 4px 0 #000; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.doc { max-width: 820px; margin: 30px auto 110px; padding: 48px 56px; }
.doc h2 { font-size: 24px; margin: 40px 0 14px; color: var(--ink-text); }
.doc h2:first-of-type { margin-top: 10px; }
.doc h3 { font-family: var(--font-body); font-size: 17px; font-weight: 800; margin: 22px 0 6px; color: var(--ink-text); }
.doc p, .doc li { font-size: 16.5px; color: #3c2a19; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .updated { font-weight: 700; color: var(--ink-muted); font-size: 14.5px; }
.doc .callout { background: var(--parch-2); padding: 14px 16px; box-shadow: inset 4px 0 0 0 var(--gold-d); font-size: 15.5px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 18px; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 2px dashed var(--parch-edge); vertical-align: top; color: #3c2a19; }
.doc th { font-weight: 800; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14.5px; margin: 14px 0 0; padding: 0; list-style: none; }

.center-stage { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 70px 0 90px; text-align: center; position: relative; overflow: hidden; }
.center-stage h1 { font-size: 40px; text-shadow: 0 4px 0 #000; text-wrap: balance; }
.center-stage p { color: var(--muted); font-size: 18.5px; max-width: 560px; margin: 0 auto 30px; }
.big-code { font-family: var(--font-px); font-weight: 400; font-size: 96px; line-height: 1.2; color: var(--gold); text-shadow: 0 6px 0 #000, 0 0 60px rgba(244, 198, 79, .25); margin-bottom: 24px; letter-spacing: 0; }
.lost-stage { position: relative; width: min(560px, 92vw); height: 120px; margin: 10px auto 26px; }
.lost-stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; }
.lost-bit { position: absolute; bottom: 14px; left: 10%; animation: lost-wander 9s linear infinite; }
.lost-bit .bit { animation: walk-left .64s steps(4) infinite; }
@keyframes lost-wander {
  0% { left: 8%; transform: scaleX(-1); }
  38% { left: 70%; transform: scaleX(-1); }
  38.01%, 50% { left: 70%; transform: scaleX(1); }
  88% { left: 8%; transform: scaleX(1); }
  88.01%, 100% { left: 8%; transform: scaleX(-1); }
}
.lost-q { position: absolute; bottom: 100%; left: 50%; font-family: var(--font-px); font-weight: 400; font-size: 24px; line-height: 1; color: var(--parch); transform: translateX(-50%); animation: qbob 1s steps(2) infinite; }
@keyframes qbob { 50% { margin-bottom: 6px; } }
.next-steps { list-style: none; padding: 0; margin: 10px auto 34px; max-width: 640px; display: grid; gap: 14px; text-align: left; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: rgba(42, 27, 17, .6); border: 1px solid rgba(122, 80, 48, .4); color: var(--muted); }
.next-steps li strong { color: var(--text); display: block; }
.next-steps img { width: 40px; height: 40px; image-rendering: pixelated; object-fit: contain; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 40px; }
  .cta-copy h2 { font-size: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ph-grid { grid-template-columns: 1fr; gap: 28px; }
  .ph-section { padding: 80px 0 20px; }
  .ph-card-wrap { max-width: 580px; }
  :root { --header-h: 62px; }
  body { font-size: 16.5px; }
  .hero h1 { font-size: 32px; }
  .section h2, .cta-copy h2 { font-size: 24px; }
  .page-hero h1, .center-stage h1 { font-size: 32px; }
  .big-code { font-size: 80px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px; background: rgba(20, 12, 7, .98); border-bottom: 1px solid rgba(122, 80, 48, .6);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { font-size: 17px; padding: 12px 8px; }
  .nav .btn { margin: 12px 4px 4px; }
  .section { padding: 84px 0; }
  .hero { padding-top: 54px; }
  .hero-visual { margin-top: 84px; }
  .frame { padding: 7px; }
  .frame-plaque { font-size: 11px; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
  .security-grid, .cta-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot.wide { grid-column: span 2; }
  .shot:not(.wide) .media { aspect-ratio: 716 / 904; height: auto; }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 76px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .doc { padding: 32px 24px; margin-inline: 4px; }
}
@media (max-width: 600px) {
  .ph-card { padding: 22px 18px 26px; }
  .ph-card h3 { font-size: 16px; }
  .ph-card .btn-ph { padding: 10px 14px; }
  .ph-sitter { right: 20px; }
  .container { width: min(var(--maxw), 100% - 32px); }
  .hero .lead { font-size: 17px; }
  .hero h1 { font-size: 24px; line-height: 1.5; }
  .page-hero h1, .center-stage h1 { font-size: 24px; }
  .big-code { font-size: 64px; }
  .notice-board h3, .form-card h3, .doc h2 { font-size: 16px; }
  .faq summary { line-height: 1.6; }
  .btn-lg { padding: 12px 18px; }
  .cta-row .btn { width: 100%; }
  .trust-list, .feature-grid, .steps { grid-template-columns: 1fr; }
  .trust-list { gap: 10px; }
  .trust-list li { padding: 14px 16px; }
  .feature-grid { gap: 12px; }
  .feature { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; padding: 18px 16px; }
  .feature .slot { width: 60px; height: 60px; margin: 2px 0 0; grid-row: span 2; }
  .feature .slot img { max-width: 52px; max-height: 52px; width: auto; height: auto; }
  .feature h3 { font-size: 16px; margin: 0 0 8px; }
  .feature .tag { position: static; justify-self: start; grid-column: 2; margin-bottom: 6px; order: -1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .shot.wide { grid-column: span 2; }
  .shot button { padding: 5px; }
  .shot figcaption { padding: 8px 4px 2px; }
  .shot figcaption strong { font-size: 16px; }
  .shot figcaption span { font-size: 13px; }
  .hero-peek { display: none; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px 22px; }
  .form-actions .btn { width: 100%; }
  .bit { --s: 2; }
  .hero-walker { top: -50px; }
  .hero-peek { top: -42px; }
  .hero-sitter { top: -50px; right: 16%; }
  .hero-sitter .say { right: -6px; font-size: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .section-head { margin-bottom: 40px; }
  .faq summary { padding: 18px 18px; font-size: 16px; }
  .faq .answer { padding: 0 18px 18px; }
  .notice-board { padding: 28px 22px; }
  .cheer-row .bit { --s: 2; }
  .diorama-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-walker, .footer-walk .walker, .lost-bit { animation: none !important; }
  .walker .bit, .lost-bit .bit { animation: none !important; background-position-x: calc(-128px * var(--s)) !important; }
  .hero-peek { animation: none !important; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .sparkle { display: none; }
}
