:root {
  --bg: #0b1222;
  --bg-soft: #10192d;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #b8c1d8;
  --muted-strong: #dde5f5;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #7c5cff;
  --accent-cyan: #2ed3ee;
  --accent-pink: #ff7fd1;
  --success: #8df3ba;
  --error: #ffb5b5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(46, 211, 238, 0.11), transparent 22%),
    linear-gradient(180deg, #0b1222 0%, #0d1528 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button,
input,
textarea,
select { font: inherit; }

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

.page-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 82%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(88px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.page-glow-a {
  top: -8rem;
  left: -6rem;
  background: rgba(124, 92, 255, 0.18);
}
.page-glow-b {
  top: 12rem;
  right: -8rem;
  background: rgba(46, 211, 238, 0.16);
}

.shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.section-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.section-band-light {
  background: rgba(255, 255, 255, 0.025);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 34, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled {
  background: rgba(11, 18, 34, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
}
.brand-wordmark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.nav-toggle span + span { margin-top: 0.3rem; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  min-width: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.2rem;
}
.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #9980ff 52%, #68dff8);
  box-shadow: 0 18px 44px rgba(124, 92, 255, 0.28);
}
.button-secondary,
.button-header {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}
.button-header {
  min-height: 2.85rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

.eyebrow,
.section-kicker,
.card-kicker,
.role-label,
.metric-label {
  margin: 0;
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding-top: clamp(3rem, 7vw, 5rem);
}
.hero-copy {
  max-width: 36rem;
}
.hero h1,
.section-heading h2,
.contact-card h2,
.signal-copy h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero-lede,
.section-intro,
.info-card p,
.use-card p,
.role-card p,
.signal-copy p,
.contact-card p,
.faq-item p,
.form-meta,
.form-status,
.contact-note,
.metric-card span,
.showcase-copy p,
.crew-step p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 1.35rem;
}
.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.proof-chip {
  padding: 0.68rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.card-surface,
.info-card,
.use-card,
.role-card,
.faq-item,
.metric-card,
.crew-step,
.crew-rail {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.card-surface,
.photo-surface,
.showcase-card-large {
  overflow: clip;
}

.hero-visual {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
.feature-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.metric-card {
  padding: 1.05rem;
}
.metric-card strong,
.showcase-copy h3 {
  display: block;
  margin: 0.4rem 0 0.45rem;
  font-size: 1.18rem;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
}
.section-heading > * {
  min-width: 0;
}
.section-heading-compact {
  margin-bottom: 1.2rem;
}
.section-intro {
  flex: 1 1 20rem;
  max-width: 38rem;
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid-usecases {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.info-card,
.use-card {
  padding: 1.45rem;
  height: 100%;
}
.info-card h3,
.use-card h3,
.role-card h3,
.crew-step h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.28rem;
  line-height: 1.2;
}
.info-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-strong);
  line-height: 1.7;
}
.info-card li + li {
  margin-top: 0.45rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 1rem;
}
.showcase-card-large {
  grid-row: span 2;
  display: grid;
  gap: 0;
}
.showcase-copy {
  padding: 1.25rem 1.35rem 1.4rem;
}

.crew-stack {
  display: grid;
}
.crew-rail {
  padding: 1rem;
}
.crew-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  margin-bottom: 1rem;
}
.crew-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.role-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}
.role-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 20px;
  flex: 0 0 auto;
}

.faq-layout {
  display: grid;
  gap: 1.25rem;
}
.faq-list {
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  color: var(--accent-cyan);
  font-size: 1.25rem;
}
.faq-item[open] summary::after {
  content: '–';
}
.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
}

.signal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.signal-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}
.signal-form label {
  display: grid;
  gap: 0.45rem;
}
.signal-form label span {
  color: var(--muted-strong);
  font-weight: 700;
}
.signal-form em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}
.signal-form input {
  width: 100%;
  min-height: 3.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: rgba(8, 13, 26, 0.82);
  color: var(--text);
  padding: 0.85rem 1rem;
}
.signal-form input:focus-visible,
.nav-toggle:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.faq-item summary:focus-visible {
  outline: none;
  border-color: rgba(46, 211, 238, 0.5);
  box-shadow: 0 0 0 3px rgba(46, 211, 238, 0.14);
}
.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.consent-check input {
  width: 1.1rem;
  min-height: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  padding: 0;
  accent-color: var(--accent-cyan);
}
.consent-check span {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 500;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-meta,
.form-status {
  margin: 0;
  font-size: 0.95rem;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
}
.contact-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.contact-email {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: break-word;
}
.contact-note {
  margin: 0;
  min-height: 1.2rem;
}
.contact-note.is-success { color: var(--success); }
.contact-note.is-error { color: var(--error); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
}
.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1140px) {
  .card-grid-usecases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero,
  .signal-layout,
  .contact-card,
  .card-grid-three,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card-large {
    grid-row: auto;
  }

  .crew-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .nav-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 0.5rem;
  }
  .site-header.nav-open .nav-actions {
    display: flex;
  }
  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .site-nav a {
    text-align: center;
  }
  .button-header {
    width: 100%;
  }

  .hero,
  .card-grid-usecases,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1rem, 1120px);
  }

  .hero h1,
  .section-heading h2,
  .contact-card h2,
  .signal-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.15rem);
  }

  .hero-cta-row,
  .footer-shell,
  .hero-metrics,
  .crew-step,
  .role-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .proof-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-card,
  .signal-form,
  .info-card,
  .use-card,
  .faq-item,
  .crew-rail,
  .hero-visual,
  .showcase-copy {
    padding: 1rem;
  }

  .faq-item p {
    padding-inline: 1rem;
    padding-bottom: 1rem;
  }
}
