/* =========================================================
   ArrowPang — Claymorphic isometric trail landing
   Light mint playground · coral CTAs · path-journey layout
   ========================================================= */

:root {
  --mint-50: #e8faf6;
  --mint-100: #c8ede8;
  --mint-200: #9fdcd4;
  --mint-400: #4fb9b7;
  --mint-600: #2a8f8c;
  --mint-800: #1a4a4f;

  --coral-400: #ff7b8a;
  --coral-500: #ff5f73;
  --coral-600: #e8485c;

  --lilac: #b89ae8;
  --lilac-soft: #e8dff8;
  --sun: #ffe066;
  --sun-soft: #fff4c2;
  --cream: #fff8f0;
  --white: #ffffff;

  --text: #1a4a4f;
  --text-muted: #3d6b70;
  --stroke: #1f5c62;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shadow-clay:
    0 10px 0 rgba(26, 74, 79, 0.12),
    0 18px 36px rgba(47, 143, 140, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.65);
  --shadow-soft: 0 12px 40px rgba(47, 143, 140, 0.22);

  --font-display: "Jua", "Noto Sans KR", system-ui, sans-serif;
  --font-body: "Noto Sans KR", system-ui, sans-serif;

  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.34, 1.2, 0.64, 1);
  --dur: 220ms;

  --page-bg: #b8e5df;
  --page-bg-2: #d4f3ee;
  --surface: rgba(255, 255, 255, 0.88);
  --nav-bg: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] {
  --page-bg: #1a3340;
  --page-bg-2: #243f4c;
  --surface: rgba(30, 55, 64, 0.9);
  --nav-bg: rgba(24, 48, 58, 0.88);
  --text: #e8f6f4;
  --text-muted: #a8cfd0;
  --stroke: #7ec8c4;
  --cream: #243f4c;
  --shadow-clay:
    0 10px 0 rgba(0, 0, 0, 0.25),
    0 18px 36px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--page-bg-2) 0%, var(--page-bg) 40%, var(--mint-100) 100%);
  background-attachment: fixed;
  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: 1000;
  padding: 0.75rem 1rem;
  background: var(--coral-500);
  color: #fff;
  border-radius: var(--radius-md);
}

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

/* ---------- Atmosphere ---------- */
.playground {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.playground__mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 20%, rgba(184, 154, 232, 0.25), transparent 55%),
    radial-gradient(ellipse 45% 40% at 70% 80%, rgba(255, 123, 138, 0.18), transparent 50%);
}

.playground__cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.7);
  animation: float-y 9s ease-in-out infinite;
}

.playground__cloud--a {
  width: 180px;
  height: 70px;
  top: 12%;
  left: 8%;
}

.playground__cloud--b {
  width: 140px;
  height: 55px;
  top: 55%;
  right: 6%;
  animation-delay: -3s;
}

.playground__cloud--c {
  width: 110px;
  height: 44px;
  bottom: 18%;
  left: 18%;
  animation-delay: -5s;
}

.playground__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, 0.15));
  box-shadow: inset -4px -6px 12px rgba(47, 143, 140, 0.15);
  animation: float-y 7s ease-in-out infinite;
}

.playground__orb--1 {
  width: 48px;
  height: 48px;
  top: 22%;
  right: 18%;
  opacity: 0.7;
}

.playground__orb--2 {
  width: 28px;
  height: 28px;
  top: 68%;
  left: 12%;
  animation-delay: -2s;
  opacity: 0.55;
}

.playground__orb--3 {
  width: 36px;
  height: 36px;
  top: 40%;
  left: 5%;
  animation-delay: -4s;
  opacity: 0.45;
  background: radial-gradient(circle at 30% 30%, #ffe066, rgba(255, 224, 102, 0.2));
}

.playground__star {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--lilac);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 3.5s ease-in-out infinite;
}

.playground__star--1 {
  top: 28%;
  left: 42%;
}

.playground__star--2 {
  top: 72%;
  right: 22%;
  background: var(--sun);
  animation-delay: -1.5s;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(12deg);
  }
}

/* ---------- Cloud nav ---------- */
.cloud-nav {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--dur) ease, padding var(--dur) ease;
}

.cloud-nav.is-scrolled {
  box-shadow:
    0 8px 0 rgba(26, 74, 79, 0.1),
    0 16px 32px rgba(47, 143, 140, 0.2);
}

.cloud-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  flex-shrink: 0;
}

.cloud-brand img {
  border-radius: 10px;
  box-shadow: 0 4px 0 rgba(26, 74, 79, 0.12);
}

.cloud-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.cloud-links a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background var(--dur) ease, color var(--dur) ease;
}

.cloud-links a:hover,
.cloud-links a:focus-visible {
  background: rgba(79, 185, 183, 0.2);
  color: var(--text);
  outline: none;
}

.cloud-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.theme-toggle,
.nav-burger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid rgba(26, 74, 79, 0.12);
  background: var(--surface);
  color: var(--text);
  transition: transform var(--dur) var(--ease), background var(--dur) ease;
}

.theme-toggle:hover,
.nav-burger:hover {
  transform: translateY(-2px);
}

.theme-toggle .icon-sun {
  display: none;
}

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

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.nav-burger {
  display: grid;
}

@media (min-width: 860px) {
  .cloud-links {
    display: flex;
  }

  .nav-burger {
    display: none;
  }
}

/* Mobile drawer */
@media (max-width: 859px) {
  .cloud-links.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    border: 3px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .cloud-links.is-open a {
    padding: 0.75rem 1rem;
  }
}

/* ---------- Buttons ---------- */
.btn-clay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-clay);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, filter var(--dur) ease;
}

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

.btn-clay:active {
  transform: translateY(2px);
  box-shadow:
    0 4px 0 rgba(26, 74, 79, 0.12),
    0 8px 16px rgba(47, 143, 140, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.btn-clay:focus-visible {
  outline: 3px solid var(--mint-400);
  outline-offset: 3px;
}

.btn-clay--coral {
  background: linear-gradient(180deg, #ff93a0 0%, var(--coral-500) 55%, var(--coral-600) 100%);
}

.btn-clay--mint {
  background: linear-gradient(180deg, #6fd0cb 0%, var(--mint-400) 55%, var(--mint-600) 100%);
  color: #fff;
}

.btn-clay--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.1rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 168px;
  padding: 0.7rem 1.1rem;
  border-radius: 16px;
  background: var(--mint-800);
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-clay);
  text-align: left;
  transition: transform var(--dur) var(--ease), filter var(--dur) ease;
}

.btn-store:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.btn-store:focus-visible {
  outline: 3px solid var(--coral-400);
  outline-offset: 3px;
}

.btn-store--play {
  background: linear-gradient(180deg, #3d6b70, var(--mint-800));
}

.btn-store small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.85;
  font-weight: 600;
  line-height: 1.1;
}

.btn-store strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.btn-store i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- Sticker titles ---------- */
.sticker-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(26, 74, 79, 0.18);
  position: relative;
  display: inline-block;
}

.sticker-title--sm {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  -webkit-text-stroke: 3.5px var(--stroke);
}

.sticker-title__star {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin: 0 0.05em;
  vertical-align: middle;
  background: var(--sun);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 2px 0 rgba(26, 74, 79, 0.2));
}

/* ---------- Main ---------- */
main {
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem;
  text-align: center;
  gap: 2rem;
}

.hero__glow {
  position: absolute;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-600);
}

.hero__tagline {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--text-muted);
}

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

.hero__visual {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.iso-stage {
  margin: 0;
  position: relative;
  border-radius: 32px;
  overflow: visible;
  filter: drop-shadow(0 24px 40px rgba(26, 74, 79, 0.22));
}

.iso-stage__art {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.75);
  background: var(--mint-200);
}

.iso-stage__float {
  position: absolute;
  width: clamp(64px, 12vw, 110px);
  height: auto;
  right: -2%;
  bottom: -8%;
  animation: float-y 5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(255, 95, 115, 0.35));
}

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mint-600);
  opacity: 0.75;
  animation: float-y 2.8s ease-in-out infinite;
}

.hero__scroll:hover {
  opacity: 1;
}

/* ---------- Trail spine ---------- */
.trail {
  display: none;
}

@media (min-width: 900px) {
  .trail {
    display: block;
    position: absolute;
    left: 50%;
    top: 95vh;
    bottom: 28%;
    width: 120px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
  }

  .trail__svg {
    width: 100%;
    height: 100%;
  }

  .trail__path {
    fill: none;
    stroke: var(--coral-400);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 18 16;
    opacity: 0.55;
  }
}

/* ---------- Features: staggered iso platforms ---------- */
.features {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.iso-trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.iso-block {
  display: flex;
  width: 100%;
}

.iso-block--left {
  justify-content: flex-start;
}

.iso-block--right {
  justify-content: flex-end;
}

.iso-block__platform {
  position: relative;
  width: min(100%, 460px);
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-clay);
  color: var(--text);
  transform: perspective(800px) rotateX(2deg);
  transition: transform var(--dur) var(--ease);
}

.iso-block__platform:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-4px);
}

.iso-block__platform--mint {
  background: linear-gradient(160deg, #e6faf7 0%, #b7ebe4 100%);
}

.iso-block__platform--coral {
  background: linear-gradient(160deg, #ffe8eb 0%, #ffc2cb 100%);
}

.iso-block__platform--lilac {
  background: linear-gradient(160deg, #f3ecff 0%, #d9c8f5 100%);
}

.iso-block__platform--sun {
  background: linear-gradient(160deg, #fff8d6 0%, #ffe9a0 100%);
}

.iso-block__step {
  position: absolute;
  top: -0.85rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--mint-800);
  color: #fff;
  box-shadow: 0 4px 0 rgba(26, 74, 79, 0.2);
}

.iso-block__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 3px solid rgba(255, 255, 255, 0.9);
  color: var(--mint-600);
  box-shadow: inset 0 -3px 0 rgba(26, 74, 79, 0.08);
}

.iso-block__platform h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.iso-block__platform p {
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .iso-block--left .iso-block__platform {
    margin-right: 12%;
    transform: perspective(900px) rotateY(4deg) rotateX(2deg);
  }

  .iso-block--right .iso-block__platform {
    margin-left: 12%;
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  }

  .iso-block--left .iso-block__platform:hover,
  .iso-block--right .iso-block__platform:hover {
    transform: perspective(900px) rotateY(0) rotateX(0) translateY(-6px);
  }
}

/* ---------- Board fan ---------- */
.boards {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 5rem;
  overflow: hidden;
}

.board-fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  min-height: 0;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 0.5rem 1rem;
}

.board-tray {
  margin: 0;
  flex: 0 1 auto;
  width: min(240px, 28vw);
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #e8c49a;
  background: #fff;
  box-shadow:
    0 14px 0 rgba(26, 74, 79, 0.1),
    0 28px 48px rgba(26, 74, 79, 0.18);
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
}

.board-tray img {
  width: 100%;
  height: auto;
  aspect-ratio: 576 / 1024;
  object-fit: cover;
  object-position: center top;
}

.board-tray--a {
  transform: rotate(-5deg) translateY(12px);
  border-color: #e8a0b8;
}

.board-tray--b {
  transform: rotate(0deg) translateY(0);
  border-color: #7ec8e8;
}

.board-tray--c {
  transform: rotate(5deg) translateY(12px);
  border-color: #b89ae8;
}

.board-tray:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow:
    0 18px 0 rgba(26, 74, 79, 0.1),
    0 32px 52px rgba(26, 74, 79, 0.2);
}

@media (max-width: 720px) {
  .board-fan {
    gap: 1.25rem;
    padding-inline: 0.75rem;
  }

  .board-tray {
    width: min(200px, 30vw);
  }
}

@media (max-width: 560px) {
  .board-fan {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .board-tray,
  .board-tray--a,
  .board-tray--b,
  .board-tray--c {
    width: min(260px, 78vw);
    transform: none;
  }

  .board-tray:hover {
    transform: translateY(-4px);
  }
}

/* ---------- Download ---------- */
.download {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 4rem;
}

.download__platform {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 2.25rem;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #e6faf7 100%);
  border-radius: 36px;
  border: 5px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-clay);
}

html[data-theme="dark"] .download__platform {
  background: linear-gradient(165deg, #2a4a55 0%, #1f3a44 100%);
}

.download__platform p {
  margin: 0.9rem auto 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-weight: 600;
}

.download__cta {
  margin-top: 1.5rem;
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 0 rgba(26, 74, 79, 0.08);
  padding: 0.25rem 1.1rem 0.25rem;
  transition: box-shadow var(--dur) ease;
}

.faq__item[open] {
  box-shadow: 0 10px 0 rgba(26, 74, 79, 0.1);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 0;
  color: var(--text);
}

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

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--coral-500);
}

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

.faq__item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 3px dashed rgba(26, 74, 79, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="dark"] .site-footer {
  background: rgba(0, 0, 0, 0.2);
  border-top-color: rgba(255, 255, 255, 0.08);
}

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

.cloud-brand--footer {
  font-size: 1rem;
}

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

.site-footer__links a {
  color: var(--mint-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur) ease;
}

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

.site-footer__copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 74, 79, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #e8faf6 100%);
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-clay);
  color: var(--mint-800);
}

html[data-theme="dark"] .modal__panel {
  background: linear-gradient(180deg, #2a4a55, #1f3a44);
  color: var(--text);
}

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

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff93a0, var(--coral-500));
  color: #fff;
  box-shadow: var(--shadow-clay);
}

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

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

body.modal-open {
  overflow: hidden;
}

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

  .playground__cloud,
  .playground__orb,
  .playground__star,
  .iso-stage__float,
  .hero__scroll {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
