:root {
  color-scheme: dark;
  --bg: #05080c;
  --bg-lift: #071017;
  --text: #f4f7fb;
  --muted: #8b949e;
  --line: rgba(244, 247, 251, 0.1);
  --teal: #0aa8c3;
  --teal-soft: rgba(10, 168, 195, 0.18);
  --ink: #031016;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 30%, rgba(10, 168, 195, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--bg-lift) 0%, var(--bg) 46%, #04070a 100%);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.site-shell::before {
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 247, 251, 0.055) 0 1px, transparent 1px),
    radial-gradient(circle at 74% 31%, rgba(244, 247, 251, 0.035) 0 1px, transparent 1px),
    radial-gradient(circle at 38% 76%, rgba(10, 168, 195, 0.055) 0 1px, transparent 1px),
    linear-gradient(rgba(244, 247, 251, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.015) 1px, transparent 1px);
  background-size: 190px 170px, 240px 210px, 210px 260px, 86px 86px, 86px 86px;
  mask-image: radial-gradient(circle at 54% 48%, rgba(0, 0, 0, 0.82), transparent 74%);
  opacity: 0.9;
}

.site-shell::after {
  top: 22%;
  left: 56%;
  width: min(980px, 82vw);
  height: min(760px, 66vw);
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 48%, rgba(10, 168, 195, 0.24), transparent 42%),
    radial-gradient(circle, rgba(244, 247, 251, 0.045), transparent 64%);
  filter: blur(46px);
  transform: translateX(-50%);
  animation: slow-pulse 9s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 48px) 0;
}

.hero::before {
  position: absolute;
  top: 156px;
  left: 55%;
  z-index: -1;
  width: min(1060px, 88vw);
  height: min(620px, 62vh);
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.04), transparent),
    radial-gradient(circle at 54% 48%, rgba(10, 168, 195, 0.16), transparent 56%);
  filter: blur(18px);
  transform: translateX(-50%);
  opacity: 0.9;
}

.ambient-layers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-band {
  position: absolute;
  left: 54%;
  display: block;
  width: min(980px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 168, 195, 0.38), rgba(244, 247, 251, 0.14), transparent);
  filter: blur(0.2px);
  transform: translateX(-50%);
  opacity: 0.42;
}

.band-one {
  top: 42%;
  animation: line-drift 10s ease-in-out infinite;
}

.band-two {
  top: 68%;
  width: min(760px, 76vw);
  opacity: 0.26;
  animation: line-drift 12s ease-in-out infinite reverse;
}

.ambient-line {
  position: absolute;
  left: 50%;
  bottom: 14%;
  display: block;
  width: min(540px, 62vw);
  height: 180px;
  border-bottom: 1px solid rgba(10, 168, 195, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.42;
}

.flow-orbit {
  position: absolute;
  left: 54%;
  top: 57%;
  display: block;
  border: 1px solid rgba(10, 168, 195, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  animation: orbit-drift 14s ease-in-out infinite;
}

.orbit-one {
  width: min(860px, 72vw);
  height: min(430px, 36vw);
}

.orbit-two {
  width: min(620px, 54vw);
  height: min(310px, 27vw);
  border-color: rgba(244, 247, 251, 0.08);
  animation-delay: -5s;
}

.schedule-field {
  position: absolute;
  left: 54%;
  top: 57%;
  display: block;
  width: min(980px, 86vw);
  height: 360px;
  transform: translate(-50%, -50%) rotate(-4deg);
  opacity: 0.72;
}

.schedule-track,
.schedule-block,
.schedule-scan {
  position: absolute;
  display: block;
}

.schedule-field::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(244, 247, 251, 0.026) 1px, transparent 1px);
  background-size: 92px 100%, 100% 56px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.44;
}

.schedule-scan {
  top: 8%;
  bottom: 8%;
  left: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(134, 238, 247, 0.64), transparent);
  box-shadow: 0 0 22px rgba(10, 168, 195, 0.36);
  animation: scan-schedule 6.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.schedule-track {
  left: 5%;
  width: 100%;
  height: 34px;
  border: 1px solid rgba(244, 247, 251, 0.045);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 168, 195, 0.03), transparent 22%, rgba(244, 247, 251, 0.025)),
    rgba(3, 8, 13, 0.24);
  overflow: hidden;
}

.schedule-track i {
  position: absolute;
  top: 50%;
  left: 10%;
  display: block;
  width: 92px;
  height: 12px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(10, 168, 195, 0.64), rgba(134, 238, 247, 0.86)),
    rgba(10, 168, 195, 0.5);
  box-shadow: 0 0 26px rgba(10, 168, 195, 0.38);
  transform: translateY(-50%);
  animation: cue-reflow 7s steps(1, end) infinite;
}

.track-one {
  top: 18%;
}

.track-two {
  top: 44%;
  width: 86%;
  left: 10%;
  opacity: 0.82;
}

.track-two i {
  animation-delay: -2.2s;
}

.track-three {
  top: 70%;
  width: 74%;
  left: 18%;
  opacity: 0.62;
}

.track-three i {
  animation-delay: -4.1s;
}

.schedule-block {
  width: 42px;
  height: 10px;
  border-radius: 4px;
  background: rgba(244, 247, 251, 0.18);
  box-shadow: 0 0 0 1px rgba(244, 247, 251, 0.06), 0 0 24px rgba(10, 168, 195, 0.18);
  animation: block-reassign 8s steps(1, end) infinite;
}

.block-one {
  left: 28%;
  top: 21%;
}

.block-two {
  left: 62%;
  top: 47%;
  animation-delay: -3s;
}

.block-three {
  left: 42%;
  top: 73%;
  animation-delay: -5.5s;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 4px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(164px, 17vw, 216px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(10, 168, 195, 0.12));
}

.nav-actions {
  display: flex;
  align-items: center;
}

.beta-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(10, 168, 195, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 168, 195, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(244, 247, 251, 0.08),
    0 12px 34px rgba(10, 168, 195, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.beta-label:hover {
  border-color: rgba(10, 168, 195, 0.42);
  background: rgba(10, 168, 195, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 5.6vw, 72px);
  padding: clamp(34px, 5.8vh, 62px) 0 66px;
}

.hero-heading {
  display: grid;
  justify-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 88px) 0 0;
  text-align: center;
}

.hero-content {
  display: grid;
  justify-items: start;
  max-width: 680px;
  margin: 0;
  padding: 0;
  text-align: left;
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2.72rem, 4.35vw, 4.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.statement {
  max-width: 42rem;
  margin: 20px 0 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.16rem, 1.65vw, 1.48rem);
  font-weight: 700;
  line-height: 1.22;
  text-wrap: balance;
}

.intro {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.75;
  text-wrap: balance;
}

.lead-copy {
  color: #d7dee8;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.tension-copy {
  margin-top: 22px;
}

.belief-copy {
  margin-top: 22px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  font-weight: 800;
  line-height: 1.35;
}

.app-preview {
  position: relative;
  align-self: center;
  width: min(400px, 100%);
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(244, 247, 251, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(244, 247, 251, 0.1), transparent 42%),
    rgba(9, 16, 26, 0.72);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(244, 247, 251, 0.09);
  backdrop-filter: blur(24px);
}

.app-preview::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(49, 198, 221, 0.35), transparent 42%, rgba(244, 247, 251, 0.08));
  opacity: 0.7;
}

.preview-note {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(244, 247, 251, 0.09);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(3, 9, 16, 0.38);
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.preview-header img {
  display: block;
  width: 126px;
  height: auto;
}

.preview-header strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(244, 247, 251, 0.76);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #31c6dd;
  box-shadow: 0 0 0 7px rgba(10, 168, 195, 0.11), 0 0 28px rgba(10, 168, 195, 0.36);
}

.preview-card {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 8px;
  background: rgba(3, 9, 16, 0.54);
}

.preview-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-card strong {
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.45vw, 2.05rem);
  font-style: italic;
  line-height: 1.02;
}

.preview-list {
  display: grid;
  gap: 12px;
  padding: 22px 4px;
}

.preview-row {
  display: grid;
  grid-template-columns: 54px 1fr 74px;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.preview-row .progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.12);
}

.preview-row .progress::before {
  display: block;
  width: 46%;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: rgba(244, 247, 251, 0.24);
}

.preview-row.completed .progress::before {
  width: 100%;
  background: linear-gradient(90deg, rgba(10, 168, 195, 0.42), rgba(134, 238, 247, 0.5));
}

.preview-row.completed strong {
  color: rgba(244, 247, 251, 0.62);
}

.preview-row.active .progress::before {
  width: 82%;
  background: linear-gradient(90deg, var(--teal), #86eef7);
  box-shadow: 0 0 22px rgba(10, 168, 195, 0.34);
}

.preview-row strong {
  color: rgba(244, 247, 251, 0.78);
}

.preview-row.active strong {
  color: var(--text);
}

.audience-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: clamp(-10px, -1.2vh, -4px);
  padding: 22px 0 24px;
  border-top: 1px solid rgba(244, 247, 251, 0.08);
  border-bottom: 1px solid rgba(244, 247, 251, 0.08);
  color: rgba(244, 247, 251, 0.34);
  font-size: clamp(0.96rem, 1.22vw, 1.16rem);
  font-weight: 800;
  text-align: center;
  text-transform: lowercase;
}

.closing-line {
  max-width: 32rem;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.65;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 34rem;
  margin: 18px auto 0;
  padding: 0 0 28px;
}

.social-links a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.1);
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.58);
  background: rgba(3, 9, 16, 0.32);
  box-shadow: inset 0 1px 0 rgba(244, 247, 251, 0.04);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(10, 168, 195, 0.38);
  color: var(--text);
  background: rgba(10, 168, 195, 0.09);
  transform: translateY(-1px);
}

.social-links a:focus-visible {
  outline: 3px solid rgba(10, 168, 195, 0.32);
  outline-offset: 3px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@keyframes slow-pulse {
  0%,
  100% {
    opacity: 0.84;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes line-drift {
  0%,
  100% {
    translate: -18px 0;
    opacity: 0.28;
  }

  50% {
    translate: 18px 0;
    opacity: 0.52;
  }
}

@keyframes orbit-drift {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-8deg) scale(1);
    opacity: 0.48;
  }

  50% {
    transform: translate(-50%, -52%) rotate(-2deg) scale(1.04);
    opacity: 0.72;
  }
}

@keyframes cue-reflow {
  0%,
  100% {
    left: 10%;
    width: 92px;
    opacity: 0.54;
  }

  18% {
    left: 10%;
    width: 92px;
    opacity: 0.54;
  }

  22% {
    left: 48%;
    width: 128px;
    opacity: 0.94;
  }

  58% {
    left: 48%;
    width: 128px;
    opacity: 0.94;
  }

  64% {
    left: 36%;
    width: 108px;
    opacity: 0.72;
  }
}

@keyframes block-reassign {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleX(1);
    opacity: 0.38;
  }

  24% {
    transform: translate3d(0, 0, 0) scaleX(1);
    opacity: 0.38;
  }

  28% {
    transform: translate3d(64px, -12px, 0) scaleX(1.35);
    opacity: 0.88;
  }

  62% {
    transform: translate3d(64px, -12px, 0) scaleX(1.35);
    opacity: 0.88;
  }

  68% {
    transform: translate3d(34px, 8px, 0) scaleX(0.92);
    opacity: 0.58;
  }
}

@keyframes scan-schedule {
  0%,
  100% {
    left: 14%;
    opacity: 0;
  }

  12% {
    opacity: 0.84;
  }

  54% {
    left: 78%;
    opacity: 0.84;
  }

  72% {
    left: 64%;
    opacity: 0.34;
  }

  86% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell::after,
  .ambient-band,
  .flow-orbit,
  .schedule-scan,
  .schedule-track i,
  .schedule-block {
    animation: none;
  }
}

@media (max-width: 920px) {
  .hero-heading {
    padding-top: 58px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-content {
    justify-items: center;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .app-preview {
    justify-self: center;
  }
}

.brand:focus-visible {
  outline: 3px solid rgba(10, 168, 195, 0.42);
  outline-offset: 4px;
}

@media (max-width: 620px) {
  .hero {
    padding: 16px 16px 0;
  }

  .topbar {
    min-height: 48px;
  }

  .brand img {
    width: clamp(132px, 38vw, 168px);
  }

  .beta-label {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-heading {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.34rem, 10.4vw, 3.25rem);
  }

  .statement {
    margin-top: 22px;
    font-size: clamp(1.08rem, 5vw, 1.42rem);
  }

  .intro {
    font-size: 1rem;
    line-height: 1.62;
  }

  .app-preview {
    width: 100%;
    padding: 14px;
  }

  .audience-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 24px 0 28px;
    font-size: 1rem;
  }

  .closing-line {
    margin-top: 20px;
  }

  .social-links {
    gap: 9px;
    padding-bottom: 26px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .preview-row {
    grid-template-columns: 56px minmax(70px, 1fr) minmax(64px, max-content);
    gap: 8px;
    font-size: 0.72rem;
  }

  .preview-row .progress {
    height: 7px;
  }

  .preview-row strong {
    display: block;
    font-size: 0.72rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .flow-orbit {
    opacity: 0.5;
    left: 50%;
    top: 58%;
  }

  .schedule-field {
    width: 148vw;
    height: 520px;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%) rotate(-7deg);
    opacity: 0.62;
  }

  .schedule-field::before {
    background-size: 62px 100%, 100% 46px;
    opacity: 0.58;
  }

  .schedule-track {
    height: 26px;
    background:
      linear-gradient(90deg, rgba(10, 168, 195, 0.06), transparent 22%, rgba(244, 247, 251, 0.035)),
      rgba(3, 8, 13, 0.3);
  }

  .schedule-track i {
    height: 9px;
    box-shadow: 0 0 30px rgba(10, 168, 195, 0.5);
  }

  .schedule-block {
    height: 8px;
    opacity: 0.9;
  }
}
