:root {
  --bg-0: #040b1e;
  --bg-1: #0a1634;
  --bg-2: #101f46;
  --panel: rgba(19, 38, 79, 0.7);
  --panel-strong: rgba(15, 29, 61, 0.95);
  --border: rgba(128, 171, 255, 0.32);
  --text: #e7efff;
  --muted: #a6b9e6;
  --accent: #4a9eff;
  --accent-2: #7cc4ff;
  --ok: #58dd98;
  --shadow: 0 20px 60px rgba(1, 8, 23, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #17366f 0, transparent 42%),
    radial-gradient(circle at 80% 8%, #0c2b5f 0, transparent 35%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, #08142f);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

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

.glow {
  position: absolute;
  filter: blur(70px);
  opacity: 0.5;
}

.glow-a {
  width: 360px;
  height: 360px;
  background: #2f79ff;
  top: -120px;
  left: -80px;
}

.glow-b {
  width: 420px;
  height: 420px;
  background: #1b4dc5;
  right: -120px;
  top: 220px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(183, 210, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 210, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.16;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: #a6d2ff;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(4, 11, 30, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(104, 154, 255, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #d9ebff;
  font-size: 0.86rem;
  font-weight: 700;
  background: linear-gradient(140deg, #4a9eff, #1a4cc4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.primary-nav a {
  color: #c5d7ff;
  font-size: 0.96rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, rgba(40, 86, 173, 0.95), rgba(21, 58, 128, 0.95));
  border: 1px solid rgba(168, 203, 255, 0.7);
  color: #f4f9ff;
  border-radius: 10px;
  padding: 0.5rem 0.72rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(6, 17, 43, 0.5);
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-toggle-icon {
  width: 14px;
  height: 11px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid currentColor;
}

.nav-toggle-label {
  font-size: 0.81rem;
  letter-spacing: 0.015em;
}

.section {
  padding: 5.2rem 0;
}

.section-who {
  border-top: 1px solid rgba(130, 174, 255, 0.16);
  border-bottom: 1px solid rgba(130, 174, 255, 0.16);
  background: rgba(11, 23, 52, 0.38);
}

.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1.4rem;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 169, 255, 0.35);
  color: #c4d7ff;
  font-size: 0.79rem;
  padding: 0.38rem 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.05;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
}

.lead {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-copy,
.hero-panel,
.step-card,
.preview-card,
.fit-card,
.faq-card {
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(127, 169, 253, 0.35);
  padding: 0.7rem 1rem;
  min-height: 44px;
  color: #dce9ff;
  background: rgba(26, 44, 88, 0.45);
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(32, 54, 106, 0.75);
  border-color: rgba(156, 192, 255, 0.5);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(145deg, #57a9ff, #2f73f1);
  color: #f5fbff;
  box-shadow: 0 10px 30px rgba(35, 103, 232, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(145deg, #62b0ff, #3a7ef6);
}

.btn-ghost {
  background: rgba(12, 26, 58, 0.4);
}

.btn-sm {
  padding: 0.45rem 0.8rem;
  min-height: 36px;
  font-size: 0.9rem;
}

.meta-note {
  margin: 1rem 0 0;
  color: #adc4ee;
  font-size: 0.95rem;
}

.signal-list {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: #d0e0ff;
}

.signal-list li {
  margin-bottom: 0.48rem;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(23, 44, 92, 0.82), rgba(16, 32, 69, 0.95));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.panel-title {
  margin: 0;
  color: #d6e5ff;
  font-weight: 600;
}

.hero-snapshot-image {
  display: block;
  width: 100%;
  max-width: 414px;
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
  border: 1px solid rgba(118, 163, 255, 0.24);
  background: rgba(8, 18, 43, 0.66);
}

.hero-snapshot-note {
  margin: 0;
  color: #9fb9e7;
  font-size: 0.86rem;
  line-height: 1.4;
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.step-grid,
.preview-grid,
.fit-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.preview-card,
.fit-card,
.faq-card,
.pilot-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.step-card,
.fit-card,
.faq-card {
  padding: 1rem;
}

.step-index {
  margin: 0 0 0.7rem;
  color: #83bcff;
  font-weight: 700;
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
}

.step-card p,
.fit-card p,
.faq-card p {
  color: var(--muted);
}

.section-preview {
  background: linear-gradient(180deg, rgba(7, 18, 45, 0.45), rgba(7, 16, 38, 0));
  border-top: 1px solid rgba(110, 156, 246, 0.15);
  border-bottom: 1px solid rgba(110, 156, 246, 0.15);
}

.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-card {
  padding: 0.8rem;
}

.preview-card h3 {
  margin-bottom: 0.7rem;
}

.preview-card img {
  display: block;
  width: 100%;
  max-width: 388px;
  height: auto;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid rgba(139, 181, 255, 0.25);
  background: rgba(7, 16, 35, 0.85);
}

.preview-card p {
  margin: 0.6rem 0 0;
  color: #b8ccf4;
  font-size: 0.93rem;
}

.fit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-trust {
  border-top: 1px solid rgba(109, 151, 237, 0.16);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.founder-card p {
  color: var(--muted);
}

.section-pilot {
  border-top: 1px solid rgba(109, 151, 237, 0.16);
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pilot-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d1e2ff;
}

.pilot-form {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.pilot-form label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #bfd4fb;
}

.req {
  color: #8fc4ff;
  font-weight: 700;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(129, 173, 255, 0.28);
  background: rgba(4, 13, 34, 0.64);
  color: var(--text);
  min-height: 42px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.pilot-form textarea {
  min-height: 94px;
  resize: vertical;
}

.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: rgba(176, 200, 241, 0.65);
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus,
.btn:focus,
.nav-toggle:focus,
.primary-nav a:focus {
  outline: 2px solid rgba(127, 191, 255, 0.85);
  outline-offset: 2px;
}

.form-note,
.form-status {
  margin: 0;
  color: #9db7e6;
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #ffb4b4;
}

.form-status.is-success {
  color: #86e5b4;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer {
  border-top: 1px solid rgba(109, 151, 237, 0.16);
  padding: 1.15rem 0 1.8rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #a8c1eb;
  font-size: 0.95rem;
}

.footer-links {
  display: inline-flex;
  gap: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .trust-grid,
  .pilot-grid,
  .fit-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .step-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .nav-wrap {
    min-height: 72px;
  }

  .section {
    padding: 4rem 0;
  }

  .brand {
    max-width: calc(100% - 130px);
  }

  .brand span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0.56rem 0.75rem;
    border-color: rgba(182, 214, 255, 0.86);
    z-index: 14;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 13;
    padding: 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(123, 174, 255, 0.5);
    background: rgba(7, 18, 46, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-height: min(70vh, calc(100dvh - 7rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.2rem;
  }

  .primary-nav a {
    width: 100%;
    color: #e8f1ff;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    padding: 0.44rem 0.18rem;
  }

  .primary-nav .btn {
    width: 100%;
    margin-top: 0.14rem;
    min-height: 40px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .trust-grid,
  .pilot-grid,
  .step-grid,
  .preview-grid,
  .fit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .hero {
    padding-top: 2.2rem;
  }

  .topbar {
    background: rgba(4, 11, 30, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar.is-nav-open {
    border-bottom-color: rgba(123, 174, 255, 0.45);
  }

  .eyebrow {
    font-size: 0.74rem;
    gap: 0.35rem;
    padding: 0.34rem 0.62rem;
  }

  h1 {
    font-size: clamp(1.95rem, 11vw, 2.9rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero-panel {
    gap: 0.5rem;
  }

}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(4, 11, 30, 0.52);
  z-index: 11;
}

@media (max-width: 760px) {
  body.nav-open::before {
    inset: 72px 0 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
