:root {
  /* ==================================================================
     DESIGN TOKENS

     Every colour, alpha overlay and typeface on the site resolves to a
     token below. Nothing downstream hardcodes a value, so a restyle is a
     change to this block rather than a sweep through four stylesheets.

     The *-rgb tokens exist so translucent variants follow the palette:
     rgba(var(--violet-rgb), 0.18) tracks --violet, a literal does not.
     ================================================================== */

  /* ---------- Palette ---------- */
  --bg: #07070E;
  --surface: #0E0E1A;
  --violet: #8B5CF6;
  --uv: #A78BFA;
  --cyan: #22D3EE;
  --text: #E7E7F2;
  --muted: #8A8AA3;

  /* ---------- RGB triplets, for alpha variants ---------- */
  --bg-rgb: 7, 7, 14;
  --violet-rgb: 139, 92, 246;
  --uv-rgb: 167, 139, 250;
  --cyan-rgb: 34, 211, 238;
  --fill-rgb: 255, 255, 255;
  --shadow-rgb: 0, 0, 0;
  --warn-edge-rgb: 245, 115, 78;
  --warn-rgb: 245, 178, 62;
  --surface-rgb: 14, 14, 26;
  --text-rgb: 231, 231, 242;

  /* ---------- Semantic roles ---------- */
  --line: rgba(var(--violet-rgb), 0.18);
  --accent: var(--violet);
  --accent-deep: #6D28D9;
  --on-accent: #fff;
  --good: #6EE7B7;

  /* Incumbent cost figures. See the design system notes in HANDOFF.md. */
  --cost: #F0A94C;

  /* Form validation and status, distinct from --cost on purpose. */
  --warn: #F5B23E;
  --warn-soft: #F5906E;
  --warn-edge: #F5734E;

  /* ---------- Type ---------- */
  --font-body: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: var(--font-head); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.grad {
  background: linear-gradient(90deg, var(--uv) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(var(--bg-rgb), 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 20px; font-weight: 800; letter-spacing: 0.14em; color: var(--text); text-decoration: none; }
.logo span {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Trademark mark on the wordmark. Aionik is unregistered, so TM is correct
   and R would not be. Kept small and slightly faded so it reads as a legal
   mark rather than as part of the logo, and letter-spacing is zeroed out so
   it does not inherit the logo's 0.14em tracking. Shared by all pages. */
.logo .tm {
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 3px;
  opacity: 0.7;
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--uv); }
.nav-cta {
  color: var(--on-accent) !important; padding: 10px 24px; border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--accent-deep));
  font-weight: 600;
  box-shadow: 0 0 24px rgba(var(--violet-rgb), 0.35);
}
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 22px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 150px 0 100px;
}
/* interactive flow field: filaments, particles, and cell-like rings
   drifting through the hero; the cursor is a disturbance */
#field {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none;
}

.hero-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--uv); border: 1px solid var(--line);
  background: rgba(var(--violet-rgb), 0.08); padding: 8px 18px; border-radius: 999px;
  margin-bottom: 30px;
}
.pill::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

h1 {
  font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 26px;
}
.hero p { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 44px; }

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  text-decoration: none; padding: 16px 36px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all 0.25s; display: inline-block;
}
.btn-primary {
  background: linear-gradient(90deg, var(--violet), var(--accent-deep)); color: var(--on-accent);
  box-shadow: 0 0 32px rgba(var(--violet-rgb), 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(var(--violet-rgb), 0.6); }
.btn-ghost { border: 1px solid rgba(var(--fill-rgb), 0.15); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Hero chip visual ---------- */
.hero-visual { position: relative; }
.chip {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 40px rgba(var(--violet-rgb), 0.15));
}
.chip-caption {
  text-align: center; font-size: 12px; color: var(--muted);
  letter-spacing: 0.08em; margin-top: 14px; text-transform: uppercase;
}

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0; overflow: hidden; white-space: nowrap;
  background: var(--surface);
}
.ticker-track { display: inline-block; animation: scroll 28s linear infinite; }
.ticker span {
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 42px;
}
.ticker b { color: var(--uv); font-weight: 600; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 130px 0; position: relative; }
.kicker {
  font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: 18px;
}
h2 { font-size: clamp(30px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.muted { color: var(--muted); font-size: 17px; }
.muted + .muted { margin-top: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.placeholder {
  border-radius: 16px; min-height: 380px;
  background: linear-gradient(135deg, rgba(var(--violet-rgb), 0.12), rgba(var(--cyan-rgb), 0.08));
  border: 1px dashed rgba(var(--violet-rgb), 0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}

.step-row { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; align-items: center; gap: 16px;
  font-size: 15px; color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; background: rgba(var(--fill-rgb), 0.02);
}
.step-num {
  font-size: 12px; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.15em;
}

/* ---------- Microfluidics section ---------- */
.micro-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.micro-bg { position: absolute; inset: 0; pointer-events: none; }
.micro-bg svg { width: 100%; height: 100%; }
.micro-bg .node { opacity: 0; transition: opacity 0.6s; }
.micro-bg .node.lit { opacity: 1; }
.micro-bg .streams { opacity: 0; transition: opacity 1.4s ease; }
.micro-bg svg.etched .streams { opacity: 1; }
.micro-content { position: relative; z-index: 2; }

.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px;
  align-items: stretch; margin-top: 56px;
}
.compare-col {
  border-radius: 16px; padding: 36px 32px;
}
.compare-col h3 { font-size: 18px; margin-bottom: 18px; }
.compare-col ul { list-style: none; }
.compare-col li {
  font-size: 15px; padding: 9px 0; color: var(--muted);
  border-bottom: 1px solid rgba(var(--fill-rgb), 0.05);
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.old {
  background: rgba(var(--fill-rgb), 0.02);
  border: 1px solid rgba(var(--fill-rgb), 0.07);
}
.compare-col.old h3 { color: var(--muted); }
.compare-col.new {
  background: linear-gradient(160deg, rgba(var(--violet-rgb), 0.1), rgba(var(--cyan-rgb), 0.05));
  border: 1px solid var(--violet);
  box-shadow: 0 0 40px rgba(var(--violet-rgb), 0.12);
}
.compare-col.new h3 { color: var(--uv); }
.compare-col.new li { color: var(--text); }
.compare-arrow {
  display: flex; align-items: center; font-size: 28px; color: var(--cyan);
}

/* ---------- Why section ---------- */
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.glass {
  background: rgba(var(--fill-rgb), 0.03); border: 1px solid rgba(var(--fill-rgb), 0.08);
  border-radius: 16px; padding: 38px 30px; backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.glass:hover {
  border-color: var(--violet); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(var(--violet-rgb), 0.15);
}
.glass .num { font-size: 13px; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 18px; display: block; }
.glass h3 { font-size: 20px; margin-bottom: 12px; }
.glass p { font-size: 15px; color: var(--muted); }

/* ---------- Team ---------- */
.team-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px; margin-top: 60px;
}
.team-card {
  flex: 0 1 350px;
  background: rgba(var(--fill-rgb), 0.03); border: 1px solid rgba(var(--fill-rgb), 0.08);
  border-radius: 16px; padding: 38px 30px; text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.team-card:hover {
  border-color: var(--violet); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(var(--violet-rgb), 0.15);
}
.avatar { width: 104px; margin: 0 auto 24px; }
.avatar svg { width: 100%; height: auto; display: block; }
.team-card h3 { font-size: 19px; margin-bottom: 4px; }
.team-card .role {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: 16px;
}
.team-card p { font-size: 14px; color: var(--muted); }
.team-link {
  display: inline-block; margin-top: 14px;
  font-size: 13px; color: var(--uv); text-decoration: none;
  border-bottom: 1px solid rgba(var(--violet-rgb), 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.team-link:hover { color: var(--cyan); border-color: var(--cyan); }
.team-note {
  text-align: center; font-size: 12px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 36px;
}

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-band .inner {
  border: 1px solid var(--line); border-radius: 24px; padding: 90px 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--violet-rgb), 0.14), transparent 65%);
}
.cta-band h2 { font-size: clamp(32px, 4vw, 44px); }
.cta-note { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 13px; color: var(--muted); }

/* ---------- Liquid light on cards ---------- */
/* two lobes of light glide after the cursor with liquid inertia:
   a bright violet lead and a deeper cyan trail */
.sheen {
  --mx: 50%; --my: 50%; --mx2: 50%; --my2: 50%;
  position: relative; overflow: hidden;
}
.sheen::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(190px circle at var(--mx) var(--my),
              rgba(var(--uv-rgb), 0.16), rgba(var(--violet-rgb), 0.06) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.8s;
}
.sheen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx2) var(--my2),
              rgba(var(--cyan-rgb), 0.10), rgba(var(--cyan-rgb), 0.03) 50%, transparent 75%);
  opacity: 0; transition: opacity 1.1s;
}
.sheen:hover::before, .sheen:hover::after { opacity: 1; }
.sheen > * { position: relative; z-index: 1; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 50px; }
  .hero { min-height: auto; }
}
@media (max-width: 860px) {
  .split, .glass-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); justify-content: center; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(var(--bg-rgb), 0.97);
    padding: 24px 32px; gap: 20px; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
}

/* ---------- Cookie consent bar ----------
   Injected by js/investors.js on first visit only, so there is no markup for
   it in any page. Shared by index.html and pdms.html. */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(var(--surface-rgb), 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(var(--shadow-rgb), 0.55);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.consent.in { opacity: 1; transform: none; }
.consent p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.consent-btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent button {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; transition: all 0.25s;
}
.consent-no { background: none; color: var(--muted); border: 1px solid rgba(var(--fill-rgb), 0.15); }
.consent-no:hover { color: var(--text); border-color: rgba(var(--fill-rgb), 0.35); }
.consent-yes {
  border: 0; color: var(--on-accent);
  background: linear-gradient(90deg, var(--violet), var(--accent-deep));
}
.consent-yes:hover { box-shadow: 0 0 24px rgba(var(--violet-rgb), 0.5); }

@media (max-width: 620px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-btns { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; }
}
