/* =========================================================
   Pop Arrow — Official Landing
   Style: hyper-casual sunburst + claymorphism (Fredoka/Nunito)
   Layout: centered board hero · zigzag trail · orbit how-to
   ========================================================= */

:root {
  --orange-deep: #E85D04;
  --orange: #FF7A1A;
  --orange-soft: #FF9F4A;
  --gold: #FFE066;
  --gold-deep: #F5C518;
  --sky: #3BA3FF;
  --sky-deep: #1E7FE0;
  --ink: #2B1B4E;
  --ink-soft: #4A3568;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --pink: #FF8FAB;
  --lime: #86EFAC;
  --mint: #7DD3FC;
  --violet: #C4B5FD;
  --shadow-clay: 0 8px 0 rgba(43, 27, 78, 0.12), 0 18px 40px rgba(232, 93, 4, 0.18);
  --radius-blob: 48px;
  --radius-pill: 999px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  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: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.cursor-pointer,
a,
button,
.btn {
  cursor: pointer;
}

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

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

/* ---------- Floating shapes ---------- */
.float-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  display: block;
  filter: drop-shadow(0 6px 8px rgba(43, 27, 78, 0.15));
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.shape--tri {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid #86EFAC;
  top: 18%;
  left: 6%;
}

.shape--star {
  width: 36px;
  height: 36px;
  background: #FF8FAB;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 28%;
  right: 8%;
}

.shape--sq {
  width: 34px;
  height: 34px;
  background: #7DD3FC;
  border-radius: 8px;
  top: 62%;
  left: 4%;
  transform: rotate(18deg);
}

.shape--circ {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  top: 72%;
  right: 6%;
}

.shape--plus {
  width: 32px;
  height: 32px;
  top: 48%;
  right: 14%;
  background:
    linear-gradient(#A78BFA, #A78BFA) center/10px 100% no-repeat,
    linear-gradient(#A78BFA, #A78BFA) center/100% 10px no-repeat;
}

.shape--hex {
  width: 38px;
  height: 34px;
  background: #FB923C;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  top: 12%;
  right: 22%;
}

@media (max-width: 768px) {
  .shape--plus,
  .shape--hex {
    display: none;
  }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 1.25rem;
  transition: padding 0.25s var(--ease), background 0.25s var(--ease);
}

.nav.is-stuck {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav.is-stuck .nav__shell {
  box-shadow: 0 10px 28px rgba(43, 27, 78, 0.14);
}

.nav__shell {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 3px solid #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-clay);
  transition: box-shadow 0.25s var(--ease);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 0 rgba(43, 27, 78, 0.18);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav__links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.35rem 0.2rem;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--orange);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream);
  border: 2px solid rgba(43, 27, 78, 0.08);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: #fff;
    border-radius: 24px;
    border: 3px solid #fff;
    box-shadow: var(--shadow-clay);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__links a {
    padding: 0.75rem 1rem;
    border-radius: 14px;
  }

  .nav__links a:hover {
    background: var(--cream);
  }

  .nav__links .btn--nav {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--nav {
  padding: 0.55rem 1.15rem;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.btn--nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--ink);
}

.btn--nav:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.btn--primary {
  padding: 0.85rem 1.75rem;
  background: linear-gradient(180deg, var(--orange-soft) 0%, var(--orange) 100%);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  font-size: 1.05rem;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}

.btn--store {
  padding: 0.65rem 1.35rem;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 rgba(43, 27, 78, 0.2);
  text-align: left;
  gap: 0.65rem;
  min-width: 168px;
}

.btn--store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.05rem;
}

.btn--store small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn--store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(43, 27, 78, 0.2);
}

.btn--store:active {
  transform: translateY(1px);
  box-shadow: 0 3px 0 rgba(43, 27, 78, 0.2);
}

.btn--store-dark {
  background: var(--ink);
  color: #fff;
  border-color: #1a0f30;
}

.btn--store-lg {
  min-width: 190px;
  padding: 0.85rem 1.5rem;
}

.btn--store [data-lucide],
.btn--store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) 1.25rem 3.5rem;
  overflow: hidden;
}

.hero__sunburst {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, #FFB347 0%, transparent 42%),
    repeating-conic-gradient(
      from 0deg at 50% 42%,
      #FF8A1F 0deg 8deg,
      #FF6B00 8deg 16deg
    );
  z-index: -1;
}

.hero__sunburst::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 248, 240, 0.55) 0%, transparent 55%);
}

.hero__stage {
  width: min(780px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  line-height: 0.92;
  margin-bottom: 0.75rem;
}

.hero__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 6.2rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__word--white,
.hero__word--gold {
  -webkit-text-stroke: 0;
  text-shadow:
    -3px -3px 0 var(--ink),
     3px -3px 0 var(--ink),
    -3px  3px 0 var(--ink),
     3px  3px 0 var(--ink),
    -3px  0   0 var(--ink),
     3px  0   0 var(--ink),
     0   -3px 0 var(--ink),
     0    3px 0 var(--ink),
     0    7px 0 rgba(43, 27, 78, 0.35);
}

.hero__word--gold {
  color: #FFB020;
}

.hero__tagline {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(43, 27, 78, 0.25);
  margin-bottom: 1.5rem;
}

.hero__visual {
  position: relative;
  width: min(640px, 100%);
  margin-bottom: 1.75rem;
}

.hero__banner {
  width: 100%;
  border-radius: 28px;
  border: 4px solid #fff;
  box-shadow:
    0 10px 0 rgba(43, 27, 78, 0.12),
    0 22px 44px rgba(180, 60, 0, 0.28);
  object-fit: cover;
  aspect-ratio: 1024 / 500;
}

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

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: bob 2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 22px;
  height: 22px;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 560px;
  margin: 0 auto 2.75rem;
  text-align: center;
  padding: 0 1rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.section-head--light h2,
.section-head--light .lede,
.section-head--light .eyebrow {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-head--light .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}

.lede {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Features / zigzag trail ---------- */
.features {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem 4rem;
  background:
    linear-gradient(180deg, var(--cream) 0%, #FFE8D4 40%, var(--cream) 100%);
}

.trail {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: 0.5rem 0 1rem;
}

.trail__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.trail__line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-dasharray: 10 12;
  stroke-linecap: round;
}

.station {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(380px, 92%);
  padding: 1.15rem 1.25rem;
  background: #fff;
  border-radius: 28px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-clay);
}

.station--left {
  align-self: flex-start;
  margin-left: 0;
}

.station--right {
  align-self: flex-end;
  flex-direction: row-reverse;
  text-align: right;
}

.station__badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--orange-soft), var(--orange));
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.station__badge svg {
  width: 26px;
  height: 26px;
}

.station:nth-child(3) .station__badge {
  background: linear-gradient(145deg, #7DD3FC, var(--sky));
}

.station:nth-child(4) .station__badge {
  background: linear-gradient(145deg, #FDE047, #F59E0B);
  color: var(--ink);
}

.station:nth-child(5) .station__badge {
  background: linear-gradient(145deg, #C4B5FD, #8B5CF6);
}

.station__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.station__body p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .trail__spine {
    left: 28px;
    transform: none;
  }

  .station,
  .station--left,
  .station--right {
    align-self: stretch;
    width: 100%;
    margin-left: 2.5rem;
    flex-direction: row;
    text-align: left;
  }
}

/* ---------- Screenshots fan ---------- */
.shots {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  background: linear-gradient(180deg, #FFF8F0 0%, #FFE4CC 50%, #FFF8F0 100%);
  overflow: hidden;
}

.shots .section-head {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.shots__fan {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem 1.25rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.shot {
  flex: 0 0 auto;
  width: min(168px, 18vw);
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-clay);
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg));
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
  cursor: default;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.shot--focus {
  width: min(200px, 22vw);
  z-index: 2;
  box-shadow:
    0 12px 0 rgba(43, 27, 78, 0.14),
    0 28px 48px rgba(232, 93, 4, 0.22);
}

.shot:hover {
  transform: translateY(calc(var(--lift, 0px) - 8px)) rotate(var(--tilt, 0deg));
  box-shadow: 0 14px 0 rgba(43, 27, 78, 0.12), 0 28px 40px rgba(232, 93, 4, 0.2);
}

@media (max-width: 720px) {
  .shots__fan {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
  }

  .shot,
  .shot--focus {
    width: min(200px, 58vw);
    scroll-snap-align: center;
    transform: none;
    flex-shrink: 0;
  }

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

/* ---------- Orbit how-it-works ---------- */
.orbit {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem 4.5rem;
  overflow: hidden;
  color: #fff;
}

.orbit__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, #5BB8FF 0%, transparent 48%),
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      #3BA3FF 0deg 9deg,
      #2B8FE8 9deg 18deg
    );
}

.orbit__stage {
  position: relative;
  width: min(420px, 86vw);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
}

.orbit__core {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #FFE066, #FF9A1F);
  border-radius: 50%;
  border: 4px solid var(--ink);
  box-shadow:
    0 8px 0 rgba(43, 27, 78, 0.25),
    0 0 0 12px rgba(255, 255, 255, 0.2);
  z-index: 2;
  overflow: hidden;
  padding: 0;
}

.orbit__core img {
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: 50%;
}

.orbit__core-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: var(--ink);
  letter-spacing: 0.04em;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.45);
}

.orbit__node {
  --angle: calc(var(--i) * 120deg);
  --radius: clamp(120px, 38vw, 168px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  padding: 0.7rem 0.55rem;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 rgba(43, 27, 78, 0.2);
  text-align: center;
  transform:
    rotate(var(--angle)) translate(var(--radius)) rotate(calc(-1 * var(--angle)));
  margin: -36px 0 0 -59px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.orbit__node:hover {
  box-shadow: 0 8px 0 rgba(43, 27, 78, 0.22);
}

.orbit__node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.orbit__node span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.orbit__note {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0, 40, 100, 0.25);
}

/* ---------- Download ---------- */
.download {
  position: relative;
  z-index: 1;
  padding: 5.5rem 1.25rem 5rem;
  overflow: hidden;
  text-align: center;
}

.download__sunburst {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ffffff;
}

.download__inner {
  max-width: 640px;
  margin: 0 auto;
}

.download__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 0.35em;
  margin-bottom: 1rem;
  line-height: 1;
}

.dl-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  text-shadow:
    -3px -3px 0 var(--ink),
     3px -3px 0 var(--ink),
    -3px  3px 0 var(--ink),
     3px  3px 0 var(--ink),
    -3px  0   0 var(--ink),
     3px  0   0 var(--ink),
     0   -3px 0 var(--ink),
     0    3px 0 var(--ink),
     0    6px 0 rgba(43, 27, 78, 0.2);
}

.dl-word--white { color: #fff; }
.dl-word--gold { color: var(--gold); }

.download__lede {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.download__art {
  width: min(220px, 52vw);
  margin: 0 auto 1.75rem;
  border-radius: 28px;
  border: 4px solid #fff;
  box-shadow:
    0 10px 0 rgba(10, 40, 90, 0.2),
    0 24px 40px rgba(10, 40, 90, 0.35);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.25rem;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

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

.footer__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer__copy {
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ---------- 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(43, 27, 78, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 32px;
  padding: 2rem 1.75rem 1.75rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-clay);
  text-align: center;
  animation: pop-in 0.3s var(--ease);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: background 0.2s ease;
}

.modal__close:hover {
  background: #FFE0C8;
}

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

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--orange-soft), var(--orange));
  color: #fff;
  border: 3px solid var(--ink);
}

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

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

.modal__panel p {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
}

body.modal-open {
  overflow: hidden;
}

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

  .hero__scroll,
  .modal__panel {
    animation: none !important;
  }

  .shape,
  .btn,
  .nav__links {
    transition: none !important;
  }
}
