/* Master Roblox Builder — sales page.
   Structure: Island Route (block islands joined by a coin trail).
   Materials: Open the Toolbox (graphite night, brushed silver, cyan/lilac foil used sparingly). */

@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --g0: #0b0d11;
  --g1: #0f1115;
  --g2: #171a20;
  --g3: #1f242c;
  --g4: #2e3540;
  --ink: #eef1f6;
  --mute: #aeb7c4;
  --steel-ink: #1a1d23;
  --steel-mute: #3c434e;
  --cyan: #7ee9ff;
  --lilac: #c8b1ff;
  --pink: #ffc9ef;
  --paper: #f7f2e7;
  --warn: #ffcf7a;
  --ok: #8fdc7e;

  --foil: linear-gradient(90deg, #7ee9ff 0%, #c8b1ff 30%, #ffd3f2 52%, #9af2e4 74%, #b9a4ff 100%);
  --brush: repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 2px, rgba(255,255,255,.22) 2px 3px, rgba(0,0,0,.045) 3px 5px);
  --silver-base: linear-gradient(165deg, #fbfcfd 0%, #cdd2da 26%, #f0f2f5 46%, #b3b9c3 70%, #e3e6ea 100%);
  --silver: var(--brush), var(--silver-base);
  --plate: var(--brush), linear-gradient(165deg, #eef0f3 0%, #c4c9d1 55%, #dde0e5 100%);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --dot: radial-gradient(circle, #f6f8fa 0 2.6px, #a3aab4 3px 4.6px, #59606b 5px 5.6px, transparent 6px);

  --display: "Fredoka", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: 24px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--g1);
  /* dusk night sky: faint stars, a cool glow up top, a lilac glow lower down */
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 38% 62%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 71% 33%, rgba(200,177,255,.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 86% 78%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 55% 9%, rgba(126,233,255,.5), transparent 60%),
    radial-gradient(1200px 700px at 75% 0%, rgba(126,233,255,.10), transparent 65%),
    radial-gradient(1000px 900px at 0% 45%, rgba(200,177,255,.07), transparent 65%),
    linear-gradient(180deg, #151b28 0%, #0f1115 22%, #0f1115 78%, #15121c 100%);
  background-size: 420px 380px, 420px 380px, 420px 380px, 420px 380px, 420px 380px, auto, auto, auto;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after { /* fine grain over everything, like the toolbox finish */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: var(--noise); opacity: .05; mix-blend-mode: overlay;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
p, figure, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 70;
  background: var(--paper); color: var(--steel-ink); padding: 12px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- shared bits ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 22px; border-radius: 14px; border: 0;
  font: 600 17px/1.15 var(--display); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.btn-foil { /* brushed silver with a foil rim: the one live primary action */
  color: var(--steel-ink);
  border: 3px solid transparent;
  background: var(--brush) padding-box, var(--silver-base) padding-box, var(--foil) border-box;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.18), 0 0 22px rgba(126,233,255,.25), 0 10px 24px rgba(0,0,0,.45);
}
@media (hover: hover) and (pointer: fine) { .btn-foil:hover { transform: translateY(-2px); } }
.btn-foil:active { transform: scale(.97); }
.btn-locked {
  cursor: not-allowed;
  color: #c9cfd8;
  background: repeating-linear-gradient(135deg, #222730 0 10px, #1b1f26 10px 20px);
  box-shadow: inset 0 0 0 2px #4a5262;
  outline: 2px dashed #5a6272; outline-offset: 3px;
  font-weight: 500;
}
.lock { width: 14px; height: 11px; border-radius: 3px; background: #8d95a3; position: relative; margin-top: 6px; flex: none; }
.lock::before {
  content: ""; position: absolute; left: 2px; top: -8px; width: 10px; height: 10px;
  border: 2.5px solid #8d95a3; border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box;
}

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.chip-status { color: var(--warn); background: rgba(255,207,122,.1); box-shadow: inset 0 0 0 1px rgba(255,207,122,.4); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }

.ex {
  display: inline-block; vertical-align: middle;
  font: 700 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal;
  padding: 5px 7px; border-radius: 6px;
  color: #3a2a00; background: #ffd98a;
}

.kicker {
  display: inline-block; margin-bottom: 14px;
  font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-ink); background: var(--plate);
  padding: 9px 12px; border-radius: 8px;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #5c636e;
}
.sec-head { position: relative; z-index: 2; max-width: 760px; margin: 0 auto 36px; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 600; }
.sec-head p:not(.kicker) { margin-top: 12px; font-size: 19px; color: var(--mute); }

/* silver coin, used for numbers */
.num {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  font: 700 20px/1 var(--display); color: var(--steel-ink);
  background: radial-gradient(circle at 34% 28%, #ffffff 0 14%, #e3e7ec 20% 55%, #a7aeb8 70%, #d9dde3);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 2.5px #0f1115, 0 0 0 4.5px #9aa1ab, 0 0 16px rgba(126,233,255,.35);
}

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; font-weight: 600; text-decoration: none; color: var(--ink);
  background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4);
}
.back:hover { color: var(--cyan); }
.crumb { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.topbar .chip-status { margin-left: auto; }

/* ---------- HERO: split frame (desktop) / showcase stack (phone) ----------
   Desktop: a graphite column holds the logo lockup and the offer; the world is a framed
   window with the toolbox standing at its corner. Phone: the logo hangs as a shop sign,
   the toolbox stands in a round world portal, then the headline and a silver price tag. */
.hero { max-width: 1380px; margin: 0 auto; padding: 14px var(--gut) 0; }
.hero-stage {
  position: relative; margin-top: 14px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 0 60px;
  min-height: clamp(620px, calc(100svh - 86px), 730px);
  padding-bottom: 30px;
}
.hero-copy { align-self: center; padding: 6px 0 6px 10px; max-width: 540px; }
.hero-lockup { position: relative; padding-bottom: 20px; margin-bottom: 24px; }
.hero-lockup::after { content: ""; position: absolute; left: 0; bottom: 0; width: 132px; height: 3px; border-radius: 2px; background: var(--foil); }
.lockup-face img { width: 100%; max-width: 500px; margin-left: -10px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); }
.unoff { font: 600 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.hero-lockup .unoff { margin-top: 6px; }
.hero h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.06; font-weight: 600; }
.hero-sub { margin-top: 14px; font-size: 17.5px; color: #d3d9e2; }
.pricebar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.price { font: 700 40px/1 var(--display); letter-spacing: -.02em; color: #fff; }
.price .cur { font-size: 18px; vertical-align: 14px; margin-right: 4px; color: var(--mute); }
.price .once { font-size: 17px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.terms { font: 500 13px/1.4 var(--mono); color: var(--warn); padding-left: 16px; border-left: 1px solid var(--g4); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }

.hero-window { position: relative; align-self: stretch; margin: 6px 0 26px; min-height: 560px; }
.hero-glass {
  position: absolute; inset: 0; border-radius: 32px; padding: 10px;
  background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 30px 60px rgba(0,0,0,.5);
}
.hero-glass::after { /* thin foil edge on the bezel */
  content: ""; position: absolute; inset: 7px; border-radius: 26px; padding: 2px; background: var(--foil); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9;
}
.hero-glass img { width: 100%; height: 100%; object-fit: cover; object-position: 84% 46%; border-radius: 23px; }
.hero-ledge { position: absolute; left: -80px; bottom: -44px; width: 420px; height: 70px; z-index: 2; filter: drop-shadow(0 16px 18px rgba(0,0,0,.5)); }
.hero-box {
  position: absolute; left: -46px; bottom: -6px; z-index: 3;
  width: 342px; /* natural 380px, shown at 90% as approved */
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.5));
}

/* ---------- BEFORE -> AFTER: the island route ---------- */
.ba { position: relative; padding: 110px var(--gut) 0; }
.route { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; position: relative; }

.hop { position: relative; height: 130px; }
.hop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hop path {
  fill: none; stroke: #dfe3e8; stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 0 22; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(126, 233, 255, .55));
}
.hop-in { height: 90px; }

.coin { /* the one coin that travels the trail (shown only with scroll-driven animation) */
  position: absolute; left: 50%; top: 50%; z-index: 6;
  width: 30px; height: 30px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 34% 30%, #fff 0 12%, #e7eaee 17% 50%, #a1a8b2 58% 66%, transparent 67%),
    conic-gradient(#7ee9ff, #c8b1ff, #ffd3f2, #9af2e4, #7ee9ff);
  box-shadow: 0 0 0 2px #0f1115, 0 0 18px rgba(126, 233, 255, .75);
  opacity: 0; pointer-events: none;
}

.stop { position: relative; }
.stop-name {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: fit-content; margin: 0 auto 26px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 600;
  background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4), 0 10px 24px rgba(0,0,0,.35);
}

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.14fr);
  align-items: stretch;
}
.side { position: relative; display: flex; flex-direction: column; }
.cap {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: 16px 18px 18px; border-radius: 16px;
  font-size: 18px; line-height: 1.4; font-weight: 500;
}
.tag {
  font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px;
}
.before .cap { margin: 0 6% 0 4%; background: var(--g3); color: #d5dae2; box-shadow: inset 0 0 0 1px var(--g4); }
.before .tag { background: #3a414c; color: #e1e5eb; }
.after .cap {
  color: var(--steel-ink); background: var(--silver);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.15), 0 0 0 1px #7d8592, 0 12px 26px rgba(0,0,0,.4);
}
.after .cap::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--foil); }
.after .tag { background: var(--steel-ink); color: #fff; }

.scene {
  position: relative; z-index: 2; margin-top: auto; padding: 26px 6% 0;
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.before .scene { filter: saturate(.35) brightness(.92); padding-bottom: 0; margin-bottom: -10px; }
.after .scene { margin-bottom: -14px; }
.isl { display: block; position: relative; z-index: 1; width: 100%; height: 92px; }
.before .isl { width: 84%; height: 70px; margin: 0 auto; filter: drop-shadow(0 16px 18px rgba(0,0,0,.5)); }
.after .isl { filter: drop-shadow(0 0 26px rgba(126, 233, 255, .2)) drop-shadow(0 18px 18px rgba(0,0,0,.45)); }

.track { position: relative; align-self: end; margin: 0 10px 44px; height: 24px; background: var(--dot) left center / 22px 24px repeat-x; filter: drop-shadow(0 0 4px rgba(126,233,255,.5)); }
.track::after { /* arrowhead */
  content: ""; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  border: 11px solid transparent; border-left: 15px solid #e7eaee; border-right: 0;
}

/* scene: scattered notes */
.notes { position: relative; width: 100%; max-width: 300px; height: 190px; }
.n {
  position: absolute; display: block; padding: 9px 13px; border-radius: 4px;
  font-size: 15px; font-weight: 500; color: #24282e; line-height: 1.25;
  box-shadow: 0 8px 16px rgba(0,0,0,.4);
}
.n1 { background: #f1e7a8; left: 4%; bottom: 10px; transform: rotate(-5deg); }
.n2 { background: #f2c9d6; left: 44%; bottom: 46px; transform: rotate(6deg); }
.n3 { background: #cfe1f1; left: 6%; bottom: 94px; transform: rotate(-11deg); }
.n4 { background: #f1e7a8; left: 46%; bottom: 140px; transform: rotate(10deg); }

/* scene: one plan sheet */
.sheet {
  width: 100%; max-width: 360px; color: #1d2026;
  border: 4px solid transparent; border-radius: 14px; padding: 14px 16px 16px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--silver) border-box;
  box-shadow: 0 0 0 1px rgba(126, 233, 255, .55), 0 18px 30px rgba(0,0,0,.45);
}
.sheet-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; font-weight: 600; font-size: 16px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid #e2d8c2; }
.sheet dl { display: grid; gap: 6px; }
.sheet dl div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: baseline; }
.sheet dt { font: 700 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5b4e33; }
.sheet dd { font-size: 15.5px; font-weight: 600; line-height: 1.3; }

/* scene: chat pile */
.chat-pile {
  position: relative; width: 100%; max-width: 320px; height: 200px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 46%);
          mask-image: linear-gradient(180deg, transparent 0, #000 46%);
}
.b { position: absolute; max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; font-size: 14.5px; line-height: 1.3; background: #343b46; color: #e3e7ed; }
.b.me { right: 0; border-radius: 14px 14px 4px 14px; background: #463f5c; color: #efe9ff; }
.b1 { top: 0; left: 0; } .b2 { top: 46px; } .b3 { top: 96px; left: 0; } .b4 { top: 146px; }

/* scene: wiki book */
.book {
  display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 380px;
  padding: 8px; border-radius: 14px; background: var(--silver);
  box-shadow: 0 0 0 1px rgba(126, 233, 255, .55), 0 18px 30px rgba(0,0,0,.45);
}
.pg { background: var(--paper); color: #1d2026; padding: 12px 14px 14px; }
.pg-l { border-radius: 8px 2px 2px 8px; box-shadow: inset -12px 0 16px -12px rgba(60,40,20,.35); }
.pg-r { border-radius: 2px 8px 8px 2px; box-shadow: inset 12px 0 16px -12px rgba(60,40,20,.35); display: flex; flex-direction: column; gap: 4px; }
.pg-title { font-weight: 600; font-size: 15.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; display: flex; gap: 8px; font-size: 14px; border-bottom: 1.5px dotted #d9ccb0; padding: 2px 0; }
.toc li::before { content: counter(t); font: 700 11px/1.7 var(--mono); color: #6b5a8f; width: 10px; }
.pg-k { font: 700 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5b4e33; }
.pg-v { font-size: 16px; font-weight: 600; }
.pg-read { margin-top: auto; display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 8px; background: #dcf2d3; color: #1e4d17; }
.tick { width: 14px; height: 14px; border-radius: 50%; background: #2f8a22 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); flex: none; }

/* scene: look (icon + UI chips) */
.look { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: end; width: 100%; max-width: 360px; }
.icon {
  aspect-ratio: 1; border-radius: 20px;
  background: #7fc8f3 url("/assets/master-roblox-builder/concept-icon-pair.webp") no-repeat;
  background-size: 218% auto;
  box-shadow: 0 0 0 3px #0f1115, 0 0 0 5px #8b929d, 0 14px 24px rgba(0,0,0,.45);
}
.icon-l { background-position: 3.8% 50%; }
.icon-r { background-position: 96.2% 50%; box-shadow: 0 0 0 3px #0f1115, 0 0 0 5px #d9dde3, 0 0 22px rgba(126,233,255,.45), 0 14px 24px rgba(0,0,0,.45); }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chips span { display: inline-block; font-size: 15px; padding: 7px 14px; }
.chips-mixed span:nth-child(1) { font: 700 15px/1.2 Georgia, serif; background: #c55a4a; color: #fff; border-radius: 3px; }
.chips-mixed span:nth-child(2) { font: 400 14px/1.2 var(--mono); background: #3f8a51; color: #fff; border-radius: 999px; margin-left: 22px; }
.chips-mixed span:nth-child(3) { font: italic 800 15px/1.2 "Arial Black", Impact, sans-serif; background: #7a52c7; color: #ffe86b; border-radius: 0; transform: rotate(-4deg); margin-left: 8px; }
.chips-one span {
  font: 600 15px/1.2 var(--display); color: var(--steel-ink); border-radius: 10px; min-width: 104px; text-align: center;
  background: var(--silver); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 #8c939e, 0 0 0 1.5px rgba(126,233,255,.6);
}
.ex-on { grid-column: 1 / -1; grid-row: 1; justify-self: start; }

/* scene: wobbly tower */
.tower { position: relative; width: 150px; height: 210px; }
.tower i {
  position: absolute; left: 40px; width: 64px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, #a2a8b1 0 5px, #80868f 5px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.tower i:nth-child(1) { bottom: 0; }
.tower i:nth-child(2) { bottom: 26px; transform: translateX(4px) rotate(2deg); }
.tower i:nth-child(3) { bottom: 52px; transform: translateX(10px) rotate(4deg); width: 58px; }
.tower i:nth-child(4) { bottom: 77px; transform: translateX(18px) rotate(7deg); }
.tower i:nth-child(5) { bottom: 101px; transform: translateX(27px) rotate(10deg); width: 52px; }
.tower i:nth-child(6) { bottom: 124px; transform: translateX(38px) rotate(14deg); }
.tower i.fall { bottom: 18px; left: auto; right: -34px; width: 34px; height: 24px; transform: rotate(38deg); }
.err {
  position: absolute; left: -26px; top: 6px; font: 600 12.5px/1 var(--mono);
  padding: 7px 9px; border-radius: 8px; background: #3d2224; color: #ffc0b5; box-shadow: inset 0 0 0 1px #8a3a3a;
}

/* scene: one finished plot */
.plot { position: relative; width: 230px; height: 150px; }
.bed {
  position: absolute; left: 14px; right: 30px; bottom: 0; height: 46px; border-radius: 6px;
  background: linear-gradient(180deg, #8fdc7e 0 8px, #6b4a33 8px 100%);
  box-shadow: inset 0 -6px 0 #563a27, 0 10px 18px rgba(0,0,0,.35);
}
.bed i { position: absolute; bottom: 30px; width: 12px; height: 34px; border-radius: 3px; background: #4fae3c; }
.bed i::before, .bed i::after { content: ""; position: absolute; top: 0; width: 20px; height: 14px; border-radius: 12px 12px 2px 12px; background: #7fd765; }
.bed i::before { left: -16px; transform: rotate(-12deg); }
.bed i::after { right: -16px; border-radius: 12px 12px 12px 2px; transform: rotate(12deg); }
.bed i:nth-child(1) { left: 26px; } .bed i:nth-child(2) { left: 86px; height: 44px; } .bed i:nth-child(3) { left: 146px; }
.pcoin {
  position: absolute; left: 92px; top: 18px; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0 14%, #e7eaee 18% 52%, #a1a8b2 60%);
  box-shadow: 0 0 0 2px #0f1115, 0 0 14px rgba(126,233,255,.7);
}
.pflag {
  position: absolute; right: 0; bottom: 30px; height: 110px; width: 3px; background: #d9dde3;
  font-size: 0;
}
.pflag::after {
  content: "Playtested"; position: absolute; right: 3px; top: 4px; white-space: nowrap;
  font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 9px; border-radius: 4px 0 0 4px; color: var(--steel-ink); background: var(--foil);
}
.plot-wrap { position: relative; padding-top: 10px; }
.ex-plot { position: absolute; left: 0; top: 0; }

/* scene: restart loop */
.restart { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 6px; }
.restart svg { width: 120px; height: 120px; stroke: #9aa1ab; }
.restart span { font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #dfe3e8; background: #2c323c; padding: 9px 12px; border-radius: 999px; }

/* scene: dashboard next card */
.next-card {
  width: 100%; max-width: 320px; padding: 14px 16px 16px; border-radius: 14px;
  background: #f5f7fa; color: #1b1f27;
  box-shadow: 0 0 0 1px #000, 0 0 0 7px #2a303a, 0 0 0 8px #4a5262, 0 0 30px rgba(126,233,255,.25), 0 22px 40px rgba(0,0,0,.5);
}
.nc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding-bottom: 8px; border-bottom: 1px solid #dde2e9; margin-bottom: 8px; }
.nc-k { font: 700 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #4f5866; }
.nc-v { font-size: 21px; font-weight: 600; line-height: 1.2; margin: 2px 0 12px; }
.nc-go { display: inline-block; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--steel-ink); background: var(--foil); }

/* ---------- WHERE THIS GOES: built blindly -> built with the kit -> your goal ladder ----------
   The left panel is a labelled illustration, never a real game. The kit owns rung 1 only.
   Rungs 2-4 are the buyer's goal, not a result. "R$" stays plain text (no Robux icon art). */
.story { position: relative; padding: 70px var(--gut) 80px; }
.story .sec-head { max-width: 820px; }
.story-row {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: stretch;
}
.panel { display: flex; flex-direction: column; min-width: 0; }
.panel-tag {
  align-self: flex-start; margin-bottom: 10px;
  font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 7px;
}
.panel h3 { font-size: 24px; margin-bottom: 12px; }
.panel-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; }
.panel-isl { display: block; width: 88%; height: 54px; margin: -6px auto 0; position: relative; z-index: 0; }
.p-blind .panel-isl { width: 78%; height: 46px; filter: saturate(.4) drop-shadow(0 14px 16px rgba(0,0,0,.5)); }
.p-kit .panel-isl { filter: drop-shadow(0 0 20px rgba(126,233,255,.2)) drop-shadow(0 14px 16px rgba(0,0,0,.45)); }
.p-dream .panel-isl { filter: drop-shadow(0 0 30px rgba(200,177,255,.35)) drop-shadow(0 14px 16px rgba(0,0,0,.45)); }

/* arrows between panels */
.arrow { position: relative; display: flex; align-items: center; justify-content: center; }
.arrow::before {
  content: ""; position: absolute; left: 6px; right: 14px; top: 50%; height: 24px; transform: translateY(-50%);
  background: var(--dot) left center / 22px 24px repeat-x; filter: drop-shadow(0 0 4px rgba(126,233,255,.5));
}
.arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: 11px solid transparent; border-left: 15px solid #e7eaee; border-right: 0;
}
.arrow span {
  position: relative; z-index: 1; margin-top: -86px; max-width: 76px;
  font: 700 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center;
  color: var(--steel-ink); background: var(--foil); padding: 6px 7px; border-radius: 7px;
}

/* ---------- 1. Built blindly: mock analytics ---------- */
.p-blind .panel-tag { background: #3a414c; color: #e1e5eb; }
.p-blind .panel-body { background: #14171c; box-shadow: inset 0 0 0 1px #343c48, 0 20px 40px rgba(0,0,0,.45); }
.ill {
  align-self: flex-start; font: 700 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; color: #3a2a00; background: #ffd98a;
}
.chart { padding: 10px 11px 8px; border-radius: 12px; background: #1d2129; box-shadow: inset 0 0 0 1px #2e3540; }
.chart .k { font: 600 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; gap: 8px; }
.chart svg { display: block; width: 100%; height: 86px; margin-top: 6px; overflow: visible; }
.chart .axis { stroke: #3a414c; stroke-width: 1; }
.chart .drop { fill: none; stroke: #ff9b8a; stroke-width: 2.5; stroke-linecap: round; }
.chart .drop-fill { fill: rgba(255,155,138,.14); }
.xaxis { display: flex; justify-content: space-between; margin-top: 3px; font: 600 10px/1 var(--mono); color: #8f99a6; }

/* ---------- 2. Built with the kit ---------- */
.p-kit .panel-tag { background: var(--steel-ink); color: #fff; box-shadow: 0 0 0 1px #6c7380; }
.p-kit .panel-body {
  color: var(--steel-ink); background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.18), 0 0 0 1px #6c7380, 0 0 34px rgba(126,233,255,.18), 0 20px 40px rgba(0,0,0,.45);
}
.no-num { font-size: 13.5px; color: var(--steel-mute); text-align: center; padding-bottom: 6px; }

/* ---------- 3. Your goal: the milestone ladder ---------- */
.p-dream .panel-tag { color: var(--steel-ink); background: var(--foil); }
.p-dream .panel-body {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(200,177,255,.18), transparent 70%),
    radial-gradient(100% 60% at 50% 100%, rgba(126,233,255,.12), transparent 70%),
    #171b24;
  box-shadow: inset 0 0 0 1.5px rgba(200,177,255,.55), 0 0 40px rgba(200,177,255,.18), 0 20px 40px rgba(0,0,0,.45);
}
.goal-label { align-self: flex-start; font: 700 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; color: #2b1d55; background: #e6ddff; }
.honest-line { margin-top: auto; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; color: #e6eaf0; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(200,177,255,.35); }
.honest-line strong { color: #fff; }

.ladder { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 0 10px; }
.rungs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 8px; position: relative; }
.rungs::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: linear-gradient(0deg, #7ee9ff, #c8b1ff, #ffd3f2); opacity: .7; }
.rungs li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 10px 8px 0; }
.rungs .dotn {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px/1 var(--display); color: var(--steel-ink);
  background: radial-gradient(circle at 34% 28%, #ffffff 0 14%, #e3e7ec 20% 55%, #a7aeb8 70%, #d9dde3);
  box-shadow: 0 0 0 2px #0f1115, 0 0 0 3.5px #9aa1ab;
}
.rungs li b { display: block; font-size: 16px; line-height: 1.2; color: #fff; }
.rungs li span { display: block; font-size: 12.5px; color: #aeb7c4; line-height: 1.3; }
.rungs li.r1 { background: rgba(126,233,255,.08); border-radius: 12px; }
.brackets { display: flex; flex-direction: column-reverse; gap: 8px; }
.brk { position: relative; padding: 8px 8px 8px 14px; font-size: 12.5px; line-height: 1.3; border-radius: 0 10px 10px 0; }
.brk b { display: block; font: 700 10.5px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.brk::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; }
.brk-kit { color: #d9f6ff; background: rgba(126,233,255,.08); }
.brk-kit::before { background: var(--cyan); }
.brk-kit b { color: var(--cyan); }
.brk-you { color: #efe9ff; background: rgba(200,177,255,.08); flex: 1; }
.brk-you::before { background: var(--lilac); }
.brk-you b { color: var(--lilac); }

/* quiet three (2026-11-10 pick): one focal item per panel, sentence-case labels */
.story .panel-tag, .story .ill, .story .goal-label, .story .arrow span, .story .brk b, .story .chart .k, .story .nc-k {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none;
}
.story .arrow span { font-size: 12px; }
.big .k { font-size: 14px; color: var(--mute); }
.big .v { font: 700 56px/1 var(--display); color: #fff; margin-top: 4px; }
.p-blind .chart { flex: 1; display: flex; flex-direction: column; }
.p-blind .chart svg { flex: 1; min-height: 90px; }
.one-line { font-size: 15px; color: #dfe3e8; }
.one-line b { color: #fff; }
.p-kit .next-card { max-width: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; padding: 8px 4px; border-bottom: 1px solid rgba(60,67,78,.25); }
.ticks .tick { width: 18px; height: 18px; }
.p-kit .no-num { margin-top: auto; }

/* where-this-goes: tablet and phone stack with down arrows */
@media (max-width: 960px) {
  .story-row { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .arrow { height: 84px; }
  .arrow::before { left: 50%; right: auto; top: 6px; bottom: 16px; width: 24px; height: auto; transform: translateX(-50%); background: var(--dot) center top / 24px 22px repeat-y; }
  .arrow::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%); border: 11px solid transparent; border-top: 15px solid #e7eaee; border-bottom: 0; }
  .arrow span { margin: 0 0 0 150px; max-width: none; white-space: nowrap; }
}
@media (max-width: 760px) {
  .story { padding: 56px var(--gut) 60px; }
  .panel h3 { font-size: 22px; }
  .panel-body { padding: 14px 12px; }
  .arrow span { margin-left: 140px; }
  .ladder { grid-template-columns: minmax(0, 1fr) 104px; }
}
@media (max-width: 360px) {
  .arrow span { margin-left: 120px; font-size: 10px; }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .brackets { flex-direction: column; margin-top: 10px; }
}

.honest {
  max-width: 760px; margin: 40px auto 0; text-align: center;
  font-size: 18px; font-weight: 500; color: #e6eaf0;
  padding: 16px 22px; border-radius: 14px; background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4);
}
.again { max-width: 760px; margin: 14px auto 0; text-align: center; font-size: 16px; color: #c9d1dc; }

/* ---------- HOW IT STARTS ---------- */
.starts { padding: 90px var(--gut) 40px; }
.starts .sec-head { margin-bottom: 28px; }
.mini-route {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px;
}
.mini-route li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-route li:not(:last-child)::after { /* trail to the next stop */
  content: ""; position: absolute; right: -50px; bottom: 26px; width: 44px; height: 24px;
  background: var(--dot) left center / 22px 24px repeat-x; filter: drop-shadow(0 0 4px rgba(126,233,255,.5));
}
.mini-route .num { position: relative; z-index: 3; margin-bottom: -12px; }
.mini-route p {
  position: relative; z-index: 2; width: 100%; min-height: 86px; display: grid; place-items: center;
  padding: 22px 16px 16px; border-radius: 14px; margin-bottom: -6px;
  font-size: 17.5px; font-weight: 500; line-height: 1.35;
  background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4), 0 12px 22px rgba(0,0,0,.35);
}
.mini-route svg { display: block; width: 86%; height: 50px; }
.starts-note { text-align: center; margin-top: 24px; color: var(--mute); font-size: 17px; }

/* ---------- PRICE: the shop stall ---------- */
.stall-wrap { padding: 100px var(--gut) 70px; }
.stall { max-width: 1060px; margin: 0 auto; position: relative; z-index: 2; }
.awning {
  position: relative; height: 66px; border-radius: 18px 18px 0 0;
  background: var(--brush), repeating-linear-gradient(90deg, #d9dde3 0 64px, #262c35 64px 128px);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.5);
}
.awning::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 18px 18px 0 0; background: var(--foil); }
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px;
  background:
    radial-gradient(circle at 32px 0, #d9dde3 0 31px, transparent 32px) 0 0 / 128px 24px repeat-x,
    radial-gradient(circle at 32px 0, #262c35 0 31px, transparent 32px) 64px 0 / 128px 24px repeat-x;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.4));
}
.stall-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px;
  padding: 54px 34px 32px;
  background: var(--g2);
  border-left: 14px solid #b9c0c9; border-right: 14px solid #b9c0c9;
  border-image: linear-gradient(180deg, #eef0f3, #9aa1ab) 1;
}
.counter { display: flex; flex-direction: column; align-items: center; }
.counter-box { width: 198px; /* natural 220px at 90% */ margin-bottom: -22px; position: relative; z-index: 1; filter: drop-shadow(0 16px 16px rgba(0,0,0,.55)); }
.tag-plate {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 34px 24px 24px; border-radius: 20px; color: var(--steel-ink);
  background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 8px 0 #4e5561, 0 22px 36px rgba(0,0,0,.5);
}
.pt-name { font-size: 19px; font-weight: 600; color: var(--steel-mute); }
.pt-price { font: 700 58px/1 var(--display); letter-spacing: -.02em; }
.pt-price .cur { font-size: 22px; vertical-align: 24px; margin-right: 4px; color: var(--steel-mute); }
.pt-price .once { display: block; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--steel-mute); margin-top: 6px; }
.pt-note { font: 600 13px/1.4 var(--mono); color: #6b4a00; background: #ffe7b0; padding: 6px 10px; border-radius: 8px; }
.tag-plate .btn { width: 100%; margin-top: 6px; }
.pt-status { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #5a4300; margin-top: 4px; }
.pt-status .dot { background: #c98a00; }
.shelves { display: grid; gap: 14px; align-content: start; }
.shelf { padding: 18px 20px; border-radius: 16px; background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4); }
.shelf h3 { font-size: 20px; margin-bottom: 10px; }
.shelf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shelf li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.35; }
.shelf-in li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%230f1115' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.opt { display: inline-block; margin-left: 6px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lilac); padding: 4px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(200,177,255,.5); vertical-align: 2px; }
.shelf p { font-size: 16.5px; color: #d9dee6; }
.shelf-out { background: transparent; box-shadow: inset 0 0 0 1.5px #3a414e; }
.stall-legs { display: flex; justify-content: space-between; height: 46px; padding: 0 0; }
.stall-legs i { width: 14px; background: linear-gradient(90deg, #eef0f3, #8b929d); }
.stall-ground { display: block; max-width: 1180px; width: 100%; margin: -10px auto 0; height: clamp(70px, 10vw, 130px); }

/* ---------- FAQ: hanging signs ---------- */
.faq { padding: 30px var(--gut) 90px; max-width: 1180px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 22px; }
.beam {
  height: 18px; border-radius: 9px; margin: 0 2%;
  background: var(--silver);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 10px 20px rgba(0,0,0,.45);
  position: relative; z-index: 2;
}
.beam::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -3px; height: 2px; border-radius: 2px; background: var(--foil); }
.signs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; align-items: start;
  margin: -9px 4% 0; padding-top: 65px;
  clip-path: inset(0 -80px -80px -80px); /* chains start at the beam */
}
.hang summary {
  position: relative; list-style: none; cursor: pointer;
  display: flex; align-items: center; min-height: 64px;
  padding: 16px 58px 16px 20px; border-radius: 16px;
  font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--steel-ink);
  background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 6px 0 #4e5561, 0 14px 24px rgba(0,0,0,.4);
}
.hang summary::-webkit-details-marker { display: none; }
.hang summary::before { /* two chains up to the beam */
  content: ""; position: absolute; left: 22%; right: 22%; top: -1600px; height: 1600px; z-index: -1;
  background:
    repeating-linear-gradient(180deg, #d9dde3 0 7px, #5b626d 7px 10px) left top / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, #d9dde3 0 7px, #5b626d 7px 10px) right top / 5px 100% no-repeat;
}
.hang summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 600 22px/1 var(--display); color: #fff; background: var(--steel-ink);
}
.hang[open] summary { border-radius: 16px 16px 0 0; box-shadow: inset 0 2px 0 #fff, 0 0 0 1px #6c7380; }
.hang[open] summary::after { content: "\2212"; }
.hang summary:focus-visible { outline-offset: 4px; }
.hang p {
  padding: 18px 20px 20px; border-radius: 0 0 16px 16px; font-size: 17px; color: #dfe4ec;
  background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4), 0 14px 24px rgba(0,0,0,.35);
}

/* ---------- FOOTER ---------- */
.foot-ground { height: 46px; background: linear-gradient(180deg, #a8ec74 0 10px, #5bbf3e 10px 22px, #ffd3f2 22px 24px, transparent 24px), var(--silver); }
.foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 26px max(var(--gut), calc((100% - 1200px) / 2)) 34px;
  background: var(--g0); color: #d6dbe3; font-size: 15.5px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.foot-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  font-weight: 600; text-decoration: none; color: var(--ink); background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4);
}
.foot-links a:hover { color: var(--cyan); }

/* ---------- GAME WIKI: the second brain (brain map) ---------- */
.wiki { position: relative; padding: 100px var(--gut) 30px; max-width: 1228px; margin: 0 auto; }
.map {
  position: relative; max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 60px; padding: 8px 0;
}
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.map-lines line { stroke: #dfe3e8; stroke-width: 3; stroke-dasharray: 0 12; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(126,233,255,.6)); }
.node {
  position: relative; z-index: 1; align-self: center; min-width: 0;
  padding: 14px 16px; border-radius: 16px; background: var(--g3); box-shadow: inset 0 0 0 1px var(--g4), 0 12px 24px rgba(0,0,0,.35);
}
.node .nk { font: 700 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.node h3 { font-size: 18px; margin-top: 4px; }
.node p { font-size: 14.5px; line-height: 1.4; color: #cfd6df; margin-top: 4px; }
.src {
  display: inline-block; margin-right: 4px; vertical-align: 1px;
  font: 700 10.5px/1 var(--mono); letter-spacing: .04em; padding: 4px 6px; border-radius: 5px;
  color: #3b2d6b; background: #e6ddff; box-shadow: inset 0 0 0 1px #b8a6f0;
}
.node-core {
  grid-area: 2 / 2; text-align: center; padding: 20px 18px; color: var(--steel-ink);
  background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 0 50px rgba(126,233,255,.3), 0 18px 30px rgba(0,0,0,.5);
}
.node-core::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--foil); }
.node-core h3 { font-size: 24px; }
.node-core p { color: var(--steel-mute); font-size: 15px; }
.node-core .ex { margin-top: 8px; }
.node-ai { grid-area: 3 / 2; text-align: center; background: #1b2230; box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 26px rgba(126,233,255,.25); }
.node-ai .read { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: #dcf2d3; color: #1e4d17; }
.wk-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wk-points li { position: relative; padding: 16px 18px 16px 62px; border-radius: 16px; background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4); }
.wk-points h3 { font-size: 19px; }
.wk-points p { margin-top: 4px; font-size: 16px; color: #d3d9e2; line-height: 1.45; }
.wk-points .ico {
  position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; color: var(--steel-ink); background: var(--silver); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #6c7380;
}
.wk-points .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wk-keep { max-width: 900px; margin: 28px auto 0; text-align: center; font-size: 16.5px; color: var(--mute); }
.wk-keep strong { color: var(--ink); font-weight: 600; }

/* ---------- TIME AND MONEY: one worked example (no calculator) ---------- */
.cost { position: relative; padding: 90px var(--gut) 10px; max-width: 1228px; margin: 0 auto; }
.cost-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cost-card {
  position: relative; padding: 22px; border-radius: 22px;
  background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4), 0 22px 40px rgba(0,0,0,.4);
}
.cost-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: var(--foil); }
.cost-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: #e6eaf0; }
.cost-cols { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; margin-top: 18px; }
.cost-col { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; border-radius: 16px; min-width: 0; }
.cost-col h3 { font-size: 17px; line-height: 1.25; }
.cost-math { font: 500 13.5px/1.35 var(--mono); }
.cost-total { margin-top: auto; padding-top: 8px; font: 700 40px/1 var(--display); letter-spacing: -.02em; }
.cost-hire { color: #e1e5eb; background: repeating-linear-gradient(135deg, #2b313b 0 10px, #262b34 10px 20px); box-shadow: inset 0 0 0 1px #4a5262; }
.cost-hire .cost-math { color: var(--mute); }
.cost-kit {
  color: var(--steel-ink); background: var(--silver);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 0 26px rgba(126,233,255,.25);
}
.cost-kit .cost-math { color: var(--steel-mute); }
.cost-vs { align-self: center; font: 700 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.cost-diff {
  margin-top: 16px; padding: 12px 16px; border-radius: 14px; text-align: center;
  font-size: 22px; font-weight: 600; color: var(--steel-ink); background: var(--foil);
}
.cost-even { margin-top: 12px; text-align: center; font-size: 16.5px; color: #d3d9e2; }

.tcmp { border-radius: 22px; overflow: hidden; background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4), 0 22px 40px rgba(0,0,0,.4); }
.tcmp-title { padding: 16px 16px 14px; font-size: 19px; }
.tcmp-h, .trow { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr); }
.tcmp-h p { padding: 11px 14px; font: 700 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tcmp-h p:nth-child(1) { color: var(--mute); background: #1b1f26; }
.tcmp-h p:nth-child(2) { color: #e1e5eb; background: #2a303a; }
.tcmp-h p:nth-child(3) { color: var(--steel-ink); background: var(--silver); }
.trow > * { padding: 13px 14px; font-size: 15px; line-height: 1.4; }
.trow + .trow > * { border-top: 1px solid var(--g4); }
.trow .tk { font-weight: 600; color: #fff; background: #1b1f26; }
.trow .wo { color: #c3cad4; }
.trow .wi { background: rgba(126,233,255,.06); box-shadow: inset 1px 0 0 var(--g4); }
.tcmp-foot { padding: 12px 16px; font-size: 13.5px; color: var(--mute); border-top: 1px solid var(--g4); }
.refs { margin-top: 22px; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px #3a414e; font-size: 15px; color: #d3d9e2; }
.refs p + p { margin-top: 8px; }
.refs a { color: var(--cyan); overflow-wrap: anywhere; }
.refs .unoff { color: var(--warn); }
.fine { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fine li { padding: 12px 14px; border-radius: 12px; background: var(--g2); box-shadow: inset 0 0 0 1px var(--g4); font-size: 15px; line-height: 1.4; color: #d9dee6; }

@media (max-width: 960px) {
  .wk-points { grid-template-columns: 1fr 1fr; }
  .cost-grid, .fine { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wiki { padding-top: 70px; }
  .map { grid-template-columns: 1fr 1fr; gap: 12px; }
  .map-lines { display: none; }
  .node-core { grid-area: auto; grid-column: 1 / -1; order: -2; }
  .node-ai { grid-area: auto; grid-column: 1 / -1; order: -1; }
  .map .node:last-child { grid-column: 1 / -1; }
  .node { padding: 12px; }
  .node h3 { font-size: 16.5px; }
  .node p { font-size: 13.5px; }
  .wk-points { grid-template-columns: 1fr; margin-top: 24px; }
  .cost { padding-top: 70px; }
  .cost-card { padding: 18px 14px; }
  .cost-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cost-vs { display: none; }
  .cost-col { padding: 14px 12px 14px; }
  .cost-col h3 { font-size: 15.5px; }
  .cost-total { font-size: 32px; }
  .cost-diff { font-size: 19px; }
  .tcmp-h { display: none; }
  .trow { grid-template-columns: 1fr; }
  .trow > * { padding: 10px 14px; }
  .trow .tk { padding-top: 14px; }
  .trow .wo, .trow .wi { border-top: 0 !important; }
  .trow .wo { padding-bottom: 6px; }
  .trow .wi { box-shadow: inset 3px 0 0 var(--cyan); margin: 0 14px 12px; padding: 10px 12px; border-radius: 0 10px 10px 0; }
  .trow .wo::before, .trow .wi::before { display: block; font: 700 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
  .trow .wo::before { content: "Without the kit"; color: var(--mute); }
  .trow .wi::before { content: "With the kit"; color: var(--cyan); }
}
@media (max-width: 360px) {
  .map { grid-template-columns: 1fr; }
  .cost-cols { grid-template-columns: 1fr; }
}

/* ---------- SIGNATURE: one coin travels the trail as you scroll ---------- */
/* The coin is the only thing that moves on its own. It moves with `translate`
   in container units, so the browser does not redo layout on each frame. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .stop, .hop { view-timeline-name: --seg; view-timeline-axis: block; }
    .track, .hop { container-type: size; }
    .track .coin, .hop .coin {
      animation-timing-function: linear;
      animation-fill-mode: none;
      animation-duration: 1ms; /* needed by some engines; the timeline drives it */
      animation-timeline: --seg;
      animation-range: cover 50vh cover calc(100% - 50vh);
    }
    .track .coin { left: 0; animation-name: track-run; }
    .hop .coin { left: 0; top: 0; animation-name: hop-out; }
    .hop-in .coin { left: 50%; top: 0; animation-name: track-down; }
  }
}
@keyframes track-run { from { translate: 0 0; opacity: 1; } to { translate: 100cqw 0; opacity: 1; } }
@keyframes track-down { from { translate: 0 0; opacity: 1; } to { translate: 0 100cqh; opacity: 1; } }
@keyframes hop-out {
  0% { translate: 74cqw 0cqh; opacity: 1; }
  12.5% { translate: 72.97cqw 17.83cqh; opacity: 1; }
  25% { translate: 70.25cqw 31.09cqh; opacity: 1; }
  37.5% { translate: 66.41cqw 41.31cqh; opacity: 1; }
  50% { translate: 62cqw 50cqh; opacity: 1; }
  62.5% { translate: 57.59cqw 58.69cqh; opacity: 1; }
  75% { translate: 53.75cqw 68.91cqh; opacity: 1; }
  87.5% { translate: 51.03cqw 82.17cqh; opacity: 1; }
  100% { translate: 50cqw 100cqh; opacity: 1; }
}

/* short fade-in, no slide (motion.js adds .rise only to things below the fold) */
.rise { opacity: 0; }
.rise.in { opacity: 1; transition: opacity 200ms cubic-bezier(.23, 1, .32, 1); }

/* ---------- TABLET ---------- */
@media (max-width: 1180px) {
  .hero-stage { gap: 0 44px; }
  .hero-box { width: 290px; }

  .pair { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.1fr); }
}

@media (max-width: 960px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); gap: 30px; min-height: 0; }
  .hero-copy { max-width: 620px; }
  .hero-window { min-height: 400px; margin-left: 60px; margin-bottom: 40px; }
  .stall-body { grid-template-columns: 1fr; }
}

/* ---------- PHONE: the route runs straight down ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 16.5px; }
  .topbar .chip-status { margin-left: 0; }
  .crumb { order: 3; width: 100%; }

  .hero { padding-top: 12px; }
  /* phone: one clean stack. Sign, toolbox in the world portal, headline, silver price tag. */
  .hero-stage {
    display: flex; flex-direction: column; align-items: center; gap: 0;
    min-height: 0; margin-top: 12px; padding: 0 16px 18px; border-radius: 26px; overflow: hidden;
    background:
      radial-gradient(220px 420px at 50% 0%, rgba(214, 236, 255, .16), transparent 75%),
      radial-gradient(500px 300px at 50% 46%, rgba(126,233,255,.08), transparent 70%),
      linear-gradient(180deg, #161b25, #0f1115 70%);
    box-shadow: inset 0 0 0 1px var(--g4), 0 24px 48px rgba(0,0,0,.4);
  }
  .hero-stage::before { /* the rail the sign hangs from */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 2;
    background: var(--foil) left bottom / 100% 2px no-repeat, var(--silver);
    box-shadow: 0 6px 14px rgba(0,0,0,.45);
  }
  .hero-copy { display: contents; }
  .hero-lockup { order: 1; position: relative; z-index: 3; width: min(300px, 88%); margin: 0; padding: 30px 0 0; text-align: center; }
  .hero-lockup::before { /* two chains */
    content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 34px;
    background:
      repeating-linear-gradient(180deg, #d9dde3 0 7px, #5b626d 7px 10px) left top / 5px 100% no-repeat,
      repeating-linear-gradient(180deg, #d9dde3 0 7px, #5b626d 7px 10px) right top / 5px 100% no-repeat;
  }
  .hero-lockup::after { display: none; }
  .lockup-face {
    position: relative; padding: 8px; border-radius: 16px; background: var(--silver);
    box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.22), 0 0 0 1px #6c7380, 0 6px 0 #4e5561, 0 18px 30px rgba(0,0,0,.5);
  }
  .lockup-face img {
    max-width: none; margin: 0; padding: 8px 10px 6px; border-radius: 10px; filter: none;
    background: radial-gradient(120% 90% at 50% 0%, rgba(126,233,255,.16), transparent 60%), linear-gradient(180deg, #1d2430, #11151b);
    box-shadow: inset 0 0 0 1px #000, inset 0 2px 10px rgba(0,0,0,.6);
  }
  .hero-lockup .unoff { margin-top: 12px; font-size: 10.5px; letter-spacing: .08em; }
  .hero-lockup .kitname { display: none; }
  .hero-window { order: 2; position: relative; width: 100%; min-height: 0; margin: 12px 0 0; display: flex; flex-direction: column; align-items: center; }
  .hero-glass { inset: auto; left: 50%; top: 0; transform: translateX(-50%); width: 250px; aspect-ratio: 1; border-radius: 50%; padding: 6px; box-shadow: 0 0 0 1px #6c7380, 0 0 50px rgba(126,233,255,.18); }
  .hero-glass::after { inset: 4px; border-radius: 50%; }
  .hero-glass img { border-radius: 50%; object-position: 74% 40%; }
  .hero-box { order: 1; position: relative; left: auto; bottom: auto; width: 210px; margin-top: 26px; }
  .hero-ledge { order: 2; position: relative; left: auto; bottom: auto; width: 100%; max-width: 300px; height: 56px; margin-top: -12px; z-index: 1; }
  .hero h1 { order: 3; width: 100%; margin-top: 22px; font-size: clamp(28px, 8.2vw, 34px); }
  .hero-sub { order: 4; width: 100%; font-size: 16.5px; }
  .hero-offer {
    order: 5; width: 100%; margin-top: 20px; padding: 20px 16px 16px; border-radius: 18px; text-align: center; color: var(--steel-ink);
    background: var(--silver);
    box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px #6c7380, 0 6px 0 #4e5561, 0 18px 30px rgba(0,0,0,.45);
  }
  .hero-offer .pricebar { flex-direction: column; justify-content: center; gap: 10px; margin-top: 0; }
  .hero-offer .price { font-size: 44px; color: var(--steel-ink); }
  .hero-offer .price .cur, .hero-offer .price .once { color: var(--steel-mute); }
  .hero-offer .terms { padding: 6px 10px; border: 0; border-radius: 8px; font-weight: 600; font-size: 12.5px; color: #6b4a00; background: #ffe7b0; }
  .hero-offer .actions { margin-top: 14px; }
  .hero-offer .btn { width: 100%; }
  .btn { font-size: 16px; padding: 10px 16px; }

  .ba { padding-top: 64px; }
  .sec-head { margin-bottom: 26px; }
  .sec-head p:not(.kicker) { font-size: 17px; }
  .hop { height: 66px; }
  .hop svg { display: none; }
  .hop::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 24px; transform: translateX(-50%); background: var(--dot) center top / 24px 22px repeat-y; filter: drop-shadow(0 0 4px rgba(126,233,255,.5)); }
  .stop-name { margin-bottom: 18px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .before .cap { margin: 0; }
  .cap { font-size: 17px; padding: 14px 16px 16px; }
  .scene { min-height: 0; padding: 22px 4% 0; }
  .track { align-self: center; justify-self: center; width: 24px; height: 72px; margin: 6px 0 18px; background: var(--dot) center top / 24px 22px repeat-y; }
  .track::after { right: auto; left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); border: 11px solid transparent; border-top: 15px solid #e7eaee; border-bottom: 0; }
  .track .coin { left: 50%; }
  .before .isl { height: 54px; width: 80%; }
  .isl { height: 64px; }
  .notes { height: 172px; }
  .n { font-size: 14.5px; }
  .look { grid-template-columns: 112px minmax(0, 1fr); }

  .honest { font-size: 17px; margin-top: 18px; }

  .starts { padding-top: 70px; }
  .mini-route { grid-template-columns: 1fr; gap: 26px; max-width: 420px; }
  .mini-route li:not(:last-child)::after { right: auto; left: 50%; bottom: -32px; width: 24px; height: 36px; transform: translateX(-50%); background: var(--dot) center top / 24px 22px repeat-y; }
  .mini-route p { min-height: 0; }
  .mini-route svg { height: 40px; width: 70%; }

  .stall-wrap { padding: 80px var(--gut) 56px; }
  .awning { height: 48px; background: var(--brush), repeating-linear-gradient(90deg, #d9dde3 0 40px, #262c35 40px 80px); }
  .awning::after {
    height: 16px;
    background:
      radial-gradient(circle at 20px 0, #d9dde3 0 19px, transparent 20px) 0 0 / 80px 16px repeat-x,
      radial-gradient(circle at 20px 0, #262c35 0 19px, transparent 20px) 40px 0 / 80px 16px repeat-x;
  }
  .stall-body { padding: 40px 14px 18px; border-left-width: 8px; border-right-width: 8px; gap: 18px; }
  .counter-box { width: 162px; }
  .pt-price { font-size: 50px; }
  .tag-plate { padding: 30px 16px 20px; }
  .shelf { padding: 16px; }
  .stall-legs { height: 34px; padding: 0 4px; }

  .faq { padding-bottom: 70px; }
  .signs { grid-template-columns: 1fr; margin: -9px 2% 0; padding-top: 55px; row-gap: 46px; }
  .hang summary { font-size: 17.5px; }
  .hang p { font-size: 16.5px; }

  .foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .look { grid-template-columns: 96px minmax(0, 1fr); }
  .chips span { font-size: 14px; padding: 6px 10px; }
  .chips-one span { min-width: 88px; }
  .pt-price { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .rise.in { transition: none; }
  .rise { opacity: 1; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .track .coin, .hop .coin { left: 50%; top: 0; animation-name: track-down; }
  }
}
