/* Jolly Run website. Plain CSS, no build step. */

@font-face {
  font-family: "Bangers";
  src: url("../fonts/Bangers.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --red: #d42027;
  --red-deep: #a8151c;
  --navy: #0e1c4b;
  --navy-2: #16296b;
  --fir: #1a7f39;
  --fir-deep: #11592a;
  --gold: #ffc72c;
  --snow: #ffffff;

  --sky-1: #0f4fbf;
  --sky-2: #1a5fd0;
  --sky-3: #2a6fd9;
  --sky-4: #6fa8f5;

  --bg: #ffffff;
  --surface: #eef4fd;
  --card: #ffffff;
  --border: #d7e3f6;
  --text: #0e1c4b;
  --text-soft: #3a4a78;
  --link: #1450b8;
  --accent-text: #c41d24;
  --snow-shadow: #c9dbf5;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(14, 28, 75, 0.45);
  --shadow-sm: 0 6px 18px -10px rgba(14, 28, 75, 0.4);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;

  --font-display: "Bangers", "Arial Black", "Impact", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-1: #061033;
    --sky-2: #0b1a4d;
    --sky-3: #132a6e;
    --sky-4: #284a9c;

    --bg: #0a1433;
    --surface: #0f1d47;
    --card: #13235a;
    --border: #24387a;
    --text: #eef3ff;
    --text-soft: #b8c6ea;
    --link: #9cc3ff;
    --accent-text: #ff7b80;
    --snow-shadow: #1b2e66;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  }
  .feature .icon { background: #2f5bd0; }
  .eyebrow { background: rgba(255, 255, 255, 0.12); }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }

:focus-visible {
  /* Two rings so focus shows on white, sky blue and navy backgrounds alike */
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--gold);
  border-radius: 6px;
}
.btn:focus-visible { box-shadow: 0 5px 0 var(--fir-deep), 0 0 0 8px var(--gold); }

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; }
h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}
h2 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem); }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The game's title look: Christmas red, white outline, navy drop shadow */
.title-type {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--red);
  letter-spacing: 0.02em;
  -webkit-text-stroke: 0.1em #fff;
  paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--navy), 0 0.12em 0.25em rgba(6, 14, 45, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: 999px;
  border: 3px solid #fff;
  background: var(--fir);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--fir-deep), var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { background: #1c8a3e; transform: translateY(-2px); box-shadow: 0 7px 0 var(--fir-deep), var(--shadow); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--fir-deep); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
  margin-bottom: 0.25em;
}
.btn .btn-label { display: flex; flex-direction: column; align-items: flex-start; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5em 0.4em;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  line-height: 1;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px #fff, var(--shadow-sm);
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(4px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
@media (max-width: 520px) {
  .site-nav .nav-optional { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 75%, var(--sky-4) 100%);
  padding-top: 96px;
}
.snowfall {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(80px, 10vw, 150px);
}
@media (min-width: 920px) {
  .hero-inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); padding-top: 24px; }
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 14, 45, 0.32);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 0.12em;
  font-size: clamp(4.2rem, 2.6rem + 8vw, 8.6rem);
  line-height: 0.92;
}
.hero .tagline {
  max-width: 30ch;
  margin-bottom: 1.4em;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(6, 14, 45, 0.35);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 18px; height: 18px; flex: none; }

.hero-visual { position: relative; margin: 0; padding: 0 4% 0 0; }
.hero-visual .device { transform: rotate(-1.5deg); }
.hero-santa {
  position: absolute;
  right: -2%;
  top: -16%;
  width: 26%;
  max-width: 190px;
  transform: rotate(10deg);
  filter: drop-shadow(0 10px 14px rgba(6, 14, 45, 0.4));
  z-index: 3;
}
@media (max-width: 919px) {
  .hero-visual { max-width: 680px; margin-inline: auto; width: 100%; padding-right: 6%; }
  .hero-santa { top: -14%; right: 0; width: 24%; }
}

/* Snowy ground under the hero: two layered hills, blue shadow + snow */
.hills {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 2;
  width: 100%;
  height: clamp(50px, 8vw, 120px);
  pointer-events: none;
}
.hills .h-back { fill: var(--snow-shadow); }
.hills .h-front { fill: var(--bg); }

/* ---------- Device frames (generic, drawn in CSS) ---------- */
.device {
  position: relative;
  margin: 0;
  background: #0b1330;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.device picture, .device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.device .screen { overflow: hidden; background: #cfdcf0; }
.device--tv { border-radius: 14px; padding: 1.1%; }
.device--tv .screen { border-radius: 6px; }
.device--tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 26%;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#1a2550, #0b1330);
}
.device--phone { border-radius: clamp(22px, 4vw, 40px); padding: clamp(7px, 1.2vw, 12px) clamp(10px, 1.8vw, 18px); }
.device--phone .screen { border-radius: clamp(14px, 2.6vw, 28px); }
.device--tablet { border-radius: clamp(18px, 3vw, 30px); padding: clamp(10px, 1.8vw, 18px); }
.device--tablet .screen { border-radius: clamp(8px, 1.2vw, 12px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--surface { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--accent-text); }
.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--text-soft); }

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--red);
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--text-soft); }

/* Feature grid */
.features {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.feature .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}
.feature:nth-child(3n+2) .icon { background: var(--fir); }
.feature:nth-child(3n+3) .icon { background: var(--red); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 0.3em; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); }
.feature p { margin: 0; color: var(--text-soft); }

/* Gallery */
.gallery {
  display: grid;
  gap: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(12, 1fr); }
  .gallery > :nth-child(1) { grid-column: span 7; }
  .gallery > :nth-child(2) { grid-column: span 5; }
  .gallery > :nth-child(3), .gallery > :nth-child(4) { grid-column: span 6; }
}
.shot { margin: 0; }
@media (max-width: 859px) {
  .gallery > li { width: 100%; max-width: 620px; margin-inline: auto; }
  .gallery > li:nth-child(2) { max-width: 480px; }
}
.shot figcaption {
  margin-top: 26px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.shot figcaption strong { display: block; color: var(--text); font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.03em; }

/* Remaster note */
.remaster {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) { .remaster { grid-template-columns: 1.1fr 0.9fr; } }
.checklist { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--fir) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.note {
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  color: var(--text-soft);
}
.section--surface .note { background: var(--card); }

/* Platforms */
.platforms {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .platforms { grid-template-columns: repeat(5, 1fr); } }
.platform {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.platform svg { width: 44px; height: 44px; color: var(--accent-text); margin-bottom: 6px; }
.platform h3 { margin: 0; font-size: 1.45rem; }
.platform p { margin: 0; color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }

/* Closing call to action */
.cta-band {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 400px at 20% 0%, #1d3384, transparent 70%), var(--navy);
  color: #fff;
  text-align: center;
}
.cta-band .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; }
.cta-band img { width: 128px; height: auto; margin-bottom: 4px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)); }
.cta-band h2 { font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); margin-bottom: 0.1em; }
.cta-band p { max-width: 44ch; color: #d7e2ff; margin-bottom: 1.4em; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 44px 56px;
  background: #081232;
  color: #c3cff0;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; }
.site-footer .brand { font-size: 1.4rem; }
.legal { margin-top: 18px; max-width: 80ch; color: #a9b7e0; font-size: 0.84rem; }
.legal p { margin-bottom: 0.6em; }

/* ---------- Inner pages (support, privacy, 404) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 60%, var(--sky-3));
  padding: 120px 0 clamp(70px, 9vw, 120px);
}
.page-hero h1 { font-size: clamp(3rem, 2.2rem + 4vw, 5.2rem); margin: 0 0 0.15em; line-height: 0.95; }
.page-hero p { max-width: 58ch; margin: 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); text-shadow: 0 1px 2px rgba(6, 14, 45, 0.3); }
.page-hero .wrap { position: relative; z-index: 2; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); color: var(--accent-text); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface); }
.table-scroll { overflow-x: auto; margin-bottom: 1.4em; }
.table-scroll table { margin: 0; min-width: 560px; }

.page-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .page-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: 24px; } }
.toc h2 { font-size: 1.4rem; color: var(--text); margin-bottom: 0.4em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: 0.95rem; }
.toc a:hover { background: var(--surface); color: var(--text); }

.draft-banner {
  margin: 0 0 32px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--red);
  background: color-mix(in srgb, var(--red) 8%, var(--bg));
  color: var(--text);
  font-weight: 600;
}
.placeholder {
  padding: 0 0.3em;
  border-radius: 4px;
  background: color-mix(in srgb, var(--gold) 45%, transparent);
  font-weight: 700;
  white-space: nowrap;
}

/* FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 1.4em; }
.faq details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 3px solid var(--accent-text);
  border-bottom: 3px solid var(--accent-text);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, 0); }
.faq .answer { padding: 0 18px 16px; color: var(--text-soft); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

.prose .controls-grid, .controls-grid { display: grid; gap: 16px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.prose .controls-grid li { margin: 0; }
@media (min-width: 700px) { .controls-grid { grid-template-columns: repeat(3, 1fr); } }
.controls-grid li { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); }
.controls-grid h3 { margin: 0 0 0.25em; font-size: 1.35rem; }
.controls-grid p { margin: 0; font-size: 0.96rem; color: var(--text-soft); }

.contact-card {
  padding: 22px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.not-found { text-align: center; }
.not-found .wrap { display: grid; justify-items: center; gap: 6px; }
.not-found img { width: 150px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 10px 16px rgba(6, 14, 45, 0.35)); }
.not-found .hero-cta { justify-content: center; }

@media print {
  .snowfall, .hills, .site-nav, .skip-link { display: none !important; }
  .hero, .page-hero, .cta-band { background: none !important; color: #000 !important; }
  .site-header { position: static; }
  .brand { color: #000; }
}

/* ---------- Compact cards on narrow screens ---------- */
@media (max-width: 899px) {
  .steps li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 20px;
  }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { align-self: end; }
}
@media (max-width: 639px) {
  .feature, .platform {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 20px 18px;
  }
  .feature .icon { grid-row: span 2; margin: 0; width: 46px; height: 46px; border-radius: 14px; }
  .platform svg { grid-row: span 2; margin: 2px 0 0; width: 38px; height: 38px; }
  .feature h3, .platform h3 { margin-bottom: 0.15em; }
}

/* ---------- Small phones and very large screens ---------- */
@media (max-width: 374px) {
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.04em; padding: 5px 12px; }
  .brand { font-size: 1.4rem; }
}
@media (min-width: 1800px) {
  :root { --max: 1400px; }
  html { font-size: 112.5%; }
  .hero-santa { max-width: 240px; }
}
@media (min-width: 2400px) {
  :root { --max: 1640px; }
  html { font-size: 131.25%; }
  .hero-santa { max-width: 300px; }
}
