:root {
  color-scheme: dark;
  --bg: #0D1117;
  --bg-soft: #161B22;
  --surface: #1C2128;
  --surface-2: #111821;
  --surface-3: #0B1018;
  --border: #30363D;
  --border-soft: rgba(255, 255, 255, 0.075);
  --text: #FFFFFF;
  --text-soft: #D8DEE9;
  --muted: #8B949E;
  --muted-2: #6E7681;
  --blue: #2F6BFF;
  --cyan: #20B8FF;
  --cyan-2: #00C8FF;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #F87171;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.22);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(47, 107, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(32, 184, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #090D14 0%, #0D1117 38%, #090D14 100%);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection { background: rgba(32, 184, 255, 0.28); color: var(--text); }

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

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

button, input { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(32, 184, 255, 0.62);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(48, 54, 61, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 54, 61, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 78%);
}

.glow {
  position: absolute;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.18;
  animation: floatGlow 18s ease-in-out infinite alternate;
}

.glow-a {
  top: -18rem;
  left: -8rem;
  background: var(--blue);
}

.glow-b {
  top: 7rem;
  right: -12rem;
  background: var(--cyan);
  animation-delay: -7s;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(32, 184, 255, 0.9);
  opacity: 0.65;
  animation: particleDrift 11s ease-in-out infinite alternate;
}

.particle-1 { top: 18%; left: 12%; }
.particle-2 { top: 42%; right: 16%; animation-delay: -3s; }
.particle-3 { bottom: 18%; left: 52%; animation-delay: -7s; }

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

.section-pad { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  background: rgba(9, 13, 20, 0.72);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 168px; height: auto; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover {
  color: var(--text);
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.045);
}

.nav-menu .nav-cta {
  color: var(--text);
  border-color: rgba(32, 184, 255, 0.3);
  background: rgba(32, 184, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.nav-toggle span:not(.sr-only) {
  width: 17px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-5px) rotate(-45deg); }

.hero { padding-top: 112px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
}

.hero-copy { max-width: 735px; }

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.13), 0 0 24px rgba(34, 197, 94, 0.68);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-subtitle,
.section-copy p,
.section-heading p,
.workflow-copy p,
.card-copy,
.feature-card p,
.principle-grid p,
.timeline-item p,
.cta-card p,
.legal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 670px;
  margin-bottom: 32px;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
  overflow: hidden;
  user-select: none;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button-primary {
  color: #FFFFFF;
  border-color: rgba(32, 184, 255, 0.35);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 38px rgba(47, 107, 255, 0.26);
}

.button-primary:hover { box-shadow: 0 20px 48px rgba(32, 184, 255, 0.30); }

.button-secondary {
  color: var(--text-soft);
  background: rgba(255,255,255,0.045);
}

.button-secondary:hover {
  color: var(--text);
  border-color: rgba(32, 184, 255, 0.28);
  background: rgba(255,255,255,0.065);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div,
.launch-card,
.feature-card,
.visual-card,
.principle-grid article,
.cta-card,
.legal-card {
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(28, 33, 40, 0.86), rgba(13, 17, 23, 0.82));
  box-shadow: var(--shadow-soft);
}

.hero-metrics div {
  padding: 14px;
  border-radius: var(--radius-md);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.launch-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 184, 255, 0.17), transparent 18rem),
    linear-gradient(135deg, rgba(47, 107, 255, 0.10), transparent 50%);
  pointer-events: none;
}

.launch-card > * { position: relative; }

.launch-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.launch-card-head img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.28);
}

.launch-card h2 { margin: 0; font-size: 28px; }
.launch-card .kicker { margin-bottom: 5px; color: var(--muted); }
.card-copy { margin-bottom: 18px; font-size: 14px; }

.waitlist-form {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.waitlist-form label {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(9, 13, 20, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input[type="email"]::placeholder { color: var(--muted-2); }

input[type="email"]:focus {
  border-color: rgba(32, 184, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(32, 184, 255, 0.12);
  background: rgba(13, 17, 23, 0.98);
}

.input-error { border-color: rgba(248, 113, 113, 0.75) !important; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.10) !important; }

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status.success { color: #86EFAC; }
.form-status.error { color: #FDA4AF; }

.launch-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.launch-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035);
}

.launch-meta span {
  color: var(--muted);
  font-size: 13px;
}

.launch-meta strong {
  color: var(--text-soft);
  font-size: 13px;
  text-align: right;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.section-copy { position: sticky; top: calc(var(--header-h) + 30px); }
.section-copy p { margin-bottom: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 184, 255, 0.26);
  background: linear-gradient(180deg, rgba(28, 33, 40, 0.96), rgba(13, 17, 23, 0.92));
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--cyan);
  border: 1px solid rgba(32, 184, 255, 0.26);
  border-radius: 14px;
  background: rgba(32, 184, 255, 0.08);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.visual-card {
  padding: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.visual-card img { width: 100%; border-radius: 22px; }

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}

.timeline-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(32, 184, 255, 0.28);
  border-radius: 999px;
  background: rgba(32, 184, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.timeline-item p { margin-bottom: 0; }

.centered {
  width: min(100%, 720px);
  margin: 0 auto 28px;
  text-align: center;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principle-grid article {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.principle-grid strong {
  display: block;
  margin-bottom: 9px;
  font-size: 18px;
}

.principle-grid p { margin: 0; }

.final-cta { padding-top: 54px; }

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 0%, rgba(32, 184, 255, 0.17), transparent 23rem),
    linear-gradient(135deg, rgba(28, 33, 40, 0.95), rgba(13, 17, 23, 0.88));
}

.cta-card h2 { font-size: clamp(28px, 4vw, 46px); }
.cta-card p { max-width: 560px; margin-bottom: 0; }

.site-footer {
  border-top: 1px solid rgba(48, 54, 61, 0.55);
  background: rgba(9, 13, 20, 0.78);
}

.footer-grid {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
}

.footer-brand img { width: 150px; height: auto; }

.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.footer-links a:hover { color: var(--text); }

.footer-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.copyright {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 340px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.legal-container {
  width: min(100%, 820px);
  display: grid;
  gap: 22px;
}

.legal-brand img { width: 170px; height: auto; }

.legal-card {
  padding: clamp(24px, 5vw, 44px);
  border-radius: var(--radius-xl);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-card a:not(.button) { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 32px, 0) scale(1.08); }
}

@keyframes particleDrift {
  from { transform: translate3d(0, 0, 0); opacity: 0.35; }
  to { transform: translate3d(18px, -24px, 0); opacity: 0.78; }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .section-copy { position: static; }
  .launch-card { max-width: 580px; }
  .workflow-copy { max-width: 720px; }
}

@media (max-width: 780px) {
  :root { --header-h: 68px; }
  .container, .nav-wrap { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 66px 0; }
  .hero { padding-top: 74px; }
  .nav-toggle { display: inline-grid; place-content: center; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 10px;
    background: rgba(13,17,23,0.96);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-menu a {
    justify-content: flex-start;
    border-radius: 12px;
  }
  .brand img { width: 146px; }
  .hero-metrics, .feature-grid, .principle-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .input-row { grid-template-columns: 1fr; }
  .input-row .button { width: 100%; }
  .cta-card { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .container, .nav-wrap { width: min(100% - 22px, var(--container)); }
  h1 { font-size: clamp(40px, 13vw, 52px); }
  h2 { font-size: clamp(30px, 10vw, 40px); }
  .launch-card, .cta-card { padding: 20px; border-radius: 22px; }
  .timeline-item { grid-template-columns: 1fr; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
}

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

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