﻿/* ==========================================================================
   Sections â€” layout geometry carried from the measured reference spec.
   Every width / gap / padding / radius below is a measured value, not an
   approximation. See README.md for the measurement table.
   ========================================================================== */

/* ---------------------------------------------------------------- Nav -- */

.nav {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
}

.nav.is-ready {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-appear) var(--ease-appear),
    transform var(--dur-appear) var(--ease-appear);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  padding: var(--nav-y) 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  color: #edf7ff;
}

.nav__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.nav__wordmark {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: #edf7ff;
  transition: background-color var(--dur-hover) var(--ease-appear);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav__index {
  font-size: var(--fs-micro);
  color: var(--c-muted);
}

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

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: var(--rule);
  border-color: rgba(237, 247, 255, 0.58);
  border-radius: var(--radius-pill);
  color: #edf7ff;
}

.nav.is-scrolled .nav__inner {
  padding: 12px 18px;
  border: 1px solid rgba(201, 208, 214, 0.62);
  border-radius: var(--radius-pill);
  background: rgba(241, 243, 245, 0.86);
  box-shadow: 0 14px 40px rgba(5, 20, 35, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav.is-scrolled .nav__logo,
.nav.is-scrolled .nav__link,
.nav.is-scrolled .nav__toggle {
  color: var(--c-primary);
}

.nav.is-scrolled .nav__toggle {
  border-color: rgba(29, 69, 97, 0.32);
}

.nav.is-scrolled .nav__link:hover {
  background: var(--c-tint);
}

.nav__panel {
  position: absolute;
  top: 64px;
  right: 20px;
  display: none;
  width: 270px;
  max-width: 270px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: 0 24px 60px rgba(29, 69, 97, 0.14);
}

.nav__panel.is-open {
  display: block;
}

.nav__panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-bottom: var(--hairline);
  border-radius: 16px;
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: var(--c-primary);
}

.nav__panel-link:last-of-type {
  border-bottom: 0;
}

@media (max-width: 1199.98px) {
  .nav__inner {
    padding: var(--nav-y) var(--gutter-tablet);
  }
}

@media (max-width: 809.98px) {
  .nav__inner {
    padding: 16px var(--gutter-phone);
  }

  .nav__menu,
  .nav__actions .btn {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  overflow: clip;
  background: #07182b;
}

/* Backdrop occupies the full viewport height, exactly as measured. */
.hero__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: clip;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background: #07182b;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  filter: saturate(0.86) contrast(1.04);
  transform: scale(1.012);
  animation: hero-image-breathe 18s ease-in-out infinite alternate;
}

@keyframes hero-image-breathe {
  to {
    transform: scale(1.035);
  }
}

/* Contour grid â€” an original vector motif, drawn in CSS. */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(126, 201, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 201, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(85% 70% at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(85% 70% at 50% 22%, #000 0%, transparent 78%);
  animation: grid-drift 32s linear infinite;
}

@keyframes grid-drift {
  to {
    background-position: 88px 88px;
  }
}

/* ---- Cliff scene ------------------------------------------------------

   A stack of SVG plates pushed apart on Z inside a preserve-3d stage, so
   the slow orbit and the pointer tilt produce genuine parallax between the
   cloud towers, the headland and the motes in front of it.
   --------------------------------------------------------------------- */

.hero__cliff {
  position: absolute;
  top: 50%;
  left: 40%;
  width: min(980px, 88vw);
  aspect-ratio: 900 / 700;
  transform: translate(-50%, -52%);
  perspective: 1500px;
  perspective-origin: 50% 46%;
}

.hero__cliff-tilt,
.hero__cliff-stage,
.hero__cliff-plate {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* Pointer parallax, written from script as two custom properties. */
.hero__cliff-tilt {
  transform: rotateX(var(--bunker-x, 0deg)) rotateY(var(--bunker-y, 0deg));
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__cliff-stage {
  animation: cliff-orbit3d 30s ease-in-out infinite;
}

@keyframes cliff-orbit3d {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(4deg);
  }
  50% {
    transform: rotateY(8deg) rotateX(1deg);
  }
}

.hero__cliff-plate svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Plate depths. Each scale compensates for its own perspective
   foreshortening so the layers still register when the stage is square. */
.hero__cliff-plate.is-sky {
  transform: translateZ(-340px) scale(1.227);
}

.hero__cliff-plate.is-clouds {
  transform: translateZ(-210px) scale(1.14);
}

.hero__cliff-plate.is-cliff {
  transform: translateZ(0);
}

.hero__cliff-plate.is-mist {
  transform: translateZ(70px) scale(0.953);
}

.hero__cliff-plate.is-spark {
  transform: translateZ(150px) scale(0.9);
}

/* ---- Sky ---- */

.hero__cliff-sun {
  animation: cliff-sun 12s ease-in-out infinite;
  transform-origin: 668px 252px;
}

@keyframes cliff-sun {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero__cliff-far ellipse {
  fill: rgba(255, 255, 255, 0.5);
}

/* ---- Cloud towers ---- */

.hero__cliff-tower.is-back ellipse {
  fill: #dbe4ec;
}

.hero__cliff-tower.is-front ellipse {
  fill: #f4f7fa;
}

.hero__cliff-tower {
  animation: cliff-drift 34s ease-in-out infinite;
}

.hero__cliff-tower.is-front {
  animation-duration: 26s;
  animation-direction: reverse;
}

@keyframes cliff-drift {
  0%,
  100% {
    transform: translateX(-14px);
  }
  50% {
    transform: translateX(14px);
  }
}

.hero__cliff-sheen ellipse {
  fill: rgba(255, 255, 255, 0.75);
}

/* ---- Rock ----

   The columns carry their own generated fills, so the CSS only supplies the
   hairline that separates one fracture from the next. */

.hero__cliff-columns path {
  stroke: rgba(6, 16, 28, 0.34);
  stroke-width: 0.9;
  stroke-linejoin: round;
}

.hero__cliff-stacks path {
  stroke: rgba(6, 16, 28, 0.3);
  stroke-width: 0.9;
  stroke-linejoin: round;
}

.hero__cliff-strata path {
  fill: none;
  stroke: rgba(170, 212, 246, 0.07);
  stroke-width: 3;
}

.hero__cliff-contour path {
  fill: none;
  stroke: rgba(214, 236, 255, 0.12);
  stroke-width: 1.5;
}

.hero__cliff-lip {
  stroke: rgba(196, 226, 250, 0.5);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.hero__cliff-rock {
  stroke: rgba(8, 20, 32, 0.16);
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.hero__cliff-rock.is-lit {
  stroke: none;
}

.hero__cliff-blades path {
  fill: none;
  stroke: rgba(178, 214, 244, 0.45);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* ---- Ground scan ring ---- */

.hero__cliff-ring ellipse {
  stroke: var(--c-accent);
  stroke-width: 1.4;
  opacity: 0.5;
  animation: cliff-ring 6s ease-in-out infinite;
  transform-origin: 228px 454px;
}

.hero__cliff-ring ellipse:nth-child(2) {
  animation-delay: 1.6s;
}

@keyframes cliff-ring {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.06);
  }
}

/* ---- Relay pod ---- */

.hero__cliff-slit rect {
  fill: #7ec9ff;
  animation: cliff-slit 3.6s ease-in-out infinite;
}

.hero__cliff-slit rect:nth-child(2) {
  animation-delay: 0.9s;
}

@keyframes cliff-slit {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.hero__cliff-uplink {
  animation: cliff-uplink 7s ease-in-out infinite;
}

@keyframes cliff-uplink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.75;
  }
}

/* ---- Masts and wire ---- */

.hero__cliff-mast line {
  stroke: #47606f;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero__cliff-tip {
  fill: #7ec9ff;
  animation: cliff-tip 2.8s ease-in-out infinite;
}

@keyframes cliff-tip {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.hero__cliff-wire path {
  fill: none;
  stroke: rgba(71, 96, 111, 0.75);
  stroke-width: 1.3;
}

/* ---- The operator ---- */

.hero__cliff-body {
  stroke: #14263a;
  stroke-width: 11;
  stroke-linecap: round;
}

.hero__cliff-head {
  fill: #14263a;
}

.hero__cliff-limb path {
  fill: none;
  stroke: #14263a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__cliff-limb.is-far path {
  stroke: #22364a;
  stroke-width: 5;
}

.hero__cliff-arm,
.hero__cliff-prop {
  fill: none;
  stroke: #14263a;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__cliff-prop {
  stroke: #22364a;
  stroke-width: 3.8;
}

/* ---- Cloud deck ---- */

.hero__cliff-bank ellipse {
  fill: rgba(245, 248, 251, 0.9);
}

.hero__cliff-bank.is-low ellipse {
  fill: #f1f4f7;
}

.hero__cliff-bank {
  animation: cliff-drift 40s ease-in-out infinite;
}

.hero__cliff-bank.is-low {
  animation-duration: 52s;
  animation-direction: reverse;
}

/* ---- Motes ---- */

.hero__cliff-motes circle {
  fill: var(--c-accent);
  animation: cliff-mote 5.2s ease-in-out infinite;
}

.hero__cliff-motes circle:nth-child(2) { animation-delay: 1.3s; }
.hero__cliff-motes circle:nth-child(3) { animation-delay: 2.6s; }
.hero__cliff-motes circle:nth-child(4) { animation-delay: 3.9s; }

@keyframes cliff-mote {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(6px);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-6px);
  }
}

@media (max-width: 1199.98px) {
  .hero__cliff {
    top: 46%;
    left: 34%;
    width: min(680px, 74vw);
    opacity: 0.85;
  }
}

@media (max-width: 809.98px) {
  .hero__cliff {
    top: 34%;
    left: 54%;
    width: 104vw;
    transform: translate(-50%, -50%);
    opacity: 0.45;
  }
}


.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 auto;
  gap: 216px;
  width: 100%;
  max-width: var(--container);
  padding: 266px 0 32px;
}

.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 144px;
  width: 100%;
}

.hero__headline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.hero__title {
  flex: 1 0 0;
  max-width: 404px;
  color: #f4f9fd;
  text-shadow: 0 3px 34px rgba(0, 8, 18, 0.58);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

/* Meta bar: 392 x 67, 1px top rule, 7px backdrop blur, 24px gap. */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
  max-width: 412px;
  min-height: 67px;
  padding: 0 14px;
  border: 1px solid rgba(225, 240, 251, 0.28);
  border-radius: 12px;
  background: rgba(5, 23, 39, 0.52);
  box-shadow: 0 16px 38px rgba(0, 9, 20, 0.16);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.hero__version {
  display: flex;
  align-items: flex-start;
  width: min-content;
  height: 100%;
  padding-top: 10px;
  white-space: pre;
  color: #edf7ff;
}

.hero__divider {
  flex: none;
  width: 1px;
  height: 100%;
  background: rgba(225, 240, 251, 0.68);
}

.hero__summary {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  color: #edf7ff;
  text-shadow: 0 2px 16px rgba(0, 8, 18, 0.55);
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding-left: var(--gutter-tablet);
    padding-right: var(--gutter-tablet);
  }

  .hero__image {
    object-position: 46% 50%;
  }
}

@media (max-width: 809.98px) {
  .hero__image {
    object-position: 43% 50%;
  }

  .hero__content {
    gap: 120px;
    padding: 280px var(--gutter-phone) 32px;
  }

  .hero__stack {
    gap: 142px;
  }

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

  .hero__title {
    max-width: none;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero__meta {
    flex-direction: column;
    flex: none;
    max-width: none;
    width: 100%;
    height: auto;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
  }

  .hero__version {
    width: auto;
    height: auto;
    padding-top: 0;
  }

  .hero__divider {
    width: 100%;
    height: 1px;
  }

  .hero__summary {
    display: block;
    padding-top: 0;
  }
}

/* --------------------------------------------------- Showcase (01) -- */

.showcase {
  padding-bottom: 32px;
  overflow: clip;
}

.showcase__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.showcase__head {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.showcase__title {
  flex: 1 0 0;
  width: 1px;
  max-width: 420px;
}

/* Two-tone heading: the opening clause drops back to the muted token and
   always takes its own line, so the split never lands mid-phrase. */
.showcase__title-lead {
  display: block;
  color: var(--c-muted);
}

.showcase__summary {
  flex: 1 0 0;
  width: 1px;
  max-width: 300px;
  color: var(--c-muted);
  text-align: right;
}

.showcase__rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.showcase__row {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  width: 100%;
}

.showcase__nav {
  display: flex;
  flex: none;
  gap: 8px;
}

.showcase__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-rule);
  border-radius: 50%;
  background: transparent;
  color: var(--c-primary);
  cursor: pointer;
  transition: background var(--dur-hover) var(--ease-appear),
    border-color var(--dur-hover) var(--ease-appear),
    color var(--dur-hover) var(--ease-appear);
}

.showcase__arrow svg {
  width: 16px;
  height: 16px;
}

.showcase__arrow:hover {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: var(--c-white);
}

.showcase__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.showcase__arrow:disabled:hover {
  border-color: var(--c-rule);
  background: transparent;
  color: var(--c-primary);
}

/* The rail runs past the container's right edge to the viewport, so the
   next card is always partly visible. */
.showcase__viewport {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: calc((var(--container) - 100vw) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.showcase__track {
  display: flex;
  gap: 8px;
  width: max-content;
  padding-right: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: none;
  width: 256px;
  height: 310px;
  padding: 28px 18px;
  border-radius: 20px;
  background: var(--c-white);
  scroll-snap-align: start;
  transition: transform var(--dur-hover) var(--ease-appear),
    box-shadow var(--dur-hover) var(--ease-appear);
}

.metric:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(29, 69, 97, 0.12);
}

.metric__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.metric__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.metric__title {
  color: var(--c-primary);
}

.metric__rate {
  display: flex;
  align-items: center;
  flex: none;
  font-size: var(--fs-meta);
  white-space: pre;
}

.metric__rate-value {
  color: var(--c-primary);
}

.metric__rate-unit {
  color: var(--c-muted);
}

.metric__desc {
  width: 100%;
  font-size: var(--fs-meta);
  color: var(--c-muted);
}

.metric__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.metric__value {
  display: flex;
  align-items: flex-end;
  flex: none;
}

.metric__number {
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: var(--c-primary);
}

.metric__unit {
  font-size: var(--fs-meta);
  color: var(--c-muted);
}

.metric__spark {
  flex: none;
  width: 124px;
  height: 64px;
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .showcase__rail {
    gap: 44px;
  }

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

  .showcase__viewport {
    margin-right: calc(-1 * var(--gutter-tablet));
  }
}

@media (max-width: 809.98px) {
  .showcase__inner {
    gap: 32px;
  }

  .showcase__head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
  }

  .showcase__title,
  .showcase__summary {
    flex: none;
    width: 100%;
    max-width: unset;
  }

  .showcase__summary {
    text-align: left;
  }

  .showcase__row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  .showcase__viewport {
    width: 100%;
    margin-right: calc(-1 * var(--gutter-phone));
  }
}

/* ------------------------------------------------------------ Stats -- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin-top: 56px;
  border-top: var(--hairline);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  border-right: var(--hairline);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: var(--fs-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-display);
  color: var(--c-primary);
}

.stat__unit {
  font-size: var(--fs-h3);
  color: var(--c-muted);
}

@media (max-width: 809.98px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: var(--hairline);
  }
}

/* ------------------------------------------------------------ Bridge -- */

.bridge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.bridge__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}

.bridge__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.bridge__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: var(--hairline);
}

.bridge__tick {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--c-accent);
}

.bridge__panel {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--c-primary) 0%, #0f2c3f 100%);
  color: var(--c-white);
  overflow: hidden;
}

.bridge__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bridge__roster {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.bridge__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.bridge__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: var(--fs-caption);
  letter-spacing: 0.04em;
}

.bridge__person-name {
  color: var(--c-white);
  font-size: var(--fs-label);
  text-transform: uppercase;
}

.bridge__person-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-caption);
}

.bridge__equaliser {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
  height: 18px;
}

.bridge__equaliser span {
  width: 3px;
  border-radius: 2px;
  background: #7ee0a8;
  animation: eq 1.1s var(--ease-appear) infinite;
}

.bridge__equaliser span:nth-child(1) { height: 40%; animation-delay: 0s; }
.bridge__equaliser span:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.bridge__equaliser span:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.bridge__equaliser span:nth-child(4) { height: 100%; animation-delay: 0.45s; }

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 809.98px) {
  .bridge {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ----------------------------------------------------------- Pricing -- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 56px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--c-white);
  transition: transform var(--dur-hover) var(--ease-appear),
    box-shadow var(--dur-hover) var(--ease-appear);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(29, 69, 97, 0.12);
}

.plan--featured {
  background: linear-gradient(160deg, var(--c-primary) 0%, #123449 100%);
  border-color: transparent;
  color: var(--c-white);
}

.plan--featured .plan__name,
.plan--featured .plan__price,
.plan--featured .plan__feature {
  color: var(--c-white);
}

.plan--featured .plan__note,
.plan--featured .plan__cadence {
  color: rgba(255, 255, 255, 0.66);
}

.plan--featured .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--c-white);
}

.plan--featured .btn--ghost:hover {
  background: var(--c-white);
  color: var(--c-primary);
}

/* Absolute so the badge never shifts the featured card's content baseline
   out of alignment with its neighbours. */
.plan__badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  color: var(--c-white);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: var(--c-primary);
}

.plan__cadence {
  font-size: var(--fs-body);
  color: var(--c-muted);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  border-color: var(--c-hairline);
}

.plan--featured .plan__features {
  border-color: rgba(255, 255, 255, 0.18);
}

.plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-body);
  color: var(--c-slate);
}

.plan__tick {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--c-accent);
}

.plan--featured .plan__tick {
  color: #7ee0a8;
}

.plan__cta {
  margin-top: auto;
  padding-top: 8px;
}

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

/* ---------------------------------------------------------- Features -- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  margin-top: 56px;
  background: var(--c-hairline);
  border: var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--c-canvas);
  transition: background-color var(--dur-hover) var(--ease-appear);
}

.feature:hover {
  background: var(--c-white);
}

.feature__number {
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  color: var(--c-rule);
}

@media (max-width: 1199.98px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 809.98px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------ Testimonials -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 56px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--c-white);
}

.quote__mark {
  width: 26px;
  height: 26px;
  color: var(--c-rule);
}

.quote__body {
  color: var(--c-slate);
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: var(--hairline);
}

.quote__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-tint);
  color: var(--c-primary);
  font-size: var(--fs-caption);
}

@media (max-width: 809.98px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------- CTA -- */

.cta {
  position: relative;
  overflow: clip;
}

.cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--c-primary) 0%, #0f2c3f 100%);
  text-align: center;
  overflow: hidden;
}

.cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 75%);
}

.cta__panel > * {
  position: relative;
  z-index: 1;
}

.cta__title {
  max-width: 720px;
  color: var(--c-white);
}

.cta__body {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

/* The ghost button sits on a dark panel here, so it needs the inverse
   treatment to stay legible. */
.cta__panel .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--c-white);
}

.cta__panel .btn--ghost:hover {
  border-color: var(--c-white);
  background: var(--c-white);
  color: var(--c-primary);
}

/* ----------------------------------------------------------- Footer -- */

.footer {
  border-top: var(--hairline);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  width: 100%;
  padding-bottom: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__heading {
  margin-bottom: 4px;
}

.footer__link {
  color: var(--c-muted);
  font-size: var(--fs-body);
  transition: color var(--dur-hover) var(--ease-appear);
}

.footer__link:hover {
  color: var(--c-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-top: 24px;
  border-top: var(--hairline);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: var(--hairline);
  border-radius: 50%;
  color: var(--c-primary);
  transition: background-color var(--dur-hover) var(--ease-appear),
    color var(--dur-hover) var(--ease-appear);
}

.footer__social a:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

@media (max-width: 809.98px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

/* ------------------------------------------------------------ Motion -- */

/* Reveal: opacity .001 -> 1, translateY(30px) -> 0, 600ms, measured easing. */
[data-reveal] {
  opacity: 0.001;
  transform: translateY(var(--lift-appear));
  will-change: transform, opacity;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-appear) var(--ease-appear),
    transform var(--dur-appear) var(--ease-appear);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------- Rev1 -- */

.hero--rev1 .hero__content--rev1 {
  padding-top: 220px;
}

.hero__stack--rev1 {
  gap: 112px;
}

.hero__headline--rev1 {
  max-width: 560px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.hero__eyebrow {
  color: #d4e8f8;
  letter-spacing: 0.06em;
}

.hero__title--rev1 {
  max-width: 560px;
}

.hero__lead--rev1 {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--fs-lead);
  line-height: 1.3;
}

.hero__tagline {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__bottom--rev1 {
  align-items: flex-end;
  gap: 28px;
}

.hero__meta--rev1 {
  max-width: 460px;
}

.hero__proof {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.hero__proof-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(225, 240, 251, 0.16);
  border-radius: 12px;
  background: rgba(5, 23, 39, 0.42);
  color: #edf7ff;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.hero__proof-tick {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #7ee0a8;
}

.rev1-band--light {
  background: rgba(255, 255, 255, 0.38);
}

.rev1-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  margin-top: 56px;
}

.rev1-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.rev1-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  padding: 28px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--c-white);
}

.rev1-features {
  margin-top: 56px;
}

.rev1-solutions {
  margin-top: 56px;
}

.rev1-solution {
  gap: 16px;
}

.rev1-phases {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 56px;
}

.rev1-phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--c-white);
}

.rev1-phase__index {
  color: var(--c-rule);
  font-size: var(--fs-meta);
  letter-spacing: 0.12em;
}

.rev1-phase__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rev1-phase__list {
  margin-top: 0;
}

.rev1-security {
  margin-top: 56px;
}

.rev1-security__list .bridge__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rev1-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 56px;
}

.rev1-industry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 20px;
  border: var(--hairline);
  border-radius: 14px;
  background: var(--c-white);
  color: var(--c-primary);
  font-size: var(--fs-label);
  text-transform: uppercase;
  text-align: center;
}

.rev1-cta__actions {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1199.98px) {
  .rev1-grid--three,
  .rev1-industries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 809.98px) {
  .hero--rev1 .hero__content--rev1 {
    padding-top: 220px;
  }

  .hero__stack--rev1 {
    gap: 88px;
  }

  .hero__headline--rev1 {
    max-width: none;
  }

  .hero__lead--rev1,
  .hero__tagline {
    max-width: none;
  }

  .hero__bottom--rev1 {
    align-items: stretch;
  }

  .hero__proof {
    max-width: none;
  }

  .rev1-grid--three,
  .rev1-industries {
    grid-template-columns: 1fr;
  }

  .rev1-phase {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
