*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-var.woff2') format('woff2');
}

:root {
  --bg-primary:    #ffffff;
  --bg-secondary:  #f5f6fa;
  --bg-card:       #ffffff;
  --border:        #d9dde8;
  --border-subtle: #e8ebf2;
  --text-primary:  #0e1430;
  --text-secondary:#4a5270;
  --text-muted:    #646b88;

  /* Brand — violet, darkened for contrast on white */
  --brand-50:  #f2effd;
  --brand-100: #e4ddfb;
  --brand-300: #3f28a8;
  --brand-400: #5b3fd4;
  --brand-500: #5b3fd4;
  --brand-600: #4a2fbf;

  /* Deep navy band used for the product tour */
  --band-bg: #10153a;

  /* Kept for markup that still references them; solid, not gradient */
  --gradient-brand:   var(--brand-500);
  --gradient-brand-r: var(--brand-500);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --max-w: 1152px;
  --shadow-card: 0 1px 2px rgba(14, 20, 48, 0.04), 0 4px 16px -8px rgba(14, 20, 48, 0.08);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}

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

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }

:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Nav ────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
}
.brand-logo { flex-shrink: 0; margin-right: 10px; }
.brand-name { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name-top { font-size: 0.55em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.nav-links  { display: flex; align-items: center; gap: 28px; }
.btn-ghost  { color: var(--text-secondary); font-size: 0.9375rem; font-weight: 500; transition: color 0.15s; }
.btn-ghost:hover { color: var(--text-primary); }
.btn-primary {
  background: var(--brand-500); color: #fff;
  padding: 9px 20px; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 500;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--brand-600); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 112px 0 104px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 20%, var(--brand-50) 0%, transparent 70%),
    var(--bg-primary);
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-left { text-align: left; }

.hero > .container { position: relative; z-index: 1; }

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 650;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.accent { color: inherit; }

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1875rem;
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-500); color: #fff;
  padding: 13px 26px; border-radius: 8px;
  font-weight: 500; font-size: 1rem;
  transition: background 0.15s;
}
.btn-hero-primary:hover { background: var(--brand-600); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text-primary);
  background: var(--bg-primary);
  padding: 13px 26px; border-radius: 8px;
  font-weight: 500; font-size: 1rem;
  transition: border-color 0.15s;
}
.btn-hero-secondary:hover { border-color: var(--brand-500); }

/* ── Providers strip ────────────────────────────── */
.providers { margin-top: 56px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.provider-logos {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto;
  gap: 14px 40px;
}
.provider-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary); font-size: 0.9375rem; font-weight: 500;
  line-height: 1;
}
.provider-item svg { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.providers-note { color: var(--text-muted); font-size: 0.875rem; max-width: 480px; }

/* ── Scroll Showcase (product tour, the one dark band) ─ */
.scroll-showcase {
  position: relative;
  height: 300vh;
  background: var(--band-bg);
  /* re-point tokens so children read as light-on-dark */
  --text-primary:  #f4f5fa;
  --text-secondary:#b6bbd3;
  --text-muted:    #8a90ad;
  --border:        #3a4170;
  --border-subtle: #262c58;
  --brand-400:     #a594f7;
  --brand-500:     #8f7bf2;
  color: var(--text-primary);
}

.scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 24px;
}
@media (min-width: 640px)  { .scroll-sticky { padding: 0 32px; } }
@media (min-width: 1024px) { .scroll-sticky { padding: 0 48px; } }

.scroll-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.scroll-labels {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
}

.scroll-label {
  padding: 20px 0 20px 20px;
  border-left: 2px solid var(--border-subtle);
  opacity: 0.45;
  transition: opacity 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}
.scroll-label.active { opacity: 1; border-left-color: var(--brand-500); }

.label-num { display: none; }

.scroll-label strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.scroll-label p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Browser frame */
.scroll-frame {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(14, 20, 48, 0.45);
  background: #111113;
}

.scroll-chrome {
  background: #111113;
  border-bottom: 1px solid #27272a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dot  { width: 12px; height: 12px; border-radius: 50%; }

.scroll-url-bar {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.6875rem;
  color: #8a8a93;
  text-align: center;
}

.scroll-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #18181b;
  overflow: hidden;
}

.scroll-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}
.scroll-slide.active { opacity: 1; }

@media (max-width: 860px) {
  .scroll-showcase { height: auto; }
  .scroll-sticky    { position: relative; height: auto; padding: 64px 0; }
  .scroll-inner     { flex-direction: column; gap: 32px; }
  .scroll-labels    { flex: none; width: 100%; flex-direction: row; overflow-x: auto; gap: 0; }
  .scroll-label     { flex: 0 0 200px; border-left: none; border-top: 2px solid var(--border-subtle); padding: 16px 0 0; }
  .scroll-label.active { border-top-color: var(--brand-500); }
  .scroll-frame     { width: 100%; }
}

/* ── Section shared ─────────────────────────────── */
.section-bg { background: var(--bg-secondary); }
.section-header { text-align: left; margin-bottom: 56px; max-width: 680px; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-header p { color: var(--text-secondary); max-width: 620px; font-size: 1.0625rem; }

/* ── Capabilities ───────────────────────────────── */
.capabilities { padding: 112px 0; }
.features-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.feature-icon {
  margin-bottom: 14px;
  width: 24px; height: 24px;
  color: var(--brand-500);
}
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-card p  { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }

/* ── Feature CTA ────────────────────────────────── */
.feature-cta { padding: 96px 0; text-align: center; }

/* ── Footer ─────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 64px 0 32px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-blurb { color: var(--text-secondary); margin-top: 14px; max-width: 300px; font-size: 0.9375rem; }
.footer-col h2 { font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); letter-spacing: 0; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-secondary); transition: color 0.15s; }
.footer-col a:hover { color: var(--brand-500); }
.footer-col address { font-style: normal; color: var(--text-secondary); }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
}
.footer-copy { color: var(--text-muted); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 20px; list-style: none; font-size: 0.875rem; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-primary); }

svg.icon { display: inline-block; vertical-align: middle; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.icon-sm { width: 16px; height: 16px; }

/* ── Contact form ────────────────────────────────── */
.contact-section {
  padding: 112px 0;
  background: var(--bg-primary);
}
.contact-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-header h1,
.contact-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.contact-header p { color: var(--text-secondary); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .contact-form { padding: 22px 18px; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.form-optional {
  color: var(--text-muted);
  font-weight: 400;
}
.form-field input,
.form-field textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-500);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}
.btn-form-submit:hover { background: var(--brand-600); }
.btn-form-submit:disabled { opacity: 0.7; cursor: default; }
.form-success {
  font-size: 0.9375rem;
  color: var(--brand-500);
  min-height: 1.5em;
}
.form-success.error { color: #b42318; }
.cf-turnstile { min-height: 65px; }

/* ── Nav dropdown ───────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500;
  color: var(--text-secondary); padding: 0;
  transition: color 0.15s;
}
.nav-dropdown-trigger:hover { color: var(--text-primary); }

.nav-chevron {
  stroke: currentColor; fill: none; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 14px;
  min-width: 560px;
  box-shadow: 0 20px 50px -16px rgba(14, 20, 48, 0.25);
  z-index: 100;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-group { display: flex; flex-direction: column; gap: 1px; }
.nav-group-title {
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  padding: 8px 12px 4px;
}
.nav-group-title:not(:first-child) { margin-top: 10px; }

.nav-dropdown-menu a {
  display: block; padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--brand-50);
  color: var(--text-primary);
}

.nav-active { color: var(--text-primary) !important; }

/* ── Hamburger ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  nav { position: relative; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 16px 30px -20px rgba(14, 20, 48, 0.3);
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
    z-index: 49;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { display: none; }
  .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column;
    position: static; transform: none;
    border: none; border-radius: 0;
    padding: 0 0 8px 12px;
    box-shadow: none; background: transparent;
    border-left: 2px solid var(--border-subtle);
    grid-template-columns: 1fr;
    min-width: 0; width: 100%;
    gap: 0;
  }
  .nav-dropdown-menu a { white-space: normal; padding: 8px 14px; }
  .nav-links .btn-ghost { padding: 10px 4px; }
  .nav-links .btn-primary { width: 100%; text-align: center; justify-content: center; margin-top: 6px; }
}

/* ── Feature card link ──────────────────────────── */
.feature-card-link {
  color: inherit;
  transition: color 0.15s;
}
.feature-card-link:hover { color: var(--brand-500); }

/* ── Feature/about hero (text-only, centred) ───── */
.feature-hero {
  padding: 96px 0 72px;
  text-align: center;
}
.feature-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.feature-hero .hero-sub {
  font-size: 1.125rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .feature-hero { padding: 56px 0 48px; }
}

/* ── Feature page intro (split layout) ─────────── */
.feature-intro {
  padding: 96px 0 80px;
}
.feature-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-screenshot-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: #18181b;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  color: #8a8a93;
  position: relative; overflow: hidden;
}
.feature-intro-content {
  display: flex; flex-direction: column; gap: 0;
}
.feature-hero-eyebrow {
  display: inline-block;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--brand-500);
  margin-bottom: 12px;
}
.feature-intro-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 18px;
}
.feature-intro-content .hero-sub {
  font-size: 1.0625rem; line-height: 1.7;
  margin-bottom: 24px;
}
.feature-intro-points {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-intro-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.55;
}
.feature-intro-points li svg {
  flex-shrink: 0; margin-top: 3px;
  stroke: var(--brand-500); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 900px) {
  .feature-intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-intro-visual { order: -1; }
}

/* ── Feature problem section ────────────────────── */
.feature-problem {
  padding: 96px 0;
}
.feature-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}
.feature-problem-item {
  display: flex; gap: 16px;
}
.feature-problem-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #b42318;
  margin-top: 2px;
}
.feature-problem-item h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature-problem-item p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 639px) {
  .feature-problem-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Contact direct email ───────────────────────── */
.contact-direct-email {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.contact-email-link {
  color: var(--brand-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-email-link:hover { color: var(--brand-600); }

/* ── Hero graph illustration ────────────────────── */
.hero-graph {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
}
.hero-graph-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 900px) and (min-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-graph { display: none; }
}
/* ── Mobile tab switcher ────────────────────────── */
.mobile-tabs { display: none; }
@media (max-width: 768px) {
  .scroll-showcase { height: auto; }
  .scroll-sticky { position: static; height: auto; padding: 64px 0; flex-direction: column; gap: 24px; }
  .scroll-inner { flex-direction: column-reverse; gap: 24px; padding: 0 20px; }
  .scroll-labels { display: none; }
  .mobile-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16px;
  }
  .mobile-tab {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    cursor: pointer;
  }
  .mobile-tab.active {
    background: #5b3fd4;
    border-color: #5b3fd4;
    color: #fff;
  }
}

/* ── Platform, marketplace, engineering, products ── */
.platform, .split-section, .products, .why { padding: 112px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > .split-text { order: 2; }
.split-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.split-text > p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .split-text { order: 0; }
}

.ill-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.ill-card svg, .product-ill svg { display: block; width: 100%; height: auto; }
.ill-wide { padding: 32px 36px; }
.ill-card .hiw-mobile { display: none; }
.platform-steps { margin-top: 56px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-secondary); font-size: 1rem; line-height: 1.55;
}
.check {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
  stroke: var(--brand-500); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--bg-card);
}
.product-ill {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 8px;
}
.product-ill svg { max-width: 460px; margin: 0 auto; }
.product-card h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.product-card > p { color: var(--text-secondary); }
.product-card .check-list { flex: 1; }
.product-card .check-list li { font-size: 0.9375rem; }

/* ── Why Orion ───────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 767px) { .why-grid { grid-template-columns: 1fr; gap: 16px; } }
.why-card {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--bg-card);
}
.why-icon {
  width: 40px; height: 40px; padding: 9px;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  fill: none; stroke: var(--brand-500); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.why-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; text-wrap: balance; }
.why-card p  { color: var(--text-secondary); line-height: 1.65; }

/* ── Built For ────────────────────────────────────── */
.built-for { padding: 112px 0; }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .persona-grid { grid-template-columns: 1fr; } }

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 0;
}
.persona-icon {
  width: 24px; height: 24px;
  color: var(--brand-500);
  margin-bottom: 14px;
}
.persona-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.persona-card p  { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.persona-link { font-size: 0.9375rem; font-weight: 500; color: var(--brand-500); transition: color 0.15s; }
.persona-link:hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }

/* ── Accordions (scenarios + FAQ) ────────────────── */
.accordion-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .accordion-block { grid-template-columns: 1fr; gap: 24px; } }
.accordion-block h3.accordion-title { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.accordion-block .accordion-intro { color: var(--text-secondary); }
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}
.accordion details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.accordion summary:hover { color: var(--brand-500); }
.accordion-body { padding: 0 2px 22px; color: var(--text-secondary); max-width: 64ch; }
.accordion-body p + p { margin-top: 10px; }
.accordion-body .persona-link { display: inline-block; margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .accordion details[open] .accordion-body { animation: acc-open 0.2s ease; }
}
@keyframes acc-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.faq { padding: 112px 0; }

/* ── Sticky mobile CTA ────────────────────────────── */
.sticky-cta { display: none; }

/* ── About section ───────────────────────────────── */
.about-section { padding: 112px 0; background: var(--bg-primary); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; gap: 40px; } }
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px;
}
.about-text strong { color: var(--text-primary); font-weight: 600; }
.about-link {
  display: inline-block; margin-top: 8px;
  color: var(--brand-500); font-weight: 500;
  transition: color 0.15s;
}
.about-link:hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.founder-cards { display: flex; flex-direction: column; gap: 16px; }
.founder-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.founder-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  border-radius: 10px;
  color: var(--brand-500);
}
.founder-card h3 { font-size: 1rem; margin-bottom: 6px; }
.founder-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ── Contact trust signals ───────────────────────── */
.form-reassurance {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}
.form-next-steps {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
}
.form-next-label {
  font-size: 0.9375rem; font-weight: 600; color: var(--text-primary);
  margin-bottom: 8px;
}
.form-steps-list {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 20px; margin: 0;
}
.form-steps-list li {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.5;
}

/* ── How It Works ────────────────────────────────── */
.how-it-works { padding: 112px 0; }
.steps-grid {
  list-style: none;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) { .steps-grid { grid-template-columns: 1fr; gap: 28px; } }
.step { border-top: 2px solid var(--border); padding-top: 22px; }
.step-number {
  font-size: 0.9375rem; font-weight: 600; color: var(--brand-500);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Legal page ──────────────────────────────────── */
.legal { padding: 80px 0 112px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--brand-500); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { color: var(--text-muted); margin-bottom: 8px; }

/* ── Mobile global ───────────────────────────────── */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero          { padding: 64px 0 56px; }
  .built-for,
  .platform,
  .split-section,
  .products,
  .why,
  .about-section,
  .contact-section,
  .how-it-works,
  .capabilities,
  .faq           { padding: 72px 0; }
  .section-header { margin-bottom: 36px; }

  .hero-layout { grid-template-columns: 1fr; }
  .hero-sub    { font-size: 1.0625rem; }
  .hero-graph  { display: none; }
  .ill-card .hiw-desktop { display: none; }
  .ill-card .hiw-mobile  { display: block; max-width: 400px; margin: 0 auto; }
  .ill-card, .ill-wide { padding: 20px 16px; }
  .product-card { padding: 20px; }
  .product-ill { padding: 16px; }
  .providers   { margin-top: 40px; }
  .provider-logos { gap: 14px 24px; }
  .hero-ctas a { width: 100%; justify-content: center; }


  /* Appears after the visitor has scrolled past the hero; see site.js */
  .sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 24px -16px rgba(14, 20, 48, 0.3);
    z-index: 40;
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.shown { transform: none; }
  .sticky-cta .btn-hero-primary { width: 100%; justify-content: center; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.accordion-block .accordion-title-lg { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: -0.025em; margin-bottom: 14px; }
