/* ==========================================================================
   DOOZIE CORTEX — Landing Page Stylesheet
   Deploy target: https://cortex.dooziesoft.com
   --------------------------------------------------------------------------
   1.  Design tokens & reset
   2.  Base typography & utilities
   3.  Buttons, chips, icons
   4.  Header & navigation
   5.  Hero + console mock
   6.  Stats band
   7.  Problem
   8.  Solution bento
   9.  Features
   10. Architecture
   11. Models & integrations tiles
   12. Security
   13. Comparison table
   14. Roadmap timeline
   15. FAQ
   16. Waitlist & forms
   17. Contact
   18. Footer
   19. Keyframes
   20. Responsive
   21. Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens & reset
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0b1526;
  --ink-2:      #0e1a2e;
  --ink-3:      #101d33;
  --ink-4:      #0a1322;
  --night:      #080f1c;
  --paper:      #f2f5f9;
  --paper-2:    #f7f9fc;
  --white:      #ffffff;

  /* Text */
  --text-dark:  #1a2740;
  --muted-dark: #5b6b88;
  --text-light: #e9eff9;
  --muted-light:#94a6c4;

  /* Accents */
  --gold:        #e9b44c;
  --gold-strong: #d99a2b;
  --gold-ink:    #a8721a;   /* gold that reads as text on light surfaces */
  --teal:        #3ec9a7;
  --teal-ink:    #0f9d7f;   /* teal that reads as text on light surfaces */
  --danger:      #ff8f8f;

  /* Lines */
  --line-light: rgba(20, 36, 61, 0.12);
  --line-dark:  rgba(148, 166, 199, 0.16);

  /* Type */
  --font-display: 'Space Grotesk', 'Instrument Sans', system-ui, sans-serif;
  --font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(11, 21, 38, 0.05), 0 8px 24px rgba(11, 21, 38, 0.06);
  --shadow-lift: 0 2px 4px rgba(11, 21, 38, 0.06), 0 18px 44px rgba(11, 21, 38, 0.12);
  --shadow-dark: 0 24px 64px rgba(3, 8, 18, 0.55);

  --header-h: 72px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select { font: inherit; }
fieldset { border: 0; margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

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

/* --------------------------------------------------------------------------
   2. Base typography & utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section { padding-block: clamp(56px, 6.5vw, 92px); }

.section-head { max-width: 780px; margin-bottom: clamp(28px, 3.5vw, 44px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-top: 18px;
}

.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-dark);
  margin-top: 18px;
  max-width: 640px;
}

.lede-center { margin-inline: auto; }

/* Plain-English callouts — decode jargon for non-technical readers */
.hero-plain {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(233, 180, 76, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #c8d5ea;
  max-width: 520px;
}
.hero-plain strong { color: #f4f8fe; font-weight: 600; }

.section-plain {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-dark);
  font-style: italic;
  max-width: 600px;
}
.section-plain::before {
  content: "In plain terms: ";
  font-style: normal;
  font-weight: 600;
  color: var(--gold-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 2.4s ease-in-out infinite;
}

.eyebrow-center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-ink);
  transition: color 0.2s ease;
}
.text-link .icon { width: 16px; height: 16px; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.text-link:hover { color: var(--gold-strong); }
.text-link:hover .icon { transform: translateX(4px); }

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   3. Buttons, chips, icons
   -------------------------------------------------------------------------- */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
  white-space: nowrap;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.2);
}
.btn-primary:hover {
  background: var(--gold-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(233, 180, 76, 0.32);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(233, 239, 249, 0.28);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(233, 180, 76, 0.08);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* Loading state (forms) */
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(11, 21, 38, 0.3);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.65; }

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 15, 28, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark { border-radius: 8px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.brand-name strong { font-weight: 700; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: block;
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: #c3d1e8;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover { color: #ffffff; }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.nav-toggle { display: none; padding: 8px; color: var(--text-light); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.mobile-panel {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--night);
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 24px 26px;
  box-shadow: var(--shadow-dark);
  animation: panelDown 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-panel ul { display: flex; flex-direction: column; }
.mobile-panel a:not(.btn) {
  display: block;
  padding: 13px 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 1px solid rgba(148, 166, 199, 0.1);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-panel a:not(.btn):hover { color: var(--gold); padding-left: 12px; }
.mobile-panel .btn { margin-top: 18px; }

/* --------------------------------------------------------------------------
   5. Hero + console mock
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  padding: calc(var(--header-h) + clamp(48px, 8vh, 88px)) 0 clamp(64px, 8vw, 96px);
  overflow: clip;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 239, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 239, 249, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 65% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 65% 30%, #000 30%, transparent 78%);
}

.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.hero-constellation .edges line {
  stroke-dasharray: 3 7;
  animation: dashFlow 26s linear infinite;
}
.hero-constellation .n { fill: #3d5580; animation: nodePulse 4.5s ease-in-out infinite; }
.hero-constellation .n-gold { fill: var(--gold); }
.hero-constellation .n-teal { fill: var(--teal); }
.hero-constellation .n:nth-child(2n) { animation-delay: 1.1s; }
.hero-constellation .n:nth-child(3n) { animation-delay: 2.2s; }
.hero-constellation .n:nth-child(5n) { animation-delay: 3.1s; }

.hero-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(95px);
}
.hero-glow-a {
  top: -140px; right: 4%;
  background: rgba(233, 180, 76, 0.13);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero-glow-b {
  bottom: -200px; left: -8%;
  background: rgba(62, 201, 167, 0.10);
  animation: glowDrift 20s ease-in-out infinite alternate-reverse;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #f4f8fe;
  margin-top: 22px;
}
.hero-dot { color: var(--gold); }

.hero-lede {
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  line-height: 1.65;
  color: var(--muted-light);
  max-width: 520px;
  margin-top: 24px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b9c7de;
  border: 1px solid rgba(148, 166, 199, 0.24);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-badges li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-badges .icon { width: 14px; height: 14px; color: var(--gold); }

/* Console mock */
.hero-art { position: relative; }

.console {
  position: relative;
  background: linear-gradient(160deg, #101f38, #0c1728 55%);
  border: 1px solid rgba(148, 166, 199, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(233, 180, 76, 0.04);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.console:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }

.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(148, 166, 199, 0.14);
}
.console-dots { display: inline-flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c3f60; }
.console-dots i:first-child { background: var(--gold); }
.console-dots i:nth-child(2) { background: var(--teal); }
.console-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}
.console-env {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1px solid rgba(62, 201, 167, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
}

.console-body { padding: 18px; display: grid; gap: 14px; }

.console-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-4);
  border: 1px solid rgba(148, 166, 199, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #dbe6f6;
}
.console-search .icon { width: 16px; height: 16px; color: var(--gold); }
.type-caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  margin-left: 2px;
  background: var(--gold);
  animation: blink 1s steps(1) infinite;
}

.console-answer {
  background: #12233f;
  border: 1px solid rgba(148, 166, 199, 0.14);
  border-left: 2px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
}
.answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.answer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.answer-conf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}
.answer-text { font-size: 14px; line-height: 1.6; color: #d5e1f3; }
.cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  margin: 0 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 4px;
  transform: translateY(-2px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.cite:hover { transform: translateY(-4px); background: var(--gold-strong); }

.cite-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cite-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-light);
  background: var(--ink-4);
  border: 1px solid rgba(148, 166, 199, 0.16);
  border-radius: 6px;
  padding: 5px 9px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cite-chip:hover { color: var(--gold); border-color: rgba(233, 180, 76, 0.45); }
.cite-chip .icon { width: 12px; height: 12px; }

.console-pipeline {
  display: grid;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a9bad6;
}
.console-pipeline li { display: flex; align-items: center; gap: 9px; }
.console-pipeline .icon { width: 13px; height: 13px; }
.console-pipeline .ok { color: var(--teal); }
.console-pipeline .path { color: #7f93b5; }
.console-pipeline .live { color: #dbe6f6; }

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: ringPulse 1.8s ease-out infinite;
  flex: none;
}

.console-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(148, 166, 199, 0.14);
  padding-top: 13px;
}
.sparkline { width: 120px; height: 28px; }
.sparkline polyline {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawLine 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
.foot-label { font-family: var(--font-mono); font-size: 11px; color: #7f93b5; }
.foot-value {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #f4f8fe;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #dbe6f6;
  background: rgba(16, 29, 51, 0.92);
  border: 1px solid rgba(148, 166, 199, 0.26);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 14px 34px rgba(3, 8, 18, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.float-chip .icon { width: 14px; height: 14px; color: var(--gold); }
.float-chip-a { top: -20px; right: -14px; animation: floaty 6s ease-in-out infinite alternate; }
.float-chip-b { bottom: -18px; left: -22px; animation: floaty 7s ease-in-out 0.8s infinite alternate-reverse; }
.float-chip-b .icon { color: var(--teal); }

/* --------------------------------------------------------------------------
   6. Stats band
   -------------------------------------------------------------------------- */
.stats {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  color: var(--text-light);
  padding: clamp(36px, 4.5vw, 52px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { border-left: 1px solid rgba(148, 166, 199, 0.2); padding-left: 22px; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f8fe;
  line-height: 1.1;
}
.stat-num .count { color: var(--gold); }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-light);
  max-width: 200px;
}

/* --------------------------------------------------------------------------
   7. Problem
   -------------------------------------------------------------------------- */
.section-problem { background: var(--paper); }

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.problem-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.problem-intro .text-link { margin-top: 28px; }

.problem-list { border-top: 1px solid var(--line-light); }
.problem-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 30px 18px 30px 10px;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.problem-row::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.problem-row:hover { background: var(--white); transform: translateX(6px); }
.problem-row:hover::before { transform: scaleY(1); }

.problem-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-ink);
  padding-top: 4px;
}
.problem-row h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.problem-row p { margin-top: 8px; font-size: 15.5px; color: var(--muted-dark); line-height: 1.65; }

/* --------------------------------------------------------------------------
   8. Solution bento
   -------------------------------------------------------------------------- */
.section-solution { background: var(--white); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bento-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 26px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 154, 43, 0.4);
}

.bento-search { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-ink);
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.bento-card:hover .bento-icon { transform: scale(1.15) rotate(-6deg); color: var(--gold-strong); }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.bento-card p { margin-top: 9px; font-size: 14.5px; line-height: 1.62; color: var(--muted-dark); }

/* Mini search visual inside the large bento card */
.bento-visual { margin-top: 26px; display: grid; gap: 10px; }
.mini-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-dark);
  box-shadow: var(--shadow-card);
}
.mini-search .icon { width: 15px; height: 15px; color: var(--gold-ink); }
.mini-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 10px 14px;
}
.mini-bar {
  height: 6px;
  width: var(--w, 60%);
  max-width: 46%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-strong));
  transform-origin: left;
  animation: barGrow 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mini-result:nth-child(3) .mini-bar { animation-delay: 0.25s; background: linear-gradient(90deg, var(--teal), var(--teal-ink)); }
.mini-src { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   9. Features
   -------------------------------------------------------------------------- */
.section-features { background: var(--paper-2); }

.feature-group { margin-top: clamp(36px, 4.5vw, 52px); }
.feature-group:first-of-type { margin-top: 0; }

.feature-group-label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 20px;
}
.feature-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 24px;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 154, 43, 0.35);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card .icon {
  width: 20px;
  height: 20px;
  padding: 11px;
  box-sizing: content-box;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  margin-bottom: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .icon { background: var(--gold); color: var(--ink); transform: rotate(-8deg); }

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.feature-card p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   10. Architecture
   -------------------------------------------------------------------------- */
.section-arch {
  background: var(--ink-2);
  color: var(--text-light);
  position: relative;
  overflow: clip;
}
.section-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 239, 249, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 239, 249, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}
.section-arch .container { position: relative; }
.section-arch .section-title { color: #f4f8fe; }
.section-arch .section-lede { color: var(--muted-light); }

.arch-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.arch-layer {
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.arch-layer:hover { border-color: rgba(233, 180, 76, 0.4); transform: translateX(6px); }

.arch-layer-core {
  background: linear-gradient(150deg, #16273f, var(--ink-3) 60%);
  border-color: rgba(233, 180, 76, 0.42);
  box-shadow: 0 0 44px rgba(233, 180, 76, 0.08);
}

.arch-layer-head { display: flex; align-items: center; gap: 12px; }
.arch-layer-head .icon { width: 19px; height: 19px; color: var(--gold); }
.arch-layer-head img { border-radius: 5px; }
.arch-layer-head h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: #f4f8fe;
}

.arch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.arch-chips li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-light);
  background: var(--ink-4);
  border: 1px solid rgba(148, 166, 199, 0.16);
  border-radius: 6px;
  padding: 5px 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.arch-layer:hover .arch-chips li { border-color: rgba(148, 166, 199, 0.3); }
.arch-layer-core .arch-chips li { color: #d9c39a; border-color: rgba(233, 180, 76, 0.24); }

.arch-connector {
  position: relative;
  width: 2px;
  height: 30px;
  margin: 0 auto;
  background: rgba(148, 166, 199, 0.28);
}
.arch-connector i {
  position: absolute;
  left: -2.5px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: travel 2.1s ease-in-out infinite;
}
.arch-connector:nth-of-type(2) i { animation-delay: 0.5s; }
.arch-connector:nth-of-type(3) i { animation-delay: 1s; }
.arch-connector:nth-of-type(4) i { animation-delay: 1.5s; }

.arch-deploy {
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 28px;
}
.arch-deploy-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.deploy-list { margin-top: 8px; }
.deploy-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(148, 166, 199, 0.12);
}
.deploy-list li:last-child { border-bottom: 0; }
.deploy-list .icon {
  width: 18px;
  height: 18px;
  padding: 11px;
  box-sizing: content-box;
  background: var(--ink-4);
  border: 1px solid rgba(148, 166, 199, 0.18);
  border-radius: 10px;
  color: var(--gold);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.deploy-list li:hover .icon { background: var(--gold); color: var(--ink); }
.deploy-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: #f4f8fe;
}
.deploy-list span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-light);
}

.arch-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--ink-4);
  border-left: 2px solid var(--teal);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-light);
}
.arch-note .icon { width: 16px; height: 16px; color: var(--teal); margin-top: 2px; }

/* --------------------------------------------------------------------------
   11. Models & integrations tiles
   -------------------------------------------------------------------------- */
.section-models { background: var(--white); }
.section-integrations { background: var(--paper); }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.section-models .tile { background: var(--paper-2); }
.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 154, 43, 0.45);
}

.tile-mono {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}
.tile:hover .tile-mono { background: var(--gold); color: var(--ink); transform: rotate(-6deg); }

.tile-name { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.tile-tag {
  margin-top: -6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.tile-accent { border-color: rgba(217, 154, 43, 0.5); background: rgba(233, 180, 76, 0.07); }
.tile-accent .tile-mono { background: var(--gold); color: var(--ink); }
.tile-accent:hover .tile-mono { background: var(--ink); color: var(--gold); }

.section-foot {
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   12. Security
   -------------------------------------------------------------------------- */
.section-security {
  background: var(--ink);
  color: var(--text-light);
  position: relative;
  overflow: clip;
}
.section-security::before {
  content: "";
  position: absolute;
  top: -200px; left: -140px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: rgba(233, 180, 76, 0.07);
  filter: blur(90px);
  pointer-events: none;
}
.section-security .section-title { color: #f4f8fe; }
.section-security .section-lede { color: var(--muted-light); }

.security-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
  position: relative;
}

.security-visual {
  position: relative;
  width: 230px;
  height: 230px;
  margin-top: 40px;
}
.shield-ring {
  position: absolute;
  border-radius: 50%;
}
.shield-ring-a {
  inset: 0;
  border: 1px dashed rgba(233, 180, 76, 0.42);
  animation: spin 26s linear infinite;
}
.shield-ring-a::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(233, 180, 76, 0.9);
}
.shield-ring-b {
  inset: 30px;
  border: 1px dashed rgba(62, 201, 167, 0.36);
  animation: spin 19s linear infinite reverse;
}
.shield-ring-b::before {
  content: "";
  position: absolute;
  bottom: -3px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(62, 201, 167, 0.9);
}
.shield-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  color: var(--gold);
  filter: drop-shadow(0 0 18px rgba(233, 180, 76, 0.45));
  animation: corePulse 3.4s ease-in-out infinite;
}

.compliance-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.compliance-row li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #c8d5ea;
  border: 1px solid rgba(233, 180, 76, 0.34);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.compliance-row li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.security-list { border-top: 1px solid var(--line-dark); }
.sec-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 21px 8px 21px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sec-item:hover { transform: translateX(6px); }
.sec-item > .icon {
  width: 20px;
  height: 20px;
  padding: 12px;
  box-sizing: content-box;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  color: var(--gold);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.sec-item:hover > .icon { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.sec-item h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: #f4f8fe;
}
.sec-item p { margin-top: 5px; font-size: 14px; line-height: 1.6; color: var(--muted-light); }

/* --------------------------------------------------------------------------
   13. Comparison table
   -------------------------------------------------------------------------- */
.section-comparison { background: var(--paper-2); }

.table-wrap {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 19px 24px;
}
.compare-table thead th:first-child { border-top-left-radius: 16px; }
.compare-table thead th:last-child { border-top-right-radius: 16px; }
.compare-table thead .col-cortex { color: var(--gold); }

.compare-table tbody th,
.compare-table tbody td {
  padding: 16px 24px;
  border-top: 1px solid var(--line-light);
  vertical-align: middle;
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
  width: 24%;
}
.compare-table tbody td { color: var(--muted-dark); }
.compare-table .col-cortex {
  background: rgba(233, 180, 76, 0.07);
  color: var(--text-dark);
  font-weight: 500;
}
.compare-table tbody tr { transition: background-color 0.2s ease; }
.compare-table tbody tr:hover { background: var(--paper-2); }
.compare-table tbody tr:hover .col-cortex { background: rgba(233, 180, 76, 0.12); }

.compare-table .icon { width: 17px; height: 17px; margin-right: 10px; transform: translateY(-1px); }
.compare-table .yes { color: var(--teal-ink); }
.compare-table .no { color: #a5b1c6; }

/* --------------------------------------------------------------------------
   14. Roadmap timeline
   -------------------------------------------------------------------------- */
.section-roadmap { background: var(--white); }

.timeline {
  position: relative;
  margin-top: clamp(36px, 4.5vw, 52px);
  padding-left: 46px;
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(62, 201, 167, 0.55) 55%, rgba(20, 36, 61, 0.14) 100%);
  border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -45px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
}
.timeline-now .timeline-dot { background: var(--gold); }
.timeline-now .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(233, 180, 76, 0.5);
  animation: ringExpand 2s ease-out infinite;
}

.timeline-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 22px 26px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.timeline-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(217, 154, 43, 0.4);
}

.timeline-phase {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-top: 6px;
}
.timeline-card p { margin-top: 7px; font-size: 14.5px; color: var(--muted-dark); line-height: 1.6; }

.timeline-chip {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.chip-now { background: var(--gold); color: var(--ink); font-weight: 500; }
.chip-next { border: 1px solid rgba(15, 157, 127, 0.5); color: var(--teal-ink); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.section-faq { background: var(--paper); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover { border-color: rgba(217, 154, 43, 0.4); }
.faq-item.is-open { border-color: rgba(217, 154, 43, 0.5); box-shadow: var(--shadow-card); }

.faq-item h3 { margin: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 19px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--gold-ink); }
.faq-chevron { width: 17px; height: 17px; color: var(--muted-dark); transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease; }
.faq-q[aria-expanded="true"] { color: var(--gold-ink); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--gold-strong); }

.faq-a { overflow: hidden; transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   16. Waitlist & forms
   -------------------------------------------------------------------------- */
.section-waitlist {
  background: var(--ink);
  color: var(--text-light);
  position: relative;
  overflow: clip;
}
.section-waitlist::before {
  content: "";
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(233, 180, 76, 0.13), transparent 68%);
  pointer-events: none;
}
.section-waitlist::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 239, 249, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 239, 249, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 10%, transparent 75%);
  pointer-events: none;
}

.waitlist-wrap { position: relative; max-width: 900px; }
.waitlist-head { text-align: center; }
.waitlist-head .section-title { color: #f4f8fe; }
.waitlist-head .section-lede { color: var(--muted-light); }

.waitlist-card {
  margin-top: clamp(36px, 4.5vw, 50px);
  background: linear-gradient(165deg, #12213a, var(--ink-3) 55%);
  border: 1px solid rgba(148, 166, 199, 0.22);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field label,
.field legend {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c6d3e8;
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  background: var(--ink-4);
  border: 1px solid rgba(148, 166, 199, 0.24);
  border-radius: 10px;
  padding: 13px 14px;
  color: #eef3fb;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: #5f7396; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.18);
}
.field input.invalid,
.field select.invalid { border-color: var(--danger); }
.field input.invalid:focus,
.field select.invalid:focus { box-shadow: 0 0 0 3px rgba(255, 143, 143, 0.16); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e9b44c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field select:invalid { color: #5f7396; }
.field select option { color: #eef3fb; background: var(--ink-3); }

.field-error {
  min-height: 0;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--danger);
}
.field-error:not(:empty) { min-height: 18px; }

.field-checks { margin-top: 24px; }
.field-checks legend {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(148, 166, 199, 0.26);
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  color: #c6d3e8;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.check input { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.check:hover { border-color: rgba(233, 180, 76, 0.55); }
.check:has(input:checked) {
  border-color: var(--gold);
  background: rgba(233, 180, 76, 0.1);
  color: #f4f8fe;
}

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

.form-banner {
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  background: rgba(255, 143, 143, 0.12);
  border: 1px solid rgba(255, 143, 143, 0.5);
  color: #ffb9b9;
}

.waitlist-form .btn-block { margin-top: 26px; }
.form-note {
  margin-top: 15px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7f93b5;
}

/* Success state */
.waitlist-success { text-align: center; padding: 34px 10px; }
.success-check { width: 86px; height: 86px; margin: 0 auto; }
.success-circle {
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  animation: drawCircle 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.success-tick {
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: drawTick 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.65s forwards;
}
.waitlist-success h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #f4f8fe;
  margin-top: 22px;
}
.waitlist-success p { margin-top: 10px; color: var(--muted-light); font-size: 15px; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.section-contact { background: var(--white); }

.contact-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-cell {
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper-2);
}
.contact-cell + .contact-cell { border-left: 1px solid var(--line-light); }

.contact-cell-main {
  background: var(--ink);
  color: var(--text-light);
}
.contact-cell-main p { color: var(--muted-light); }

.contact-cell > .icon {
  width: 20px;
  height: 20px;
  padding: 11px;
  box-sizing: content-box;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--line-light);
  color: var(--gold-ink);
  margin-bottom: 18px;
}
.contact-cell-main > .icon {
  background: var(--ink-3);
  border-color: var(--line-dark);
  color: var(--gold);
}

.contact-cell h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-cell-main h3 { color: #f4f8fe; }
.contact-cell p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted-dark); }
.contact-cell .btn,
.contact-cell .text-link { margin-top: 20px; }

.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }
.contact-links .text-link { margin-top: 0; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--night);
  color: var(--text-light);
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding: clamp(48px, 6vw, 68px) 0 46px;
}

.footer-tagline {
  margin: 14px 0 24px;
  font-size: 14.5px;
  color: var(--muted-light);
  max-width: 270px;
  line-height: 1.6;
}

.newsletter-row { display: flex; gap: 10px; }
.newsletter-row input {
  flex: 1;
  min-width: 0;
  background: var(--ink-3);
  border: 1px solid rgba(148, 166, 199, 0.24);
  border-radius: 10px;
  padding: 11px 14px;
  color: #eef3fb;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-row input::placeholder { color: #5f7396; }
.newsletter-row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.16);
}
.newsletter-row input.invalid { border-color: var(--danger); }
.newsletter-form .field-error { color: var(--danger); }
.newsletter-ok {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--teal);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7f93b5;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 14.5px;
  color: #b9c7de;
  transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col a:hover { color: var(--gold); padding-left: 5px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 166, 199, 0.12);
  font-size: 13px;
  color: #7f93b5;
}
.footer-built { font-family: var(--font-mono); font-size: 12px; }

/* --------------------------------------------------------------------------
   19. Keyframes
   -------------------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes blink { 50% { opacity: 0; } }

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.55); opacity: 0.55; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
.hero-constellation .n { transform-box: fill-box; transform-origin: center; }

@keyframes dashFlow { to { stroke-dashoffset: -200; } }

@keyframes glowDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-36px, 30px); }
}

@keyframes floaty {
  from { transform: translateY(-5px); }
  to { transform: translateY(7px); }
}

@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 180, 76, 0.55); }
  100% { box-shadow: 0 0 0 9px rgba(233, 180, 76, 0); }
}

@keyframes ringExpand {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes travel {
  0% { top: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { top: calc(100% - 7px); opacity: 0; }
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawTick { to { stroke-dashoffset: 0; } }

@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes panelDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-art { max-width: 620px; margin-inline: auto; width: 100%; }
  .console { transform: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }

  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .problem-intro { position: static; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-search { grid-column: span 2; grid-row: auto; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .arch-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 48px; }

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

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-cta .btn { flex: 1; }

  .float-chip-a { top: -16px; right: 6px; }
  .float-chip-b { bottom: -14px; left: 6px; }

  .tile-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .contact-strip { grid-template-columns: 1fr; }
  .contact-cell + .contact-cell { border-left: 0; border-top: 1px solid var(--line-light); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .stat { padding-left: 16px; }

  .bento { grid-template-columns: 1fr; }
  .bento-search, .bento-wide { grid-column: auto; }

  .feature-grid { grid-template-columns: 1fr; }

  .problem-row { grid-template-columns: 44px 1fr; gap: 14px; }

  .checks { flex-direction: column; }
  .check { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .sparkline polyline { stroke-dashoffset: 0; }
  .success-circle, .success-tick { stroke-dashoffset: 0; }
  .mini-bar { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   22. Inner pages (privacy, terms, security, docs, careers)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  padding: calc(var(--header-h) + clamp(56px, 9vh, 96px)) 0 clamp(52px, 6vw, 76px);
  overflow: clip;
}
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #f4f8fe;
  margin-top: 20px;
}
.page-hero .section-lede { color: var(--muted-light); }
.page-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #7f93b5;
}
.page-meta a { color: var(--gold); border-bottom: 1px solid rgba(233, 180, 76, 0.4); }
.page-meta a:hover { color: var(--gold-strong); }

.page-body { padding-block: clamp(56px, 7vw, 88px); }
.prose { max-width: 760px; margin-inline: auto; }
.prose-wide { max-width: 980px; margin-inline: auto; }

/* TL;DR cards */
.tldr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 60px;
}
.tldr-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.tldr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 154, 43, 0.4);
}
.tldr-card > .icon {
  width: 19px;
  height: 19px;
  padding: 10px;
  box-sizing: content-box;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  margin-bottom: 14px;
}
.tldr-card h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.tldr-card p { margin-top: 7px; font-size: 14px; line-height: 1.62; color: var(--muted-dark); }

/* Numbered legal blocks */
.legal-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--line-light);
}
.legal-block:first-of-type { border-top: 0; padding-top: 0; }
.legal-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-ink);
  padding-top: 5px;
}
.legal-block h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.legal-block p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--muted-dark); }
.legal-block ul { margin-top: 12px; display: grid; gap: 9px; }
.legal-block ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-dark);
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.legal-block a { color: var(--gold-ink); font-weight: 500; border-bottom: 1px solid rgba(168, 114, 26, 0.35); }
.legal-block a:hover { color: var(--gold-strong); }
.legal-block strong { color: var(--text-dark); font-weight: 600; }

/* Generic info tables */
.info-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.info-table thead th {
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
}
.info-table thead th:first-child { border-top-left-radius: 16px; }
.info-table thead th:last-child { border-top-right-radius: 16px; }
.info-table tbody th,
.info-table tbody td {
  padding: 14px 20px;
  border-top: 1px solid var(--line-light);
  text-align: left;
  vertical-align: top;
}
.info-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.info-table tbody td { color: var(--muted-dark); line-height: 1.6; }
.info-table tbody tr { transition: background-color 0.2s ease; }
.info-table tbody tr:hover { background: var(--paper-2); }

/* Section intro inside page body */
.page-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 64px 0 10px;
}
.page-section-title:first-child { margin-top: 0; }
.page-section-lede { font-size: 16px; line-height: 1.65; color: var(--muted-dark); max-width: 640px; }

/* Doc & value card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.grid-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 26px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.grid-card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 154, 43, 0.35);
}
.grid-card:hover::before { transform: scaleX(1); }
.grid-card > .icon {
  width: 20px;
  height: 20px;
  padding: 11px;
  box-sizing: content-box;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  margin-bottom: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.grid-card:hover > .icon { background: var(--gold); color: var(--ink); transform: rotate(-8deg); }
.grid-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}
.grid-card p { margin-top: 8px; font-size: 14px; line-height: 1.62; color: var(--muted-dark); }
.grid-card .chip {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.chip-progress { background: var(--gold); color: var(--ink); font-weight: 500; }
.chip-planned { border: 1px solid rgba(15, 157, 127, 0.5); color: var(--teal-ink); }

/* Compliance chips on light page backgrounds */
.page-body .compliance-row { margin-top: 22px; }
.page-body .compliance-row li {
  color: var(--muted-dark);
  border-color: rgba(168, 114, 26, 0.45);
}
.page-body .compliance-row li:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
.page-body a.text-link { margin-top: 0; vertical-align: baseline; }

/* Closing CTA band */
.page-cta {
  background: var(--ink);
  color: var(--text-light);
  text-align: center;
  padding: clamp(56px, 7vw, 84px) 0;
  position: relative;
  overflow: clip;
}
.page-cta::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(233, 180, 76, 0.12), transparent 68%);
  pointer-events: none;
}
.page-cta .container { position: relative; }
.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f8fe;
  max-width: 620px;
  margin: 16px auto 0;
}
.page-cta p {
  margin: 14px auto 0;
  color: var(--muted-light);
  font-size: 16px;
  max-width: 520px;
}
.page-cta .btn { margin-top: 28px; }

@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tldr-grid { grid-template-columns: 1fr; }
  .legal-block { grid-template-columns: 1fr; gap: 6px; }
  .legal-num { padding-top: 0; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
