:root { color-scheme: dark; --bg: #120E1E; --bg-deep: #0B0814; --panel: #1D1631; --panel-2: #271D44; --ink: #F6F0FF; --muted: #C4BADB;
  --line: #3B2E5E; --candy: #FF9A3C; --eye: #FFC93C; --nv: #7DFFA0; --rec: #FF5468; --grape: #A98BFF; --link: #FFB866;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 400 1.0625rem/1.6 var(--round); overflow-wrap: break-word; }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 16px; }

/* header */
header { border-bottom: 2px solid var(--line); background: var(--bg-deep); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.35rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 800; padding: 4px 0; border-bottom: 3px solid transparent; }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--candy); }
nav a:hover { color: var(--ink); border-bottom-color: var(--eye); }

/* type */
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--nv); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 900; line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 4.6vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 58%, rgba(255,154,60,.55) 58%, rgba(255,154,60,.55) 92%, transparent 92%); padding: 0 .08em; }

/* buttons and badges */
.cta { display: inline-block; background: var(--candy); color: var(--bg-deep); font-weight: 900; text-decoration: none; padding: 14px 28px; border-radius: 999px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--candy), 0 10px 30px rgba(255,154,60,.28); }
.rec { display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--nv); border: 2px solid var(--nv); border-radius: 6px; padding: 6px 10px; margin: 0 0 22px; }
.rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* landing */
.hero { text-align: center; padding: 40px 0 20px; background: radial-gradient(ellipse at 50% 18%, rgba(169,139,255,.28), transparent 62%); }
.hero-logo { width: 144px; height: 144px; border-radius: 33px; border: 2px solid var(--line); box-shadow: 0 0 70px rgba(255,154,60,.32), 0 8px 0 var(--bg-deep); margin: 0 auto 24px; display: block; }
.hero .lead { font-size: 1.2rem; font-weight: 700; max-width: 36rem; margin: 0 auto 26px; color: var(--ink); }
.fine { font-size: .95rem; color: var(--muted); margin: 18px 0 0; }
.section-title { text-align: center; margin: 48px 0 20px; }
.section-lead { text-align: center; max-width: 36rem; margin: -6px auto 22px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 16px; }
.steps li { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; padding: 18px 18px 8px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--bg-deep); font-weight: 900; font-size: 1.2rem; margin-bottom: 10px; }
.n1 { background: var(--eye); } .n2 { background: var(--nv); } .n3 { background: var(--grape); } .n4 { background: var(--candy); }
.band { background: var(--panel-2); border: 2px solid var(--line); color: var(--ink); border-radius: 28px; padding: 36px 20px 30px; margin: 48px 0 0; text-align: center; }
.band h2 { color: var(--eye); font-size: clamp(1.7rem, 6.4vw, 2.4rem); margin-bottom: 10px; }
.band p { max-width: 34rem; margin: 0 auto 14px; color: var(--ink); font-weight: 700; }
.regulars { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 16px; margin: 20px 0 8px; }
.critter { margin: 0; background: var(--panel); border: 2px solid var(--line); border-radius: 22px; overflow: hidden; }
.critter img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; background: #B7AEA6; }
.critter div { padding: 14px 18px 4px; }
.scroll { overflow-x: auto; border-radius: 22px; border: 2px solid var(--line); background: #A89F97; -webkit-overflow-scrolling: touch; }
.scroll img { display: block; width: 100%; min-width: 640px; height: auto; }
.scroll:focus-visible { outline: 3px solid var(--nv); outline-offset: 3px; }
.hint { font-size: .9rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; margin: 20px 0 8px; }
.card { background: var(--panel); border: 2px solid var(--line); border-top-width: 8px; border-radius: 22px; padding: 16px 18px 6px; }
.card.candy { border-top-color: var(--candy); } .card.grape { border-top-color: var(--grape); }
.card.nv { border-top-color: var(--nv); } .card.eye { border-top-color: var(--eye); } .card.red { border-top-color: var(--rec); }
.closer { text-align: center; padding: 48px 0 20px; }

/* document pages */
.doc { max-width: 42rem; padding: 32px 16px 56px; margin: 0 auto; }
.doc h1 { margin-bottom: 8px; }
.doc section { border-top: 2px dashed var(--line); padding: 22px 0 6px; margin-top: 18px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.summary { background: var(--panel-2); border: 2px solid var(--line); border-radius: 22px; padding: 16px 20px 6px; margin: 20px 0 26px; }
.summary h2 { font-size: 1.3rem; }
.contact { background: var(--panel); border: 2px solid var(--line); border-radius: 22px; padding: 16px 20px 6px; margin: 18px 0 8px; }

/* footer */
footer { border-top: 2px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: .95rem; margin-top: 24px; background: var(--bg-deep); }
footer .wrap { display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { .rec::before { animation: none; } }
