:root {
  --bg: #020617;
  --text: #e2e8f0;
  --muted: #94a3b8;
  /* AA contrast on #020617 (≥4.5:1) — former #64748b failed Lighthouse */
  --muted-2: #8b9cb3;
  --white: #ffffff;
  --blue: #3b82f6;
  --blue-600: #2563eb;
  --blue-300: #93c5fd;
  --purple: #7c3aed;
  --purple-text: #a78bfa;
  --purple-300: #c4b5fd;
  --green: #4ade80;
  --red: #f87171;
  --card: rgba(15, 23, 42, 0.4);
  --card-hover: rgba(15, 23, 42, 0.6);
  --border: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.1);
  --radius: 24px;
  --radius-lg: 32px;
  /* System stack — no webfont CLS / third-party font CDN */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --focus: #93c5fd;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 0.75rem;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

/* Blur stays on ::before (static); only opacity/transform animate → composited */
.ambient .blob {
  position: absolute;
  border-radius: 9999px;
  background: transparent;
}

.ambient .blob::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blob-color, rgba(37, 99, 235, 0.2));
  filter: blur(120px);
  transform: translateZ(0);
}

.ambient .blob-a {
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  --blob-color: rgba(37, 99, 235, 0.2);
}

.ambient .blob-b {
  bottom: 10%;
  right: -5%;
  width: 35%;
  height: 35%;
  --blob-color: rgba(124, 58, 237, 0.1);
}

.ambient .blob-c {
  top: 20%;
  right: 10%;
  width: 25%;
  height: 25%;
  --blob-color: rgba(96, 165, 250, 0.1);
}

.ambient .blob-c::before {
  filter: blur(80px);
}

.ambient.purple .blob-a {
  --blob-color: rgba(124, 58, 237, 0.1);
}

.ambient.purple .blob-b {
  --blob-color: rgba(37, 99, 235, 0.1);
}

.page,
main.page {
  position: relative;
  z-index: 1;
  display: block;
}

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.badge span,
.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  margin-bottom: 2rem;
}

.tag.purple {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: #c084fc;
}

.hero {
  text-align: center;
  padding: 8rem 1.5rem 6rem;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 2rem;
}

.hero-logo img {
  height: 7rem;
  width: auto;
}

@media (min-width: 768px) {
  .hero-logo img {
    height: 9rem;
  }
}

h1,
.h1 {
  margin: 0 0 2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-size: clamp(2.75rem, 8vw, 6rem);
}

h1 .reg {
  color: var(--blue);
  font-weight: 500;
  font-style: italic;
  font-size: 0.35em;
  margin-left: 0.15em;
  vertical-align: super;
}

h2,
.h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.875rem, 4vw, 3rem);
}

h3,
.h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4,
.h4 {
  margin: 0 0 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

.lead .hl {
  color: #e2e8f0;
}

.muted {
  color: var(--muted);
}

.muted-2 {
  color: var(--muted-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 4rem;
  padding: 0 2.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.6);
}

.btn-ghost {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  backdrop-filter: blur(24px);
}

.btn-ghost:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.btn-link {
  background: none;
  border: none;
  color: #93c5fd;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  min-height: 2.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.btn-link:hover {
  color: #c084fc;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.section {
  padding: 6rem 1.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

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

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(40px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(59, 130, 246, 0.3);
}

.card.purple:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card.purple:hover .icon-box {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(124, 58, 237, 0.3);
}

.card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.tech-panel {
  padding: 2rem;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(48px);
  box-shadow: 0 0 100px rgba(37, 99, 235, 0.15);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--blue-300);
}

.tech-panel .comment {
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.tech-panel .indent {
  padding-left: 1rem;
}

.tech-panel .indent-2 {
  padding-left: 2rem;
}

.tech-panel .purple {
  color: #c084fc;
}

.tech-panel .dim {
  color: var(--muted-2);
}

.tech-panel .quote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted-2);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  text-align: left;
}

@media (min-width: 768px) {
  .check-list {
    grid-template-columns: 1fr 1fr;
  }
}

.check-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
}

.band {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-wrap {
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.05));
}

.form-shell {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.form-shell.wide {
  max-width: 56rem;
}

.form-glow {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-lg);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

.form-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), #06b6d4);
  filter: blur(12px);
  transform: translateZ(0);
}

.form-shell.purple .form-glow::before {
  background: linear-gradient(90deg, var(--purple), #6366f1);
}


.form-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(48px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .form-card {
    padding: 3rem;
  }
}

.form-shell.purple .form-card {
  background: rgba(15, 23, 42, 0.6);
}

.form-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 1.5rem;
}

.form-shell.purple .form-icon {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: #c084fc;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 0 1rem;
  height: 3.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  height: auto;
  min-height: 7rem;
  padding: 1rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(226, 232, 240, 0.7);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form-shell.purple .field input:focus,
.form-shell.purple .field textarea:focus,
.form-shell.purple .field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%),
    linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select option {
  background: #0f172a;
  color: #fff;
}

.form-error {
  display: none;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.9rem;
  text-align: center;
}

.form-error.show {
  display: block;
}

.success {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.success.show {
  display: block;
}

.form-fields.hide {
  display: none;
}

.success-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #60a5fa;
}

.form-shell.purple .success-icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.site-footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.35rem;
}

.footer-links a:hover {
  color: #c084fc;
}

.site-footer .copy {
  color: var(--muted-2);
  font-size: 0.875rem;
  margin: 0;
}

/* Investors page */
.investor-hero {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: #93c5fd;
  margin-bottom: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--white);
}

.investor-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .investor-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.author-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(48px);
  border-radius: 1.5rem;
  padding: 2rem;
  min-width: 20rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.author-card .label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.author-card .name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.25rem;
}

.author-card .role {
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 500;
}

.role-pill {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #c084fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.htdml-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(37, 99, 235, 0.1));
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  padding: 2.5rem;
  backdrop-filter: blur(48px);
  position: relative;
  overflow: hidden;
}

.htdml-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.htdml-card li {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.htdml-card li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.htdml-card .step-id {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(168, 85, 247, 0.5);
  text-transform: uppercase;
  width: 3rem;
  margin-top: 0.2rem;
}

.stats-panel {
  background: linear-gradient(135deg, #0f172a, #020617);
  border: 1px solid var(--border);
  border-radius: 48px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.stats-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.5), rgba(168, 85, 247, 0.5), rgba(59, 130, 246, 0.5));
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

.stats-grid .label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.stats-grid .value {
  color: var(--white);
  font-size: 1.875rem;
  font-weight: 900;
  margin: 0 0 0.25rem;
}

.energy-band {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: clamp(2rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}

.energy-box {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  padding: 2.5rem;
  backdrop-filter: blur(48px);
}

.energy-item {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.energy-item.good {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.energy-item .label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.energy-item .value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.125rem;
}

.energy-item .value.bad {
  color: var(--red);
}

.energy-item .value.good {
  color: var(--green);
}

.roadmap-item {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}

.roadmap-item:hover {
  border-color: var(--border-strong);
}

.roadmap-item .status {
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-left: 0.75rem;
}

.roadmap-item .status.active {
  color: #60a5fa;
}

.code-panel {
  background: #020617;
  border: 1px solid var(--border);
  border-radius: 39px;
  padding: 2.5rem;
  overflow: hidden;
}

.code-panel pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: rgba(216, 180, 254, 0.6);
}

.metric-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-strong);
}

.metric-pills > div {
  padding: 1rem;
  border-radius: 0.75rem;
}

.metric-pills .purple {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.metric-pills .blue {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0 4rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted-2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

td {
  color: #cbd5e1;
}

td .gain {
  display: inline-block;
  background: #52c41a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

td .hl {
  color: #60a5fa;
  font-weight: 700;
}

/* Legal / cookies prose */
.prose-page {
  padding: 7rem 1.5rem 4rem;
}

.prose {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  backdrop-filter: blur(40px);
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #bfdbfe;
}

.underline-accent {
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.5);
  text-underline-offset: 4px;
  font-style: italic;
  font-weight: 500;
  color: var(--white);
}

.footnote {
  text-align: center;
  padding: 5rem 1.5rem 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-32 {
  margin-bottom: 8rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.font-light {
  font-weight: 300;
}

.italic {
  font-style: italic;
}

.text-purple {
  color: #c084fc;
}

.text-white {
  color: var(--white);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* ---- Top navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid var(--border-strong);
}

.nav-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  z-index: 2;
}

.nav-brand img {
  width: 2rem;
  height: 2rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  z-index: 2;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.active {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.lang-switch button:hover {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-right {
    margin-left: auto;
    gap: 0.5rem;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 5.5rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(2, 6, 23, 0.96);
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    font-size: 1.05rem;
  }
}

.page-with-nav .hero,
.page-with-nav .investor-hero,
.page-with-nav .prose-page {
  padding-top: 3rem;
}

.media-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.5);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-spotlight {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .feature-spotlight {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.08);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill.purple {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.1);
  color: #d8b4fe;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(24px);
}

.about-card .label {
  display: block;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.about-card .value {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}

.about-card a {
  color: #60a5fa;
}

.site-footer .company-line {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.site-footer .company-line a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

#main-content:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

body.nav-open {
  overflow: hidden;
}

/* Research page */
.research-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.research-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.55);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.research-toc a:hover {
  color: var(--white);
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.12);
}

.research-thermal {
  scroll-margin-top: 6rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 40px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(2, 6, 23, 0.2));
}

#nc1,
#embodiment,
#lines {
  scroll-margin-top: 6rem;
}

/* Investor pitch deck */
.deck-intro {
  margin-bottom: 2.5rem;
}

.deck-intro h1 {
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.deck-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: var(--muted-2);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.deck-toc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 3rem;
}

@media (max-width: 900px) {
  .deck-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.deck-toc a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.2s, background 0.2s;
}

.deck-toc a:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.1);
}

.deck-toc span {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c084fc;
}

.deck-toc em {
  font-style: normal;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.deck-slide {
  scroll-margin-top: 6rem;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 32px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(24px);
}

.deck-slide.ask {
  border-color: rgba(124, 58, 237, 0.25);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1), rgba(15, 23, 42, 0.35));
}

.deck-slide-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.deck-slide-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.deck-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c084fc;
}

.deck-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.deck-kpi {
  padding: 1.25rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.deck-kpi.tall {
  min-height: 10rem;
}

.deck-kpi .label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deck-kpi strong {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

.deck-kpi span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.deck-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.deck-bullets li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.35);
  color: #cbd5e1;
}

.deck-bullets li::before {
  content: "→";
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: #c084fc;
  font-weight: 700;
}
