/* Arrow Burst — maze-path landing (cream sticker / graph-paper game UI) */

:root {
  --cream: #fff9eb;
  --cream-deep: #fff3d6;
  --outline: #4a1a1a;
  --outline-soft: #6b2d2d;
  --text: #2d1515;
  --text-muted: #5c3a3a;
  --yellow: #ffe066;
  --orange: #ff8c42;
  --coral: #ff6b4a;
  --pink: #ff4d6d;
  --sky: #5bc0eb;
  --green: #4ade80;
  --white: #ffffff;
  --grid-line: rgba(91, 192, 235, 0.35);
  --shadow-sticker: 4px 4px 0 var(--outline);
  --shadow-soft: 0 12px 40px rgba(74, 26, 26, 0.12);
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-lg: 32px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --rail-width: 120px;
  --header-h: 72px;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  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;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--outline);
  color: var(--white);
  border-radius: var(--radius-pill);
}

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

.cursor-pointer {
  cursor: pointer;
}

/* Graph-paper background */
.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-grid__paper {
  position: absolute;
  inset: 0;
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-grid__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 224, 102, 0.25), transparent 60%);
}

/* Level progress rail (desktop only) */
.level-rail {
  display: none;
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: var(--rail-width);
}

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

  .page-shell {
    margin-left: calc(var(--rail-width) + 1rem);
  }
}

.level-rail__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.level-rail__node {
  position: relative;
}

.level-rail__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), background var(--transition);
}

.level-rail__link:hover {
  background: rgba(255, 255, 255, 0.6);
}

.level-rail__link:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.level-rail__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  border: 3px solid var(--outline);
  border-radius: 50%;
  box-shadow: var(--shadow-sticker);
}

.level-rail__node--active .level-rail__num,
.level-rail__node.is-active .level-rail__num {
  background: linear-gradient(180deg, var(--orange), var(--coral));
  transform: scale(1.08);
}

.level-rail__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.level-rail__connector {
  width: 4px;
  height: 2.5rem;
  background: repeating-linear-gradient(
    to bottom,
    var(--outline) 0,
    var(--outline) 6px,
    transparent 6px,
    transparent 12px
  );
  border-radius: 2px;
  opacity: 0.35;
}

/* Page shell */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HUD header */
.hud-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  transition: box-shadow var(--transition), background var(--transition);
}

.hud-bar.is-scrolled {
  background: rgba(255, 249, 235, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(74, 26, 26, 0.08);
}

.hud-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border: 3px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
}

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

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid var(--outline);
  object-fit: cover;
}

.brand__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px var(--outline);
  paint-order: stroke fill;
  filter: drop-shadow(2px 2px 0 var(--outline));
}

.hud-steps {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 768px) {
  .hud-steps {
    display: flex;
  }
}

.hud-step {
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.hud-step:hover {
  color: var(--text);
  background: var(--cream-deep);
}

.hud-step--active,
.hud-step.is-active {
  color: var(--outline);
  background: var(--yellow);
  border-color: var(--outline);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--orange), var(--coral));
  border: 3px solid var(--outline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker);
  transition: transform var(--transition), filter var(--transition);
}

.btn-pill:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-pill:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.btn-pill--cta {
  margin-left: auto;
  flex-shrink: 0;
}

.btn-pill--light {
  background: var(--white);
  color: var(--outline);
}

.btn-pill--full {
  width: 100%;
}

.btn-pill svg {
  width: 1.1rem;
  height: 1.1rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--outline);
  border: 3px solid var(--outline);
  border-radius: 14px;
  background: var(--cream-deep);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--yellow);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1100px;
  margin: 0.5rem auto 0;
  padding: 1rem;
  background: var(--white);
  border: 3px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
}

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

.mobile-nav__link {
  padding: 0.65rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
}

.mobile-nav__link:hover {
  background: var(--cream-deep);
}

/* Hero */
.hero {
  position: relative;
  padding: 1.25rem 1rem 0;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-billboard {
  text-align: center;
}

.hero-billboard__img {
  width: min(420px, 88vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(3px 3px 0 var(--outline));
}

.hero__board {
  position: absolute;
  top: 1rem;
  right: -2rem;
  display: grid;
  grid-template-columns: repeat(3, 72px);
  gap: 8px;
  opacity: 0.2;
  pointer-events: none;
}

.hero__cell {
  height: 72px;
  background: var(--white);
  border: 4px solid var(--outline);
  border-radius: 12px;
}

.hero__cell--gap {
  background: transparent;
  border-style: dashed;
}

.hero__content {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

@media (min-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--outline);
  background: var(--white);
  border: 2px solid var(--outline);
  border-radius: var(--radius-pill);
}

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

.hero__title-line {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--white);
  -webkit-text-stroke: 3px var(--outline);
  paint-order: stroke fill;
  text-shadow:
    3px 3px 0 var(--outline),
    0 0 0 var(--outline);
}

.hero__title-line--accent {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 55%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--outline);
  background: var(--yellow);
  border: 3px solid var(--outline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker);
  transition: transform var(--transition), background var(--transition);
}

.btn-store:hover {
  transform: translateY(-2px);
  background: #ffef99;
}

.btn-store--alt {
  background: var(--white);
}

.btn-store__icon {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-store:focus-visible,
.btn-pill:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* Loading bar motif */
.hero__loading {
  max-width: 280px;
}

.hero__loading-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero__loading-track {
  position: relative;
  height: 18px;
  background: #e8e0d4;
  border: 3px solid var(--outline);
  border-radius: var(--radius-pill);
  overflow: visible;
}

.hero__loading-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(90deg, var(--sky), var(--orange));
  border-radius: var(--radius-pill);
  animation: load-pulse 2.5s ease-in-out infinite;
}

@keyframes load-pulse {
  0%,
  100% {
    width: 38%;
  }
  50% {
    width: 58%;
  }
}

.hero__loading-knob {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--sky);
  border: 3px solid var(--outline);
  border-radius: 50%;
  box-shadow: 12px 0 0 -8px var(--orange), 16px -4px 0 -6px var(--orange);
}

/* Phone frame */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  margin: 0;
  text-align: center;
}

.phone-frame__bezel {
  padding: 12px;
  background: var(--outline);
  border-radius: 36px;
  box-shadow: var(--shadow-soft), var(--shadow-sticker);
  border: 4px solid var(--white);
}

.phone-frame__screen {
  width: min(260px, 72vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream-deep);
}

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

.phone-frame__cap {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border: 2px solid var(--outline);
  animation: sparkle-pop 2s ease-in-out infinite;
}

.sparkle--a {
  top: 8%;
  left: 5%;
}

.sparkle--b {
  top: 20%;
  right: 8%;
  animation-delay: 0.6s;
  background: var(--white);
}

.sparkle--c {
  bottom: 20%;
  left: 10%;
}

.sparkle--d {
  top: 15%;
  right: 15%;
  background: var(--white);
}

@keyframes sparkle-pop {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.15) rotate(12deg);
    opacity: 0.85;
  }
}

/* Diagonal slant banner (splash reference) */
.hero__slant-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding: 3rem 1.5rem 2.25rem;
  background: linear-gradient(135deg, #ff9a76 0%, var(--orange) 45%, var(--pink) 100%);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  text-align: center;
}

.hero__slant-banner .hero-billboard__img {
  filter: drop-shadow(4px 4px 0 rgba(74, 26, 26, 0.45));
}

.hero__slant-text {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  color: var(--white);
  -webkit-text-stroke: 2px var(--outline);
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--outline);
}

/* Features path */
.features-path {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.features-path__head {
  text-align: center;
  margin-bottom: 3rem;
}

.sticker-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--white);
  -webkit-text-stroke: 2.5px var(--outline);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--outline);
}

.features-path__sub {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.level-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Maze connector line down the center */
.level-cards::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--outline) 0,
    var(--outline) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.2;
  z-index: 0;
}

.level-cards__row {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 2rem;
}

.level-cards__row--left {
  justify-content: flex-start;
  padding-right: 52%;
}

.level-cards__row--right {
  justify-content: flex-end;
  padding-left: 52%;
}

@media (max-width: 640px) {
  .level-cards::before {
    display: none;
  }

  .level-cards__row--left,
  .level-cards__row--right {
    padding: 0;
    justify-content: center;
  }
}

.level-card {
  max-width: 340px;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 3px solid var(--outline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sticker);
  transition: transform var(--transition), box-shadow var(--transition);
}

.level-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--outline);
}

.level-card__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--outline);
  background: var(--yellow);
  border: 2px solid var(--outline);
  border-radius: var(--radius-pill);
}

.level-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  color: var(--outline);
  background: linear-gradient(180deg, var(--cream-deep), var(--white));
  border: 3px solid var(--outline);
  border-radius: 14px;
}

.level-card__icon svg {
  width: 24px;
  height: 24px;
}

.level-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--outline);
}

.level-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Screenshots — uniform 9:16 portrait frames */
.shots-gallery {
  padding: 3rem 0 4rem;
  max-width: 1120px;
  margin: 0 auto;
}

.shots-gallery__head {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.shots-gallery__sub {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.shots-gallery__viewport {
  outline: none;
}

.shots-gallery__viewport:focus-visible {
  box-shadow: inset 0 0 0 3px var(--sky);
  border-radius: var(--radius-card);
}

.shots-gallery__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0 1rem;
  align-items: start;
}

.shots-gallery__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.shots-gallery__card > img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
  background: var(--cream-deep);
  border: 3px solid var(--outline);
  border-radius: 20px;
  box-shadow: var(--shadow-sticker);
  transition: transform var(--transition), box-shadow var(--transition);
}

.shots-gallery__card:hover > img {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--outline);
}

.shots-gallery__cap {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
}

.shots-gallery__hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.shots-gallery__hint svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Tablet: 2×2 grid */
@media (max-width: 1023px) {
  .shots-gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Mobile: horizontal scroll, fixed portrait width */
@media (max-width: 767px) {
  .shots-gallery__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .shots-gallery__track {
    display: flex;
    gap: 1rem;
    padding: 0 1rem 0.5rem;
    width: max-content;
    max-width: none;
  }

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

  .shots-gallery__hint {
    display: flex;
  }
}

/* Small phones: slightly narrower cards */
@media (max-width: 399px) {
  .shots-gallery__card {
    flex-basis: min(180px, 72vw);
  }
}

/* Download banner */
.download-banner {
  position: relative;
  margin-top: 2rem;
  padding: 0 1rem 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.download-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ff9a76 0%, var(--orange) 40%, var(--pink) 100%);
  border: 4px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 88%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .download-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 3.5rem 2.5rem;
  }
}

.download-banner__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  -webkit-text-stroke: 2px var(--outline);
  paint-order: stroke fill;
}

.download-banner__lead {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 1px 1px 0 var(--outline-soft);
}

.download-banner__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 1rem;
  border-top: 3px solid var(--outline);
  background: var(--white);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.site-footer__links a {
  font-weight: 600;
  color: var(--outline);
  transition: color var(--transition);
}

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

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 21, 21, 0.55);
  cursor: pointer;
}

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

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--outline);
  background: var(--cream-deep);
  border: 3px solid var(--outline);
  border-radius: 12px;
  transition: background var(--transition);
}

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

.modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--outline);
}

.modal__text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}
