: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,
.depth-grid {
  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%),
    repeating-linear-gradient(130deg, rgba(216, 251, 255, 0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(22deg, rgba(88, 216, 255, 0.08) 0 1px, transparent 1px 46px);
  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;
}

.depth-grid {
  background-image:
    linear-gradient(rgba(216, 251, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 251, 255, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  opacity: 0.55;
  z-index: -3;
}

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

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

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

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

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

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  scroll-behavior: smooth;
  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-grid {
  background-image:
    linear-gradient(rgba(216, 251, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 251, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  inset: 0;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 78%);
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.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: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-screen--wide {
  width: min(420px, 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);
  }
}

.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;
  background:
    radial-gradient(circle at 50% 42%, rgba(56, 215, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(244, 251, 255, 0.07), rgba(244, 251, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  min-height: 640px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.legislation-device::before {
  background:
    radial-gradient(circle, transparent 48%, rgba(56, 215, 255, 0.22) 49%, transparent 50%),
    radial-gradient(circle, transparent 60%, rgba(216, 251, 255, 0.12) 61%, transparent 62%);
  content: "";
  aspect-ratio: 1;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 92%);
}

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

.engagement-mark {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(216, 251, 255, 0.09), rgba(56, 215, 255, 0.025));
  border: 1px solid rgba(216, 251, 255, 0.16);
  border-radius: 24px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  justify-items: center;
  max-width: 360px;
  padding: 34px 28px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 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(120px, 14vw, 190px);
  object-fit: contain;
  width: clamp(120px, 14vw, 190px);
}

.engagement-mark span {
  color: white;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 18px;
}

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

.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 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 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,
  .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;
  }

  .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: contain;
  }

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

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

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

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