/* Noodle Hide & Paint marketing site: the "Wet Paint" look.
   Primer background with soft paint pools, paper sheets, paint-dab buttons (wet highlight, drop shadow, squish on
   press), Lilita One display + Quicksand body, all self-hosted. No third-party requests. Asset URLs carry ?v=<hash>
   (tools/site_hash.sh). Art that has not landed yet sits on a CSS fallback: a tiny inline script marks failed <img>s
   with .gone so the drawn stand-in shows. */

@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/lilita-one-latin-400-normal.woff2?v=d2575d4f) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/lilita-one-latin-ext-400-normal.woff2?v=f40903e4) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/quicksand-latin-500-normal.woff2?v=eb8add2e) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/quicksand-latin-ext-500-normal.woff2?v=cf46cf70) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/quicksand-latin-700-normal.woff2?v=00bfba44) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/quicksand-latin-ext-700-normal.woff2?v=7add3c83) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --primer: #F7F2E7; --paper: #FFFBF2; --teal: #14B8A6; --teal-d: #0E9385; --teal-s: #D7F3EE;
  --yolk: #FFC93C; --yolk-d: #E3AB1D; --yolk-s: #FFF0C2; --ink: #1F2A44; --ink-2: #4B5571; --ink-3: #7A829A;
  --lav: #B59CFF; --lav-s: #ECE5FF; --blush: #FF8FA3; --blush-s: #FFE1E7; --hoot: #8A5A3B; --amber: #FFB547;
  --display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Quicksand', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --r: 26px; --r-sm: 16px;
  --shadow: 0 14px 34px -18px rgba(31, 42, 68, .45), 0 2px 0 rgba(31, 42, 68, .06);
  --dab: 30px 34px 28px 32px / 32px 28px 34px 30px;
}
* { box-sizing: border-box; }
svg[hidden] { display: none !important; }
html { background: var(--primer); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 500 1.06rem/1.6 var(--body); overflow-x: hidden; background: var(--primer); }
img { max-width: 100%; height: auto; display: block; }
img.gone { visibility: hidden; }
a { color: var(--teal-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: .005em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
h3 { font-size: 1.42rem; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
code { font: 700 .92em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--teal-s); padding: .15em .4em; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -70px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { margin: 0 0 .4em; font: 700 .86rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); }
.lead { font-size: 1.18rem; color: var(--ink-2); }
.center { text-align: center; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- paint pools (background splats) ---------- */
.pools { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pools i { position: absolute; display: block; border-radius: 44% 56% 52% 48% / 52% 42% 58% 48%; opacity: .55; }
.pools i::after { content: ""; position: absolute; left: 62%; top: 86%; width: 18%; height: 22%; border-radius: 50%; background: inherit; }
.pools .p1 { width: 420px; height: 340px; left: -140px; top: -80px; background: var(--teal-s); transform: rotate(-14deg); }
.pools .p2 { width: 380px; height: 300px; right: -120px; top: 12%; background: var(--yolk-s); transform: rotate(22deg); }
.pools .p3 { width: 340px; height: 280px; left: 8%; bottom: -120px; background: var(--lav-s); transform: rotate(8deg); }
.pools .p4 { width: 260px; height: 220px; right: 10%; bottom: -60px; background: var(--blush-s); transform: rotate(-30deg); }
.pools .p5 { width: 180px; height: 150px; left: 44%; top: -40px; background: var(--yolk-s); transform: rotate(40deg); opacity: .4; }

/* ---------- paint-dab buttons ---------- */
.btn { --face: var(--teal); --face-d: var(--teal-d); --on: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px;
  padding: .62em 1.5em; border: 0; border-radius: var(--dab); background: var(--face); color: var(--on);
  font: 400 1.14rem/1.05 var(--display); text-decoration: none; cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 5px 0 var(--face-d), 0 14px 22px -12px rgba(31, 42, 68, .5);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.btn::before { content: ""; position: absolute; z-index: 1; left: 10%; top: 8%; width: 42%; height: 34%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.btn::after { content: ""; position: absolute; z-index: 1; right: 7%; bottom: -9px; width: 12px; height: 14px; border-radius: 40% 40% 50% 50% / 30% 30% 70% 70%;
  background: var(--face-d); opacity: .9; }
.btn:hover { color: var(--on); filter: brightness(1.04) saturate(1.05); }
.btn:active, .btn.is-down { transform: translateY(4px) scale(1.03, .94); box-shadow: 0 1px 0 var(--face-d), 0 6px 12px -8px rgba(31, 42, 68, .5); }
.btn small { display: block; font: 700 .76rem/1.15 var(--body); opacity: .9; margin-top: 3px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-lg { min-height: 64px; font-size: 1.4rem; padding-inline: 1.7em; }
.btn-sm { min-height: 44px; font-size: 1rem; padding: .5em 1.05em; }
.btn-sm::after { width: 9px; height: 11px; bottom: -7px; }
.t-yolk { --face: var(--yolk); --face-d: var(--yolk-d); --on: var(--ink); }
.t-lav { --face: var(--lav); --face-d: #8F74E6; --on: var(--ink); }
.t-blush { --face: var(--blush); --face-d: #E86E86; --on: var(--ink); }
.t-paper { --face: var(--paper); --face-d: #E3DCC9; --on: var(--ink); }
.t-ghost { --face: transparent; --face-d: transparent; --on: var(--ink); box-shadow: inset 0 0 0 3px rgba(31, 42, 68, .18); }
.t-ghost::before, .t-ghost::after { display: none; }
.t-ghost:active { box-shadow: inset 0 0 0 3px rgba(31, 42, 68, .3); }
.btn[aria-disabled="true"] { cursor: default; opacity: .7; filter: grayscale(.3); }
.btn[aria-disabled="true"]:active { transform: none; box-shadow: 0 5px 0 var(--face-d), 0 14px 22px -12px rgba(31, 42, 68, .5); }

/* Store badges ("coming soon" until there is a store URL) */
.store { display: inline-flex; align-items: center; gap: .65em; min-height: 56px; padding: .45em 1.15em .45em .85em; border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); border: 2px dashed rgba(31, 42, 68, .18); }
.store .ic { width: 1.8em; height: 1.8em; color: var(--ink-2); }
.store b { display: block; font: 400 1.08rem/1.1 var(--display); }
.store small { display: block; color: var(--ink-3); font-size: .78rem; line-height: 1.2; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- header / footer ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(247, 242, 231, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(31, 42, 68, .08); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 400 1.35rem/1 var(--display); }
.brand:hover { color: var(--ink); }
.brand-ic { position: relative; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; background: var(--teal); flex: none; box-shadow: 0 3px 0 var(--teal-d); }
.brand-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-ic .mini { position: absolute; left: 10px; top: 7px; width: 24px; height: 30px; }
.brand-ic img:not(.gone) + .mini { display: none; }
.bar nav { display: flex; align-items: center; gap: 2px; }
.bar nav a:not(.btn) { padding: 8px 11px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.bar nav a:not(.btn):hover { background: var(--teal-s); }
.bar nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .bar nav a:not(.btn):not(.keep) { display: none; } }
.foot { position: relative; padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--ink-2); font-size: .95rem; background: var(--paper); margin-top: 40px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 44px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.foot-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot nav a:hover { color: var(--teal-d); }
.foot p { margin: 0; }

/* ---------- Dabble, drawn in CSS (fallback for art that is still being painted) ---------- */
.drop { position: relative; width: 120px; height: 150px; filter: drop-shadow(0 0 2px rgba(20, 184, 166, .9)) drop-shadow(0 0 1px rgba(20, 184, 166, .9)) drop-shadow(0 12px 10px rgba(31, 42, 68, .18)); }
.drop .body { position: absolute; left: 0; right: 0; bottom: 14px; height: 74%; background: var(--primer); border-radius: 50% 50% 48% 52% / 44% 44% 56% 56%;
  box-shadow: inset -12px -14px 0 rgba(31, 42, 68, .05), inset 10px 12px 0 rgba(255, 255, 255, .75); }
.drop .tip { position: absolute; left: 50%; top: 2%; width: 40%; height: 40%; margin-left: -20%; background: var(--primer); border-radius: 100% 10% 60% 60% / 100% 10% 60% 60%; transform: rotate(45deg); }
.drop .eye { position: absolute; top: 44%; width: 22%; height: 24%; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff 0 22%, var(--teal) 24%); box-shadow: inset 0 -3px 0 rgba(14, 147, 133, .5); }
.drop .eye.l { left: 20%; } .drop .eye.r { right: 20%; }
.drop .ft { position: absolute; bottom: 0; width: 26%; height: 11%; border-radius: 50%; background: var(--teal); }
.drop .ft.l { left: 18%; } .drop .ft.r { right: 18%; }
.drop.painted .body, .drop.painted .tip { background: var(--paint, repeating-linear-gradient(90deg, #EAD6B7 0 14px, #F5E7D1 14px 28px)); }
.drop.painted .tip { background-position: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .drop.wobble { animation: wobble 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
  .drop.wobble .eye { animation: blink 4.6s ease-in-out infinite; }
}
@keyframes wobble { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.04, .95); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.logo { margin: 0 0 .2em; line-height: .92; }
.logo .l1 { display: block; font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; font-family: var(--body); font-weight: 700; margin-bottom: .3em; }
.logo .l2 { display: block; font-size: clamp(3.2rem, 8.6vw, 5.6rem); color: var(--teal); text-shadow: 0 4px 0 var(--teal-d), 0 10px 18px rgba(14, 147, 133, .25); }
.logo .l2 em { font-style: normal; color: var(--yolk); text-shadow: 0 4px 0 var(--yolk-d), 0 10px 18px rgba(227, 171, 29, .3); }
.tagline { font: 400 clamp(1.3rem, 3vw, 1.85rem)/1.2 var(--display); color: var(--ink); margin: 0 0 .5em; }
.tagline span { display: inline-block; }
.tagline .hi { color: var(--teal-d); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 22px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: .4em; padding: .38em .9em; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: .92rem; box-shadow: 0 2px 0 rgba(31, 42, 68, .08); }
.chips .ic { color: var(--teal-d); }
.hero-art { position: relative; justify-self: center; width: min(360px, 82vw); }
.canvas { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 10px var(--paper), 0 0 0 12px rgba(31, 42, 68, .08), 0 30px 50px -24px rgba(31, 42, 68, .55); transform: rotate(-2deg); }
.canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.canvas .scene { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #FFF3DA 0 62%, #E7B986 62% 65%, #B8784A 65% 68%, #FBEFD9 68%); }
.scene::before { content: ""; position: absolute; inset: 0 0 38%; background: repeating-linear-gradient(90deg, rgba(234, 214, 183, .9) 0 14px, rgba(255, 243, 218, 0) 14px 28px); }
.scene .jar { position: absolute; bottom: 36%; width: 20%; height: 20%; border-radius: 14% 14% 20% 20%; background: linear-gradient(180deg, #B59CFF 0 20%, #9b7fe8 20%); box-shadow: inset 6px 0 0 rgba(255, 255, 255, .35); }
.scene .jar.j2 { left: 8%; height: 16%; background: linear-gradient(180deg, #FF8FA3 0 22%, #e8768c 22%); }
.scene .jar.j1 { left: 32%; }
.scene .beam { position: absolute; right: -40%; top: 20%; width: 120%; height: 55%; background: radial-gradient(closest-side at 100% 50%, rgba(255, 181, 71, .55), rgba(255, 181, 71, 0)); clip-path: polygon(100% 35%, 0 0, 0 100%, 100% 65%); mix-blend-mode: multiply; }
.scene .hoot { position: absolute; right: 6%; bottom: 8%; width: 24%; aspect-ratio: 1 / 1.3; border-radius: 48% 48% 44% 44% / 56% 56% 44% 44%; background: var(--hoot); box-shadow: inset 0 -14px 0 rgba(0, 0, 0, .1); }
.scene .hoot::before, .scene .hoot::after { content: ""; position: absolute; top: 24%; width: 36%; height: 28%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--ink) 0 26%, #fff 28% 70%, var(--amber) 72%); }
.scene .hoot::before { left: 10%; } .scene .hoot::after { right: 10%; }
.scene .lamp { position: absolute; right: 29%; bottom: 20%; width: 9%; aspect-ratio: 1 / 1.4; border-radius: 30%; background: var(--amber); box-shadow: 0 0 24px 10px rgba(255, 181, 71, .55); }
.scene .drop { position: absolute; left: 58%; bottom: 36%; width: 20%; height: 25%; --paint: repeating-linear-gradient(90deg, #EAD6B7 0 7px, #FFF3DA 7px 14px); }
.scene .drop .eye { width: 24%; height: 20%; }
.hero-art .sticker { position: absolute; z-index: 3; right: -12px; top: 22px; padding: .5em .95em .42em; transform: rotate(8deg); border-radius: var(--dab);
  font: 400 1.05rem/1 var(--display); color: var(--ink); background: var(--yolk); box-shadow: 0 4px 0 var(--yolk-d), 0 10px 18px -10px rgba(31, 42, 68, .5); }
.hero-art .sticker.s2 { right: auto; left: -16px; top: auto; bottom: 30px; transform: rotate(-6deg); background: var(--lav); box-shadow: 0 4px 0 #8F74E6, 0 10px 18px -10px rgba(31, 42, 68, .5); }
.canvas img:not(.gone) ~ .scene { display: none; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .cta, .chips { justify-content: center; }
  .hero-art { order: -1; width: min(300px, 70vw); }
  .canvas { aspect-ratio: 4 / 5; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
.sec > .wrap { position: relative; z-index: 1; }
.wash { background: var(--paper); }
.wash::before, .wash::after { content: ""; position: absolute; left: -5%; right: -5%; height: 60px; background: inherit; z-index: 0; }
.wash::before { top: -30px; border-radius: 60% 40% 0 0 / 100% 100% 0 0; }
.wash::after { bottom: -30px; border-radius: 0 0 40% 60% / 0 0 100% 100%; }
.wash-teal { background: var(--teal-s); }
.wash-yolk { background: var(--yolk-s); }
.wash-lav { background: var(--lav-s); }
.sec-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.sec-head p { color: var(--ink-2); font-size: 1.12rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* Paper sheets */
.card { position: relative; padding: 28px 24px 24px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.tape { position: absolute; left: 50%; top: -16px; transform: translateX(-50%) rotate(-3deg); padding: .42em 1em .36em; border-radius: var(--dab);
  font: 400 .98rem/1 var(--display); color: var(--ink); background: var(--yolk); box-shadow: 0 3px 0 var(--yolk-d); white-space: nowrap; }
.tape.t-l { left: 28px; transform: rotate(-3deg); }
.tape.t-teal { background: var(--teal); color: #fff; box-shadow: 0 3px 0 var(--teal-d); }
.tape.t-lav { background: var(--lav); box-shadow: 0 3px 0 #8F74E6; }

/* How it works: five steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { position: relative; padding: 58px 18px 20px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--dab); background: var(--teal); color: #fff; font: 400 1.1rem/1 var(--display); box-shadow: 0 3px 0 var(--teal-d); }
.steps li:nth-child(2)::before { background: var(--yolk); color: var(--ink); box-shadow: 0 3px 0 var(--yolk-d); }
.steps li:nth-child(3)::before { background: var(--lav); color: var(--ink); box-shadow: 0 3px 0 #8F74E6; }
.steps li:nth-child(4)::before { background: var(--amber); color: var(--ink); box-shadow: 0 3px 0 #E39A2C; }
.steps li:nth-child(5)::before { background: var(--blush); color: var(--ink); box-shadow: 0 3px 0 #E86E86; }
.steps .ic { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; color: var(--ink-3); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } .steps li { padding-top: 56px; } }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }

/* Worlds */
.worlds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.worlds li { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.worlds .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--w, var(--teal-s)); }
.worlds .pic::before { content: ""; position: absolute; inset: 0; background: var(--wp, none); opacity: .7; }
.worlds .pic::after { content: ""; position: absolute; left: 50%; bottom: -36%; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50% 50% 48% 52% / 44% 44% 56% 56%; background: var(--primer); box-shadow: 0 0 0 2px var(--teal), 0 -8px 0 rgba(255, 255, 255, .5) inset; }
.worlds .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.worlds .num { position: absolute; z-index: 2; left: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--dab); background: var(--paper); color: var(--ink); font: 400 1.05rem/1 var(--display); box-shadow: 0 3px 0 rgba(31, 42, 68, .12); }
.worlds .txt { padding: 14px 16px 16px; }
.worlds h3 { font-size: 1.22rem; margin: 0 0 .2em; }
.worlds p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.worlds .seek { display: block; margin-top: .55em; font-size: .86rem; color: var(--teal-d); font-weight: 700; }
@media (max-width: 1000px) { .worlds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .worlds { grid-template-columns: 1fr 1fr; gap: 14px; } .worlds .txt { padding: 12px 14px 14px; } }
@media (max-width: 420px) { .worlds { grid-template-columns: 1fr; } }

/* Seekers */
.cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cast li { position: relative; padding: 18px 18px 20px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); text-align: center; }
.portrait { position: relative; width: 132px; height: 132px; margin: 0 auto 12px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--c2, var(--primer)) 0 46%, var(--c1, var(--teal)) 48%); box-shadow: inset 0 -10px 0 rgba(31, 42, 68, .1), 0 6px 0 rgba(31, 42, 68, .08); overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .eyes { position: absolute; left: 50%; top: 42%; width: 64%; height: 18%; transform: translateX(-50%); display: flex; justify-content: space-between; }
.portrait .eyes::before, .portrait .eyes::after { content: ""; width: 38%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 45% 42%, var(--ink) 0 34%, #fff 36%); }
.portrait img:not(.gone) + .eyes { display: none; }
.portrait.lg { width: 200px; height: 200px; }
.cast h3 { font-size: 1.25rem; margin: 0 0 .15em; }
.cast .world { display: block; margin: 0 0 .5em; font-size: .84rem; font-weight: 700; color: var(--teal-d); }
.cast p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
@media (max-width: 1000px) { .cast { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cast { grid-template-columns: 1fr 1fr; gap: 14px; } .portrait { width: 108px; height: 108px; } }
@media (max-width: 420px) { .cast { grid-template-columns: 1fr; } }

/* Modes */
.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.modes li { position: relative; padding: 20px 18px 18px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.modes .ic { width: 42px; height: 42px; margin-bottom: 10px; color: var(--teal-d); }
.modes li:nth-child(2) .ic { color: var(--yolk-d); } .modes li:nth-child(3) .ic { color: #E86E86; } .modes li:nth-child(4) .ic { color: #8F74E6; } .modes li:nth-child(5) .ic { color: #E39A2C; }
.modes h3 { font-size: 1.25rem; margin: 0 0 .3em; }
.modes p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.modes .pill { display: inline-block; margin-top: 10px; padding: .25em .7em; border-radius: 999px; background: var(--lav-s); color: var(--ink); font-size: .8rem; font-weight: 700; }
@media (max-width: 1000px) { .modes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .modes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .modes { grid-template-columns: 1fr; } }

/* Free and kid-safe */
.fair { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 18px; list-style: none; margin: 0; padding: 0; }
.fair li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px; background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.fair .ic { width: 30px; height: 30px; color: var(--teal); flex: none; margin-top: 2px; }
.fair b { display: block; font: 400 1.1rem/1.15 var(--display); margin-bottom: 3px; }
.fair span { color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
@media (max-width: 1000px) { .fair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fair { grid-template-columns: 1fr; } }

/* Studio + more games */
.studio-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px 30px 30px; margin-bottom: clamp(40px, 6vw, 64px); }
.studio-logo { position: relative; width: 160px; height: 160px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px var(--primer), 0 0 0 10px rgba(31, 42, 68, .08); overflow: hidden; }
.studio-logo img { width: 78%; height: auto; }
.studio-logo .wd { position: absolute; font: 400 2.6rem/1 var(--display); color: var(--ink); }
.studio-logo img:not(.gone) + .wd { display: none; }
.studio-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 680px) { .studio-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .studio-links { justify-content: center; } }
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mg { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 2px 0 rgba(31, 42, 68, .06); transition: transform .12s; }
.mg:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow); }
.mg-ic { position: relative; width: 56px; height: 56px; flex: none; border-radius: 16px; overflow: hidden; background: var(--teal-s); display: grid; place-items: center; font: 400 1.5rem/1 var(--display); color: var(--teal-d); }
.mg-ic::before { content: attr(data-l); position: absolute; }
.mg-ic img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.mg b { display: block; font: 400 1.04rem/1.15 var(--display); }
.mg small { display: block; color: var(--ink-3); font-size: .82rem; }
.mg.new b::after { content: "New"; margin-left: .5em; padding: .1em .5em .05em; border-radius: 999px; background: var(--yolk); color: var(--ink); font: 700 .68rem/1.3 var(--body); vertical-align: middle; }

/* ---------- document pages (privacy, support) and small centred pages (join, 404) ---------- */
.page { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.page .wrap { position: relative; z-index: 1; }
.doc { max-width: 800px; margin: 0 auto; padding: 40px clamp(22px, 5vw, 48px) 36px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc .eff { color: var(--ink-3); font-weight: 700; margin-top: -.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .45em; }
.doc details { border-radius: var(--r-sm); background: var(--primer); margin: 0 0 10px; }
.doc summary { cursor: pointer; padding: 14px 44px 14px 18px; font: 700 1.05rem/1.35 var(--body); position: relative; list-style: none; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--teal-d); border-bottom: 3px solid var(--teal-d); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.doc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.doc details > div { padding: 0 18px 6px; }
.doc details p:last-child { margin-bottom: 12px; }
.join { max-width: 560px; margin: 0 auto; text-align: center; padding-top: 36px; }
.join h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.join .label { margin: 10px 0 6px; font-weight: 700; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.join-code { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; }
.join-code span { width: 54px; height: 66px; display: grid; place-items: center; border-radius: var(--dab); background: var(--teal); color: #fff; font: 400 2rem/1 var(--display); box-shadow: 0 4px 0 var(--teal-d); }
.join-code span:nth-child(2n) { background: var(--yolk); color: var(--ink); box-shadow: 0 4px 0 var(--yolk-d); }
.join-code span:nth-child(3n) { background: var(--lav); color: var(--ink); box-shadow: 0 4px 0 #8F74E6; }
@media (max-width: 420px) { .join-code span { width: 44px; height: 56px; font-size: 1.6rem; } }
.join-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 16px; }
.join .hint { color: var(--ink-2); font-size: .95rem; margin: 0; }
#code-form { display: flex; justify-content: center; gap: 10px; margin: 12px 0 8px; }
#code-in { width: 11ch; padding: .5em .6em; border-radius: var(--r-sm); border: 3px solid var(--teal-s); background: #fff; color: var(--ink); font: 400 1.7rem/1 var(--display); letter-spacing: .25em; text-transform: uppercase; text-align: center; }
#code-in:focus { border-color: var(--teal); outline: none; }
.join .portrait { margin-bottom: 14px; }
