:root {
  --brand-blue: #104875;
  --surface: #d8fbff;
  --cyan: #58d8ff;
  --blue: #104875;
  --deep: #08283f;
  --deep-2: #061d31;
  --abyss: #020914;
  --ink: #f4fbff;
  --soft: rgba(244, 251, 255, 0.72);
  --faint: rgba(244, 251, 255, 0.48);
  --glass: rgba(16, 72, 117, 0.34);
  --glass-strong: rgba(16, 72, 117, 0.58);
  --line: rgba(216, 251, 255, 0.18);
  --green: #94f7b2;
  --coral: #ff8b67;
  --sand: #ffe29a;
  --radius: 8px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #020914;
  color: var(--ink);
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 108px;
}

.bubble-field {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 4;
}

.bubble-field span {
  animation: bubble-rise linear infinite;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.88), transparent 18%),
    rgba(216, 251, 255, 0.06);
  border: 1px solid rgba(216, 251, 255, 0.42);
  border-radius: 999px;
  box-shadow:
    inset 0 0 12px rgba(216, 251, 255, 0.18),
    0 0 14px rgba(88, 216, 255, 0.08);
  bottom: -120px;
  display: block;
  height: var(--size);
  left: var(--left);
  opacity: 0;
  position: absolute;
  width: var(--size);
}

.bubble-field span:nth-child(1) { --left: 8%; --size: 7px; animation-duration: 15s; animation-delay: 0s; }
.bubble-field span:nth-child(2) { --left: 18%; --size: 13px; animation-duration: 22s; animation-delay: 3s; }
.bubble-field span:nth-child(3) { --left: 27%; --size: 5px; animation-duration: 16s; animation-delay: 5s; }
.bubble-field span:nth-child(4) { --left: 36%; --size: 10px; animation-duration: 26s; animation-delay: 1s; }
.bubble-field span:nth-child(5) { --left: 47%; --size: 6px; animation-duration: 18s; animation-delay: 8s; }
.bubble-field span:nth-child(6) { --left: 55%; --size: 15px; animation-duration: 29s; animation-delay: 4s; }
.bubble-field span:nth-child(7) { --left: 63%; --size: 8px; animation-duration: 20s; animation-delay: 2s; }
.bubble-field span:nth-child(8) { --left: 72%; --size: 11px; animation-duration: 23s; animation-delay: 7s; }
.bubble-field span:nth-child(9) { --left: 80%; --size: 5px; animation-duration: 17s; animation-delay: 10s; }
.bubble-field span:nth-child(10) { --left: 91%; --size: 13px; animation-duration: 27s; animation-delay: 6s; }
.bubble-field span:nth-child(11) { --left: 13%; --size: 4px; animation-duration: 19s; animation-delay: 11s; }
.bubble-field span:nth-child(12) { --left: 42%; --size: 12px; animation-duration: 24s; animation-delay: 12s; }
.bubble-field span:nth-child(13) { --left: 68%; --size: 5px; animation-duration: 15s; animation-delay: 13s; }
.bubble-field span:nth-child(14) { --left: 86%; --size: 8px; animation-duration: 21s; animation-delay: 9s; }
.bubble-field span:nth-child(15) { --left: 4%; --size: 10px; animation-duration: 25s; animation-delay: 15s; }
.bubble-field span:nth-child(16) { --left: 23%; --size: 6px; animation-duration: 18s; animation-delay: 14s; }
.bubble-field span:nth-child(17) { --left: 31%; --size: 14px; animation-duration: 28s; animation-delay: 16s; }
.bubble-field span:nth-child(18) { --left: 59%; --size: 4px; animation-duration: 17s; animation-delay: 18s; }
.bubble-field span:nth-child(19) { --left: 76%; --size: 9px; animation-duration: 24s; animation-delay: 17s; }
.bubble-field span:nth-child(20) { --left: 96%; --size: 6px; animation-duration: 19s; animation-delay: 19s; }
.bubble-field span:nth-child(21) { --left: 2%; --size: 5px; animation-duration: 16s; animation-delay: 20s; }
.bubble-field span:nth-child(22) { --left: 51%; --size: 11px; animation-duration: 26s; animation-delay: 21s; }
.bubble-field span:nth-child(23) { --left: 73%; --size: 4px; animation-duration: 15s; animation-delay: 22s; }
.bubble-field span:nth-child(24) { --left: 88%; --size: 12px; animation-duration: 30s; animation-delay: 23s; }

@keyframes bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.82);
  }
  12% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translate3d(22px, -115vh, 0) scale(1.12);
  }
}

.site-header {
  align-items: center;
  background: rgba(2, 16, 29, 0.66);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 50%;
  padding: 8px 9px 8px 16px;
  position: fixed;
  top: 18px;
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
  width: min(calc(100% - 48px), 1220px);
  z-index: 40;
}

.site-header.is-scrolled {
  background: rgba(1, 8, 18, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand img,
.footer-brand img {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.brand span,
.footer-brand span {
  color: var(--ink);
}

.site-nav {
  align-items: center;
  background: rgba(1, 8, 18, 0.34);
  border: 1px solid rgba(216, 251, 255, 0.11);
  border-radius: 999px;
  display: flex;
  gap: 2px;
  padding: 4px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(244, 251, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 14px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(56, 215, 255, 0.12);
  border-color: rgba(56, 215, 255, 0.32);
  color: white;
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: white;
}

.site-nav .nav-cta {
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(88, 216, 255, 0.16);
  color: #104875;
  margin-left: 4px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: white;
  border-color: transparent;
  color: #104875;
}

.nav-toggle {
  align-items: center;
  background: rgba(244, 251, 255, 0.94);
  border: 0;
  border-radius: var(--radius);
  color: var(--deep);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.nav-toggle svg {
  height: 22px;
  width: 22px;
}

.nav-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.depth-section {
  isolation: isolate;
  overflow: hidden;
  padding: 112px 24px;
  position: relative;
  z-index: 2;
}

.surface {
  min-height: 100svh;
  padding-bottom: 72px;
  padding-top: 126px;
}

.water-bg,
.water-layer {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.water-bg {
  background:
    linear-gradient(180deg, rgba(216, 251, 255, 0.22) 0%, rgba(16, 72, 117, 0.96) 25%, rgba(6, 29, 49, 0.98) 62%, rgba(2, 9, 20, 1) 100%);
  z-index: -5;
}

.water-layer {
  background:
    linear-gradient(90deg, rgba(2, 9, 20, 0.92), rgba(16, 72, 117, 0.5) 48%, rgba(2, 9, 20, 0.72)),
    linear-gradient(180deg, rgba(216, 251, 255, 0.08), rgba(2, 9, 20, 0.74));
  z-index: -4;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: 740px;
}

.hero-copy {
  max-width: 670px;
}

.depth-label {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1,
.depth-copy h2,
.section-head h2,
.abyss-panel h2 {
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 800;
}

.hero-lead {
  color: var(--surface);
  font-size: clamp(1.35rem, 2.55vw, 2.35rem);
  font-weight: 800;
  line-height: 1.04;
  margin: 20px 0 18px;
}

.hero-sub,
.depth-copy p,
.section-head p,
.abyss-panel p {
  color: var(--soft);
  font-size: 1.06rem;
  margin: 0;
  max-width: 620px;
}

.hero-actions,
.download-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  padding: 0;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.store-link img {
  height: 58px;
  width: auto;
}

.deep-phone {
  min-height: 740px;
  position: relative;
}

.sonar-ring {
  animation: sonar-pulse 5.4s ease-in-out infinite;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 215, 255, 0.38);
  border-radius: 50%;
  inset: 12% 8% auto auto;
  position: absolute;
  width: min(520px, 88%);
}

.sonar-ring::before,
.sonar-ring::after {
  border: 1px solid rgba(56, 215, 255, 0.22);
  border-radius: 50%;
  content: "";
  inset: 14%;
  position: absolute;
}

.sonar-ring::after {
  inset: 30%;
}

@keyframes sonar-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.phone-shot {
  display: block;
  height: auto;
  filter:
    drop-shadow(0 42px 70px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 30px rgba(88, 216, 255, 0.08));
  object-fit: cover;
}

.phone-composition {
  aspect-ratio: 4 / 5;
  isolation: isolate;
  position: relative;
}

.device-mockup {
  background: #111316;
  border: 2px solid #737a80;
  border-radius: 15% / 7%;
  box-shadow: 0 0 0 1px #171c20, 0 18px 30px rgba(0, 0, 0, .24);
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
  padding: 5px;
  position: absolute;
}

.device-mockup img {
  border-radius: 14% / 6.5%;
  display: block;
  height: auto;
  width: 100%;
}

.phone-composition--single .device-mockup {
  left: 22.5%;
  top: 0;
  width: 55%;
}

.phone-composition--duo .device-mockup--back {
  left: 2%;
  top: 0;
  transform: rotate(-4deg);
  width: 55%;
  z-index: 1;
}

.phone-composition--duo .device-mockup--front {
  right: 1%;
  top: 12%;
  transform: rotate(3deg);
  width: 50%;
  z-index: 2;
}

.phone-composition--trio .device-mockup--back {
  left: 0;
  top: 0;
  transform: rotate(-4deg);
  width: 48%;
  z-index: 1;
}

.phone-composition--trio .device-mockup--middle {
  left: 28%;
  top: 10%;
  width: 43%;
  z-index: 2;
}

.phone-composition--trio .device-mockup--front {
  right: 0;
  top: 20%;
  transform: rotate(4deg);
  width: 40%;
  z-index: 3;
}

.deep-phone .phone-shot {
  position: absolute;
}

.phone-composition--level .device-mockup--back {
  left: 0;
  top: 0;
  width: 47%;
  transform: none;
}

.phone-composition--level .device-mockup--front {
  right: 0;
  top: 10%;
  width: 47%;
  transform: none;
}

.phone-composition--alternate .device-mockup--back {
  transform: rotate(3deg);
  top: 6%;
}

.phone-composition--alternate .device-mockup--front {
  transform: none;
  top: 0;
}

.hero-phone .device-mockup {
  transform: none;
}

.hero-phone {
  animation: hero-phone-float 7.5s ease-in-out infinite;
  filter:
    drop-shadow(0 50px 90px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(88, 216, 255, 0.18));
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: min(420px, 100%);
  z-index: 4;
}

@keyframes hero-phone-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

.floating-ui {
  align-items: center;
  animation: ui-float 6s ease-in-out infinite;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(135deg, rgba(56, 215, 255, 0.18), rgba(5, 24, 42, 0.86));
  border: 1px solid rgba(216, 251, 255, 0.28);
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(56, 215, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 18px;
  position: absolute;
  z-index: 8;
}

.floating-ui::before {
  background: radial-gradient(circle, rgba(56, 215, 255, 0.55), transparent 65%);
  border-radius: 50%;
  content: "";
  filter: blur(18px);
  height: 120px;
  left: -20px;
  opacity: 0.7;
  position: absolute;
  top: -40px;
  width: 120px;
  z-index: -1;
}

.floating-ui-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(56, 215, 255, 0.32), rgba(56, 215, 255, 0.08));
  border: 1px solid rgba(56, 215, 255, 0.45);
  border-radius: 14px;
  box-shadow:
    inset 0 0 12px rgba(56, 215, 255, 0.25),
    0 0 16px rgba(56, 215, 255, 0.18);
  color: #d8fbff;
  display: flex;
  flex-shrink: 0;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.floating-ui-icon svg {
  height: 20px;
  width: 20px;
}

.floating-ui-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-ui-text {
  display: flex;
  flex-direction: column;
}

.floating-ui-text span,
.floating-ui span:not(.floating-ui-icon) {
  color: var(--cyan);
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-ui-text strong,
.floating-ui strong {
  color: white;
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.ui-one { left: 0; top: 60px; }
.ui-two { right: 0; top: 208px; animation-delay: 1.2s; }
.ui-three {
  bottom: 110px;
  left: 8%;
  animation-delay: 2.2s;
}

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

.surface-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 12px auto 0;
  max-width: 1220px;
  overflow: hidden;
}

.surface-strip div {
  background: rgba(244, 251, 255, 0.08);
  padding: 18px;
}

.surface-strip span {
  color: var(--faint);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
}

.surface-strip strong {
  color: white;
  display: block;
  font-size: 0.98rem;
  margin-top: 4px;
}

.database {
  background:
    linear-gradient(180deg, rgba(16, 72, 117, 0.96), rgba(6, 29, 49, 0.98)),
    repeating-linear-gradient(160deg, rgba(216, 251, 255, 0.05) 0 1px, transparent 1px 38px),
    var(--deep);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  padding-right: max(24px, calc((100vw - 1220px) / 2));
}

.depth-copy h2,
.section-head h2,
.abyss-panel h2 {
  color: white;
  font-size: clamp(1.75rem, 2.75vw, 3rem);
  font-weight: 800;
}

.depth-copy h2 span,
.section-head h2 span,
.abyss-panel h2 span,
.contact-cover-copy h1 span,
.contact-form-copy h2 span {
  display: block;
}

.depth-copy p,
.section-head p {
  margin-top: 22px;
}

.data-console {
  background: rgba(244, 251, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.console-header span,
.console-lines span,
.deep-card span,
.law-stack span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-header strong {
  color: var(--soft);
  font-size: 0.82rem;
}

.console-body {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 330px 1fr;
  padding: 30px;
}

.console-phone {
  justify-self: center;
  width: min(330px, 100%);
}

.console-lines {
  display: grid;
  gap: 12px;
}

.console-lines div,
.law-stack div {
  background: rgba(1, 8, 18, 0.32);
  border: 1px solid rgba(216, 251, 255, 0.13);
  border-radius: var(--radius);
  padding: 16px;
}

.console-lines strong,
.law-stack strong {
  color: white;
  display: block;
  margin-top: 4px;
}

.offline {
  background:
    linear-gradient(180deg, #061d31 0%, #031321 100%),
    repeating-linear-gradient(20deg, rgba(88, 216, 255, 0.04) 0 1px, transparent 1px 52px);
  overflow: visible;
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  padding-right: max(24px, calc((100vw - 1220px) / 2));
}

.section-head {
  max-width: 900px;
}

.offline-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 40px;
}

.deep-card {
  background:
    linear-gradient(180deg, rgba(56, 215, 255, 0.08), rgba(244, 251, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  padding: 20px;
}

.deep-card h3 {
  color: white;
  font-size: 1.18rem;
  line-height: 1.06;
  margin: 58px 0 12px;
}

.deep-card p {
  color: var(--soft);
  font-size: 0.92rem;
  margin: 0;
}

.feature-scroll-lock {
  margin-top: 40px;
  min-height: max(940px, calc(var(--feature-steps, 7) * 86svh));
  position: relative;
  touch-action: pan-y;
}

.feature-explorer {
  --feature-shift: 42px;
  background:
    linear-gradient(180deg, rgba(244, 251, 255, 0.06), rgba(244, 251, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 26px;
  margin-top: 40px;
  overflow: hidden;
  padding: 28px;
  position: relative;
  scroll-margin-top: 104px;
  touch-action: pan-y;
}

.feature-scroll-lock .feature-explorer {
  margin-top: 0;
  position: sticky;
  top: clamp(76px, 9svh, 104px);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  position: relative;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  z-index: 2;
}

.feature-tab {
  align-items: center;
  background: rgba(244, 251, 255, 0.05);
  border: 1px solid rgba(216, 251, 255, 0.14);
  border-radius: 999px;
  color: rgba(244, 251, 255, 0.78);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 8px;
  padding: 9px 14px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease;
  will-change: transform;
}

.feature-tab span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feature-tab strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-tab:hover,
.feature-tab:focus-visible {
  background: rgba(56, 215, 255, 0.1);
  border-color: rgba(56, 215, 255, 0.36);
  color: white;
  outline: none;
}

.feature-tab.is-active {
  background: rgba(56, 215, 255, 0.18);
  border-color: rgba(56, 215, 255, 0.55);
  box-shadow: 0 14px 34px rgba(56, 215, 255, 0.18);
  color: white;
  transform: translateY(-1px) scale(1.02);
}

.feature-tab.is-active span {
  color: white;
}

.feature-body {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  position: relative;
  z-index: 2;
}

.feature-stage {
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(56, 215, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(5, 24, 42, 0.55), rgba(2, 9, 20, 0.35));
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  justify-items: center;
  min-height: 460px;
  overflow: hidden;
  padding: 32px 24px;
  position: relative;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.feature-explorer.is-changing .feature-stage {
  border-color: rgba(56, 215, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(56, 215, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.24);
}

.feature-glow {
  background: radial-gradient(circle, rgba(56, 215, 255, 0.36), transparent 70%);
  border-radius: 50%;
  filter: blur(48px);
  height: 320px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
}

.feature-screen {
  filter: blur(2px);
  grid-column: 1;
  grid-row: 1;
  max-height: 440px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  position: relative;
  transform: translate3d(var(--feature-shift), 14px, 0) scale(0.94);
  transition:
    filter 300ms ease,
    opacity 300ms ease,
    transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(260px, 80%);
  will-change: transform, opacity, filter;
  z-index: 3;
}

.feature-explorer[data-direction="back"] .feature-screen {
  transform: translate3d(calc(var(--feature-shift) * -1), 14px, 0) scale(0.94);
}

.feature-screen.is-active {
  filter: blur(0);
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-screen--wide {
  width: min(420px, 96%);
}

.feature-screen.phone-composition {
  max-height: none;
  width: min(360px, 96%);
}

.feature-caption {
  display: grid;
}

.feature-caption-item {
  display: none;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.feature-caption-item.is-active {
  display: block;
  animation: feature-fade 360ms ease both;
}

.feature-explorer[data-direction="back"] .feature-caption-item.is-active {
  animation-name: feature-fade-back;
}

.feature-caption-item .depth-label {
  margin-bottom: 12px;
}

.feature-caption-item h3 {
  color: white;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
}

.feature-caption-item p:not(.depth-label) {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

@keyframes feature-fade {
  from {
    opacity: 0;
    transform: translate3d(18px, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes feature-fade-back {
  from {
    opacity: 0;
    transform: translate3d(-18px, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.capture-log {
  align-items: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(88, 216, 255, 0.17), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(216, 251, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #031321 0%, #020b17 100%);
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  overflow: hidden;
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  padding-right: max(24px, calc((100vw - 1220px) / 2));
}

.capture-copy {
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.capture-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.capture-points article {
  background:
    linear-gradient(135deg, rgba(216, 251, 255, 0.08), rgba(244, 251, 255, 0.035));
  border: 1px solid rgba(216, 251, 255, 0.14);
  border-radius: var(--radius);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.capture-points span {
  color: var(--cyan);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.capture-points strong {
  color: white;
  display: block;
  line-height: 1.25;
}

.capture-points p {
  color: var(--soft);
  font-size: 0.92rem;
  margin: 8px 0 0;
}

.capture-cta {
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(88, 216, 255, 0.15);
  color: #104875;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 26px;
  padding: 13px 18px;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.capture-cta:hover,
.capture-cta:focus-visible {
  background: white;
  box-shadow: 0 22px 48px rgba(88, 216, 255, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.capture-visual {
  min-height: 650px;
  position: relative;
  z-index: 2;
}

.capture-radar {
  animation: capture-radar-pulse 5.6s ease-in-out infinite;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 215, 255, 0.34);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(88, 216, 255, 0.05),
    0 0 60px rgba(88, 216, 255, 0.1);
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(560px, 92%);
}

.capture-radar::before,
.capture-radar::after {
  border: 1px solid rgba(216, 251, 255, 0.16);
  border-radius: 50%;
  content: "";
  inset: 13%;
  position: absolute;
}

.capture-radar::after {
  inset: 31%;
}

.capture-phone {
  position: absolute;
  z-index: 2;
}

.capture-phone-main {
  right: 4%;
  top: 38px;
  width: min(500px, 86%);
}

.capture-note {
  backdrop-filter: blur(22px);
  background:
    linear-gradient(135deg, rgba(216, 251, 255, 0.16), rgba(5, 24, 42, 0.82));
  border: 1px solid rgba(216, 251, 255, 0.22);
  border-radius: var(--radius);
  bottom: 58px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 310px;
  padding: 16px;
  position: absolute;
  right: 0;
  z-index: 4;
}

.capture-note span {
  color: var(--cyan);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.capture-note strong {
  color: white;
  display: block;
  font-size: 1rem;
  line-height: 1.32;
  margin-top: 5px;
}

@keyframes capture-radar-pulse {
  0%, 100% {
    opacity: 0.54;
    transform: translate(-50%, -50%) scale(0.98);
  }
  50% {
    opacity: 0.86;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

.journal-stats-link {
  display: block;
  color: var(--surface);
  width: fit-content;
  margin-top: 20px;
  padding-block: 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.fishing-stats { background: linear-gradient(180deg, #031321, #020b17); }
.fishing-stats-inner {
  max-width: 1160px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.fishing-stats .depth-copy h2 { font-size: 38px; line-height: 1.25; }
.fishing-stats-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.fishing-stats-metrics div { border-top: 1px solid var(--line); padding-top: 16px; }
.fishing-stats-metrics dt { color: var(--green); font-weight: 600; font-size: 16px; }
.fishing-stats-metrics dd { margin: 8px 0 0; font-size: 14px; color: var(--soft); }
.fishing-stats .fishing-stats-footnote { font-size: 13px; }

@media (max-width: 760px) {
  .fishing-stats-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fishing-stats .depth-copy { grid-row: 1; }
  .fishing-stats .depth-copy h2 { font-size: 28px; }
  .fishing-stats-metrics { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

.web-map {
  background: #116486;
  border-block: 1px solid var(--line);
}

.web-map-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  margin-inline: auto;
}

.web-map .depth-copy h2 { font-size: 38px; line-height: 1.2; }
.web-map .web-map-lead { color: var(--ink); font-size: 21px; }
.web-map-features { list-style: none; padding: 0; margin: 28px 0; }
.web-map-features li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.web-map-features strong, .web-map-features span { display: block; }
.web-map-features strong { font-size: 16px; margin-bottom: 5px; }
.web-map-features span { color: var(--soft); font-size: 14px; }
.web-map .web-map-availability { font-size: 13px; }
.web-map-preview { margin: 0; min-width: 0; position: relative; isolation: isolate; }
.map-project .web-map-inner { max-width: 1280px; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 40px; }
.map-preview-pair { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: center; position: relative; }
.map-outing-phone { position: relative; grid-column: 7 / -1; grid-row: 1; z-index: 1; width: 78%; justify-self: end; transform: translateY(2%); }
.iphone-mockup { aspect-ratio: 393 / 852; padding: 2.1%; box-sizing: border-box; border-radius: 16% / 7.4%; background: linear-gradient(105deg,#a5a8ab 0%,#383b3e 5%,#17191c 48%,#64686c 94%,#b8babd 100%); box-shadow: inset 0 0 0 1px #d1d2d4, 0 0 0 1px #1b1d20, 0 24px 44px rgba(0,0,0,.45); }
.iphone-screen { position: relative; height: 100%; overflow: hidden; border: 3px solid #08090a; border-radius: 14.8% / 6.7%; background: #dce8ec; color: #fff; }
.map-outing-visual { position: absolute; inset: 0; overflow: hidden; background: #dce8ec; }
.map-outing-visual > img { display: block; width: 100%; height: 123%; object-fit: cover; object-position: right center; transform: translateY(-8.5%); }
.map-outing-titlebar,
.map-outing-summary { position: absolute; z-index: 2; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.58); background: rgba(248,252,253,.86); box-shadow: 0 8px 22px rgba(4,34,48,.16); backdrop-filter: blur(14px) saturate(135%); -webkit-backdrop-filter: blur(14px) saturate(135%); }
.map-outing-titlebar { top: 2.3%; left: 4.5%; gap: 7px; min-width: 44%; padding: 6px 9px; border-radius: 11px; }
.map-outing-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #1a9f78; box-shadow: 0 0 0 3px rgba(26,159,120,.14); }
.map-outing-titlecopy,
.map-outing-summary-copy { display: grid; min-width: 0; line-height: 1.08; }
.map-outing-titlecopy small,
.map-outing-summary-copy small { color: #57717e; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.map-outing-titlecopy strong,
.map-outing-summary-copy strong { color: #093e58; font-size: 13px; font-weight: 800; }
.map-outing-summary { right: 4.5%; bottom: 2.8%; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 12px; }
.map-outing-catches { display: flex; align-items: center; padding-left: 5px; }
.map-outing-catches i { width: 20px; aspect-ratio: 1; margin-left: -5px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: #1d7696; box-shadow: 0 2px 5px rgba(4,34,48,.14); }
.map-outing-catches i:nth-child(2) { background: #d39844; }
.map-outing-catches i:nth-child(3) { background: #5d8b70; }
.iphone-status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 4.5%; display: flex; align-items: center; justify-content: space-between; padding: 0 8%; color: #fff; font: 600 10px/1 Arial,sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.iphone-island { position: absolute; z-index: 2; top: 1.6%; left: 34%; width: 32%; height: 3.5%; border-radius: 30px; background: #030405; }
.iphone-island::after { content: ''; position: absolute; right: 10%; top: 33%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: #101a27; box-shadow: inset 0 0 2px #27394a; }
.iphone-indicators { display: flex; align-items: center; gap: 5px; }
.iphone-signal { display: block; width: 12px; height: 10px; background: linear-gradient(#fff,#fff) 0 100%/2px 35% no-repeat,linear-gradient(#fff,#fff) 33% 100%/2px 55% no-repeat,linear-gradient(#fff,#fff) 66% 100%/2px 75% no-repeat,linear-gradient(#fff,#fff) 100% 100%/2px 100% no-repeat; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.iphone-battery { position: relative; display: block; width: 16px; height: 8px; padding: 1px; border: 1px solid rgba(255,255,255,.9); border-radius: 3px; background: #fff content-box; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.iphone-battery::after { content: ''; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255,255,255,.9); }
.iphone-safe-area { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 3%; display: flex; align-items: center; justify-content: center; background: transparent; }
.iphone-safe-area span { width: 34%; height: 3px; border-radius: 4px; background: rgba(255,255,255,.94); box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.iphone-button { position: absolute; z-index: -1; width: 3px; background: linear-gradient(90deg,#a4a8ad,#464b50); border-radius: 2px; }
.iphone-button--action { left: -2px; top: 15%; height: 3%; }
.iphone-button--volume { left: -2px; top: 23%; height: 12%; background: linear-gradient(to bottom,#777c81 0 45%,transparent 45% 55%,#777c81 55% 100%); }
.iphone-button--power { right: -2px; top: 27%; height: 9%; }
.map-preview-credits { position: absolute; left: 8px; bottom: 8px; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 4px; background: rgba(3,19,33,.72); color: rgba(255,255,255,.82); font-size: 10px; line-height: 1; backdrop-filter: blur(6px); }
.map-preview-credits a { color: inherit; text-decoration: none; }
.map-preview-credits a:hover { color: white; text-decoration: underline; }
.web-map-preview .map-scenery {
  position: relative;
  grid-column: 1 / 12;
  grid-row: 1;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transform: none;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  pointer-events: none;
}
.capture-guide { padding-left: 20px; color: var(--soft); font-size: 14px; }
.capture-guide li { padding-left: 4px; margin-bottom: 14px; }
.capture-guide strong { color: var(--ink); }
.web-map .capture-cta { max-width: 100%; white-space: normal; text-align: center; }

@media (max-width: 760px) {
  .web-map-inner, .map-project .web-map-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .web-map .depth-copy h2 { font-size: 28px; }
  .web-map .web-map-lead { font-size: 18px; }
  .web-map-preview .map-scenery { transform: none; }
  .iphone-status { font-size: 8px; }
  .iphone-indicators { gap: 3px; }
  .iphone-signal { width: 9px; height: 7px; }
  .iphone-battery { width: 11px; height: 6px; }
  .map-outing-titlebar { gap: 5px; padding: 5px 7px; }
  .map-outing-titlecopy small,
  .map-outing-summary-copy small { font-size: 6px; }
  .map-outing-titlecopy strong,
  .map-outing-summary-copy strong { font-size: 9px; }
  .map-outing-summary { gap: 6px; padding: 5px 7px 5px 6px; }
  .map-outing-catches i { width: 14px; }
  .feature-explorer:has(.feature-tab[data-feature="7"][aria-selected="true"]) {
    max-height: calc(100svh - 158px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(216,251,255,.4) transparent;
  }
  .feature-explorer:has(.feature-tab[data-feature="7"][aria-selected="true"]) .feature-stage {
    min-height: 220px;
    height: 220px;
    padding: 12px;
    grid-template-rows: minmax(0, 1fr);
  }
  .feature-explorer:has(.feature-tab[data-feature="7"][aria-selected="true"]) .feature-screen[data-feature="7"] { width: 150px; }
  .feature-caption-item[data-feature="7"] .capture-guide { font-size: 13px; line-height: 1.4; }
  .feature-caption-item[data-feature="7"] > p:last-child { font-size: 13px; line-height: 1.45; }
}

.legislation {
  align-items: center;
  background:
    linear-gradient(180deg, #031321 0%, #020b17 100%);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  padding-right: max(24px, calc((100vw - 1220px) / 2));
}

.legislation-device {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 520px;
  overflow: visible;
  padding: 0;
  position: relative;
}

.legislation-device::before {
  content: none;
}

.legislation-phone {
  width: 348px;
  z-index: 2;
}

.engagement-mark {
  align-items: center;
  display: grid;
  justify-items: center;
  max-width: 340px;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.engagement-mark::before,
.engagement-mark::after {
  animation: engagement-sonar 4.2s ease-out infinite;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 215, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(56, 215, 255, 0.12);
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: calc(clamp(130px, 15vw, 210px) / 2);
  transform: translate(-50%, -50%) scale(0.56);
  width: clamp(150px, 17vw, 240px);
  z-index: 0;
}

.engagement-mark::after {
  animation-delay: 1.9s;
  border-color: rgba(216, 251, 255, 0.2);
}

.engagement-mark img {
  filter:
    drop-shadow(0 24px 56px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 28px rgba(88, 216, 255, 0.24));
  height: clamp(130px, 15vw, 210px);
  object-fit: contain;
  position: relative;
  width: clamp(130px, 15vw, 210px);
  z-index: 1;
}

.engagement-mark span {
  color: white;
  font-size: clamp(2.15rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.engagement-mark strong {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 8px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

@keyframes engagement-sonar {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.54);
  }
  18% {
    opacity: 0.52;
  }
  76% {
    opacity: 0.12;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

.legislation .depth-copy h2 {
  line-height: 1.04;
}

.law-stack {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.abyss {
  background:
    linear-gradient(180deg, #020b17 0%, #00050d 100%),
    repeating-linear-gradient(90deg, rgba(216, 251, 255, 0.03) 0 1px, transparent 1px 80px);
  padding-bottom: 58px;
}

.abyss-panel {
  align-items: center;
  background: rgba(244, 251, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 28px;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1220px;
  padding: 34px;
}

.abyss-panel > img {
  height: 74px;
  object-fit: contain;
  width: 74px;
}

.abyss-panel p {
  margin-top: 14px;
}

.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 216, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #000913 0%, #00050d 100%);
  border-top: 1px solid rgba(216, 251, 255, 0.12);
  padding: 44px 24px 28px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  margin: 0 auto;
  max-width: 1220px;
  width: 100%;
}

.footer-main {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(130px, 0.55fr));
}

.footer-about p {
  color: rgba(244, 251, 255, 0.62);
  font-size: 0.92rem;
  margin: 16px 0 0;
  max-width: 360px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(244, 251, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 600;
  width: fit-content;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 251, 255, 0.1);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
}

.footer-bottom p {
  color: rgba(244, 251, 255, 0.48);
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0;
}

.legal-body {
  background: #f8fafc;
  color: #1d3c58;
}

.legal-page {
  margin: 0 auto;
  max-width: 990px;
  padding: 10px 34px 56px;
}

.legal-back-link {
  color: #104875;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  color: #104875;
  outline: none;
}

.legal-card {
  background: white;
  border: 1px solid rgba(16, 72, 117, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(16, 72, 117, 0.08);
  padding: 42px;
}

.legal-kicker {
  color: #244862;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.legal-card h1 {
  color: #104875;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: 1;
  margin: 0 0 12px;
}

.legal-updated {
  color: #617b91;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 30px;
}

.legal-card section + section {
  margin-top: 30px;
}

.legal-card h2 {
  color: #104875;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 14px;
}

.legal-card p {
  color: #1d3c58;
  font-size: 1rem;
  line-height: 1.68;
  margin: 0;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  color: #1d3c58;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card li {
  font-size: 1rem;
  line-height: 1.68;
  margin: 8px 0;
}

.legal-card strong {
  color: #1d3c58;
  font-weight: 800;
}

.legal-card a {
  color: #104875;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 72, 117, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-card a:hover,
.legal-card a:focus {
  color: #1773c4;
  border-bottom-color: #1773c4;
}

.contact-body {
  background: #020914;
  color: var(--ink);
}

.contact-main {
  overflow: hidden;
  position: relative;
}

.contact-cover {
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  padding: 162px 24px 86px;
  position: relative;
}

.contact-cover::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(88, 216, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 26%, rgba(148, 247, 178, 0.12), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.contact-cover-layout {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  margin: 0 auto;
  max-width: 1220px;
}

.contact-cover-copy {
  max-width: 760px;
}

.contact-cover-copy h1 {
  color: white;
  font-size: clamp(2.05rem, 4vw, 3.65rem);
  line-height: 1;
  margin: 0;
}

.contact-cover-copy p:not(.depth-label) {
  color: var(--soft);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  margin: 24px 0 0;
  max-width: 650px;
}

.contact-signal {
  background: rgba(5, 24, 42, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.contact-signal article {
  background: rgba(244, 251, 255, 0.06);
  padding: 20px;
}

.contact-signal span {
  color: var(--cyan);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-signal strong {
  color: white;
  display: block;
  line-height: 1.45;
  margin-top: 8px;
}

.contact-form-section {
  align-items: start;
  background:
    linear-gradient(180deg, #031321 0%, #020b17 100%),
    repeating-linear-gradient(160deg, rgba(216, 251, 255, 0.04) 0 1px, transparent 1px 58px);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  padding: 92px max(24px, calc((100vw - 1220px) / 2));
}

.contact-form-copy {
  position: sticky;
  top: 118px;
}

.contact-form-copy h2 {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1;
  margin: 0;
}

.contact-form-copy p:not(.depth-label) {
  color: var(--soft);
  margin: 20px 0 0;
}

.contact-form label {
  color: white;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact-form label strong {
  color: var(--coral);
}

.contact-form {
  background: rgba(244, 251, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  padding: 28px;
}

.spam-field {
  height: 1px;
  left: -100vw;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: auto;
  width: 1px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(244, 251, 255, 0.95);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #10273d;
  font: inherit;
  min-height: 52px;
  padding: 14px 16px;
  resize: vertical;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d8fbff;
  box-shadow: 0 0 0 3px rgba(216, 251, 255, 0.28);
  outline: none;
}

.contact-form [data-anti-spam-code] {
  text-transform: none;
}

.contact-form button {
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  color: #104875;
  cursor: pointer;
  font-weight: 800;
  margin-top: 8px;
  min-height: 52px;
  padding: 0 32px;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: white;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.form-status {
  color: var(--surface);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 16px 0 0;
  min-height: 1.45em;
}

.form-status.is-error {
  color: #ffb199;
}

.form-status.is-success {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .database,
  .capture-log,
  .legislation {
    grid-template-columns: 1fr;
  }

  .deep-phone {
    min-height: 690px;
  }

  .hero-phone {
    width: min(520px, 100%);
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .offline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-body {
    grid-template-columns: 1fr;
  }

  .capture-copy {
    max-width: 760px;
  }

  .capture-visual {
    min-height: 620px;
  }

  .capture-phone-main {
    right: 6%;
  }

  .abyss-panel {
    grid-template-columns: 74px 1fr;
  }

  .download-actions {
    grid-column: 2;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-cover-layout,
  .contact-form-section {
    grid-template-columns: 1fr;
  }

  .contact-form-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 12px;
    right: 12px;
    top: 10px;
    transform: none;
    width: auto;
    border-radius: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: #010812;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 10px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
    font-size: 1rem;
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .depth-section {
    padding: 78px 16px;
  }

  .surface {
    padding-top: 112px;
  }

  .hero-layout {
    gap: 36px;
    min-height: 0;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-lead {
    font-size: 1.5rem;
  }

  .deep-phone {
    display: block;
    margin: 0 auto;
    max-width: 420px;
    min-height: 540px;
    position: relative;
    width: 100%;
  }

  .sonar-ring {
    inset: 40px auto auto 50%;
    transform: translateX(-50%);
    width: min(320px, 86%);
  }

  .hero-phone {
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    width: min(340px, 92%);
    z-index: 5;
  }

  @keyframes hero-phone-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
  }

  .floating-ui {
    align-items: center;
    animation: ui-float 6s ease-in-out infinite;
    backdrop-filter: blur(22px);
    background:
      linear-gradient(135deg, rgba(56, 215, 255, 0.18), rgba(5, 24, 42, 0.86));
    border: 1px solid rgba(216, 251, 255, 0.28);
    border-radius: 14px;
    bottom: auto;
    display: flex;
    flex-direction: row;
    gap: 9px;
    inset: auto;
    min-height: 0;
    padding: 10px 12px;
    position: absolute;
    right: auto;
    text-align: left;
    top: auto;
  }

  .floating-ui-icon {
    border-radius: 12px;
    height: 32px;
    width: 32px;
  }

  .floating-ui-icon svg {
    height: 18px;
    width: 18px;
  }

  .floating-ui-text {
    align-items: flex-start;
  }

  .floating-ui-text span,
  .floating-ui span:not(.floating-ui-icon) {
    font-size: 0.56rem;
  }

  .floating-ui-text strong,
  .floating-ui strong {
    font-size: 0.84rem;
    margin-top: 2px;
  }

  .ui-one {
    left: 0;
    top: 46px;
  }

  .ui-two {
    animation-delay: 1.2s;
    right: 0;
    top: 176px;
  }

  .ui-three {
    animation-delay: 2.2s;
    bottom: 48px;
    left: 18px;
  }

  .surface-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .console-body {
    padding: 20px;
  }

  .console-phone {
    width: min(300px, 100%);
  }

  .deep-card {
    min-height: auto;
  }

  .deep-card h3 {
    margin-top: 36px;
  }

  .feature-scroll-lock {
    margin-top: 30px;
    min-height: max(760px, calc(var(--feature-steps, 7) * 78svh));
  }

  .feature-scroll-lock .feature-explorer {
    top: 78px;
  }

  .feature-explorer {
    --feature-shift: 28px;
    padding: 20px;
    gap: 20px;
    overscroll-behavior: auto;
  }

  .feature-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 4px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-tabs::-webkit-scrollbar {
    display: none;
  }

  .feature-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    transition-duration: 160ms;
  }

  .feature-body {
    gap: 20px;
  }

  .feature-stage {
    min-height: clamp(310px, 48svh, 420px);
    padding: 24px 16px;
  }

  .feature-screen {
    max-height: min(350px, 45svh);
    transition-duration: 260ms, 260ms, 360ms;
    width: min(220px, 70%);
  }

  .feature-screen--wide {
    width: min(340px, 96%);
  }

  .feature-caption-item h3 {
    font-size: 1.3rem;
  }

  .capture-log {
    gap: 34px;
  }

  .capture-points {
    margin-top: 24px;
  }

  .capture-visual {
    min-height: 540px;
  }

  .capture-radar {
    top: 47%;
    width: min(430px, 96%);
  }

  .capture-phone-main {
    left: 50%;
    right: auto;
    top: 8px;
    transform: translateX(-50%);
    width: min(390px, 94%);
  }

  .capture-note {
    bottom: 8px;
    left: 50%;
    max-width: 340px;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 28px);
  }

  .legislation-device {
    min-height: 320px;
  }

  .legislation-phone {
    width: 232px;
  }

  .abyss-panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .download-actions {
    grid-column: auto;
  }

  .legal-page {
    padding: 12px 16px 40px;
  }

  .legal-card {
    border-radius: 14px;
    padding: 26px;
  }

  .legal-card h1 {
    font-size: 2.05rem;
  }

  .contact-cover {
    min-height: auto;
    padding: 126px 16px 64px;
  }

  .contact-cover-layout {
    gap: 30px;
  }

  .contact-form-section {
    gap: 30px;
    padding: 64px 16px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.94rem;
  }

  .store-link img {
    height: 46px;
  }

  .surface-strip {
    grid-template-columns: 1fr;
  }

  .offline-grid {
    grid-template-columns: 1fr;
  }

  .console-phone {
    width: min(280px, 100%);
  }

  .feature-screen {
    width: min(200px, 75%);
  }

  .feature-screen--wide {
    width: min(300px, 98%);
  }

  .feature-stage {
    min-height: 380px;
  }

  .capture-visual {
    min-height: 500px;
  }

  .capture-phone-main {
    width: min(340px, 94%);
  }

  .capture-note {
    padding: 14px;
  }

  .deep-phone {
    min-height: 500px;
  }

  .hero-phone {
    width: min(315px, 92%);
    top: 8px;
  }

  .floating-ui {
    padding: 8px 10px;
  }

  .floating-ui span {
    font-size: 0.58rem;
  }

  .floating-ui strong {
    font-size: 0.76rem;
  }

  .ui-one {
    top: 36px;
  }

  .ui-two {
    top: 152px;
  }

  .ui-three {
    bottom: 42px;
    left: 10px;
  }
}

.map-project { padding-top: 170px; min-height: 85svh; background: transparent; }
.map-project .depth-copy h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 12px 0 24px;
}
.map-project-page .site-nav [aria-current="page"] {
  background: rgba(216,251,255,.14);
}

.app-landing section[id] { scroll-margin-top: var(--product-scroll-offset, 164px); }
.app-landing .surface { padding-top: 182px; }
.app-landing .feature-scroll-lock .feature-explorer { top: 152px; }
.product-subnav {
  position: fixed;
  z-index: 35;
  top: 94px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  max-width: calc(100% - 48px);
  width: max-content;
  padding: 4px;
  background: rgba(5,24,39,.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(216,251,255,.12);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,8,18,.16);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-subnav[hidden] { display: none; }
.product-subnav a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: var(--soft);
  white-space: nowrap;
  border-radius: 14px;
  transition: background-color .18s ease, color .18s ease;
}
.product-subnav a[aria-current="location"] { color: var(--surface); background: rgba(216,251,255,.13); }
.product-subnav a:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
@media (hover: hover) {
  .product-subnav a:hover { color: var(--surface); background: rgba(216,251,255,.08); }
  .product-subnav a[aria-current="location"]:hover { background: rgba(216,251,255,.16); }
}
@media (prefers-reduced-motion: reduce) {
  .product-subnav a { transition: none; }
}
@media (761px <= width <= 1080px) {
  .app-landing .hero-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-height: 540px;
  }
  .app-landing .deep-phone { min-height: 540px; }
  .app-landing .hero-phone { width: min(360px, 100%); }
  .app-landing .hero h1 { font-size: 3.5rem; }
  .app-landing .hero-lead { font-size: 1.65rem; }
}
.map-coming-soon { display: inline-block; color: var(--surface); font-size: 18px; font-weight: 600; margin-top: 28px; }
.science-project { background: linear-gradient(180deg, #020b17, #104875); }
.science-project-inner { max-width: 1160px; margin-inline: auto; }
.science-project-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 36px; }
.science-project-details article { padding-top: 16px; border-top: 1px solid var(--line); }
.science-project-details h3 { font-size: 18px; color: var(--surface); margin: 0 0 12px; }
.science-project-details p { font-size: 14px; }
.science-project .science-project-note { font-size: 13px; margin-top: 24px; }
@media (max-width: 760px) {
  .product-subnav {
    max-width: calc(100% - 32px);
    width: max-content;
    gap: 2px;
    top: 76px;
    background: #0b263a;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .product-subnav a { padding-inline: 12px; }
  .app-landing .site-header,
  .app-landing .site-header.is-scrolled {
    background: #071b2b;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .app-landing .surface { min-height: 0; padding-block: 142px 36px; }
  .app-landing .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .app-landing .hero-copy .depth-label { display: none; }
  .app-landing .hero-lead { margin-block: 12px; }
  .app-landing .hero-sub { font-size: 0.95rem; }
  .app-landing .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions .store-link { height: auto; min-height: 44px; max-width: calc((100% - 8px) / 2); }
  .hero-actions .store-link img { height: auto; max-height: 46px; max-width: 100%; object-fit: contain; }
  .app-landing .deep-phone {
    display: block;
    padding-bottom: 38px;
    max-width: 270px;
    min-height: 0;
  }
  .app-landing .hero-phone {
    animation: none;
    filter: none;
    left: auto;
    top: auto;
    transform: none;
    position: relative;
    width: 100%;
  }
  .hero-phone .device-mockup { padding: 3px; box-shadow: 0 8px 16px #0005; }
  .hero-phone .device-mockup--back { width: 52%; }
  .hero-phone .device-mockup--front { width: 48%; }
  .app-landing .sonar-ring { animation: none; top: 16px; }
  .app-landing .deep-phone .floating-ui {
    animation: none;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 8px;
    inset: auto;
    padding: 6px 9px;
    position: absolute;
    transform: none;
  }
  .app-landing .deep-phone .floating-ui-icon { width: 26px; height: 26px; }
  .app-landing .deep-phone .floating-ui-icon svg { width: 16px; height: 16px; }
  .app-landing .deep-phone .ui-one { top: 5%; left: -8px; }
  .app-landing .deep-phone .ui-two { top: 36%; right: -8px; }
  .app-landing .deep-phone .ui-three { bottom: 14px; left: 0; }
  .app-landing .deep-phone .floating-ui::before { filter: none; }
  .app-landing .bubble-field { display: none; }
  .science-project-details { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .map-project { padding-top: 126px; }
  .map-project .depth-copy h1 { font-size: 34px; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .app-landing .hero-phone { animation: mobile-hero-float 7.5s ease-in-out infinite; }
  .app-landing .deep-phone .floating-ui { animation: mobile-hero-float 6s ease-in-out infinite; }
  .app-landing .deep-phone .ui-two { animation-delay: -1.2s; }
  .app-landing .deep-phone .ui-three { animation-delay: -2.4s; }
  .app-landing .bubble-field { display: block; }
  .app-landing .bubble-field span { box-shadow: none; animation-delay: -8s; }
  .app-landing .bubble-field span:nth-child(even) { animation-delay: -14s; }
  .app-landing .bubble-field span:nth-child(n + 9) { display: none; }
}

@keyframes mobile-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .app-landing .feature-scroll-lock { min-height: 0; }
  .app-landing .feature-scroll-lock .feature-explorer { position: relative; top: auto; }
}
