/* ============================================================
   COHIME — Design tokens
   ============================================================ */
:root {
  /* Surfaces */
  --void: oklch(13.5% 0.020 292);
  --void-deep: oklch(9.5% 0.016 292);
  --surface: oklch(19% 0.030 292);
  --surface-2: oklch(23% 0.035 292);
  --line: oklch(40% 0.045 292 / 0.35);
  --line-soft: oklch(40% 0.045 292 / 0.16);

  /* Brand violet */
  --primary: oklch(60.6% 0.25 292.717);
  --primary-bright: oklch(75% 0.185 292.717);
  --primary-soft: oklch(60.6% 0.25 292.717 / 0.14);
  --primary-dim: oklch(38% 0.13 292.717);
  --primary-line: oklch(60.6% 0.25 292.717 / 0.45);

  /* Accents */
  --verdant: oklch(78% 0.17 155);
  --verdant-soft: oklch(78% 0.17 155 / 0.14);
  --ember: oklch(78% 0.135 55);
  --ember-soft: oklch(78% 0.135 55 / 0.14);

  /* Text */
  --paper: oklch(96% 0.010 292);
  --mist: oklch(74% 0.020 292);
  --mist-dim: oklch(52% 0.020 292);

  /* Type */
  --f-display: "Sora", "Inter", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--primary);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 10px 2px var(--primary-bright);
  flex: none;
}

.eyebrow.verdant {
  color: var(--verdant);
}

.eyebrow.verdant::before {
  background: var(--verdant);
  box-shadow: 0 0 10px 2px var(--verdant);
}

.eyebrow.ember {
  color: var(--ember);
}

.eyebrow.ember::before {
  background: var(--ember);
  box-shadow: 0 0 10px 2px var(--ember);
}

.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-top: 0.6em;
}

.section-head p {
  color: var(--mist);
  margin-top: 1em;
  font-size: 1.05rem;
  max-width: 52ch;
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: var(--void-deep);
  box-shadow: 0 10px 30px -8px var(--primary-line);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px var(--primary-line);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
}

/* Store badges (custom, non-trademarked renderings) */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.7em 1.3em;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.store-badge:hover {
  border-color: var(--primary-bright);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.store-badge svg {
  flex: none;
  color: var(--primary-bright);
}

.store-badge .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge .store-text small {
  font-size: 0.68rem;
  color: var(--mist-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.store-badge .store-text strong {
  font-family: var(--f-display);
  font-size: 1rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: color-mix(in oklch, var(--void) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

.nav.is-scrolled {
  border-color: var(--line-soft);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--mist);
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-cta .btn {
  padding: 0.68em 1.35em;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 38px;
  height: 32px;
  position: relative;
  flex: none;
}

.nav-toggle span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 9px;
}

.nav-toggle span:nth-child(2) {
  top: 16px;
}

.nav-toggle span:nth-child(3) {
  top: 23px;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO + GLOBE
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 6.5rem;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 8%, oklch(60.6% 0.25 292.717 / 0.16), transparent 70%),
    var(--void);
}

.starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .7;
}

.starfield span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--paper);
  opacity: .5;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .15;
  }

  50% {
    opacity: .85;
  }
}

.hero-copy-wrap {
  position: relative;
  z-index: 60;
  max-width: 640px;
}

.hero-copy h1,
.hero-copy p.lede,
.hero-copy .eyebrow {
  text-shadow: 0 2px 20px oklch(0% 0 0 / .5);
}

.horizon-space {
  padding-bottom: calc(clamp(4rem, 9vw, 8rem) + 38vh);
}

/* the hero sits its copy right on the curve rather than clearing it —
   see .hero{ align-items:flex-end } below */
.hero.horizon-space {
  padding-bottom: 8vh;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.06;
  margin-top: 0.7rem;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary-bright), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p.lede {
  margin-top: 1.3rem;
  color: var(--mist);
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-actions .btn-primary {
  padding: 1em 1.9em;
}

/* HUD readout */
.hud {
  margin-top: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in oklch, var(--surface) 70%, transparent);
  padding: 1.3rem 1.5rem;
  max-width: 480px;
  position: relative;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.hud-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: .2em;
  color: var(--mist-dim);
  text-transform: uppercase;
}

.hud-dots {
  display: flex;
  gap: 0.4rem;
}

.hud-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}

.hud-dots button.is-active {
  background: var(--primary-bright);
  transform: scale(1.3);
  box-shadow: 0 0 8px 1px var(--primary-line);
}

.hud-text {
  min-height: 3.2em;
  font-size: 0.98rem;
  color: var(--paper);
}

.hud-text span {
  display: block;
  animation: fadein .5s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PERSISTENT HORIZON GLOBE
   Fixed band pinned to the bottom of the viewport. Stays visible
   from the hero through "How it works", rotating in step with
   scroll, then fades out before the download / footer.
   ============================================================ */
.horizon-globe {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 3.5rem);
  z-index: 40;
  pointer-events: none;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .6s ease;
  background: linear-gradient(to bottom,
      transparent 0%,
      color-mix(in oklch, var(--void) 20%, transparent) 50%,
      color-mix(in oklch, var(--void) 65%, transparent) 55%,
      var(--void) 65%,
      var(--void) 100%);
}

.horizon-globe.is-hidden {
  opacity: 0;
  transform: translateY(3%);
}

.horizon-head-blend {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(to bottom,
      var(--void) 0%,
      transparent 100%);
  opacity: 0.85;
}

.horizon-caption {
  position: absolute;
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist-dim);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  white-space: nowrap;
  z-index: 10;
}

.horizon-caption.is-visible {
  opacity: 1;
}

.horizon-caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-bright);
  flex: none;
  box-shadow: 0 0 8px 2px var(--primary-line);
}

/* the sphere is a huge circle (2.2x viewport width) so only its very tip —
   the polar cap — reaches into the band. Positioning by its TOP edge (which
   coincides exactly with the circle's apex, since the circle is inscribed
   flush in its own square box) means we always see the top of the globe,
   not a flat mid-latitude slice, and it still spans edge-to-edge. */
.horizon-inner {
  position: absolute;
  top: 55vh;
  left: 50%;
  width: 220vw;
  aspect-ratio: 1/1;
  transform: translateX(-50%);
  perspective: 240vw;
  flex: none;
}

.globe-scene {
  position: absolute;
  inset: 0;
}

.globe-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
}

.globe-clip {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  /* atmospheric rim glow along the horizon line */
  box-shadow:
    0 0 1vw 0.2vw color-mix(in oklch, var(--paper) 45%, transparent),
    0 0 3.5vw 0.8vw color-mix(in oklch, var(--primary-bright) 40%, transparent),
    0 0 8vw 1.8vw color-mix(in oklch, var(--primary) 22%, transparent);
}

.globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.globe-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* wireframe grid — plain outline shapes only, no fill or shading,
   to match the linework used in the logo/feature icons */
.meridian {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
}

.meridian.prime {
  border-color: var(--primary-line);
}

.latitude {
  position: absolute;
  left: 50%;
  height: 0;
  border-top: 1px solid var(--line);
  transform: translate(-50%, -50%);
}

.latitude.equator {
  border-top-color: var(--primary-line);
}

.ring {
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  border: 1px dashed var(--line);
}

/* feature markers riding the globe surface */
.feature-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  will-change: transform, opacity;
}

.marker-badge {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--void) 55%, transparent);
  border: 1px solid var(--line);
  color: var(--mist-dim);
  backdrop-filter: blur(2px);
  transition: color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.feature-marker.is-active .marker-badge {
  color: var(--marker-color, var(--primary-bright));
  border-color: var(--marker-color, var(--primary-bright));
  background: color-mix(in oklch, var(--void) 30%, transparent);
  box-shadow: 0 0 20px 3px color-mix(in oklch, var(--marker-color, var(--primary-bright)) 55%, transparent);
  transform: translate(-50%, -50%) scale(1.22);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 2.6rem 0;
  background: var(--void-deep);
}

.trust .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.6rem;
  align-items: center;
  justify-content: space-between;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mist);
  font-size: 0.92rem;
}

.trust-item svg {
  color: var(--primary-bright);
  flex: none;
}

/* ============================================================
   FEATURE (safety) SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split.reverse .split-visual {
  order: 2;
}

.feature-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.feature-list .ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ember-soft);
  color: var(--ember);
  border: 1px solid oklch(78% 0.135 55 / 0.3);
}

.section.impact .feature-list .ico {
  background: var(--verdant-soft);
  color: var(--verdant);
  border-color: oklch(78% 0.17 155 / 0.3);
}

.feature-list h4 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
}

.feature-list p {
  color: var(--mist);
  font-size: 0.93rem;
  margin-top: 0.25rem;
}

/* Shield / route visual (pure CSS+SVG, no photos) */
.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--void-deep));
  padding: clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 80% 0%, var(--ember-soft), transparent 60%);
}

.impact .visual-card::before {
  background: radial-gradient(50% 50% at 80% 0%, var(--verdant-soft), transparent 60%);
}

/* ============================================================
   IMPACT COUNTERS
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  background: var(--surface);
}

.stat-num {
  font-family: var(--f-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--verdant);
  font-weight: 500;
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--mist);
  font-size: 0.85rem;
}

.stat-note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--mist-dim);
}

.compare {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 110px 1fr 70px;
  align-items: center;
  gap: 0.9rem;
}

.compare-label {
  font-size: 0.85rem;
  color: var(--mist);
}

.compare-track {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.compare-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 1.4s cubic-bezier(.2, .8, .2, 1);
}

.compare-fill.solo {
  background: linear-gradient(90deg, var(--ember), oklch(78% 0.135 55 / .6));
}

.compare-fill.pool {
  background: linear-gradient(90deg, var(--verdant), oklch(78% 0.17 155 / .6));
}

.compare-val {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  text-align: right;
  color: var(--mist);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  position: relative;
}

.step .num {
  font-family: var(--f-mono);
  color: var(--primary-bright);
  font-size: 0.85rem;
}

.step h3 {
  font-family: var(--f-body);
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.9rem;
}

.step p {
  color: var(--mist);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.step-line {
  display: none;
}

@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.4rem;
    width: 1.4rem;
    height: 1px;
    background: var(--line);
  }
}

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--void-deep));
  padding: clamp(2.8rem, 7vw, 5rem);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 30%, var(--primary-soft), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
}

.cta-band p {
  color: var(--mist);
  margin-top: 1rem;
  max-width: 50ch;
  margin-inline: auto;
  position: relative;
}

.cta-band .store-row {
  justify-content: center;
  margin-top: 2rem;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 4.5rem 0 2rem;
  background: var(--void-deep);
  border-top: 1px solid var(--line-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--mist);
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist-dim);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a,
.footer-col address {
  color: var(--mist);
  font-size: 0.9rem;
  font-style: normal;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--primary-bright);
}

.footer-bottom {
  margin-top: 3.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--mist-dim);
  font-size: 0.82rem;
}

.socials {
  display: flex;
  gap: 0.7rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.socials a:hover {
  color: var(--primary-bright);
  border-color: var(--primary-line);
  transform: translateY(-2px);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  padding: 9rem 0 3rem;
  border-bottom: 1px solid var(--line-soft);
}

.legal-hero .eyebrow {
  margin-bottom: 1rem;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-hero p {
  color: var(--mist-dim);
  margin-top: 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  padding: 3.5rem 0 6rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-toc a {
  font-size: 0.87rem;
  color: var(--mist);
  padding: 0.35rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.9rem;
  transition: color .2s ease, border-color .2s ease;
}

.legal-toc a:hover {
  color: var(--paper);
  border-color: var(--line);
}

.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 2.6rem;
  scroll-margin-top: 6.5rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--mist);
  font-size: 0.97rem;
  margin-top: 0.9rem;
}

.legal-body ul {
  padding-left: 1.3rem;
  list-style: disc;
}

.legal-body ul li {
  margin-top: 0.5rem;
}

.legal-body strong {
  color: var(--paper);
}

.legal-note {
  margin-top: 2.6rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--mist-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-visual {
    order: 0;
  }

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

  .legal-wrap {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 6rem;
    text-align: left;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .horizon-globe {
    height: calc(100vh - 3.5rem);
  }

  .horizon-space {
    padding-bottom: calc(clamp(4rem, 9vw, 8rem) + 34vh);
  }

  .hero.horizon-space {
    padding-bottom: 6vh;
  }

  .marker-badge {
    width: 28px;
    height: 28px;
  }

  .marker-badge svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 720px) {

  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--void);
    border-bottom: 1px solid var(--line-soft);
    padding: 1.2rem 6%;
    gap: 1.1rem;
  }

  .trust .container {
    justify-content: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .stat-row {
    grid-template-columns: 1fr;
  }

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

  .compare-row {
    grid-template-columns: 84px 1fr 56px;
  }

  .horizon-globe {
    height: calc(100vh - 3.5rem);
  }

  .horizon-space {
    padding-bottom: calc(clamp(4rem, 9vw, 8rem) + 30vh);
  }

  .hero.horizon-space {
    padding-bottom: 5vh;
  }

  .horizon-caption {
    font-size: 0.6rem;
    letter-spacing: .1em;
  }
}