:root {
  --paper: #f6f4ee;
  --ink: #24231f;
  --muted: #6c6b63;
  --line: #d9d6cd;
  --red: #8f2926;
  --edge: clamp(20px, 5vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: clamp(14px, 0.9vw + 8px, 17px) / 1.7 Inter, Arial, sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
button,
a,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  margin: 16px 0;
  color: var(--muted);
}
h1,
h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 1.08;
}
h3 {
  font-size: clamp(18px, 1.2vw + 6px, 24px);
  line-height: 1.35;
  letter-spacing: -0.7px;
}
em {
  font-style: normal;
  color: var(--red);
}

/* ── FULL-WIDTH LAYOUT ── */
header,
main,
footer {
  width: 100%;
}
header {
  height: clamp(70px, 6vw, 100px);
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand,
.wordmark {
  font-weight: 700;
  font-size: clamp(18px, 1.2vw + 6px, 22px);
  letter-spacing: -1px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand span,
.wordmark span {
  font-weight: 400;
}
.brand i,
.wordmark i {
  width: 7px;
  height: 7px;
  background: var(--red);
  margin: 3px 0 0 5px;
}
.wordmark { color: var(--ink); }
.header-note,
.eyebrow,
.hero-meta,
.step-label,
.tag,
.art-label,
figcaption,
.prompt-bar {
  font-size: clamp(9px, 0.5vw + 5px, 11px);
  font-weight: 600;
  letter-spacing: 1.5px;
}
.header-note {
  color: var(--muted);
}
.header-link {
  font-size: clamp(11px, 0.7vw + 4px, 14px);
  text-decoration: none;
}
.progress {
  height: 3px;
  background: var(--red);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 30;
}

/* ── HERO ── */
.hero {
  padding: clamp(24px, 3vw, 48px) var(--edge) clamp(40px, 4vw, 68px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.edition {
  margin-left: auto;
  color: var(--muted);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(25px, 4vw, 65px);
  align-items: center;
  margin-top: clamp(24px, 2.5vw, 38px);
}
h1 {
  font-size: clamp(52px, 6.5vw, 110px);
  letter-spacing: -2px;
}
.intro {
  font-size: clamp(19px, 1.4vw + 8px, 28px);
  line-height: 1.45;
  margin-top: clamp(20px, 2vw, 30px);
  color: var(--ink);
  letter-spacing: -0.7px;
}
.intro strong {
  font-weight: 500;
  color: var(--red);
}
.hero-desc {
  max-width: 520px;
  font-size: clamp(13px, 0.8vw + 6px, 16px);
}
.actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin: clamp(20px, 2vw, 32px) 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(12px, 1vw + 4px, 18px) clamp(16px, 1.2vw + 6px, 26px);
  text-decoration: none;
  font-size: clamp(12px, 0.7vw + 5px, 15px);
  font-weight: 600;
  border: 1px solid var(--line);
}
.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.button:hover {
  background: #6f211f;
  color: white;
}
.text-link {
  font-size: clamp(11px, 0.7vw + 4px, 14px);
  font-weight: 600;
}
.hero-meta {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  color: var(--muted);
  font-size: clamp(8px, 0.5vw + 4px, 10px);
  letter-spacing: 0.7px;
  border-top: 1px solid var(--line);
  padding-top: clamp(14px, 1.5vw, 22px);
}
.free-generation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 540px;
  margin-top: 18px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
}
.free-generation .dot { margin-top: 8px; }
.free-generation p { margin: 0; font-size: clamp(11px, 0.6vw + 5px, 13px); }
.free-generation strong { color: var(--ink); }
.hero-art {
  position: relative;
  isolation: isolate;
  height: clamp(320px, 32vw, 560px);
  overflow: hidden;
  background: #242724;
}
.cast-back {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}
.portrait {
  position: absolute;
  width: 49%;
  height: 81%;
  object-fit: cover;
  object-position: top;
  left: 26%;
  bottom: 0;
  box-shadow: 0 0 50px #1116;
  transform: rotate(-4deg);
  border: 6px solid #f6f4ee;
}
.hero-art figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 20px;
  background: #f6f4ee;
  color: var(--ink);
  font-size: 9px;
}
.art-label {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-size: 9px;
}

/* ── SCREENING ── */
.screening {
  background: #22241f;
  color: #f6f4ee;
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: clamp(30px, 4vw, 70px);
  padding: clamp(32px, 3.5vw, 56px) var(--edge);
  align-items: center;
}
.screening h2 {
  font-size: clamp(32px, 2.8vw + 6px, 52px);
  margin-top: 17px;
}
.screening p {
  color: #bfc1b7;
  font-size: clamp(12px, 0.8vw + 5px, 15px);
}
.screening .small {
  font-size: clamp(10px, 0.6vw + 4px, 12px);
}
.screening video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #10110f;
}
.screening figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: clamp(7px, 0.4vw + 4px, 9px);
  color: #bfc1b7;
}

/* ── GUIDE LAYOUT ── */
.guide-layout {
  display: grid;
  grid-template-columns: clamp(200px, 16vw, 280px) minmax(0, 1fr);
  gap: clamp(35px, 5vw, 80px);
  padding: clamp(48px, 5vw, 90px) var(--edge) 0;
}
.contents {
  position: sticky;
  top: 45px;
}
nav {
  display: grid;
  margin-top: 25px;
}
nav a {
  padding: clamp(9px, 0.7vw + 3px, 13px) 0;
  text-decoration: none;
  font-size: clamp(10px, 0.6vw + 4px, 13px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  color: var(--muted);
}
nav a span {
  font-size: 9px;
}
nav a[aria-current="step"] {
  color: var(--red);
  font-weight: 700;
}
nav a:hover {
  color: var(--red);
}
.aside-note {
  font-size: clamp(16px, 1.1vw + 5px, 22px);
  line-height: 1.5;
  margin: 34px 0 22px;
  color: var(--muted);
  letter-spacing: -0.6px;
}
.aside-note strong {
  font-weight: 500;
  color: var(--ink);
}
.help-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.help-trigger:hover { color: var(--red); }

/* ── STEPS ── */
.step {
  padding-bottom: clamp(40px, 4vw, 70px);
  margin-bottom: clamp(36px, 4vw, 65px);
  border-bottom: 1px solid var(--line);
}
.step-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.step-label > span {
  background: var(--red);
  color: white;
  padding: 5px 8px;
  letter-spacing: 0;
  font-size: 11px;
}
.step h2 {
  font-size: clamp(32px, 2.8vw + 6px, 52px);
  letter-spacing: -0.5px;
}
.step > p {
  max-width: 800px;
}
.small {
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 25px;
  margin: 25px 0;
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.reference-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 16px);
  margin: 28px 0 20px;
}
.reference-strip img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.reference-strip figcaption {
  font-size: 9px;
  padding-top: 10px;
  color: var(--muted);
}
.note {
  padding: clamp(14px, 1.2vw + 4px, 22px) clamp(16px, 1.2vw + 6px, 24px);
  border-left: 2px solid var(--red);
  background: #eeece4;
  color: var(--muted);
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.note strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.step > .eyebrow {
  margin-bottom: 18px;
}
.reference-step {
  display: grid;
  grid-template-columns: clamp(140px, 14vw, 250px) 1fr;
  gap: clamp(18px, 2vw, 36px);
  margin: 28px 0;
  align-items: center;
}
.character-prompts { margin-top: 28px; }
.character-prompt { padding: clamp(20px, 2vw, 34px) 0; border-top: 1px solid var(--line); }
.character-prompt:first-child { border-top: 0; padding-top: 0; }
.character-prompt > h3 { margin: 0 0 8px; }
.character-prompt .reference-step { margin-top: 16px; }
.reference-step img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.reference-step figcaption {
  font-size: 8px;
  margin-top: 8px;
}
.tag {
  font-family: monospace;
  color: var(--red);
  letter-spacing: 0;
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.reference-step h3 {
  margin: 10px 0;
}
.reference-step p {
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.specs {
  display: grid;
  gap: 0;
  font-size: clamp(10px, 0.55vw + 4px, 12px);
  color: var(--muted);
}
.specs span {
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
}
.inline-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.tip {
  position: relative;
  line-height: 1.5;
}
.tip summary {
  border: 1px solid #a19f95;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  font: italic 12px/17px Georgia;
  list-style: none;
}
.tip summary::-webkit-details-marker {
  display: none;
}
.tip p {
  position: absolute;
  right: -20px;
  top: 18px;
  background: var(--ink);
  color: white;
  padding: 18px;
  width: clamp(200px, 18vw, 300px);
  box-shadow: 0 5px 20px #0002;
  z-index: 10;
  font-size: clamp(11px, 0.6vw + 5px, 13px);
  font-weight: 400;
}

/* ── PROMPTS + COPY BUTTONS ── */
.prompt {
  border: 1px solid var(--line);
  margin-top: 25px;
  background: #fbfaf6;
}
.prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1vw, 16px);
  padding: clamp(14px, 1vw + 6px, 22px) clamp(16px, 1.2vw + 6px, 24px);
  font-size: clamp(9px, 0.5vw + 5px, 11px);
  letter-spacing: 1px;
}
.copy {
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  padding: clamp(10px, 0.8vw + 4px, 16px) clamp(16px, 1vw + 8px, 24px);
  font-size: clamp(12px, 0.7vw + 5px, 15px);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: background 0.15s, border-color 0.15s;
}
.copy:hover {
  background: #6f211f;
  border-color: #6f211f;
  color: white;
}
.copy.copied {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.prompt summary,
.interface summary {
  border-top: 1px solid var(--line);
  padding: clamp(11px, 0.8vw + 4px, 16px) clamp(16px, 1.2vw + 6px, 24px);
  font-size: clamp(10px, 0.6vw + 4px, 12px);
  list-style: none;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.prompt summary::-webkit-details-marker,
.interface summary::-webkit-details-marker {
  display: none;
}
.prompt details[open] > summary span,
.interface details[open] > summary span {
  display: inline-block;
  transform: rotate(45deg);
}
.prompt pre {
  font: clamp(10px, 0.55vw + 5px, 13px) / 1.8 "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: clamp(16px, 1.2vw + 6px, 24px);
  margin: 0;
  border-top: 1px solid var(--line);
  max-height: clamp(360px, 32vw, 560px);
  overflow: auto;
}

/* ── DOWNLOADS ── */
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: 28px;
}
.downloads article {
  border: 1px solid var(--line);
}
.downloads article > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.downloads article > div {
  padding: clamp(14px, 1.4vw, 24px);
}
.downloads h3 {
  margin-top: 10px;
}
.downloads .inline-info {
  margin-top: 0;
}
.downloads p {
  font-size: clamp(11px, 0.6vw + 5px, 13px);
  min-height: 40px;
}
.downloads .button {
  width: 100%;
  padding: clamp(10px, 0.8vw + 4px, 16px) clamp(12px, 1vw + 4px, 18px);
}
.downloads small {
  display: block;
  margin-top: 8px;
  font-size: clamp(9px, 0.5vw + 4px, 11px);
  color: var(--muted);
}
.ready-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(18px, 1.7vw, 28px);
  background: var(--ink);
  color: #fff;
}
.ready-prompt h3 { margin-top: 9px; }
.ready-prompt p { max-width: 560px; margin-bottom: 0; color: #d7d6cf; font-size: clamp(11px, 0.6vw + 5px, 13px); }
.ready-prompt .copy { background: #f6f4ee; border-color: #f6f4ee; color: var(--ink); }
.ready-prompt .copy:hover { background: var(--red); border-color: var(--red); color: #fff; }
.free-note { margin: 20px 0; }

/* ── UPLOAD MAP ── */
.upload-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 16px);
  margin: 30px 0 20px;
}
.upload-map img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.upload-map figcaption {
  display: grid;
  gap: 3px;
  letter-spacing: 0;
  margin-top: 10px;
}
.upload-map code {
  color: var(--red);
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.upload-map strong {
  font-size: clamp(11px, 0.6vw + 5px, 13px);
}
.upload-map span {
  font-size: clamp(9px, 0.5vw + 4px, 11px);
  color: var(--muted);
  font-weight: 400;
}
.interface {
  margin-top: 25px;
}
.interface img {
  margin-top: 16px;
  border: 1px solid var(--line);
}

/* ── RULES ── */
.rules {
  display: flex;
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: 25px;
  padding: clamp(16px, 1.4vw, 24px) 0;
  border-block: 1px solid var(--line);
}
.rules > div {
  display: flex;
  gap: 12px;
  flex: 1;
}
.rules b {
  font: clamp(18px, 1.4vw + 4px, 26px) Anton;
  color: var(--red);
}
.rules span {
  font-size: clamp(9px, 0.5vw + 4px, 11px);
  color: var(--muted);
}

/* ── REVIEW ── */
.review {
  margin-top: 35px;
}
.review p {
  font-size: clamp(12px, 0.8vw + 4px, 15px);
}
.review label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review input {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
}

/* ── CLOSING + FOOTER ── */
.closing {
  text-align: center;
  padding: clamp(16px, 1.4vw, 24px) var(--edge) clamp(50px, 5vw, 100px);
}
.closing .eyebrow {
  justify-content: center;
}
.closing h2 {
  font-size: clamp(42px, 4.5vw + 6px, 84px);
  margin: 25px 0 30px;
}
.consultation {
  padding: clamp(44px, 5vw, 86px) var(--edge);
  background: #22241f;
  color: #f6f4ee;
}
.consultation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 130px); align-items: start; margin-top: 18px; }
.consultation h2 { font-size: clamp(40px, 4vw + 8px, 74px); }
.consultation p { max-width: 590px; color: #c9cbc1; }
.consultation .primary { background: #f6f4ee; border-color: #f6f4ee; color: var(--ink); }
.consultation .primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.consultation-form { display: grid; gap: 16px; margin-top: 18px; }
.consultation-form label { display: grid; gap: 7px; color: #f6f4ee; font-size: 14px; font-weight: 600; }
.consultation-form label span { color: #bfc1b7; font-weight: 400; }
.consultation-form input, .consultation-form textarea { width: 100%; border: 1px solid #83857c; background: transparent; color: #fff; padding: 12px; border-radius: 0; }
.consultation-form textarea { resize: vertical; }
.consultation-form .button { justify-content: space-between; width: 100%; }
.form-status { min-height: 1.7em; margin: 0; font-size: 13px; }
.help-panel { margin-top: 28px; padding: 24px; background: #eeece4; }
.help-panel h3 { margin: 8px 0 18px; }
footer {
  border-top: 1px solid var(--line);
  padding: clamp(20px, 2vw, 36px) var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer > span,
footer > a:last-child {
  font-size: clamp(9px, 0.5vw + 4px, 11px);
  color: var(--muted);
}

/* ── TOAST / SKIP ── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: clamp(10px, 0.8vw + 4px, 16px) clamp(18px, 1.4vw + 6px, 28px);
  font-size: clamp(11px, 0.6vw + 5px, 13px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.toast.visible {
  opacity: 1;
}
.skip {
  position: fixed;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 15px;
  z-index: 100;
}
.skip:focus {
  top: 0;
}

/* ── SOURCE CHECKPOINTS ── */
.source-checkpoints {
  padding: clamp(24px, 2.5vw, 40px) var(--edge);
  border-bottom: 1px solid var(--line);
}
.source-checkpoints h3 {
  margin-top: 9px;
}
.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1vw, 18px);
  margin-top: 20px;
}
.checkpoint {
  text-align: left;
  border: 1px solid var(--line);
  padding: clamp(12px, 1vw + 4px, 20px);
  background: transparent;
  display: grid;
  gap: 7px;
}
.checkpoint:hover {
  border-color: var(--red);
  background: #eeece4;
}
.checkpoint > span {
  font: clamp(10px, 0.55vw + 5px, 12px) monospace;
  color: var(--red);
}
.checkpoint strong {
  font-size: clamp(12px, 0.7vw + 4px, 15px);
}
.checkpoint small {
  font-size: clamp(10px, 0.55vw + 4px, 12px);
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .hero-grid {
    gap: 25px;
  }
  .hero-art {
    height: clamp(320px, 40vw, 420px);
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .guide-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 35px;
  }
  .reference-step {
    grid-template-columns: 170px 1fr;
    gap: 20px;
  }
  .screening {
    gap: 30px;
  }
  .consultation-layout { grid-template-columns: 1fr; gap: 28px; }
  .header-note {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }
  header {
    height: 70px;
  }
  .hero {
    padding-top: 24px;
  }
  .edition {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 25px;
  }
  h1 {
    font-size: clamp(48px, 12vw, 88px);
  }
  .hero-art {
    height: 420px;
  }
  .hero-meta {
    justify-content: space-between;
    gap: 8px;
  }
  .actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .screening {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 35px;
  }
  .screening h2 br {
    display: none;
  }
  .screening-copy > p {
    max-width: 500px;
  }
  .guide-layout {
    display: block;
    padding-top: 0;
  }
  .guide-layout > aside {
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 20;
    margin-inline: calc(-1 * var(--edge));
    padding: 0 var(--edge);
    border-bottom: 1px solid var(--line);
  }
  .contents {
    position: static;
  }
  .contents > .eyebrow,
  .aside-note,
  .contents > .small {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin: 0;
    gap: 22px;
    scrollbar-width: thin;
  }
  nav a {
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    padding: 16px 0;
    gap: 8px;
  }
  nav a[aria-current="step"] {
    border-bottom-color: var(--red);
  }
  .steps {
    padding-top: 40px;
  }
  .step {
    padding-bottom: 42px;
    margin-bottom: 40px;
  }
  .reference-step {
    grid-template-columns: 140px 1fr;
    gap: 20px;
  }
  .downloads {
    gap: 12px;
  }
  .ready-prompt { align-items: flex-start; flex-direction: column; }
  .ready-prompt .copy { width: 100%; }
  .downloads article > div {
    padding: 15px;
  }
  .downloads .button {
    gap: 8px;
  }
  .upload-map {
    gap: 9px;
  }
  .closing {
    padding-bottom: 50px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer > span {
    order: 3;
    width: 100%;
  }
  .tip p {
    right: -10px;
    width: 230px;
  }
  .checkpoint-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-art {
    height: 350px;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .reference-step {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }
  .downloads {
    grid-template-columns: 1fr;
  }
  .upload-map {
    grid-template-columns: repeat(2, 1fr);
  }
  .rules {
    flex-direction: column;
    gap: 10px;
  }
  .rules > div {
    display: block;
  }
  .prompt-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .checkpoint-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
