/* ==========================================================================
   Aevox — landing page
   ========================================================================== */

.home { background: #05050c; }

.ocean {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  /* fallback before the canvas paints */
  background: linear-gradient(180deg, #24215f 0%, #0f0d2c 45%, #05050c 100%);
}

main { position: relative; }

/* ---------- Shared section pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--teal);
}
.eyebrow[data-depth]::before {
  content: attr(data-depth); color: var(--faint); letter-spacing: 0.06em;
  padding-right: 12px; border-right: 1px solid var(--line-strong);
}

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin-inline: auto; }
.section-title {
  margin-top: 18px;
  font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 750;
  max-width: 16ch;
}
.section-head.center .section-title { margin-inline: auto; }
.section-title .serif, .floor-title .serif, .wake-text .serif {
  color: var(--violet-2); letter-spacing: -0.015em; font-size: 1.05em; line-height: 0.9;
}
.section-title .soft { color: #6f6b97; }
.section-lede { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.section-lede a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--violet-2); }

/* split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.12em 0.24em; margin: -0.12em -0.12em -0.24em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms); }
[data-split].in .w > span { transform: none; }

[data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Depth gauge ---------- */
.gauge {
  position: fixed; right: 22px; top: 50%; z-index: 50;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  pointer-events: none;
  opacity: 0; transition: opacity 0.6s;
}
.gauge.is-on { opacity: 1; }
.gauge-track { position: relative; width: 1px; height: 46vh; background: var(--line-strong); }
.gauge-fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--teal), var(--violet)); }
.gauge-ticks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.gauge-ticks li {
  position: absolute; right: 8px; transform: translateY(-50%);
  font: 500 11px var(--mono); color: var(--faint);
}
.gauge-ticks li::after { content: ""; position: absolute; right: -8px; top: 50%; width: 5px; height: 1px; background: var(--line-strong); }
.gauge-ticks li:nth-child(1) { top: 0; }
.gauge-ticks li:nth-child(2) { top: 25%; }
.gauge-ticks li:nth-child(3) { top: 50%; }
.gauge-ticks li:nth-child(4) { top: 75%; }
.gauge-ticks li:nth-child(5) { top: 100%; }
.gauge-marker {
  position: absolute; right: -4px; top: 0;
  transform: translateY(calc(var(--p, 0) * 46vh - 50%));
  display: flex; align-items: baseline; gap: 2px;
  padding: 4px 8px 4px 10px; margin-right: 12px; border-radius: 999px;
  background: #0a0a18; box-shadow: inset 0 0 0 1px var(--line-strong);
  white-space: nowrap; z-index: 2;
  font-variant-numeric: tabular-nums;
}
.gauge-marker::after { content: ""; position: absolute; right: -12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.gauge-marker b { font-size: 12px; font-weight: 500; color: var(--text); }
.gauge-marker i { font-size: 10px; font-style: normal; color: var(--muted); }
.gauge-zone {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
@media (max-width: 1180px) { .gauge { display: none; } }
@media (min-width: 1181px) { .nav-depth { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 120px;
  overflow: clip;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero-copy { will-change: transform, opacity; }
.live-dot {
  position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(98, 227, 209, 0.6); animation: live 2.2s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(98, 227, 209, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(98, 227, 209, 0); }
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(54px, 6.7vw, 104px); line-height: 0.96; letter-spacing: -0.032em; font-weight: 800;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.22em 0.14em 0.16em; margin: -0.22em -0.14em -0.16em; }
.hero-title .line > span { display: inline-block; }
.hero-title .serif {
  font-weight: 400; letter-spacing: -0.01em; font-size: 1.12em; line-height: 0.85;
  /* the gradient only paints inside this box, so leave room for the italic f's hook and tail */
  padding: 0.24em 0.12em 0.14em 0.08em; margin: -0.24em -0.12em -0.14em -0.08em;
  background: linear-gradient(100deg, #c9c2ff 0%, var(--violet-2) 35%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 26px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 600; letter-spacing: -0.02em; color: var(--violet-2); }
.hero-body { margin-top: 18px; max-width: 50ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.hero .store-row { margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: 14px; font-weight: 500; color: var(--faint); }
.hero-note i { font-style: normal; margin: 0 8px; color: var(--violet); }

/* entrance */
.hero-anim { opacity: 0; transform: translateY(30px); animation: rise 1.2s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
.hero-title .hero-anim { transform: translateY(110%); opacity: 1; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-stage {
  position: relative; display: grid; place-items: center;
  --pw: clamp(250px, 24vw, 330px);
}
.phone-holder { perspective: 1600px; will-change: opacity; }
.hero-stage .phone { will-change: transform; transform: rotateY(-24deg) rotateX(6deg); }
.sonar-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.sonar-rings span {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--pw) * 2.4); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(98, 227, 209, 0.35);
  transform: translate(-50%, -50%) scale(0.2); opacity: 0;
  animation: ring 6s var(--ease-out) infinite;
}
.sonar-rings span:nth-child(2) { animation-delay: 2s; }
.sonar-rings span:nth-child(3) { animation-delay: 4s; }
.sonar-rings.small span { width: calc(var(--pw) * 2); }
@keyframes ring {
  0% { transform: translate(-50%, -50%) scale(0.25); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.float-alert {
  position: absolute; left: -6%; top: 16%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(16, 15, 38, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 50px -15px rgba(0, 0, 0, 0.9);
  font-size: 13.5px; line-height: 1.3;
  opacity: 0; transform: translate3d(-10px, 14px, 60px) scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.float-alert.show { opacity: 1; transform: translate3d(0, 0, 60px) scale(1); }
.float-alert b { display: block; font-weight: 650; }
.float-alert small { color: var(--muted); font-size: 12.5px; }
.float-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #1b1840, #0b0a1d); box-shadow: inset 0 0 0 1px rgba(169, 157, 255, 0.25);
  font-weight: 800; font-size: 14px; letter-spacing: -0.04em;
}

.dive-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.dive-cue i { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.dive-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 110px; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-stage { --pw: min(68vw, 290px); margin-top: 24px; }
  /* Phones: one flat layer with a painted edge instead of 16 stacked 3D slices,
     and no live blur behind the bubble. Much cheaper for a phone GPU while scrolling. */
  .hero-stage .phone {
    transform-style: flat;
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
    box-shadow:
      inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
      inset 0 0 0 4px #07060d,
      2px 0 0 hsl(250 14% 42%),
      4px 1px 0 hsl(250 14% 34%),
      6px 1px 0 hsl(250 14% 28%),
      8px 2px 0 hsl(250 14% 22%),
      0 40px 70px -30px rgba(0, 0, 0, 0.9);
  }
  .hero-stage .phone-sides { display: none; }
  .hero-stage .phone-holder { will-change: auto; }
  .float-alert { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(22, 20, 50, 0.96); }
  .float-alert { left: 0; top: 8%; }
  .dive-cue { display: none; }
}
@media (max-width: 520px) {
  .store-btn { flex: 1 1 0; min-width: 150px; justify-content: center; padding: 0 14px; }
  .float-alert { left: -2%; font-size: 12.5px; }
}

/* ---------- Phone mock ---------- */
.phone {
  --r: calc(var(--pw) * 0.15);
  position: relative;
  width: var(--pw); aspect-ratio: 1170 / 2532;
  border-radius: var(--r);
  background: linear-gradient(150deg, #34314c 0%, #121122 22%, #08070f 60%, #26243a 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #07060d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: calc(var(--pw) * 0.0405);
  line-height: 1.3;
  color: #ecebf3;
  user-select: none;
  transform-style: preserve-3d;
}
/* Edge of the phone: a stack of rounded slices behind the front face.
   Only their rims show, which reads as a solid metal side when it turns. */
.phone-sides { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.phone-sides i {
  position: absolute; inset: 0; border-radius: var(--r);
  transform: translateZ(calc(var(--pw) * -0.0052 * var(--k)));
  background: hsl(250 16% var(--l, 30%));
}
.phone-sides i:last-child {
  background: #121120;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 140px -30px rgba(124, 108, 246, 0.5);
}
.phone-sides i.btns::before,
.phone-sides i.btns::after {
  content: ""; position: absolute; width: calc(var(--pw) * 0.014); border-radius: 3px; background: hsl(250 14% 44%);
}
.phone-sides i.btns::before { left: calc(var(--pw) * -0.01); top: 22%; height: 6.5%; box-shadow: 0 calc(var(--pw) * 0.19) 0 hsl(250 14% 44%); }
.phone-sides i.btns::after { right: calc(var(--pw) * -0.01); top: 28%; height: 10%; }
.phone-screen {
  position: absolute; inset: calc(var(--pw) * 0.03);
  transform: translateZ(1px);
  border-radius: calc(var(--r) - var(--pw) * 0.03);
  overflow: hidden; background: #0b0b12;
  isolation: isolate;
}
.phone-screen::before {
  content: ""; position: absolute; z-index: 20; left: 50%; top: 1.5%;
  width: 31%; height: 3.6%; transform: translateX(-50%);
  border-radius: 999px; background: #000;
}
.phone-screen::after {
  /* glass glare */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 32%);
}

.scr { position: absolute; inset: 0; padding: 0 1em; display: flex; flex-direction: column; background: #0b0b12; }
.scr p { margin: 0; }
.sb { display: flex; justify-content: space-between; align-items: center; height: 7.2%; flex: none; padding: 0 1.1em 0 1.3em; font-weight: 600; font-size: 0.86em; }
.sb-icons { display: flex; align-items: center; gap: 0.35em; }
.sb-icons svg { width: 1.15em; height: 0.8em; fill: currentColor; }
.batt { background: #33d17a; color: #062; border-radius: 0.35em; padding: 0 0.35em; font-size: 0.82em; font-weight: 700; line-height: 1.35; }

.scr-head { display: flex; align-items: center; gap: 0.55em; margin: 1.3em 0 0.85em; }
.scr-head h3 { font-size: 1.42em; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.scr-head.back svg { width: 1.1em; height: 1.1em; color: #b9b7c9; margin-left: -0.15em; }
.scr-head .pill { margin-left: auto; }
.scr-head .share { width: 1.1em; height: 1.1em; margin-left: 0.6em; color: #b9b7c9; }
.live-pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.22em 0.65em; border-radius: 99px; background: var(--violet); font-size: 0.6em; font-weight: 700; letter-spacing: 0.08em; }
.live-pill::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.sort-pill { margin-left: auto; padding: 0.45em 0.8em; border-radius: 0.6em; font-size: 0.66em; color: #b3b1c4; background: #16161f; box-shadow: inset 0 0 0 1px #262533; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35em; margin-bottom: 0.45em; }
.chip { padding: 0.42em 0.95em; border-radius: 99px; font-size: 0.62em; font-weight: 600; color: #a9a7ba; background: #15151e; box-shadow: inset 0 0 0 1px #262533; }
.chip.on { background: var(--violet); color: #fff; box-shadow: none; }
.chip.dot::before { content: "● "; font-size: 0.7em; vertical-align: 0.15em; }
.chip.dim { opacity: 0.45; }
.scr-updated { font-size: 0.56em; color: #8a889d; }
.scr-day { margin: 1.2em 0 0.6em; padding-top: 0.9em; border-top: 1px solid #1d1c27; font-size: 0.58em; letter-spacing: 0.1em; color: #8a889d; font-weight: 600; }

.feed-list { position: relative; flex: 1; display: flex; flex-direction: column; gap: 0.55em; overflow: hidden; margin: 0 -0.15em; padding: 0 0.15em; }
.tx {
  flex: none; position: relative;
  padding: 0.85em 0.95em 0.7em; border-radius: 0.95em;
  background: #181822; box-shadow: inset 0 0 0 1px #24232f;
  overflow: hidden;
}
.tx::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.17em; background: var(--c); }
.tx.sell { --c: var(--red); --cbg: rgba(255, 91, 120, 0.14); }
.tx.buy { --c: var(--green); --cbg: rgba(49, 216, 162, 0.13); }
.tx.transfer { --c: var(--violet-2); --cbg: rgba(124, 108, 246, 0.16); }
.tx-top { display: flex; align-items: center; gap: 0.6em; }
.av { width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 0.5em; background: var(--cbg, rgba(255, 91, 120, 0.14)); color: var(--c, var(--red)); font-size: 0.74em; font-weight: 700; flex: none; }
.tx-top b { font-size: 0.86em; font-weight: 600; }
.amt { margin-left: auto; text-align: right; font-weight: 700; color: var(--c); font-size: 0.92em; line-height: 1.15; }
.amt small { display: block; font-size: 0.6em; font-weight: 500; color: #8a889d; }
.tag { display: inline-block; margin-top: 0.6em; padding: 0.3em 0.7em; border-radius: 0.45em; background: var(--cbg); color: var(--c); font-size: 0.62em; font-weight: 600; }
.tx-meta { margin-top: 0.4em; font-size: 0.6em; color: #8a889d; }
.tx-meta b { color: #d7d5e3; font-weight: 600; }
.tx-foot { display: flex; align-items: center; gap: 0.4em; margin-top: 0.6em; padding-top: 0.55em; border-top: 1px solid #262531; font-size: 0.56em; color: #8a889d; }
.tx-foot span:first-child { margin-right: auto; }
.pill { padding: 0.2em 0.6em; border-radius: 0.4em; background: #101017; box-shadow: inset 0 0 0 1px #2a2936; color: #b3b1c4; font-size: 0.95em; font-weight: 500; }
.scr-head .pill { font-size: 0.6em; padding: 0.35em 0.8em; }
.pill.conf { background: rgba(255, 91, 120, 0.15); color: var(--red); box-shadow: none; }
.tx.enter { animation: tx-in 0.9s var(--ease-out); }
@keyframes tx-in {
  0% { opacity: 0; transform: translateY(-30%) scale(0.96); margin-top: -7em; }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; margin-top: 0; }
}
.tx.enter::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--c), 0 0 24px var(--cbg);
  animation: flash 1.8s ease-out forwards;
}
@keyframes flash { to { opacity: 0; } }

.tabbar {
  flex: none; display: flex; justify-content: space-around;
  margin: auto -1em 0; padding: 0.75em 0 1.7em; border-top: 1px solid #1c1b26; background: #0b0b12;
  position: relative; z-index: 2;
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 0.25em; font-size: 0.56em; font-weight: 600; color: #7d7b90; }
.tabbar svg { width: 2.1em; height: 2.1em; fill: currentColor; }
.tabbar .on { color: var(--violet-2); }

/* Discover */
.seg { display: flex; border-bottom: 1px solid #1f1e29; margin-bottom: 0.7em; }
.seg span { flex: 1; text-align: center; padding: 0.6em 0; font-size: 0.74em; color: #8a889d; font-weight: 500; }
.seg .on { color: var(--violet-2); box-shadow: inset 0 -2px 0 var(--violet); }
.trader-list { display: flex; flex-direction: column; gap: 0.5em; }
.trader { display: flex; gap: 0.7em; align-items: flex-start; padding: 0.85em; border-radius: 0.9em; background: #181822; box-shadow: inset 0 0 0 1px #24232f; font-size: 0.9em; }
.trader .rank { width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: 0.55em; background: #23213d; color: var(--violet-2); font-weight: 700; font-size: 0.78em; flex: none; }
.trader b { font-size: 0.82em; font-weight: 600; }
.trader p { font-size: 0.62em; color: #8a889d; }
.trader p.gain { color: var(--green); font-size: 0.74em; font-weight: 600; margin: 0.15em 0; }
.trader small { font-size: 0.55em; color: #6f6d82; }
.trader > div { flex: 1; min-width: 0; }
.track { margin-left: auto; padding: 0.4em 0.75em; border-radius: 0.5em; font-size: 0.64em; font-weight: 600; color: var(--violet-2); box-shadow: inset 0 0 0 1px var(--violet); transition: all 0.4s var(--ease-out); }
.track.is-on { color: #8a889d; box-shadow: none; padding-inline: 0; }

/* Lock screen */
.scr-lock {
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(98, 227, 209, 0.25), transparent 60%),
    radial-gradient(90% 50% at 20% 0%, rgba(124, 108, 246, 0.55), transparent 70%),
    linear-gradient(180deg, #1a1650, #0b0a20 70%, #071016);
  text-align: center;
}
.lock-date { margin-top: 1.4em !important; font-size: 0.85em; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.lock-time { font-size: 4.4em; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: rgba(255, 255, 255, 0.92); }
.notes { margin-top: auto; margin-bottom: 2.6em; display: flex; flex-direction: column; gap: 0.5em; text-align: left; }
.note {
  display: flex; gap: 0.7em; padding: 0.8em 0.9em; border-radius: 1.2em;
  background: rgba(40, 38, 72, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0; transform: translateY(-30px) scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.scr-lock.is-active .note { opacity: 1; transform: none; }
.scr-lock.is-active .note:nth-child(1) { transition-delay: 0.85s; }
.scr-lock.is-active .note:nth-child(2) { transition-delay: 0.6s; opacity: 0.85; }
.scr-lock.is-active .note:nth-child(3) { transition-delay: 0.4s; opacity: 0.65; }
.note-icon { width: 2.2em; height: 2.2em; flex: none; display: grid; place-items: center; border-radius: 0.6em; background: linear-gradient(160deg, #1b1840, #0b0a1d); box-shadow: inset 0 0 0 1px rgba(169, 157, 255, 0.3); font-weight: 800; font-size: 0.82em; }
.note > div { flex: 1; min-width: 0; font-size: 0.7em; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }
.note-head { display: flex; justify-content: space-between; font-size: 0.86em; color: rgba(255, 255, 255, 0.6); }
.note-head b { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.note-title { font-weight: 700; color: #fff; }

/* Alert detail */
.card { padding: 0.9em 1em; border-radius: 1em; background: #181822; box-shadow: inset 0 0 0 1px #24232f; margin-bottom: 0.55em; }
.card-label { font-size: 0.56em; letter-spacing: 0.12em; color: #8a889d; font-weight: 600; margin-bottom: 0.7em !important; }
.hero-card { --c: var(--red); --cbg: rgba(255, 91, 120, 0.14); position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.18em; background: var(--red); }
.big-amt { margin-top: 0.6em !important; font-size: 1.38em; font-weight: 700; color: var(--red); letter-spacing: -0.02em; }
.dim { color: #8a889d; font-size: 0.66em; }
.tiny { font-size: 0.56em; margin-top: 0.4em !important; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); }
.next small { display: block; font-size: 0.56em; color: #8a889d; }
.next b { font-size: 0.95em; font-weight: 600; }
.next .up { color: var(--green); } .next .down { color: var(--red); } .next b.dim { font-size: 0.7em; font-weight: 400; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55em 1em; margin: 0; font-size: 0.7em; }
.card dt { font-size: 0.78em; letter-spacing: 0.1em; color: #8a889d; padding-top: 0.15em; }
.card dd { margin: 0; }
.card dl.flow { grid-template-columns: auto minmax(0, 1fr); }
.flow dd b { display: block; font-weight: 600; font-size: 1.05em; }
.flow dd span { display: block; color: #8a889d; font-size: 0.86em; word-break: break-all; line-height: 1.35; }
.major { margin-left: 0.4em; padding: 0.15em 0.45em; border-radius: 0.3em; background: rgba(255, 91, 120, 0.16); color: var(--red); font-size: 0.75em; font-weight: 700; letter-spacing: 0.06em; }

/* Guard */
.scr-guard .scr-head { justify-content: space-between; }
.plus { width: 1.9em; height: 1.9em; border-radius: 0.6em; display: grid; place-items: center; background: var(--violet); font-size: 1.1em; font-weight: 500; }
.warn-card { background: rgba(255, 91, 120, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 91, 120, 0.45); }
.warn-title { display: flex; align-items: center; gap: 0.4em; font-weight: 600; font-size: 0.9em; margin-bottom: 0.35em !important; }
.warn-title svg { width: 1em; height: 1em; color: var(--red); }
.guard-row { display: flex; align-items: center; gap: 0.8em; }
.guard-row > div { flex: 1; }
.guard-row b { font-size: 0.88em; display: flex; align-items: center; gap: 0.5em; }
.guard-row b .pill { font-size: 0.6em; }
.guard-row .dim { font-size: 0.64em; }
.shield { width: 2.5em; height: 2.5em; display: grid; place-items: center; border-radius: 0.7em; background: #23213d; color: var(--violet-2); flex: none; }
.shield svg { width: 1.3em; height: 1.3em; }
.chev { width: 0.9em; height: 0.9em; transform: rotate(180deg); color: #6f6d82; }
.scr-guard.is-active .warn-card { animation: warn 2.4s 0.9s ease-in-out 2; }
@keyframes warn { 50% { box-shadow: inset 0 0 0 1px rgba(255, 91, 120, 0.9), 0 0 30px rgba(255, 91, 120, 0.35); } }

/* ---------- Whale pass ---------- */
.wake { position: relative; height: 300vh; }
.wake-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; align-items: center;
}
.wake-glow {
  position: absolute; left: 50%; top: 42%; width: 120vmax; height: 70vmax; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(124, 108, 246, 0.22), rgba(124, 108, 246, 0.05) 60%, transparent);
  pointer-events: none;
}
.whale {
  position: absolute; left: 0; top: calc(36% + 40px);
  width: clamp(760px, 95vw, 1500px); aspect-ratio: 1010 / 420;
  transform: translate3d(110vw, -50%, 0);
  will-change: transform;
  transition: opacity 0.45s ease;
}
.whale > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.whale-tail { transform-origin: 78.2% 46.4%; animation: tail 3.2s ease-in-out infinite; will-change: transform; }
.whale-fin { transform-origin: 26.9% 60%; animation: fin 3.2s ease-in-out infinite; will-change: transform; }
.wake:not(.is-near) .whale > svg { animation-play-state: paused; }
/* hidden while a nav link is auto-scrolling the page past it */
.is-jumping .whale { opacity: 0; transition: none; }
@keyframes tail { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
@keyframes fin { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }

.wake-copy { position: relative; z-index: 2; align-self: end; padding-bottom: clamp(56px, 12vh, 120px); }
.wake-text {
  margin-top: 18px; max-width: 20ch;
  font-size: clamp(36px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 750;
}
.wake-text .wd { opacity: 0.12; transition: opacity 0.5s, color 0.5s, filter 0.5s; filter: blur(2px); }
.wake-text .wd.on { opacity: 1; filter: none; }
.wake-text .wd.hl.on { color: var(--violet-2); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

@media (max-width: 700px) {
  .whale { top: calc(34% + 40px); width: 170vw; }
  .wake { height: 260vh; }
}

/* ---------- How it works ---------- */
.how { position: relative; padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.how-stage { position: relative; order: 2; }
.how-phone-wrap {
  position: sticky; top: calc(50vh - var(--pw) * 1.082 + var(--nav-h) / 2);
  display: grid; place-items: center;
  --pw: clamp(250px, 22vw, 310px);
  perspective: 1600px;
}
[data-steps-phone] { transform: rotateY(var(--ry, -20deg)) rotateX(5deg); transition: transform 1.4s var(--ease-out); }
.step-dots { list-style: none; margin: 0; padding: 0; display: none; }
.step-screen {
  clip-path: circle(0% at 50% 42%);
  transition: clip-path 0s 0.9s;
  z-index: 1;
}
.step-screen.is-active { clip-path: circle(150% at 50% 42%); transition: clip-path 1s var(--ease-in-out); z-index: 3; }
.step-screen.was-active { clip-path: circle(150% at 50% 42%); z-index: 2; transition: none; }
.step-screen > *:not(.sb) { transition: transform 1.1s var(--ease-out), opacity 0.8s; }
.step-screen:not(.is-active) > *:not(.sb) { transform: translateY(4%) scale(0.98); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0; opacity: 0.22; transition: opacity 0.6s;
}
.step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.step:last-child { min-height: 70vh; }
.step.is-active { opacity: 1; }
.step-num { font-size: 15px; font-weight: 600; color: var(--teal); letter-spacing: 0.04em; display: flex; align-items: center; gap: 12px; }
.step-num::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.5; transform-origin: left; transform: scaleX(0.3); transition: transform 0.8s var(--ease-out); }
.step.is-active .step-num::after { transform: none; }
.step h3 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.024em; font-weight: 750; }
.step p:not(.step-num) { margin-top: 18px; max-width: 42ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 18.5px); }

.how-caption { display: none; }

@media (max-width: 900px) {
  .how-grid { display: block; position: relative; }
  .how-stage {
    position: sticky; top: var(--nav-h); z-index: 2;
    height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 8px;
  }
  .how-phone-wrap { position: relative; top: 0; --pw: min(52vw, calc((100svh - var(--nav-h) - 250px) / 2.164), 270px); }
  .step-dots { display: flex; gap: 6px; margin-top: 16px; }
  .step-dots li { width: 6px; height: 6px; border-radius: 6px; background: var(--line-strong); transition: width 0.5s var(--ease-out), background-color 0.5s; }
  .step-dots li.is-active { width: 22px; background: var(--teal); }
  /* all four captions share one grid cell, so the box always has a real height,
     and the caption gets its own compositing layer so iOS Safari repaints it while scrolling */
  .how-caption {
    display: grid; position: relative; z-index: 5; width: 100%; margin-top: 14px;
    -webkit-transform: translateZ(0); transform: translateZ(0);
  }
  .how-caption > div { grid-area: 1 / 1; opacity: 0; transition: opacity 0.45s ease; will-change: opacity; }
  .how-caption > div.is-active { opacity: 1; }
  .how-caption h3 { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 750; }
  .how-caption p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
  .how-caption .step-num { margin-bottom: 8px; }
  /* the real steps become invisible scroll triggers that sit under the pinned stage */
  .steps { position: relative; z-index: 1; margin-top: calc((100vh - var(--nav-h)) * -1); margin-top: calc((100svh - var(--nav-h)) * -1); }
  .step, .step:first-child, .step:last-child, .step.is-active { min-height: 70vh; padding: 0; opacity: 0; pointer-events: none; }
  .step:first-child { min-height: 40vh; }
}
@media (max-width: 900px) and (max-height: 640px) {
  .how-caption h3 { font-size: 21px; }
  .how-caption p { font-size: 14px; line-height: 1.45; margin-top: 6px; }
}

/* ---------- Signal / sonar ---------- */
.signal { padding: clamp(80px, 12vw, 160px) 0; }
.signal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.controls { margin-top: 40px; max-width: 460px; }
.slider-row { display: flex; justify-content: space-between; align-items: baseline; }
.slider-row label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.slider-row output { font-size: 30px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
input[type="range"] {
  --fill: 82%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 10px 0 2px; background: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--violet) var(--fill), rgba(169, 157, 255, 0.16) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--violet) var(--fill), rgba(169, 157, 255, 0.16) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(124, 108, 246, 0.35), 0 4px 14px rgba(0, 0, 0, 0.6); transition: box-shadow 0.25s; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(124, 108, 246, 0.35), 0 4px 14px rgba(0, 0, 0, 0.6); }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(124, 108, 246, 0.3), 0 4px 14px rgba(0, 0, 0, 0.6); }
.slider-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; border: 0; }
.tchip { position: relative; cursor: pointer; }
.tchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tchip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: all 0.25s;
}
.tchip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: 0.35; transition: opacity 0.25s, box-shadow 0.25s; }
.tchip input:checked + span { color: var(--text); background: rgba(169, 157, 255, 0.07); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.tchip input:checked + span::before { opacity: 1; box-shadow: 0 0 10px var(--c); }
.tchip input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 3px; }
.sonar-count { margin-top: 22px; font-size: 15px; color: var(--muted); }
.sonar-count b { color: var(--teal); font-weight: 500; }

.sonar {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 227, 209, 0.06), rgba(10, 10, 24, 0.5) 70%);
  box-shadow: inset 0 0 0 1px rgba(98, 227, 209, 0.25), 0 0 120px -30px rgba(98, 227, 209, 0.25);
  overflow: hidden;
}
.sonar-grid {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24.6%, rgba(98, 227, 209, 0.14) 24.8% 25%, transparent 25.2% 49.6%, rgba(98, 227, 209, 0.14) 49.8% 50%, transparent 50.2% 74.6%, rgba(98, 227, 209, 0.14) 74.8% 75%, transparent 75.2%),
    linear-gradient(transparent calc(50% - 0.5px), rgba(98, 227, 209, 0.1) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(98, 227, 209, 0.1) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.sonar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(98, 227, 209, 0) 0deg, rgba(98, 227, 209, 0) 300deg, rgba(98, 227, 209, 0.28) 358deg, rgba(98, 227, 209, 0.7) 360deg);
  transform: rotate(var(--sweep, 0deg));
}
.sonar-center { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px var(--teal); }
.sonar-blips { position: absolute; inset: 0; }
.blip {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2);
  border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c);
  opacity: 0.18; transform: scale(0.7);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out, filter 0.4s;
}
.blip.ping { opacity: 1; transform: scale(1); transition: opacity 0.08s, transform 0.3s var(--ease-out); }
.blip.ping::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--c); animation: blip-ring 1.4s ease-out forwards; }
@keyframes blip-ring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.blip.off { opacity: 0 !important; transform: scale(0.2) !important; transition: opacity 0.5s, transform 0.5s; }
.blip-label {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; font: 600 12px var(--mono); color: var(--text);
  padding: 3px 7px; border-radius: 6px; background: rgba(8, 8, 20, 0.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0; transition: opacity 0.3s;
}
.blip.ping .blip-label { opacity: 1; transition-delay: 0.05s; }
.blip.left .blip-label { left: auto; right: calc(100% + 8px); }

@media (max-width: 900px) {
  .signal-grid { grid-template-columns: 1fr; }
  .sonar { max-width: 460px; }
}

/* ---------- Pricing ---------- */
.pricing { padding: clamp(80px, 12vw, 160px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(30, 27, 66, 0.55), rgba(12, 11, 30, 0.55));
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden; isolation: isolate;
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(124, 108, 246, 0.18), transparent 60%);
  opacity: 0; transition: opacity 0.5s;
}
.plan:hover::before { opacity: 1; }
.plan-depth { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 10px; }
.plan-badge { padding: 3px 9px; border-radius: 99px; background: rgba(98, 227, 209, 0.12); color: var(--teal); letter-spacing: 0.1em; }
.plan h3 { margin-top: 14px; font-size: 30px; font-weight: 750; letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 26px !important; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.plan-price b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.plan-price span { color: var(--faint); font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; color: #cfcce4; font-size: 15.5px; line-height: 1.45; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(98, 227, 209, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2362e3d1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan .btn { width: 100%; }
.plan-deep {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(124, 108, 246, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(36, 30, 90, 0.75), rgba(10, 9, 26, 0.8));
  box-shadow: inset 0 0 0 1px rgba(169, 157, 255, 0.4), 0 40px 80px -40px rgba(124, 108, 246, 0.6);
}
.plans-note { margin-top: 28px; text-align: center; color: var(--faint); font-size: 14px; max-width: 64ch; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 12vw, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background:
    linear-gradient(var(--text), var(--text)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 11px no-repeat;
  transition: transform 0.5s var(--ease-out), background-size 0.5s var(--ease-out), box-shadow 0.3s;
}
.faq summary:hover { color: var(--violet-2); }
.faq summary:hover::after { box-shadow: inset 0 0 0 1px var(--violet-2); }
.faq details[open] summary::after { transform: rotate(180deg); background-size: 11px 1.5px, 1.5px 0; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }
.faq-a a { color: var(--violet-2); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-a p { padding-right: 0; }
}

/* ---------- Support ---------- */
.support { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact {
  position: relative; display: block; padding: 30px 28px 34px; border-radius: 26px; text-decoration: none;
  background: rgba(14, 13, 32, 0.6); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.4s;
}
.contact:hover { transform: translateY(-4px); background: rgba(22, 20, 50, 0.7); box-shadow: inset 0 0 0 1px rgba(169, 157, 255, 0.4), 0 30px 60px -30px rgba(124, 108, 246, 0.5); }
.contact-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(98, 227, 209, 0.08); color: var(--teal); box-shadow: inset 0 0 0 1px rgba(98, 227, 209, 0.22); }
.contact-icon svg { width: 22px; height: 22px; fill: none; }
.contact-label { margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.contact h3 { margin-top: 8px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 650; letter-spacing: -0.02em; word-break: break-word; }
.contact p:last-of-type { margin-top: 10px; color: var(--muted); font-size: 15px; }
.contact .u { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.contact-arrow { position: absolute; right: 26px; top: 32px; width: 22px; height: 22px; color: var(--faint); transition: transform 0.5s var(--ease-out), color 0.3s; }
.contact:hover .contact-arrow { transform: translateX(4px) rotate(-45deg); color: var(--text); }
.contact:target { box-shadow: inset 0 0 0 1px var(--teal), 0 0 0 4px rgba(98, 227, 209, 0.12); }
@media (max-width: 900px) {
  .contacts { grid-template-columns: 1fr; max-width: 560px; }
}

/* ---------- Sea floor / CTA ---------- */
.floor { position: relative; padding: clamp(100px, 14vw, 180px) 0 0; text-align: center; overflow: hidden; }
.floor-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(160px, 20vw, 260px); }
.floor-title { margin-top: 18px; max-width: 14ch; font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.floor .section-lede { margin-inline: auto; }
.store-row.center { justify-content: center; margin-top: 36px; }
.seabed { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(180px, 22vw, 300px); pointer-events: none; }
.seabed svg { position: absolute; left: 0; bottom: 0; width: 100%; }
.dunes { height: 70%; }
.kelp { height: 100%; }
.kelp path { fill: none; stroke: #17143a; stroke-width: 11; stroke-linecap: round; }
.kelp-a { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
.kelp-b { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 9s ease-in-out -3s infinite reverse; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg) skewX(-2deg); } 50% { transform: rotate(3deg) skewX(2deg); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-anim, .hero-title .hero-anim { opacity: 1; transform: none; animation: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  [data-split] .w > span { transform: none; }
  .wake { height: auto; }
  .wake-sticky { position: relative; height: auto; padding: 120px 0; display: block; }
  .whale { position: relative; transform: none !important; margin: 0 auto 40px; left: auto; top: auto; width: min(90vw, 900px); }
  .whale > svg { animation: none; }
  .wake-copy { padding-bottom: 0; }
  .wake-text .wd { opacity: 1; filter: none; }
  .step-screen { transition: none !important; }
}
