/* DeskLayer site
   Palette: lavender paper, plum ink, magenta "layer" dashes (the app's edit-mode outline),
   sunshine download button. Type: Bricolage Grotesque headings, Atkinson Hyperlegible body. */

:root {
  --paper: #f1ecf8;
  --paper-2: #e7dff3;
  --white: #fffdfd;
  --ink: #2a1838;
  --ink-soft: #5f4f70;
  --line: #d4c8e4;
  --layer: #d63a92;       /* dashes, focus */
  --layer-ink: #b0206f;   /* link text: 5.1:1 on paper */
  --sun: #ffd54a;
  --sun-deep: #f2bf1d;
  --plum: #3b2150;
  --ok: #1f7a4d;
  --bad: #b3261e;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-code: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: 2.125rem;
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 4.1rem);

  --wrap: 1180px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--layer-ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px dashed var(--layer); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
code, kbd, pre { font-family: var(--f-code); font-size: .88em; }
code { background: var(--paper-2); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere; }
kbd {
  display: inline-block; padding: .05em .45em; border: 1px solid var(--line); border-bottom-width: 3px;
  border-radius: 6px; background: var(--white); font-size: .82em; line-height: 1.5; white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 700 var(--step-0)/1 var(--f-display); letter-spacing: .005em;
  padding: .8em 1.25em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-sun { background: var(--sun); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-sun:hover { color: var(--ink); background: #ffdf6e; transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn-sun:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #8f1d17; color: #fff; }
.btn-lg { font-size: var(--step-1); padding: .85em 1.4em; }
.btn-sm { font-size: var(--step--1); padding: .55em .95em; box-shadow: none; }
.btn-sun.btn-sm { box-shadow: 0 3px 0 var(--ink); }
.btn.is-disabled { opacity: .55; cursor: default; box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.3rem/1 var(--f-display); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav nav a:not(.btn):hover, .nav nav a[aria-current="page"] { text-decoration: underline dashed var(--layer); text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center;
}
.hero h1 { max-width: 13ch; }
.hero .lede { margin-bottom: 1.6em; }
.hero-note { color: var(--ink-soft); font-size: var(--step--1); margin-top: 1.2em; }
.dl { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl-meta { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.dl-compact { align-items: center; }

.stage { margin: 0; position: relative; }
.stage figcaption { margin-top: 18px; font-size: var(--step--1); color: var(--ink-soft); padding-left: 4px; }
.monitor {
  background: var(--ink); padding: 12px; border-radius: 20px;
  box-shadow: 0 30px 60px -28px rgba(42, 24, 56, .55);
  transform: rotate(-1.2deg);
}
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #9fc6ff; }
.game { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the floating layer — the one bold thing on the page */
.layer {
  position: absolute; inset: 7% 5% 9% 5%;
  border: 2.5px dashed var(--layer); border-radius: 12px;
  background: rgba(214, 58, 146, .07);
  transform: translate(14px, -14px);
  box-shadow: -14px 14px 0 -2px rgba(42, 24, 56, .10);
}
.layer-tag {
  position: absolute; top: -14px; right: 14px;
  background: var(--layer); color: #fff; font: 700 .8rem/1 var(--f-display);
  padding: 6px 10px; border-radius: 999px; letter-spacing: .01em;
}
.alert {
  position: absolute; left: 50%; top: 16%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #7c4dff, #e0439f); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(92, 26, 120, .6);
  transform: translate(-50%, 0);
  animation: pop 6s cubic-bezier(.2, 1.4, .4, 1) infinite;
}
.alert-paw { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); }
.alert-text { display: flex; flex-direction: column; line-height: 1.15; }
.alert-text strong { white-space: nowrap; font: 800 clamp(.95rem, .6rem + 1vw, 1.3rem)/1.1 var(--f-display); }
.alert-text small { font-size: .78rem; opacity: .9; }
@keyframes pop {
  0%, 6% { opacity: 0; transform: translate(-50%, -18px) scale(.85); }
  12%, 58% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  66%, 100% { opacity: 0; transform: translate(-50%, -10px) scale(.95); }
}
.goal {
  position: absolute; left: 4%; bottom: 7%; display: flex; align-items: center; gap: 8px;
  background: rgba(42, 24, 56, .78); color: #fff; font: 700 .72rem/1 var(--f-display);
  padding: 7px 10px; border-radius: 10px;
}
.goal-bar { width: 72px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 76%; background: var(--sun); border-radius: inherit; }
.chatbox {
  position: absolute; right: 3.5%; bottom: 7%; width: 34%;
  background: rgba(42, 24, 56, .74); color: #fff; border-radius: 10px;
  padding: 8px 10px; font-size: .7rem; line-height: 1.35;
}
.chatbox p { margin: 0 0 3px; } .chatbox p:last-child { margin: 0; }
.chatbox .n1 { color: #ff8fd0; } .chatbox .n2 { color: #8fd0ff; } .chatbox .n3 { color: var(--sun); }
.cursor { position: absolute; left: 62%; top: 64%; animation: clickthrough 6s ease-in-out infinite; }
.cursor::after {
  content: ""; position: absolute; left: -6px; top: -6px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #fff; opacity: 0; animation: ripple 6s ease-out infinite;
}
@keyframes clickthrough {
  0%, 100% { transform: translate(40px, 20px); }
  40%, 55% { transform: translate(0, 0); }
}
@keyframes ripple {
  0%, 50% { opacity: 0; transform: scale(.4); }
  52% { opacity: .9; transform: scale(.6); }
  64%, 100% { opacity: 0; transform: scale(2.2); }
}
.coins circle { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 50%, 100% { transform: none; } 55% { transform: translateY(-6px); } }

/* ---------- sections ---------- */
.band { background: var(--white); border-block: 1px solid var(--line); padding: 80px 0; }
.section-lede { color: var(--ink-soft); font-size: var(--step-1); max-width: 56ch; margin-bottom: 2.2em; }
.uses {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 2px dashed var(--line);
}
.uses li { padding: 22px 22px 24px 0; border-bottom: 2px dashed var(--line); }
.uses li:not(:nth-child(4n)) { border-right: 2px dashed var(--line); }
.uses li:not(:nth-child(4n+1)) { padding-left: 22px; }
.uses h3 { font-size: 1.15rem; margin-bottom: .35em; }
.uses p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.uses-more { margin: 26px 0 0; font-weight: 700; }

.steps-sec { padding: 88px 24px 40px; }
.steps { list-style: none; counter-reset: step; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font: 800 1.4rem/1 var(--f-display); color: var(--ink);
  border: 2.5px dashed var(--layer); background: var(--white);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -24px; border-top: 2.5px dashed var(--line);
}
.steps p { color: var(--ink-soft); margin: 0; }

.feats-sec { padding: 72px 24px 88px; }
.feats { margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 64px; }
.feats div { border-left: 3px solid var(--sun-deep); padding-left: 18px; }
.feats dt { font: 700 var(--step-1)/1.2 var(--f-display); margin-bottom: .3em; }
.feats dd { margin: 0; color: var(--ink-soft); max-width: 50ch; }

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font: 700 var(--step-1)/1.25 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--layer); border-bottom: 3px solid var(--layer);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 8px; }

.cta-end { text-align: center; padding: 96px 24px; }
.cta-end h2 { font-size: var(--step-4); }
.cta-end .dl { margin: 24px 0 18px; }

/* ---------- docs ---------- */
.docs { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-nav { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toc summary { display: none; }
.toc nav { display: flex; flex-direction: column; }
.toc-group { margin: 18px 0 6px; font: 700 .95rem/1.2 var(--f-display); color: var(--ink); }
.toc-group:first-child { margin-top: 4px; }
.toc nav a {
  color: var(--ink-soft); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); font-size: .96rem;
}
.toc nav a:hover { color: var(--ink); border-left-color: var(--ink-soft); }
.toc nav a.is-active { color: var(--ink); border-left: 2px dashed var(--layer); font-weight: 700; background: rgba(214, 58, 146, .06); }

.prose { max-width: 74ch; }
.prose h1 { font-size: var(--step-4); }
.prose > .lede { margin-bottom: 2em; }
.prose section { padding-top: 12px; margin-bottom: 44px; }
.prose h2 { font-size: var(--step-3); padding-top: 26px; border-top: 2px dashed var(--line); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--layer-ink); font-weight: 700; }
.prose pre {
  background: var(--plum); color: #f5ecff; padding: 16px 18px; border-radius: var(--r-md);
  overflow-x: auto; line-height: 1.55; margin: 0 0 1.2em; font-size: .9rem;
}
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.note { background: var(--white); border: 2px dashed var(--layer); border-radius: var(--r-md); padding: 14px 18px; margin: 0 0 1.2em; }
.note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-weight: 700; background: var(--paper-2); }
tbody tr:last-child td { border-bottom: 0; }
.table-ref td:first-child { font-weight: 700; white-space: nowrap; }
.trouble dt { font: 700 var(--step-1)/1.3 var(--f-display); margin-top: 1.4em; }
.trouble dd { margin: .4em 0 0; }
.docs-end { margin-top: 40px; padding-top: 24px; border-top: 2px dashed var(--line); color: var(--ink-soft); }

/* ---------- releases ---------- */
main.narrow { padding-top: 48px; padding-bottom: 80px; }
.releases { list-style: none; padding: 0; margin: 32px 0; }
.release { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 18px; }
.release.is-latest { border: 2.5px dashed var(--layer); }
.release header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 10px; }
.release h2 { font-size: var(--step-2); margin: 0; }
.release time { color: var(--ink-soft); margin-left: auto; font-size: var(--step--1); }
.notes { white-space: pre-line; color: var(--ink); margin-bottom: 16px; }
.release-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hash { margin: 14px 0 0; font-size: var(--step--1); color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.hash code { font-size: .78rem; }
.tag { display: inline-block; font: 700 .78rem/1 var(--f-display); padding: 5px 9px; border-radius: 999px; background: var(--layer); color: #fff; }
.tag-muted { background: var(--ink-soft); }
.tag-bad { background: var(--bad); }
.empty { color: var(--ink-soft); font-style: italic; }
.center-page { min-height: 55vh; }

/* ---------- admin ---------- */
.admin { padding-top: 36px; padding-bottom: 80px; }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 18px; }
.admin-top h1 { font-size: var(--step-3); margin: 0; }
.admin-user { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-user form { margin: 0; }
.flash { padding: 12px 16px; border-radius: var(--r-md); font-weight: 700; }
.flash.ok { background: #e3f4ea; color: var(--ok); border: 1px solid #b7dfc7; }
.flash.err { background: #fbe7e6; color: var(--bad); border: 1px solid #f1c1bd; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); gap: 16px; margin: 20px 0 28px; }
.stats > div, .spark { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin: 0; }
.stats > div span:last-child { color: var(--ink-soft); font-size: var(--step--1); }
.stat-n { display: block; font: 800 var(--step-3)/1 var(--f-display); margin-bottom: 6px; }
.spark-bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.spark-bars span { flex: 1; background: var(--layer); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
.spark figcaption { color: var(--ink-soft); font-size: var(--step--1); margin-top: 8px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.card-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.card-form h1, .card-form h2 { font-size: var(--step-2); margin: 0 0 4px; }
.card-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.card-form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
input, textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 10px 12px; width: 100%;
}
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--layer); }
input[type="file"] { padding: 8px; }
input:focus, textarea:focus { outline: 3px dashed var(--layer); outline-offset: 1px; border-color: var(--layer); }
.login { max-width: 420px; margin: 40px auto; }
.form-error { color: var(--bad); font-weight: 700; margin: 0; }
.rel-admin h2 { font-size: var(--step-2); }
.rel-row { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 14px; }
.rel-row.is-hidden { opacity: .7; }
.rel-row header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rel-row h3 { margin: 0; font-size: var(--step-1); }
.rel-row header .muted { margin-left: auto; font-size: var(--step--1); }
.rel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.rel-actions form { margin: 0; }
.rel-row details { margin-top: 6px; }
.rel-row summary { cursor: pointer; color: var(--layer-ink); font-weight: 700; font-size: var(--step--1); padding: 4px 0; }
.inline-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 8px; }
.inline-form label { display: flex; flex-direction: column; gap: 6px; width: 100%; font-size: var(--step--1); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--paper-2); padding: 36px 0 28px; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand strong { font-family: var(--f-display); font-size: 1.1rem; }
.foot-brand p { margin: 2px 0 0; color: var(--ink-soft); font-size: var(--step--1); max-width: 44ch; }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot-small { max-width: var(--wrap); margin: 22px auto 0; padding: 0 24px; color: var(--ink-soft); font-size: .82rem; }

/* spark heights (inline styles are blocked by the CSP) */
.h0{height:2px}.h1{height:5%}.h2{height:10%}.h3{height:15%}.h4{height:20%}.h5{height:25%}.h6{height:30%}.h7{height:35%}.h8{height:40%}.h9{height:45%}.h10{height:50%}
.h11{height:55%}.h12{height:60%}.h13{height:65%}.h14{height:70%}.h15{height:75%}.h16{height:80%}.h17{height:85%}.h18{height:90%}.h19{height:95%}.h20{height:100%}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 44px; }
  .hero h1 { max-width: 16ch; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uses li:not(:nth-child(4n)) { border-right: 0; }
  .uses li:not(:nth-child(4n+1)) { padding-left: 0; }
  .uses li:nth-child(odd) { border-right: 2px dashed var(--line); }
  .uses li:nth-child(even) { padding-left: 22px; }
  .docs { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  .docs-nav { position: static; max-height: none; overflow: visible; padding: 0; }
  .toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 14px; }
  .toc summary { display: list-item; cursor: pointer; font: 700 1rem/1 var(--f-display); padding: 12px 0; }
  .toc nav { padding-bottom: 12px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spark { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .nav nav { gap: 14px; }
  .wrap, .hero, .docs, .foot-inner, .foot-small { padding-left: 16px; padding-right: 16px; }
  .hero { padding-bottom: 56px; }
  .monitor { transform: none; padding: 8px; border-radius: 14px; }
  .layer { transform: translate(8px, -8px); }
  .chatbox { display: none; }
  .alert { top: 12%; padding: 8px 14px 8px 10px; gap: 8px; border-radius: 12px; }
  .alert-paw { width: 30px; height: 30px; }
  .alert-paw svg { width: 20px; height: 20px; }
  .alert-text small { display: none; }
  .goal { font-size: .62rem; padding: 5px 8px; bottom: 6%; }
  .goal-bar { width: 44px; }
  .band { padding: 56px 0; }
  .uses { grid-template-columns: 1fr; }
  .uses li, .uses li:nth-child(odd), .uses li:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:not(:last-child)::after { display: none; }
  .steps li { padding: 0 0 0 64px; min-height: 46px; }
  .feats { grid-template-columns: 1fr; gap: 24px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 12px; }
  .cta-end { padding: 64px 16px; }
  .release time { margin-left: 0; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 400px) {
  .nav nav a[href="/releases"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .alert, .cursor, .cursor::after, .coins circle { animation: none; }
  .alert { opacity: 1; }
  .btn { transition: none; }
}
