:root {
  --bg: #0a1020;
  --text: #e8eefc;
  --muted: #a8b4d0;
  --brand: #54c8ff;
  --brand-2: #7ee3c2;
  --line: #25395c;
  --line-soft: rgba(72, 107, 156, 0.26);
  --card: rgba(18, 30, 58, 0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.58;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #fff;
  color: #111;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 520px at 90% -90px, #213a67 0%, transparent 52%),
    radial-gradient(900px 480px at -10% 25%, #183357 0%, transparent 50%),
    linear-gradient(180deg, #0a1020 0%, #0a1123 100%);
}

.container { width: min(1120px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(52, 79, 121, 0.5);
  background: rgba(8, 14, 28, 0.82);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
}
.logo { height: 36px; width: auto; }
.nav-cta { display: flex; gap: 0.55rem; flex-wrap: wrap; }

.hero { padding: 3.6rem 0 2.5rem; }
.section-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 14, 36, 0.9) 0%, rgba(6, 16, 37, 0.82) 62%, rgba(8, 20, 42, 0.7) 100%);
  box-shadow: inset 0 -32px 48px rgba(26, 56, 99, 0.1);
}
.section-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(84, 140, 206, 0.12), rgba(9, 22, 44, 0));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 2.4rem;
  align-items: center;
}
.eyebrow {
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}
h1 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  max-width: 15ch;
}
.lead {
  color: #bcc9e4;
  max-width: 60ch;
  font-size: 1.07rem;
}
.signal-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.3rem;
}
.signal-list li {
  margin: 0.45rem 0;
  color: #d1dcf5;
  position: relative;
  padding-left: 1.1rem;
}
.signal-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  position: absolute;
  left: 0;
  top: 0.65rem;
}

.hero-art-wrap {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.hero-visual {
  position: relative;
  display: block;
  width: min(100%, 960px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(36, 125, 185, 0.36));
  transform: translate3d(0,0,0) scale(1.04);
  will-change: transform;
}

.hero-cta { display: flex; gap: 0.72rem; flex-wrap: wrap; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.1px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 120ms ease, opacity 120ms ease;
}
.btn:hover { opacity: 0.95; transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 8px;
}
.btn-primary {
  border: none;
  color: #031422;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.btn-ghost { background: transparent; }
.microcopy { color: var(--muted); font-size: 0.88rem; margin-top: 0.9rem; }

.section {
  position: relative;
  padding: 2.6rem 0;
}
#fit {
  scroll-margin-top: 96px;
}
.section h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.section-intro {
  margin: 0 0 1.2rem;
  max-width: 78ch;
  color: #b7c6e3;
}

.section-flow {
  background: linear-gradient(180deg, rgba(11, 24, 48, 0.76), rgba(10, 20, 40, 0.88));
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.flow-steps li {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(15, 29, 55, 0.75);
  padding: 0.82rem;
  display: grid;
  gap: 0.45rem;
}
.flow-step__number {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #061523;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.flow-steps h3 {
  margin: 0;
  font-size: 0.98rem;
}
.flow-steps p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-platform {
  background:
    linear-gradient(180deg, rgba(13, 31, 62, 0.88) 0%, rgba(9, 22, 44, 0.94) 100%);
}
.section-platform .card {
  background: rgba(17, 34, 66, 0.72);
}
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line-soft) 20%, var(--line-soft) 80%, transparent 100%);
}
/* Avoid stacked separator effect directly under hero */
.section-hero + .section::before {
  display: none;
}
.card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--card);
  padding: 1.1rem;
  transition: border-color 140ms ease, transform 140ms ease;
}
.card:hover {
  border-color: #3d6797;
  transform: translateY(-1px);
}
.card h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.05rem; }
.card p { color: var(--muted); margin: 0; }

.alt {
  margin-top: 0;
  background: linear-gradient(180deg, rgba(16, 29, 57, 0.8), rgba(8, 15, 31, 0.78));
}
.manifesto {
  width: min(1120px, 92vw);
}
.manifesto p { color: var(--muted); }
.fit-best-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.fit-card p {
  margin: 0;
  color: var(--muted);
}
.fit-not-wrap {
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.fit-not {
  width: min(760px, 100%);
}
.fit-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}
.fit-card li { margin: 0.35rem 0; }

.section-reality {
  background: linear-gradient(180deg, rgba(12, 23, 45, 0.9), rgba(8, 16, 33, 0.95));
}
.reality-eyebrow {
  margin-bottom: 0.45rem;
}
.reality-card {
  margin-top: 0.9rem;
  border: 1px solid rgba(84, 200, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(84, 200, 255, 0.18), transparent 46%),
    linear-gradient(160deg, rgba(14, 29, 57, 0.94), rgba(8, 18, 37, 0.96));
  box-shadow: inset 0 1px 0 rgba(126, 227, 194, 0.15), 0 10px 26px rgba(4, 11, 24, 0.35);
  padding: 1rem 1.05rem;
}
.reality-card__label {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #89d7ff;
  font-weight: 700;
}
.reality-card blockquote {
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(84, 200, 255, 0.2);
  border-left: 3px solid var(--brand-2);
  border-radius: 10px;
  background: rgba(8, 20, 40, 0.62);
  color: #e3efff;
  font-style: italic;
  font-size: 1.07rem;
  line-height: 1.56;
  transition: opacity 220ms ease;
}
.section-intake {
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.94), rgba(7, 14, 28, 0.98));
}
.intake-shell {
  border: 1px solid rgba(84, 200, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(120% 170% at 0% 0%, rgba(84, 200, 255, 0.14), transparent 45%),
    linear-gradient(155deg, rgba(12, 27, 52, 0.95), rgba(7, 17, 34, 0.98));
  box-shadow: inset 0 1px 0 rgba(126, 227, 194, 0.15), 0 14px 30px rgba(3, 9, 20, 0.34);
  padding: 1.1rem 1.1rem 1.2rem;
}
.intake-copy .section-intro {
  margin-bottom: 0.95rem;
}
.pilot-form--inline {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(10, 22, 43, 0.82);
  padding: 0.9rem;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 0.95rem;
}
.proof-strip span {
  font-size: 0.82rem;
  color: #c8d7f2;
  border: 1px solid var(--line-soft);
  background: rgba(16, 29, 54, 0.64);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
}

.section-guides {
  background: linear-gradient(180deg, rgba(11, 23, 46, 0.9), rgba(9, 19, 39, 0.95));
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(15, 29, 55, 0.75);
  padding: 0.95rem;
  transition: border-color 160ms ease, transform 160ms ease;
}
.guide-card:hover {
  border-color: rgba(84, 200, 255, 0.45);
  transform: translateY(-1px);
}
.guide-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.section-faq-seo {
  background: linear-gradient(180deg, rgba(10, 21, 42, 0.95), rgba(8, 18, 35, 0.98));
}
.faq-list {
  display: grid;
  gap: 0.6rem;
}
.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(14, 26, 49, 0.72);
  padding: 0.75rem 0.85rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
}
.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.resource-page .section {
  padding: 2.3rem 0;
}
.section-resource-hero {
  background: linear-gradient(180deg, rgba(8, 18, 37, 0.9), rgba(8, 17, 34, 0.97));
}
.resource-main h1 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}
.resource-main .lead {
  max-width: 76ch;
}
.resource-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  align-items: start;
}
.resource-content,
.resource-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(15, 28, 53, 0.75);
  padding: 1rem;
}
.resource-content {
  display: grid;
  gap: 0.9rem;
}
.resource-section h2 {
  margin-bottom: 0.5rem;
}
.resource-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #c8d7f3;
}
.resource-list li {
  margin: 0.4rem 0;
}
.resource-list.compact li {
  color: #b8c9e7;
}
.resource-aside {
  display: grid;
  gap: 0.7rem;
}
.resource-card h3 {
  margin-top: 0;
}
.resource-card p {
  color: var(--muted);
}
.resource-cta .btn {
  margin-top: 0.4rem;
  width: 100%;
}

.site-footer {
  padding: 1.1rem 0 1.2rem;
  border-top: 1px solid rgba(72, 107, 156, 0.22);
  background: rgba(7, 14, 28, 0.58);
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brandline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a9bbdb;
  font-size: 0.9rem;
  white-space: nowrap;
}
.footer-brand {
  font-weight: 700;
  color: #dce7fd;
}
.footer-sep {
  color: #6c87b6;
}
.footer-note {
  color: #a9bbdb;
}
.copyright {
  margin: 0;
  color: #8fa0c3;
  font-size: 0.84rem;
  white-space: nowrap;
}

.pilot-form {
  display: grid;
  gap: 0.75rem;
}
.pilot-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.pilot-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #cad7f0;
}
.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(14, 26, 50, 0.9);
  color: var(--text);
  padding: 0.65rem 0.72rem;
  font: inherit;
}
.pilot-form input,
.pilot-form select {
  min-height: 3.2rem;
}
.pilot-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.pilot-form select.js-custom-select {
  display: none;
}
.custom-select {
  position: relative;
}
.custom-select__trigger {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(14, 26, 50, 0.9);
  color: var(--text);
  padding: 0.65rem 2.2rem 0.65rem 0.72rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  position: relative;
}
.custom-select__trigger::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #9fb3d9;
  border-bottom: 2px solid #9fb3d9;
  transform: translateY(-60%) rotate(45deg);
}
.custom-select.is-open .custom-select__trigger::after {
  transform: translateY(-35%) rotate(-135deg);
}
.custom-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 8;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #0f1d3b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  padding: 0.3rem;
  max-height: 220px;
  overflow: auto;
}
.custom-select__option {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #d9e5fb;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.55rem;
  font: inherit;
  cursor: pointer;
}
.custom-select__option:hover,
.custom-select__option:focus-visible {
  background: rgba(84, 200, 255, 0.15);
  outline: none;
}
.custom-select__option.is-selected {
  background: rgba(126, 227, 194, 0.18);
  color: #eafff6;
}
.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: #8ea4ce;
}
.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus,
.custom-select__trigger:focus-visible {
  outline: 2px solid rgba(126, 227, 194, 0.45);
  outline-offset: 1px;
}
.pilot-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.pilot-form__status {
  margin: 0;
  min-height: 1.2em;
  color: #9bb0d8;
  font-size: 0.88rem;
}
.pilot-form__status.ok { color: #8be8c8; }
.pilot-form__status.err { color: #ff9cae; }
.pilot-submit {
  width: 100%;
  justify-self: start;
}
.pilot-form--inline .pilot-submit {
  width: auto;
  min-width: 220px;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-art-wrap { min-height: 340px; }
  .hero-visual { width: min(100%, 700px); }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-best-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .resource-layout { grid-template-columns: 1fr; }
  .footer-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .footer-brandline,
  .copyright {
    white-space: normal;
  }
}
@media (max-width: 760px) {
  body { line-height: 1.62; }
  .grid.three { grid-template-columns: 1fr; }
  .hero { padding-top: 2.2rem; }
  .hero-art-wrap { min-height: 260px; }
  .hero-visual { width: 100%; max-width: 560px; transform: translate3d(0,0,0) scale(1.02); }
  .lead { font-size: 1rem; }
  .resource-main h1 { max-width: 100%; }
  .nav { align-items: center; }
  .nav-secondary { display: none; }
  .flow-steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .reality-card blockquote { font-size: 1rem; }
  .pilot-form--inline .pilot-submit { width: 100%; min-width: 0; }
  .card { padding: 1rem; }
  .section { padding: 2rem 0; }
  .footer-brandline {
    display: block;
    gap: 0;
  }
  .footer-brand,
  .footer-note {
    display: block;
  }
  .footer-sep {
    display: none;
  }
  .footer-note {
    margin-top: 0.2rem;
  }
  .pilot-form__grid { grid-template-columns: 1fr; }
}

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