/* =========================================================
   Ocean Fish: Idle Merge — Depth-Dive Landing
   Differentiated layout: depth gauge + bubble nav + reef path
   ========================================================= */

:root {
  --ocean-deep: #0c4a6e;
  --ocean-mid: #0284c7;
  --ocean-bright: #38bdf8;
  --aqua-soft: #e0f7fa;
  --aqua-mist: #f0fdfa;
  --foam: #ffffff;
  --sand: #fef3c7;
  --coral: #fb7185;
  --clownfish: #f97316;
  --clownfish-deep: #ea580c;
  --kelp: #34d399;
  --violet-wave: #6d28d9;
  --violet-soft: #ede9fe;
  --text: #0c4a6e;
  --text-muted: #475569;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 12px 40px rgba(14, 116, 144, 0.15);
  --shadow-bubble: 0 8px 24px rgba(2, 132, 199, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --radius-bubble: 28px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 72px;
  --gauge-w: 88px;
  --ease: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ease-out: 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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--aqua-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

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

/* ---------- Atmosphere ---------- */
.reef-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #a5f3fc 0%, transparent 55%),
    linear-gradient(180deg, #e0f7fa 0%, #bae6fd 35%, #7dd3fc 70%, #67e8f9 100%);
}

.reef-bg__surface {
  position: absolute;
  inset: 0 0 auto;
  height: 40vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
}

.reef-bg__rays {
  position: absolute;
  inset: -10% 10% auto;
  height: 70vh;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0 28px,
      rgba(255, 255, 255, 0.07) 28px 36px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: ray-drift 18s ease-in-out infinite alternate;
}

.reef-bg__bubbles {
  position: absolute;
  inset: 0;
}

.reef-bg__bubbles .bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.08) 55%, transparent 70%);
  animation: rise linear infinite;
  opacity: 0.55;
}

.reef-bg__sand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(253, 230, 138, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 100%, rgba(251, 113, 133, 0.18), transparent 55%),
    linear-gradient(180deg, transparent, rgba(14, 116, 144, 0.12));
}

@keyframes ray-drift {
  from { transform: translateX(-2%) skewX(-2deg); }
  to { transform: translateX(3%) skewX(2deg); }
}

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 0.55; }
  100% { transform: translateY(-110vh) scale(1.15); opacity: 0; }
}

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

@keyframes soft-pulse {
  0%, 100% { box-shadow: var(--shadow-bubble); }
  50% { box-shadow: 0 10px 32px rgba(249, 115, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
}

/* ---------- Depth gauge (desktop) ---------- */
.depth-gauge {
  display: none;
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  z-index: 40;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: var(--gauge-w);
  padding: 14px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.depth-gauge__brand img {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.depth-gauge__rail {
  position: absolute;
  top: 72px;
  bottom: 64px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--ocean-bright), var(--ocean-mid));
  opacity: 0.35;
  border-radius: 2px;
}

.depth-gauge__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.depth-mark {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 200ms ease;
  cursor: pointer;
}

.depth-mark__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ocean-bright);
  transition: transform 200ms var(--ease), background 200ms ease, border-color 200ms ease;
}

.depth-mark__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.depth-mark__m {
  font-size: 0.62rem;
  opacity: 0.7;
}

.depth-mark:hover,
.depth-mark:focus-visible {
  color: var(--ocean-deep);
  outline: none;
}

.depth-mark:hover .depth-mark__dot,
.depth-mark:focus-visible .depth-mark__dot {
  transform: scale(1.2);
}

.depth-mark--active {
  color: var(--ocean-deep);
}

.depth-mark--active .depth-mark__dot {
  background: var(--clownfish);
  border-color: var(--clownfish-deep);
  transform: scale(1.25);
}

/* ---------- Bubble navbar (centered with content) ---------- */
.bubble-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 24px));
  min-height: var(--nav-h);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 200ms ease, background 200ms ease;
}

.bubble-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(14, 116, 144, 0.2);
}

.bubble-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ocean-deep);
  flex-shrink: 0;
}

.bubble-nav__brand img {
  border-radius: 12px;
}

.bubble-nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.bubble-nav__name strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.bubble-nav__name small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bubble-nav__links {
  display: none;
  align-items: center;
  gap: 8px;
}

.bubble-chip {
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ocean-deep);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(125, 211, 252, 0.55);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  cursor: pointer;
}

.bubble-chip:hover,
.bubble-chip:focus-visible {
  background: #fff;
  border-color: var(--ocean-bright);
  outline: none;
}

.bubble-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bubble-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(180deg, #fb923c 0%, var(--clownfish) 55%, var(--clownfish-deep) 100%);
  box-shadow: 0 6px 0 #c2410c, 0 10px 20px rgba(249, 115, 22, 0.35);
  transition: transform 180ms var(--ease), box-shadow 180ms ease, filter 180ms ease;
  cursor: pointer;
}

.bubble-cta:hover,
.bubble-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  outline: none;
}

.bubble-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c2410c, 0 4px 10px rgba(249, 115, 22, 0.3);
}

.bubble-cta--sm {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  animation: soft-pulse 2.8s ease-in-out infinite;
}

.bubble-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(125, 211, 252, 0.5);
  cursor: pointer;
}

.bubble-nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ocean-deep);
  transition: transform 200ms ease, opacity 200ms ease;
}

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

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

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

.bubble-nav__drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.bubble-nav__drawer[hidden] {
  display: none !important;
}

.bubble-nav__drawer a {
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  background: var(--aqua-mist);
  transition: background 200ms ease;
}

.bubble-nav__drawer a:hover {
  background: #cffafe;
}

/* ---------- Page shell (always horizontally centered) ---------- */
.dive-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + 24px);
  padding-inline: 0;
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head__eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ocean-mid);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(125, 211, 252, 0.6);
}

.section-head__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ocean-deep);
}

.section-head__sub {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Wave dividers ---------- */
.wave-divider {
  color: rgba(255, 255, 255, 0.55);
  line-height: 0;
  margin: 0 -1rem;
}

.wave-divider svg {
  width: 100%;
  height: 48px;
  display: block;
}

.wave-divider--violet {
  color: var(--violet-soft);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 0 3rem;
  min-height: calc(100svh - var(--nav-h) - 48px);
}

.hero__glow {
  display: none;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--ocean-deep);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--clownfish), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.hero__brand {
  text-align: center;
  padding-block: 0.5rem;
}

.hero__viewport {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0.5rem;
}

.aqua-frame {
  position: relative;
  width: min(280px, 72vw);
}

.aqua-frame--banner {
  width: min(560px, 100%);
}

.aqua-frame__ring {
  position: absolute;
  inset: -14px;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(125, 211, 252, 0.4));
  box-shadow: var(--shadow-soft);
  z-index: 0;
}

.aqua-frame--banner .aqua-frame__ring {
  inset: -12px;
  border-radius: 28px;
}

.aqua-frame__shot {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.28);
  animation: float-y 5s ease-in-out infinite;
}

.aqua-frame--banner .aqua-frame__shot {
  border-radius: 22px;
}

.aqua-frame__shot img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
}

.aqua-frame--banner .aqua-frame__shot img {
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.aqua-frame__float {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(56, 189, 248, 0.2));
  z-index: 2;
  animation: float-y 4s ease-in-out infinite;
}

.aqua-frame__float--a {
  width: 36px;
  height: 36px;
  top: 12%;
  right: -8%;
}

.aqua-frame__float--b {
  width: 22px;
  height: 22px;
  bottom: 18%;
  left: -6%;
  animation-delay: -1.5s;
}

/* Store badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 10px 16px;
  border: none;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  transition: transform 180ms var(--ease), filter 180ms ease;
  cursor: pointer;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
}

.store-badge span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.15;
}

.store-badge--play {
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  outline: none;
}

.store-badge i {
  width: 22px;
  height: 22px;
}

/* ---------- Merge demo ---------- */
.merge-demo {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 0 auto 3rem;
  padding: 1.25rem;
  max-width: 900px;
  border-radius: var(--radius-bubble);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.merge-demo__card {
  margin: 0;
  justify-self: center;
  width: min(220px, 70%);
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.2);
}

.merge-demo__card img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
}

.merge-demo__card figcaption {
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(90deg, #fef3c7, #fff7ed);
  color: var(--clownfish-deep);
}

.merge-demo__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--clownfish);
}

.merge-demo__bubble {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #fb923c, var(--clownfish-deep));
  box-shadow: 0 4px 0 #c2410c;
}

.merge-demo__arrow,
.merge-demo__spark {
  display: grid;
  place-items: center;
}

.merge-demo__copy {
  text-align: center;
  padding: 0 0.5rem 0.5rem;
}

.merge-demo__copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ocean-deep);
}

.merge-demo__copy p {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Reef path (meandering features) ---------- */
.features {
  padding: 1rem 0 2.5rem;
}

.reef-path {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

.reef-path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--ocean-bright), var(--ocean-mid), transparent);
  opacity: 0.35;
  border-radius: 3px;
  display: none;
}

.reef-stop {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius-bubble);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.reef-stop__bubble {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--ocean-bright), var(--ocean-mid));
  box-shadow: var(--shadow-bubble);
}

.reef-stop__bubble--coral {
  background: linear-gradient(145deg, #fb7185, #e11d48);
}

.reef-stop__bubble--lime {
  background: linear-gradient(145deg, #6ee7b7, #059669);
}

.reef-stop__bubble--sun {
  background: linear-gradient(145deg, #fbbf24, var(--clownfish));
}

.reef-stop__depth {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean-mid);
  margin-bottom: 0.25rem;
}

.reef-stop__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ocean-deep);
}

.reef-stop__body p {
  margin: 0;
  color: var(--text-muted);
}

.reef-stop__shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.18);
  justify-self: center;
  width: min(240px, 100%);
}

.reef-stop__shot img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
}

/* ---------- Gallery: spotlight stage ---------- */
.gallery {
  padding: 2.5rem 0 3.25rem;
  margin: 0;
  border-radius: 36px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 20%, rgba(165, 243, 252, 0.5), transparent 65%),
    rgba(255, 255, 255, 0.4);
}

.spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.spotlight__stage {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.spotlight__nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 252, 0.7);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ocean-deep);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 180ms var(--ease);
  justify-self: center;
}

.spotlight__nav:hover,
.spotlight__nav:focus-visible {
  background: #fff;
  border-color: var(--ocean-mid);
  outline: none;
}

.spotlight__nav:active {
  transform: translateY(1px);
}

.spotlight__frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.spotlight__phone {
  position: relative;
  width: min(280px, 68vw);
  border-radius: 32px;
  overflow: hidden;
  border: 5px solid #fff;
  background: #0c4a6e;
  box-shadow:
    0 24px 50px rgba(2, 132, 199, 0.28),
    0 0 0 1px rgba(14, 116, 144, 0.08);
}

.spotlight__phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.spotlight__phone img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
  display: block;
  transition: opacity 220ms ease;
}

.spotlight__phone.is-fading img {
  opacity: 0.35;
}

.spotlight__caption {
  text-align: center;
}

.spotlight__tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clownfish-deep);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.spotlight__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.spotlight__reel {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.spotlight__reel::-webkit-scrollbar {
  display: none;
}

.spotlight__thumb {
  flex: 0 0 auto;
  width: 64px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.16);
  transition: border-color 200ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
}

.spotlight__thumb img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
  display: block;
}

.spotlight__thumb:hover,
.spotlight__thumb:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ocean-bright);
  outline: none;
}

.spotlight__thumb.is-active {
  border-color: var(--clownfish);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

/* ---------- Download ---------- */
.download {
  padding: 2.5rem 0 3rem;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: linear-gradient(180deg, var(--violet-soft) 0%, #ddd6fe 55%, #c4b5fd 100%);
  border-radius: 0 0 40px 40px;
}

.download__shell {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.75rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(109, 40, 217, 0.18);
  text-align: center;
}

.download__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-wave);
}

.download__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--ocean-deep);
  line-height: 1.25;
}

.download__sub {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.download__mascot {
  margin: 0 auto;
  width: 144px;
  height: 144px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.25);
  animation: float-y 4.5s ease-in-out infinite;
}

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

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 0 3rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand img {
  border-radius: 14px;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ocean-deep);
}

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

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.site-footer__links a {
  font-weight: 700;
  color: var(--ocean-mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
  cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--ocean-deep);
  border-bottom-color: var(--clownfish);
  outline: none;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms var(--ease-out), opacity 280ms ease;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .bubble-nav__links {
    display: flex;
  }

  .bubble-nav__toggle {
    display: none;
  }

  .bubble-nav {
    width: min(1120px, calc(100% - 48px));
    padding: 10px 18px;
  }

  .dive-shell {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
  }

  .merge-demo {
    grid-template-columns: 200px auto 1fr;
    text-align: left;
    padding: 1.5rem;
  }

  .merge-demo__flow {
    flex-direction: column;
  }

  .merge-demo__copy {
    text-align: left;
    padding: 0 0.5rem;
  }

  .reef-stop {
    grid-template-columns: auto 1fr 220px;
    gap: 1.25rem 1.5rem;
    padding: 1.5rem;
  }

  .reef-stop--right {
    grid-template-columns: 220px 1fr auto;
  }

  .reef-stop--right .reef-stop__shot {
    order: -1;
  }

  .reef-stop--right .reef-stop__bubble {
    order: 2;
  }

  .spotlight {
    max-width: 800px;
    gap: 1.75rem;
  }

  .spotlight__stage {
    grid-template-columns: 52px 1fr 52px;
    gap: 1.25rem;
  }

  .spotlight__nav {
    width: 52px;
    height: 52px;
  }

  .spotlight__phone {
    width: min(300px, 100%);
  }

  .spotlight__thumb {
    width: 76px;
    border-radius: 18px;
  }

  .download__shell {
    grid-template-columns: 1fr auto;
    text-align: left;
    padding: 2rem 2.25rem;
  }

  .download__actions {
    justify-content: flex-start;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .bubble-nav {
    width: min(1120px, calc(100% - 64px));
  }

  .dive-shell {
    width: min(1120px, calc(100% - 4rem));
    margin-inline: auto;
  }

  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.75rem;
    align-items: center;
    padding: 2.5rem 0 4rem;
    min-height: calc(100svh - var(--nav-h) - 40px);
  }

  .hero__brand {
    text-align: left;
    padding-block: 1rem;
  }

  .hero__title,
  .hero__lead {
    text-align: left;
  }

  .hero__lead {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__viewport {
    justify-content: flex-end;
    align-items: center;
    padding-block: 1rem;
  }

  .aqua-frame--banner {
    width: min(540px, 100%);
  }

  .reef-path::before {
    display: block;
  }

  .wave-divider svg {
    height: 64px;
  }

  .spotlight__phone {
    width: 320px;
  }

  .spotlight__thumb {
    width: 84px;
  }
}

/* Depth gauge sits in the leftover side gutter — does not shift main content */
@media (min-width: 1360px) {
  .depth-gauge {
    display: flex;
    left: max(12px, calc(50% - 560px - var(--gauge-w) - 20px));
  }
}

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

  .reef-bg__rays,
  .reef-bg__bubbles .bubble,
  .aqua-frame__shot,
  .aqua-frame__float,
  .download__mascot,
  .bubble-cta--sm {
    animation: none !important;
  }

  .spotlight__thumb:hover,
  .bubble-cta:hover,
  .store-badge:hover {
    transform: none;
  }
}
