/* Screw Away Challenge — playful slot-dock layout, sky + gold + green CTA */

:root {
  --sky-50: #e8f6ff;
  --sky-100: #b8e4ff;
  --sky-300: #87ceeb;
  --sky-500: #3b9edd;
  --gold: #ffd700;
  --gold-deep: #ff8c00;
  --red: #e63946;
  --red-deep: #c11b17;
  --green: #22c55e;
  --green-deep: #15803d;
  --purple: #a855f7;
  --pink: #f472b6;
  --blue-slot: #3b82f6;
  --ink: #1e3a5f;
  --ink-muted: #475569;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 0 rgba(30, 58, 95, 0.12), 0 12px 28px rgba(30, 58, 95, 0.1);
  --shadow-press: inset 0 2px 4px rgba(255, 255, 255, 0.45), 0 4px 0 rgba(21, 128, 61, 0.35);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --dock-width: 72px;
  --hud-height: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky-50);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Sky background */
.sky-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, var(--sky-100) 0%, var(--sky-50) 45%, #f8fcff 100%);
  pointer-events: none;
}

/* Right unscrew dock */
.unscrew-dock {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
}

.unscrew-dock__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.unscrew-dock__node {
  position: relative;
}

.unscrew-dock__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease-out, background 0.2s ease-out;
}

.unscrew-dock__link:hover {
  background: rgba(255, 255, 255, 0.55);
}

.unscrew-dock__screw {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-deep) 100%);
  border: 3px solid var(--white);
  box-shadow: 0 3px 0 rgba(193, 27, 23, 0.25);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.unscrew-dock__node.is-active .unscrew-dock__screw {
  transform: scale(1.12);
  box-shadow: 0 0 0 3px var(--sky-300), 0 4px 0 rgba(193, 27, 23, 0.3);
}

.unscrew-dock__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.unscrew-dock__node.is-active .unscrew-dock__label {
  color: var(--red-deep);
}

.unscrew-dock__wire {
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--gold-deep), var(--sky-300));
  border-radius: 2px;
  opacity: 0.6;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  padding-right: 1rem;
}

@media (min-width: 1200px) {
  .unscrew-dock {
    display: block;
  }

  .page-wrap {
    padding-right: calc(var(--dock-width) + 1.5rem);
  }
}

/* Game HUD header */
.game-hud {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  margin: 0.75rem 0 1.25rem;
}

.game-hud__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.game-hud.is-scrolled .game-hud__bar {
  box-shadow: 0 6px 0 rgba(30, 58, 95, 0.1), 0 16px 32px rgba(30, 58, 95, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--white);
  box-shadow: 0 2px 0 rgba(30, 58, 95, 0.15);
  background: var(--sky-100);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px var(--red-deep);
  paint-order: stroke fill;
}

.game-hud__progress {
  display: none;
  flex: 1;
  justify-content: center;
}

.hud-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, #fff9c4 0%, #fde047 100%);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(193, 27, 23, 0.15);
}

.hud-bubble svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.game-hud__nav {
  display: none;
  gap: 0.35rem;
}

.hud-chip {
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--ink-muted);
  transition: background 0.2s ease-out, color 0.2s ease-out;
}

.hud-chip:hover {
  background: var(--sky-100);
  color: var(--ink);
}

.hud-chip--active,
.hud-chip.is-active {
  background: var(--sky-300);
  color: var(--ink);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.btn-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(180deg, #4ade80 0%, var(--green) 45%, var(--green-deep) 100%);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-press);
  transition: filter 0.2s ease-out, transform 0.2s ease-out;
  flex-shrink: 0;
}

.btn-withdraw:hover {
  filter: brightness(1.05);
}

.btn-withdraw:active {
  transform: translateY(2px);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-withdraw svg {
  width: 18px;
  height: 18px;
}

.btn-withdraw--light {
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  color: var(--green-deep);
  box-shadow: 0 4px 0 rgba(21, 128, 61, 0.25);
}

.btn-withdraw--full {
  width: 100%;
  margin-top: 0.5rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky-100);
  border: 2px solid var(--white);
  color: var(--ink);
  transition: background 0.2s ease-out;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__link {
  padding: 0.65rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease-out;
}

.mobile-nav__link:hover {
  background: var(--sky-100);
}

@media (min-width: 900px) {
  .game-hud__progress {
    display: flex;
  }

  .game-hud__nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Hero — workbench slot grid */
.hero {
  position: relative;
  padding: 1rem 0 2.5rem;
}

.hero__starburst {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 90vw);
  height: min(320px, 50vw);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0.65rem;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.slot {
  min-height: 72px;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot--empty {
  background: rgba(255, 255, 255, 0.5);
  border-style: dashed;
  border-color: var(--sky-300);
}

.slot__plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky-500);
  opacity: 0.7;
}

.slot--pink { background: linear-gradient(145deg, #fbcfe8, var(--pink)); }
.slot--blue { background: linear-gradient(145deg, #93c5fd, var(--blue-slot)); }
.slot--green { background: linear-gradient(145deg, #86efac, var(--green)); }
.slot--purple { background: linear-gradient(145deg, #c4b5fd, var(--purple)); }

.slot--hero {
  grid-column: 2;
  grid-row: 2;
  min-height: auto;
  padding: 0.5rem;
  background: linear-gradient(160deg, #fde68a 0%, var(--gold) 50%, var(--gold-deep) 100%);
  border-color: var(--white);
}

.slot--logo {
  grid-column: 2;
  grid-row: 3;
  min-height: auto;
  padding: 0.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-logo {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 6px 12px rgba(30, 58, 95, 0.15));
}

.phone-slot__bezel {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 0.5rem;
  background: var(--ink);
  border-radius: 28px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 0 rgba(30, 58, 95, 0.2);
}

.phone-slot__screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--sky-300);
  aspect-ratio: 9 / 16;
}

.phone-slot__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  line-height: 1.15;
}

.hero__title-main {
  display: block;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 3px 0 rgba(193, 27, 23, 0.2);
  filter: drop-shadow(0 2px 0 var(--white)) drop-shadow(0 4px 0 rgba(193, 27, 23, 0.25));
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--red);
  margin-top: 0.25rem;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--sky-100) 100%);
  border: 3px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(30, 58, 95, 0.12), 0 14px 28px rgba(30, 58, 95, 0.12);
}

.btn-store--play {
  background: linear-gradient(180deg, #fef08a 0%, var(--gold) 100%);
}

.btn-store__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-store--android .btn-store__icon--android {
  color: var(--green-deep);
}

@media (min-width: 768px) {
  .hero__grid {
    gap: 0.85rem;
    max-width: 820px;
  }

  .phone-slot__bezel {
    max-width: 260px;
  }

  .slot {
    min-height: 88px;
  }
}

/* Features — unlock tray */
.unlock-tray {
  padding: 3rem 0;
}

.unlock-tray__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ribbon-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  border: 2px solid var(--white);
  box-shadow: 0 3px 0 rgba(193, 27, 23, 0.35);
  margin-bottom: 0.75rem;
}

.bubble-heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
}

.unlock-tray__sub,
.puzzle-shots__sub {
  margin: 0;
  color: var(--ink-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.unlock-tray__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.unlock-cards {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem;
  display: flex;
  gap: 1rem;
  min-width: min-content;
}

.unlock-cards li {
  flex: 0 0 min(280px, 85vw);
}

.unlock-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.unlock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 rgba(30, 58, 95, 0.1), 0 18px 36px rgba(30, 58, 95, 0.12);
}

.unlock-card--gold { background: linear-gradient(160deg, #fef9c3, #fde047); border-color: #fbbf24; }
.unlock-card--blue { background: linear-gradient(160deg, #dbeafe, #93c5fd); border-color: var(--blue-slot); }
.unlock-card--pink { background: linear-gradient(160deg, #fce7f3, #f9a8d4); border-color: var(--pink); }
.unlock-card--green { background: linear-gradient(160deg, #dcfce7, #86efac); border-color: var(--green); }

.unlock-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 3px solid var(--white);
  margin-bottom: 0.85rem;
}

.unlock-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--ink);
}

.unlock-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.unlock-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

@media (min-width: 1024px) {
  .unlock-tray__scroll {
    overflow: visible;
  }

  .unlock-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-width: 0;
  }

  .unlock-cards li {
    flex: none;
  }
}

/* Screenshot strip — slot-framed cards */
.puzzle-shots {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.puzzle-shots__head {
  margin-bottom: 1.75rem;
  padding: 0 0.25rem;
}

.puzzle-shots__viewport {
  outline: none;
}

.puzzle-shots__viewport:focus-visible {
  box-shadow: inset 0 0 0 3px var(--sky-300);
  border-radius: var(--radius-lg);
}

.puzzle-shots__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0.25rem;
}

.puzzle-shots__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.puzzle-shots__card > img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.puzzle-shots__card:hover > img {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(30, 58, 95, 0.1), 0 16px 32px rgba(30, 58, 95, 0.12);
}

.puzzle-shots__cap {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.puzzle-shots__hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.puzzle-shots__hint svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1023px) {
  .puzzle-shots__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .puzzle-shots__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .puzzle-shots__track {
    display: flex;
    gap: 1rem;
    padding: 0 1rem 0.5rem;
    max-width: none;
  }

  .puzzle-shots__card {
    flex: 0 0 min(200px, 68vw);
    scroll-snap-align: center;
  }

  .puzzle-shots__hint {
    display: flex;
  }
}

/* Rich Levels download banner */
.rich-banner {
  position: relative;
  margin: 1rem 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
}

.rich-banner__stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    var(--green) 0,
    var(--green) 12px,
    var(--green-deep) 12px,
    var(--green-deep) 24px
  );
  opacity: 0.35;
}

.rich-banner__inner {
  position: relative;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #4ade80 0%, var(--green) 40%, var(--green-deep) 100%);
}

.rich-banner__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  text-shadow:
    0 2px 0 var(--green-deep),
    0 4px 0 rgba(0, 0, 0, 0.15),
    2px 2px 0 var(--green-deep);
}

.rich-banner__lead {
  margin: 0 auto 1.25rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.rich-banner__corner {
  position: absolute;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green-deep);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.rich-banner__corner--tl { top: 0.75rem; left: 0.75rem; }
.rich-banner__corner--br { bottom: 0.75rem; right: 0.75rem; }

/* Footer */
.site-footer {
  padding: 1.5rem 0 0.5rem;
  border-top: 3px solid rgba(135, 206, 235, 0.5);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.site-footer__brand {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.site-footer__links a {
  font-weight: 600;
  color: var(--sky-500);
  transition: color 0.2s ease-out;
}

.site-footer__links a:hover {
  color: var(--red);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0.45);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--white);
  border: 4px solid var(--sky-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--ink);
  transition: background 0.2s ease-out;
}

.modal__close:hover {
  background: var(--sky-300);
}

.modal__close svg {
  width: 20px;
  height: 20px;
}

.modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-deep);
}

.modal__text {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__starburst {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
