/* =========================================================
   Arrow Chain Blitz — Game-board stage landing
   Differentiated layout: HUD nav + floating white boards
   on a living green/yellow gradient with arrow-chain path
   ========================================================= */

:root {
  --green-deep: #064e2a;
  --green-mid: #0d6b35;
  --green-bright: #3a9b2e;
  --lime: #8fd82a;
  --lime-soft: #c8f06a;
  --yellow: #ffe135;
  --yellow-hot: #ffd000;
  --lavender: #c4b0f0;
  --lavender-deep: #9b84d8;
  --navy: #141428;
  --ink: #1a1a2e;
  --muted: #5a5a78;
  --white: #ffffff;
  --board: #ffffff;
  --dot: rgba(20, 20, 40, 0.08);
  --shadow: 0 24px 60px rgba(4, 40, 20, 0.28);
  --radius-board: 28px;
  --radius-pill: 999px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --hud-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(255, 225, 53, 0.55);
}

[data-theme="dark"] {
  --board: #1a2420;
  --ink: #f1f5f0;
  --muted: #a8b5ae;
  --dot: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --lavender: #b8a4e8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--green-deep);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

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

/* ---------- Living stage background ---------- */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #1a8a42 0%, transparent 55%),
    linear-gradient(165deg, #053820 0%, #0d6b35 38%, #5eb820 72%, #b8e84a 100%);
  overflow: hidden;
}

.stage-bg__glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  right: -20%;
  top: 20%;
  background: radial-gradient(circle, rgba(255, 225, 53, 0.22), transparent 65%);
  pointer-events: none;
}

.chev {
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: 0.12;
  background:
    linear-gradient(135deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%);
  clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%);
  filter: blur(0.5px);
  animation: drift 22s var(--ease) infinite alternate;
}

.chev--1 { top: 8%; left: -2%; transform: rotate(-18deg) scale(1.4); }
.chev--2 { top: 35%; right: -4%; transform: rotate(12deg) scale(1.8); animation-delay: -6s; }
.chev--3 { bottom: 22%; left: 12%; transform: rotate(-8deg) scale(1.1); animation-delay: -12s; opacity: 0.08; }
.chev--4 { bottom: 5%; right: 18%; transform: rotate(25deg) scale(1.5); animation-delay: -3s; }

@keyframes drift {
  from { translate: 0 0; }
  to { translate: 24px -18px; }
}

/* ---------- HUD navbar ---------- */
.hud {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px auto 0;
  width: min(1120px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 36px rgba(4, 40, 20, 0.18);
  transition: box-shadow 0.25s var(--ease), background 0.25s;
}

.hud.is-scrolled {
  box-shadow: 0 14px 40px rgba(4, 40, 20, 0.28);
}

[data-theme="dark"] .hud {
  background: rgba(22, 36, 28, 0.92);
}

.hud__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
  white-space: nowrap;
}

[data-theme="dark"] .hud__brand {
  color: var(--lime-soft);
}

.hud__brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.hud__nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 0.35rem;
}

.hud__pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.hud__pill:hover {
  background: rgba(13, 107, 53, 0.1);
  color: var(--green-mid);
}

.hud__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 107, 53, 0.08);
  color: var(--green-mid);
  transition: background 0.2s;
}

.theme-btn:hover {
  background: rgba(13, 107, 53, 0.16);
}

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

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: rgba(13, 107, 53, 0.1);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  top: calc(12px + var(--hud-h));
  left: 12px;
  right: 12px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--board);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.drawer[hidden] {
  display: none !important;
}

.drawer a {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
}

.drawer a:hover {
  background: rgba(13, 107, 53, 0.08);
}

@media (min-width: 900px) {
  .hud__nav { display: flex; }
  .burger { display: none; }
  .drawer { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--yellow {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-hot) 100%);
  color: var(--navy);
  box-shadow: 0 6px 0 #c9a400, 0 10px 24px rgba(255, 208, 0, 0.35);
}

.btn--yellow:hover {
  box-shadow: 0 8px 0 #c9a400, 0 14px 28px rgba(255, 208, 0, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  border-radius: 12px;
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Shared board / tags ---------- */
.level-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--lavender);
  color: #3d2f6b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.level-tag--dark {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
}

.board {
  background: var(--board);
  border-radius: var(--radius-board);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}

.board__hud {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.board__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.t-lavender {
  color: var(--lavender-deep);
}

.hearts {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
  color: #ef4444;
}

.hearts svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.glow-arrow {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(255, 225, 53, 0.65);
}

.glow-arrow svg {
  width: 22px;
  height: 22px;
}

.glow-arrow--lg {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 18px;
}

.glow-arrow--lg svg {
  width: 28px;
  height: 28px;
}

/* ---------- Hero ---------- */
.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 1.5rem auto 3rem;
  padding-top: 0.5rem;
}

.hero__top {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.t-white { color: #fff; }
.t-yellow {
  color: var(--yellow);
  text-shadow: 0 0 28px rgba(255, 225, 53, 0.45);
}

.hero__lead {
  margin: 1rem auto 1.35rem;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

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

.board--hero {
  padding-bottom: 1.25rem;
}

.board__grid {
  /* Dot-grid like the in-game board */
  background-image: radial-gradient(var(--dot) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 20px;
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.hero__logo {
  width: min(420px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.phone-rail {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  perspective: 900px;
}

.phone {
  margin: 0;
  width: min(160px, 38vw);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  border: 3px solid #1e293b;
  transform: rotate(-4deg);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone--offset {
  transform: rotate(5deg) translateY(-12px);
  width: min(180px, 42vw);
}

.board__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(196, 176, 240, 0.35);
  color: #3d2f6b;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

[data-theme="dark"] .board__hint {
  background: rgba(196, 176, 240, 0.18);
  color: var(--lavender);
}

.board__hint svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .board__grid {
    grid-template-columns: 1fr 1.1fr;
    padding: 1.5rem;
  }

  .phone {
    width: 180px;
  }

  .phone--offset {
    width: 200px;
  }
}

/* ---------- Sections ---------- */
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 4rem;
}

.section__head {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

.section__title {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.section__title .accent {
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255, 225, 53, 0.4);
}

.section__sub {
  margin: 0 auto;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

/* ---------- Feature chain path ---------- */
.chain__track {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 0.5rem 0 1rem;
}

.chain__svg {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 80px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.chain__path {
  stroke: rgba(255, 225, 53, 0.55);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 10;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -220; }
}

.chain__node {
  position: relative;
  z-index: 1;
  background: var(--board);
  border-radius: 22px;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
}

.chain__node h3 {
  margin: 0.65rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.chain__node p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.node-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lime) 0%, var(--green-bright) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(61, 155, 46, 0.35);
}

.node-icon svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 800px) {
  .chain__track {
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    row-gap: 2rem;
  }

  .chain__svg {
    display: block;
  }

  .chain__node--left {
    justify-self: end;
  }

  .chain__node--right {
    justify-self: start;
    margin-top: 2.5rem;
  }

  .chain__node--left:nth-of-type(3) {
    margin-top: -1rem;
  }
}

/* ---------- How to ---------- */
.board--howto {
  max-width: 720px;
  margin-inline: auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  background-color: rgba(13, 107, 53, 0.04);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Gallery rail ---------- */
.rail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.rail__card {
  flex: 0 0 min(220px, 70vw);
  margin: 0;
  scroll-snap-align: center;
  background: var(--board);
  border-radius: 24px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rail__card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  background: #0f172a;
}

.rail__card figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  color: var(--ink);
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  box-shadow: 0 8px 20px rgba(4, 40, 20, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.rail-btn:hover {
  transform: scale(1.06);
  background: var(--yellow);
}

.rail-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 560px) {
  .rail-btn {
    display: none;
  }

  .rail-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.board--faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  border-radius: 16px;
  background: rgba(13, 107, 53, 0.05);
  border: 1px solid rgba(13, 107, 53, 0.1);
  overflow: hidden;
}

[data-theme="dark"] .faq__item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-mid);
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Download ---------- */
.download__card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(6, 78, 42, 0.55), rgba(13, 107, 53, 0.35)),
    rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: var(--shadow);
}

.download__card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.download__card p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

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

/* ---------- Footer ---------- */
.footer {
  margin-top: 2rem;
  padding: 2.5rem 1rem 3rem;
  background: rgba(3, 40, 22, 0.55);
  color: rgba(255, 255, 255, 0.85);
}

.footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.footer__brand img {
  border-radius: 10px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 16, 0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: var(--board);
  color: var(--ink);
  border-radius: 24px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  animation: pop 0.3s var(--ease);
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 107, 53, 0.08);
  color: var(--ink);
}

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

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lime), var(--green-bright));
  color: #fff;
}

.modal__icon svg {
  width: 28px;
  height: 28px;
}

.modal__panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.modal__panel p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

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

  .chev,
  .chain__path,
  .modal__panel {
    animation: none !important;
  }

  .btn:hover,
  .rail-btn:hover {
    transform: none;
  }
}
