:root {
  color-scheme: light;
  --navy-950: #090d1c;
  --navy-900: #101325;
  --navy-800: #181e38;
  --navy-700: #252e52;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --orange: #ff7a1a;
  --orange-hover: #ff8e3c;
  --orange-border: #ffa05c;
  --orange-ink: #170d05;
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --container: min(1120px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--slate-900);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header & Hero (Deep Dark Blue) */
.hero-shell {
  background: radial-gradient(circle at 50% 0%, #192145 0%, var(--navy-900) 58%, var(--navy-950) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-shell > * { position: relative; z-index: 1; }

.topbar {
  min-height: 76px;
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand-labs { font-weight: 400; color: rgba(255, 255, 255, 0.78); }
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero {
  padding-block: clamp(48px, 7vh, 84px) clamp(56px, 8vh, 92px);
}
.hero-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.hero-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--white);
  text-wrap: balance;
}
.hero-sub {
  margin: 0 auto;
  max-width: 64ch;
  font-size: clamp(16.5px, 1.9vw, 19px);
  line-height: 1.6;
  color: #cbd5e1;
}
.hero-actions {
  margin: 30px auto 0;
  max-width: 396px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-actions a { width: 100%; }

/* Buttons */
.btn-primary,
.btn-outline-dark,
.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
.btn-primary {
  background: var(--orange);
  border: 1px solid var(--orange-border);
  color: var(--orange-ink);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--orange-ink);
}
.btn-primary:active,
.btn-outline-dark:active,
.btn-navy:active { transform: translateY(1px); }

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.btn-navy {
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

/* Hero Side-by-Side Pipeline Graphic */
.demo-showcase {
  margin-top: clamp(40px, 6vh, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.showcase-panel {
  margin: 0;
  min-width: 0;
  border-radius: 14px;
  background: #0d1326;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
}
.showcase-tag {
  color: #e2e8f0;
  font-weight: 600;
}
.showcase-tag-active {
  color: var(--orange);
  font-weight: 600;
}
.showcase-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 440 / 310;
}
.showcase-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 2px;
}
.bridge-arrow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #192145 0%, #0d1326 100%);
  border: 1px solid rgba(255, 122, 26, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 8px 20px rgba(4, 7, 18, 0.45);
}

/* Shared Section Chrome */
.section {
  padding-block: clamp(56px, 8vh, 92px);
}
.section-white {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.section-slate {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--navy-900);
}
.section-header p {
  margin: 0;
  font-size: 16.5px;
  color: var(--slate-600);
}

/* 3-Column Technical Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefit-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--white);
}
.benefit-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.benefit-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-600);
}

/* Technical Proof Spec Grid */
.tech-proof {
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 19, 37, 0.05);
}
.tech-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tech-proof-head h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--white);
}
.tech-proof-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}
.tech-proof-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--slate-200);
}
.tech-proof-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--slate-900);
}
.tech-proof-grid .check-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 0;
  padding: 4px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--navy-900);
}
.scope-note {
  margin: 0;
  padding: 14px 20px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate-600);
}
.scope-note strong { color: var(--navy-900); }

/* Pricing Section */
.pricing-grid {
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--navy-900);
}
.pricing-card-featured {
  background: var(--navy-900);
  border: 2px solid var(--orange);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(16, 19, 37, 0.16);
}
.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pricing-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.pricing-card-featured h3 { color: var(--white); }
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.16);
  border: 1px solid rgba(255, 122, 26, 0.55);
  color: #ffb278;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-row {
  margin: 20px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-value {
  font-size: 44px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}
.pricing-card-featured .price-value { color: var(--white); }
.price-currency {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
}
.pricing-card-featured .price-currency { color: #94a3b8; }
.price-sub {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-600);
}
.pricing-card-featured .price-sub { color: #cbd5e1; }

.feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-card-featured .feature-list { border-top-color: rgba(255, 255, 255, 0.14); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--slate-700);
}
.pricing-card-featured .feature-list li { color: #e2e8f0; }
.check-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--navy-900);
}
.pricing-card-featured .check-icon { color: var(--orange); }

.pricing-card .btn-primary,
.pricing-card .btn-navy {
  margin-top: auto;
  width: 100%;
}

.pricing-footnotes {
  max-width: 920px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--slate-600);
}
.pricing-footnotes p { margin: 0; }
.pricing-footnotes a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-footnotes a:hover { color: var(--orange); }

/* License Request Section (Dark Navy) */
.section-navy {
  background: radial-gradient(circle at 50% 0%, #172042 0%, var(--navy-900) 58%, var(--navy-950) 100%);
  color: var(--white);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 12px;
}
.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.section-navy > .container { position: relative; z-index: 1; }

.request-card {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: rgba(13, 19, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(4, 7, 16, 0.45);
}
.request-header {
  margin-bottom: 28px;
}
.request-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.request-header h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}
.request-header p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #cbd5e1;
}

.license-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.license-form[hidden],
.form-success[hidden],
.form-error[hidden] { display: none; }

.botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy-950);
  color: var(--white);
  font: 15px/1.45 var(--font-sans);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 92px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #64748b;
}
.form-field select {
  cursor: pointer;
}
.form-field select option {
  background: var(--navy-950);
  color: var(--white);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.28);
}
.form-field select.is-highlighted {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.36);
}
.btn-submit {
  margin-top: 6px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.btn-submit:disabled {
  opacity: 0.72;
  cursor: progress;
}
.form-privacy-note {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #94a3b8;
}
.form-privacy-note a {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy-note a:hover { color: var(--orange); }
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  font-size: 14px;
  line-height: 1.5;
}
.form-success {
  padding: 28px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 122, 26, 0.45);
  text-align: center;
}
.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 122, 26, 0.16);
  border: 1px solid rgba(255, 122, 26, 0.5);
  color: var(--orange);
}
.form-success h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
}
.form-success p {
  margin: 0 auto;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: #cbd5e1;
}

/* Technical FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  border-top: 1px solid var(--slate-200);
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
}
.faq-chevron {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--slate-500);
  transition: transform 180ms ease, color 140ms ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}
.faq-answer {
  margin: 0;
  padding: 0 4px 22px 34px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate-600);
}
.faq-answer p { margin: 0 0 10px; }
.faq-bom {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-bom code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--navy-900);
  background: var(--slate-100);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Footer */
.site-footer-shell {
  margin-top: auto;
  background: var(--navy-950);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 max(22px, env(safe-area-inset-bottom));
  font-size: 12.5px;
}
.footer-links {
  order: 1;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.engine-credit {
  order: 2;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: #94a3b8;
}
.engine-credit strong {
  color: var(--white);
  font-weight: 700;
  margin-left: 4px;
}
.engine-credit::before {
  content: "";
  align-self: center;
  width: 3px;
  height: 1em;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--orange);
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .tech-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-showcase {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }
  .showcase-bridge {
    flex-direction: row;
    justify-content: center;
    padding-block: 2px;
  }
  .bridge-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 32px); }
  .topbar { min-height: 64px; height: auto; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-actions { grid-template-columns: 1fr; max-width: none; }
  .tech-proof-head { padding: 16px 18px; }
  .tech-proof-grid { grid-template-columns: 1fr; }
  .tech-proof-grid li { padding: 15px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }
  .faq-answer { padding-left: 4px; }
  .site-footer { flex-wrap: wrap; gap: 8px 16px; }
}
