:root {
  --bg: #070b14;
  --bg-elevated: #0d1524;
  --ink: #eef3fb;
  --ink-muted: #9aabc2;
  --ink-subtle: #6d7f98;
  --line: rgba(148, 175, 210, 0.18);
  --brand: #3b9eff;
  --brand-bright: #6ec8ff;
  --brand-deep: #1a5fb8;
  --accent-wash: rgba(59, 158, 255, 0.12);
  --font-display: "Sora", ui-sans-serif, sans-serif;
  --font-body: "Outfit", ui-sans-serif, sans-serif;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 0.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: #041018;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.92);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-lockup__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink) !important;
}

.nav-cta:hover {
  border-color: var(--brand);
  background: var(--accent-wash);
}

@media (min-width: 820px) {
  .site-nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--brand-bright));
  color: #041018;
  border: none;
}

.btn--primary:hover {
  color: #041018;
  filter: brightness(1.06);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--brand-bright);
  color: #fff;
  background: var(--accent-wash);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100vh, 56rem);
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 8vh, 5rem) var(--pad) clamp(3rem, 10vh, 6rem);
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(26, 95, 184, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(59, 158, 255, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(14, 40, 80, 0.55), transparent 55%),
    linear-gradient(180deg, #05080f 0%, #0a1220 45%, #070b14 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(110, 200, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 200, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -48px, 0);
  }
}

.hero__content {
  max-width: 40rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__logo {
  width: min(100%, 28rem);
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 12px 40px rgba(26, 95, 184, 0.35));
}

.hero__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  display: none;
  justify-content: center;
  animation: rise 1.05s 0.12s var(--ease) both;
}

.hero__mark {
  width: min(100%, 26rem);
  animation: float-mark 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(59, 158, 255, 0.28));
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .hero__visual {
    display: flex;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 10vh, 6.5rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .section__inner--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 4rem;
  }
}

.section__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.section h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section__lede {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.section--how {
  background:
    linear-gradient(180deg, rgba(13, 21, 36, 0.85), transparent 40%),
    var(--bg);
}

.section--coverage {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(26, 95, 184, 0.18), transparent 60%),
    var(--bg-elevated);
}

.section--connect {
  background: var(--bg);
}

/* Flow */
.flow {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.flow__step {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.flow__index {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.flow__step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.flow__step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Coverage points */
.coverage-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.coverage-points li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--brand);
}

.coverage-points strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.coverage-points span {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Connect */
.connect-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.connect-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-muted);
}

.connect-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.12rem;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-bright));
}

.connect-cta {
  margin: 2rem 0 0;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.flow__step[data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.flow__step[data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad) 2.5rem;
  background: #05080f;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.3rem;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

.site-footer__by {
  margin: 0.1rem 0 0;
  color: var(--ink-subtle);
  font-size: 0.85rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__legal a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer__legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__copy {
  margin: 0;
  color: var(--ink-subtle);
  font-size: 0.85rem;
}

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

  .hero__grid,
  .hero__mark,
  .hero__content,
  .hero__visual {
    animation: none !important;
  }

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

  .btn:hover {
    transform: none;
  }
}
