/* =========================================================
   Rich Arrow — Play-board landing
   Signature: navy chrome + floating white boards + lime CTAs
   ========================================================= */

:root {
  --navy: #152b5f;
  --navy-mid: #1c3a7a;
  --navy-deep: #0b1638;
  --board: #ffffff;
  --page: #e8eef9;
  --lime: #4ade80;
  --lime-hot: #22c55e;
  --lime-ink: #14532d;
  --cyan: #22d3ee;
  --gold: #f5c542;
  --rose: #ff4d6a;
  --ink: #13213a;
  --muted: #5a6b8c;
  --dot: #d4dceb;
  --radius-board: 36px;
  --radius-pill: 999px;
  --shadow-board: 0 24px 60px rgba(11, 22, 56, 0.28);
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --topbar-h: 72px;
  --dock-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(74, 222, 128, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.14), transparent 45%),
    linear-gradient(180deg, #dfe8f8 0%, var(--page) 40%, #d5e0f4 100%);
  line-height: 1.55;
  padding-bottom: calc(var(--dock-h) + 28px);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0.7rem 0 0.85rem;
  background: linear-gradient(180deg, #1e3d82 0%, var(--navy) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(11, 22, 56, 0.35);
  z-index: 50;
  transition: box-shadow 0.25s var(--ease), background 0.25s;
}

.topbar.is-scrolled {
  box-shadow: 0 16px 40px rgba(11, 22, 56, 0.45);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-text em {
  font-style: normal;
  color: var(--gold);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #6eef96 0%, var(--lime-hot) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 16px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s var(--ease), filter 0.2s;
  white-space: nowrap;
}

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

.cta-pill:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.cta-pill i {
  width: 16px;
  height: 16px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* ---------- Shared ---------- */
.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-hot);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-intro h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--ink);
}

.section-intro h2 span {
  color: var(--navy-mid);
}

.section-intro p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--topbar-h) + 48px) 1.1rem 2.5rem;
  min-height: min(100vh, 920px);
}

.hero-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, rgba(74, 222, 128, 0.12), transparent 35%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, #243f88 100%);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}

.hero-chrome::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.float-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9a0, var(--gold) 55%, #c99612);
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.45);
  animation: floaty 5.5s ease-in-out infinite;
}

.float-coin.c1 { top: 18%; left: 8%; animation-delay: 0s; }
.float-coin.c2 { top: 42%; right: 10%; width: 20px; height: 20px; animation-delay: 1.2s; }
.float-coin.c3 { bottom: 22%; left: 16%; width: 16px; height: 16px; animation-delay: 2s; }

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 1px;
  box-shadow: 0 0 12px var(--cyan);
  animation: twinkle 3s ease-in-out infinite;
}

.spark.s1 { top: 28%; right: 22%; }
.spark.s2 { top: 55%; left: 12%; animation-delay: 1s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(12deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  background: var(--board);
  border-radius: var(--radius-board);
  box-shadow: var(--shadow-board);
  padding: 1.5rem 1.5rem 2rem;
  background-image: radial-gradient(var(--dot) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.stage-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lv-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
}

.hearts {
  display: flex;
  gap: 0.35rem;
  color: var(--rose);
}

.hearts i {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--navy-mid);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.accent-line {
  background: linear-gradient(90deg, var(--lime-hot), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions--center {
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #1e3d82, var(--navy-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 22, 56, 0.25);
  transition: transform 0.2s var(--ease), filter 0.2s;
  text-align: left;
}

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

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

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

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

.store-btn small {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn--ghost {
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(21, 43, 95, 0.15);
  box-shadow: none;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.maze-frame {
  position: absolute;
  width: 92%;
  max-width: 320px;
  opacity: 0.55;
  animation: pathDraw 2.8s var(--ease) both;
}

.maze-path {
  width: 100%;
  height: auto;
}

.maze-path path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: dash 2.4s var(--ease) 0.3s forwards;
}

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

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(240px, 58vw);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 10px var(--navy),
    0 0 0 14px rgba(74, 222, 128, 0.35),
    0 28px 50px rgba(11, 22, 56, 0.35);
  background: #111;
  transform: rotate(2deg);
  transition: transform 0.35s var(--ease);
}

.phone-shell:hover {
  transform: rotate(0deg) translateY(-4px);
}

.phone-shell img {
  width: 100%;
  height: auto;
  display: block;
  /* Keep native screenshot ratio — no crop */
  object-fit: contain;
}

.hero-art {
  position: absolute;
  right: -4%;
  bottom: 8%;
  width: min(160px, 38%);
  z-index: 3;
  filter: drop-shadow(0 12px 24px rgba(11, 22, 56, 0.35));
  animation: floaty 6s ease-in-out infinite;
}

.toast-pill {
  position: absolute;
  left: 2%;
  bottom: 18%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 43, 95, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: #c2410c;
  box-shadow: 0 8px 24px rgba(11, 22, 56, 0.12);
  animation: toastIn 0.6s var(--ease) 0.8s both;
}

.toast-pill i {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Features path ---------- */
.features {
  padding: 4rem 1.1rem 2rem;
  width: min(920px, 100%);
  margin: 0 auto;
}

.path-board {
  position: relative;
  background: var(--board);
  border-radius: var(--radius-board);
  padding: 2rem 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(11, 22, 56, 0.08);
  border: 1px solid rgba(21, 43, 95, 0.06);
}

.path-spine {
  position: absolute;
  inset: 4% 8%;
  width: auto;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

.path-spine path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.2;
  stroke-dasharray: 3 2.5;
  stroke-linecap: round;
  opacity: 0.55;
}

.path-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(420px, 100%);
  margin-bottom: 1.75rem;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(145deg, #f7faff, #fff);
  border-radius: 22px;
  border: 1px solid rgba(21, 43, 95, 0.07);
  box-shadow: 0 8px 24px rgba(11, 22, 56, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.path-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 22, 56, 0.1);
}

.path-node:last-child {
  margin-bottom: 0;
}

.path-node--left {
  margin-right: auto;
}

.path-node--right {
  margin-left: auto;
}

.node-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lime), var(--lime-hot));
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}

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

.node-icon--cyan {
  background: linear-gradient(145deg, #67e8f9, #0891b2);
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.35);
}

.node-icon--gold {
  background: linear-gradient(145deg, #fde68a, #d97706);
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.3);
}

.node-icon--rose {
  background: linear-gradient(145deg, #fda4af, #e11d48);
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.3);
}

.node-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.node-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.node-step {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: rgba(21, 43, 95, 0.18);
}

/* ---------- Boardwalk ---------- */
.boardwalk {
  padding: 2rem 1.1rem 3rem;
}

.boardwalk-card {
  width: min(1000px, 100%);
  margin: 0 auto;
  background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
  border-radius: var(--radius-board);
  padding: 2.25rem 1.5rem 2rem;
  color: #fff;
  box-shadow: var(--shadow-board);
  position: relative;
  overflow: hidden;
}

.boardwalk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.boardwalk-head {
  position: relative;
  text-align: center;
  margin-bottom: 1.75rem;
}

.boardwalk-head .eyebrow {
  color: var(--lime);
}

.boardwalk-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.flow-row {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-row > li:not(.flow-arrow) {
  flex: 1 1 180px;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.25rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.flow-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.flow-row h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.flow-row p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--lime);
  opacity: 0.85;
}

.flow-arrow i {
  width: 28px;
  height: 28px;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 1rem 0 3.5rem;
}

.gallery-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
  padding: 0 1.1rem;
}

.gallery-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.gallery-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem max(1.1rem, calc(50% - 520px)) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.shot {
  flex: 0 0 min(220px, 70vw);
  margin: 0;
  scroll-snap-align: center;
  background: var(--board);
  border-radius: 28px;
  padding: 0.65rem 0.65rem 1rem;
  box-shadow: 0 16px 36px rgba(11, 22, 56, 0.12);
  transition: transform 0.3s var(--ease);
}

.shot--lift {
  transform: translateY(-18px);
}

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

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

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  /* Keep native screenshot ratio — no crop */
  object-fit: contain;
  background: transparent;
}

.shot figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ---------- Download ---------- */
.download {
  padding: 1rem 1.1rem 3rem;
}

.download-board {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: center;
  background: var(--board);
  border-radius: var(--radius-board);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 20px 50px rgba(11, 22, 56, 0.1);
  border: 2px solid rgba(74, 222, 128, 0.35);
  background-image:
    radial-gradient(var(--dot) 1.5px, transparent 1.5px),
    linear-gradient(#fff, #fff);
  background-size: 22px 22px, auto;
}

.dl-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(11, 22, 56, 0.2);
}

.download-board h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.download-board > p {
  margin: 0 auto 1.5rem;
  max-width: 40ch;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 1.1rem 2rem;
  border-radius: 40px 40px 0 0;
}

.footer-inner {
  width: min(800px, 100%);
  margin: 0 auto;
  text-align: center;
}

.brand--foot {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer p {
  margin: 0 0 1rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer nav a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
  outline: none;
}

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

/* ---------- Bottom dock ---------- */
.dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, #1e3d82, var(--navy-deep));
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(11, 22, 56, 0.4);
  width: min(420px, calc(100% - 24px));
  justify-content: space-between;
}

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 14px;
  transition: color 0.2s, background 0.2s;
}

.dock-item i {
  width: 18px;
  height: 18px;
}

.dock-item:hover,
.dock-item.is-active,
.dock-item:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.dock-cta {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #6eef96, var(--lime-hot));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 16px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s var(--ease);
  margin: 0 0.15rem;
}

.dock-cta:hover {
  transform: scale(1.06);
}

.dock-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.dock-cta i {
  width: 22px;
  height: 22px;
}

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

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 56, 0.65);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(400px, 100%);
  background: var(--board);
  border-radius: 28px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(11, 22, 56, 0.35);
  overflow: hidden;
}

.modal-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.35), transparent 70%);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(21, 43, 95, 0.06);
  color: var(--ink);
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(21, 43, 95, 0.12);
}

.modal-close i {
  width: 18px;
  height: 18px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lime), var(--lime-hot));
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

.modal-icon i {
  width: 30px;
  height: 30px;
}

.modal-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-panel > p:not(.eyebrow) {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.modal-ok {
  width: 100%;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .phone-shell {
    transform: rotate(0);
  }

  .toast-pill {
    left: 50%;
    bottom: 4%;
    margin-left: 0;
    translate: -50% 0;
  }

  .hero-art {
    right: 4%;
    bottom: 4%;
  }

  .path-spine {
    display: none;
  }

  .path-node--left,
  .path-node--right {
    margin-left: auto;
    margin-right: auto;
  }

  .flow-arrow {
    display: none;
  }

  .shot--lift {
    transform: none;
  }
}

@media (max-width: 768px) {
  .top-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-radius: 20px;
    padding: 0.75rem;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 16px 36px rgba(11, 22, 56, 0.35);
  }

  .top-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .top-nav a {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .cta-pill {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    padding-top: calc(var(--topbar-h) + 36px);
  }

  .hero-stage {
    border-radius: 28px;
    padding: 1.15rem 1rem 1.5rem;
  }

  .dock-item span {
    display: none;
  }

  .dock {
    width: min(340px, calc(100% - 20px));
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 420px) {
  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .path-node {
    grid-template-columns: auto 1fr;
  }

  .node-step {
    display: none;
  }
}

@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;
  }
}
