/* =====================================================================
   BEAMMEDIC — "Dark-field Bioluminescence" design system
   A bespoke visual language for multi-omics intelligence.
   Author: BeamMedic design studio
   ===================================================================== */

/* ----------------------------- TOKENS ------------------------------ */
:root {
  /* Core surfaces — deep dark-field microscope blacks */
  --void:      #04060b;
  --abyss:     #070a11;
  --deep:      #0a0e17;
  --panel:     #0e131e;
  --panel-2:   #121826;
  --raised:    #161d2c;

  /* Hairlines & strokes (instrument-panel feel) */
  --line:      rgba(126, 168, 190, 0.12);
  --line-2:    rgba(126, 168, 190, 0.20);
  --line-soft: rgba(126, 168, 190, 0.07);

  /* Bioluminescent signal palette */
  --beam:      #21f0c8;   /* primary — bioluminescent aqua */
  --beam-deep: #0bc7a6;
  --cyan:      #46e0ff;
  --pulse:     #8b6cff;   /* violet */
  --coral:     #ff6b9d;   /* magenta-coral accent */
  --amber:     #ffcf6b;
  --lime:      #b6ff5c;

  /* Type */
  --text:      #e9f2f6;
  --text-2:    #aebccb;
  --muted:     #7e90a3;
  --faint:     #566476;

  /* Glows */
  --glow-beam:  0 0 0 1px rgba(33,240,200,.30), 0 0 36px -6px rgba(33,240,200,.55);
  --glow-pulse: 0 0 40px -8px rgba(139,108,255,.6);

  /* Typography families */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------ RESET ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--beam); color: var(--void); }

/* ------------------------- AMBIENT BACKDROP ------------------------ */
/* Living gradient field + dark-field vignette, sits behind everything */
.bg-field {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(33,240,200,.10), transparent 60%),
    radial-gradient(800px 700px at 100% 8%, rgba(139,108,255,.10), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, rgba(70,224,255,.07), transparent 60%),
    var(--void);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
/* Fine film grain for organic texture */
.grain {
  position: fixed; inset: -200%; z-index: 9000; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)}
  40%{transform:translate(3%,-2%)} 60%{transform:translate(-2%,4%)}
  80%{transform:translate(4%,-3%)}
}

/* ----------------------------- CURSOR ------------------------------ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--beam); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(33,240,200,.55);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
.cursor-ring.is-active {
  width: 56px; height: 56px; background: rgba(33,240,200,.10); border-color: var(--beam);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* --------------------------- TYPOGRAPHY ---------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--beam);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--beam), transparent);
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px; background: linear-gradient(270deg, var(--beam), transparent);
}

.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--text-2); line-height: 1.55; max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.gradient-text {
  background: linear-gradient(100deg, var(--beam) 0%, var(--cyan) 45%, var(--pulse) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-muted { color: var(--muted); }

/* ----------------------------- LAYOUT ------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section-tight { padding-block: clamp(48px, 7vw, 90px); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 5vw, 56px); margin-top: 22px; }
.section-head p { margin-top: 22px; }

.index-no {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .25em;
  color: var(--muted); text-transform: uppercase;
}

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px; font-weight: 500; font-size: 15px;
  font-family: var(--font-body); letter-spacing: -0.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(100deg, var(--beam), var(--cyan));
  color: #03130f; box-shadow: 0 8px 30px -10px rgba(33,240,200,.65), inset 0 0 0 1px rgba(255,255,255,.15);
  font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 14px 44px -8px rgba(33,240,200,.8), inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-ghost {
  background: rgba(255,255,255,.025); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--beam); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-arrow svg { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow svg, .btn.btn-arrow:hover svg { transform: translateX(4px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--beam);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
}
.link-arrow svg { width: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ------------------------------- NAV ------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 9, 15, .72); backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.04em; }
.brand-name b { color: var(--beam); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 14px; font-size: 14.5px; color: var(--text-2);
  border-radius: 10px; transition: color .25s, background .25s; font-weight: 450;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.04); }
.nav-link.has-menu { display: inline-flex; align-items: center; gap: 6px; }
.nav-link.has-menu svg { width: 12px; opacity: .6; transition: transform .25s; }
.nav-item:hover .nav-link.has-menu svg { transform: rotate(180deg); }

/* mega dropdown */
.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 460px; max-width: 92vw; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,.85);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-menu::before { /* hover bridge */
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.nav-menu-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background .2s; }
.nav-menu-item:hover { background: rgba(33,240,200,.06); }
.nav-menu-ic {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: rgba(33,240,200,.08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--beam);
}
.nav-menu-ic svg { width: 19px; }
.nav-menu-item h5 { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text); }
.nav-menu-item p { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: 10px; z-index: 2; }

/* language switch */
.lang {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 100px;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em;
}
.lang button {
  padding: 6px 11px; border-radius: 100px; color: var(--muted); transition: color .2s, background .2s;
  font-weight: 500;
}
.lang button.active { background: var(--beam); color: var(--void); }

/* mobile */
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-burger span { display: block; width: 18px; height: 1.6px; background: var(--text); margin: 4px auto; transition: .3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(5,8,13,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 26px; padding: 12px 0; color: var(--text-2);
  border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a:hover { color: var(--beam); }
.mobile-menu a span { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.mobile-foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ------------------------------- HERO ------------------------------ */
.hero { position: relative; padding-top: 150px; padding-bottom: 60px; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; }
#helix-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center; flex: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px;
  border-radius: 100px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; color: var(--text-2); margin-bottom: 30px;
}
.hero-tag b { color: var(--beam); font-weight: 500; }
.hero-tag .pill {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; background: rgba(33,240,200,.12); color: var(--beam);
}
.hero h1 { font-size: clamp(44px, 7.2vw, 92px); letter-spacing: -0.045em; text-shadow: 0 2px 40px rgba(4,6,11,.6); }
.hero h1 em { font-style: normal; }
.hero .lede { margin-top: 28px; font-size: clamp(17px, 1.55vw, 20px); text-shadow: 0 2px 24px rgba(4,6,11,.7); }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 44px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-family: var(--font-display); font-size: 26px; color: #fff; letter-spacing: -.03em; }
.hero-meta .m span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* floating instrument panel in hero */
.hero-panel {
  position: relative; border-radius: var(--radius-lg); padding: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), inset 0 0 0 1px var(--line-2);
}
.hero-panel-inner {
  border-radius: 22px; background: linear-gradient(180deg, var(--panel), var(--abyss));
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.panel-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-bar .dot.live { background: var(--beam); box-shadow: 0 0 10px var(--beam); animation: pulse 2s infinite; }
.panel-bar .t { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .05em; }
.panel-bar .t b { color: var(--text-2); font-weight: 500; }
.panel-bar .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--beam); padding: 3px 9px; border-radius: 100px; background: rgba(33,240,200,.1); letter-spacing: .1em; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.panel-body { padding: 18px; }
/* mini coverage / signal chart */
.signal { display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; align-items: end; height: 90px; margin-bottom: 16px; }
.signal i { background: linear-gradient(180deg, var(--beam), rgba(33,240,200,.18)); border-radius: 2px; display: block; height: var(--h,30%); opacity: .85; }
.panel-rows { display: flex; flex-direction: column; gap: 9px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; }
.prow .gene { color: var(--text); }
.prow .meter { height: 6px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
.prow .meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--pulse), var(--cyan)); }
.prow .tag { padding: 2px 8px; border-radius: 6px; font-size: 10.5px; letter-spacing: .04em; }
.tag-path { background: rgba(255,107,157,.14); color: var(--coral); }
.tag-vus  { background: rgba(255,207,107,.14); color: var(--amber); }
.tag-ben  { background: rgba(33,240,200,.12); color: var(--beam); }
.panel-foot { display: flex; gap: 8px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.panel-foot .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--beam); box-shadow: 0 0 8px var(--beam); }

/* hero ticker */
.ticker { position: relative; z-index: 2; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted); padding: 14px 28px; display: inline-flex; align-items: center; gap: 28px; }
.ticker span b { color: var(--text-2); font-weight: 500; }
.ticker span::after { content: "✦"; color: var(--beam); opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------- LOGO STRIP ---------------------------- */
.trust { padding-block: 40px; }
.trust p { text-align: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; opacity: .85; }
.logo-row .lg { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-2); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 9px; transition: color .25s, opacity .25s; opacity: .65; }
.logo-row .lg:hover { color: #fff; opacity: 1; }
.logo-row .lg svg { width: 20px; color: var(--beam); }

/* ---------------------------- BENTO GRID --------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell {
  position: relative; border-radius: var(--radius); padding: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--abyss));
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cell::after { /* spotlight follows cursor via JS var */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(33,240,200,.10), transparent 60%);
}
.cell:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -40px rgba(0,0,0,.9); transform: translateY(-4px); }
.cell:hover::after { opacity: 1; }
.cell-lg { grid-column: span 4; min-height: 340px; }
.cell-sm { grid-column: span 2; min-height: 250px; }
.cell-md { grid-column: span 3; }
.cell-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(33,240,200,.08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--beam); margin-bottom: 20px; }
.cell-ic svg { width: 23px; }
.cell h3 { font-size: 21px; margin-bottom: 10px; }
.cell-lg h3 { font-size: 27px; }
.cell p { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 42ch; }
.cell .index-no { position: absolute; top: 24px; right: 26px; }

/* decorative mini-viz inside cells */
.viz-helix, .viz-heat, .viz-beam { position: absolute; pointer-events: none; }
.viz-heat { right: -10px; bottom: -10px; display: grid; grid-template-columns: repeat(8,12px); gap: 4px; opacity: .8; }
.viz-heat i { width: 12px; height: 12px; border-radius: 3px; }
.cell-beam-sweep::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; left: -120px;
  background: linear-gradient(90deg, transparent, rgba(33,240,200,.14), transparent);
  animation: sweep 4.5s var(--ease) infinite;
}
@keyframes sweep { 0%{left:-120px} 60%,100%{left:120%} }

/* --------------------------- PLATFORM TABS ------------------------- */
.tabs { display: grid; grid-template-columns: 320px 1fr; gap: 32px; }
.tab-list { display: flex; flex-direction: column; gap: 6px; }
.tab-btn {
  text-align: left; padding: 18px 20px; border-radius: 14px; transition: background .25s, box-shadow .25s;
  display: flex; gap: 14px; align-items: flex-start; box-shadow: inset 0 0 0 1px transparent;
}
.tab-btn:hover { background: rgba(255,255,255,.03); }
.tab-btn.active { background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab-btn .n { font-family: var(--font-mono); font-size: 12px; color: var(--beam); padding-top: 3px; }
.tab-btn h4 { font-size: 17px; font-family: var(--font-body); font-weight: 600; }
.tab-btn p { font-size: 13px; color: var(--muted); margin-top: 3px; display: none; }
.tab-btn.active p { display: block; }
.tab-panel-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, var(--panel), var(--abyss)); min-height: 460px; }
.tab-panel { display: none; padding: 32px; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----------------------------- STATS ------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.stat { background: var(--abyss); padding: 36px 28px; }
.stat b { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; display: block; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted); margin-top: 12px; display: block; text-transform: uppercase; }
.stat small { color: var(--text-2); font-size: 13.5px; display: block; margin-top: 10px; font-family: var(--font-body); letter-spacing: 0; text-transform: none; line-height: 1.4; }

/* ---------------------------- WORKFLOW ----------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-step { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line); }
.flow-step .n { font-family: var(--font-mono); font-size: 13px; color: var(--beam); letter-spacing: .1em; }
.flow-step h4 { font-size: 19px; margin: 14px 0 8px; font-family: var(--font-body); font-weight: 600; }
.flow-step p { font-size: 13.5px; color: var(--muted); }
.flow-step .arrow { position: absolute; top: 34px; right: -10px; color: var(--line-2); z-index: 2; }

/* ---------------------------- PRICING ------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan.featured { box-shadow: inset 0 0 0 1px rgba(33,240,200,.4), 0 30px 70px -40px rgba(33,240,200,.4); background: linear-gradient(180deg, rgba(33,240,200,.05), var(--abyss)); }
.plan .flag { position: absolute; top: -1px; right: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; background: var(--beam); color: var(--void); padding: 5px 12px; border-radius: 0 0 8px 8px; }
.plan h3 { font-size: 20px; font-family: var(--font-body); font-weight: 600; }
.plan .who { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 38px; }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--font-display); font-size: 44px; letter-spacing: -.04em; }
.plan .price span { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.plan .btn { width: 100%; justify-content: center; margin: 22px 0; }
.plan ul { display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 13.5px; color: var(--text-2); align-items: flex-start; }
.plan li svg { width: 16px; flex: none; color: var(--beam); margin-top: 2px; }
.plan li.off { color: var(--faint); }
.plan li.off svg { color: var(--faint); }

.toggle-bill { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); margin-top: 22px; }
.switch { width: 50px; height: 28px; border-radius: 100px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: background .3s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--beam); transition: transform .3s var(--ease); box-shadow: 0 0 12px rgba(33,240,200,.6); }
.switch.on { background: rgba(33,240,200,.18); }
.switch.on i { transform: translateX(22px); }
.save-pill { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--beam); background: rgba(33,240,200,.1); padding: 4px 9px; border-radius: 100px; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 14px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--text); font-weight: 500; }
.compare td { color: var(--text-2); }
.compare td:first-child { color: var(--muted); }
.compare tr:hover td { background: rgba(255,255,255,.015); }
.compare .yes { color: var(--beam); }
.compare .no { color: var(--faint); }

/* ------------------------ SAMPLE GENERATOR ------------------------- */
.gen-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.gen-control {
  border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 100px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-2);
}
.gen-control h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.gen-control .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 20px; }
.field > label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.seg { display: grid; gap: 8px; }
.seg.col2 { grid-template-columns: 1fr 1fr; }
.chip {
  padding: 13px 14px; border-radius: 12px; text-align: left; font-size: 13.5px; color: var(--text-2);
  background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; line-height: 1.3;
}
.chip small { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; }
.chip.active { background: rgba(33,240,200,.08); box-shadow: inset 0 0 0 1px var(--beam); color: #fff; }
.chip.active small { color: var(--beam); }
.range-row { display: flex; align-items: center; gap: 14px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--beam); cursor: pointer; box-shadow: 0 0 12px rgba(33,240,200,.6); border: 2px solid var(--void); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--beam); cursor: pointer; border: 2px solid var(--void); }
.range-val { font-family: var(--font-mono); font-size: 14px; color: var(--beam); min-width: 56px; text-align: right; }
.gen-btn { width: 100%; justify-content: center; }

.gen-output { border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, var(--panel), var(--abyss)); min-height: 620px; position: relative; }
.gen-empty { display: grid; place-items: center; min-height: 620px; text-align: center; padding: 40px; }
.gen-empty .ic { width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; background: rgba(33,240,200,.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--beam); margin: 0 auto 22px; }
.gen-empty .ic svg { width: 38px; }
.gen-empty h4 { font-size: 22px; margin-bottom: 8px; }
.gen-empty p { color: var(--muted); max-width: 40ch; margin: 0 auto; font-size: 14px; }

/* scanning state */
.gen-scan { display: none; place-items: center; min-height: 620px; text-align: center; }
.gen-scan.show { display: grid; }
.scanner { width: 240px; height: 240px; position: relative; margin-bottom: 28px; }
.scanner .ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.scanner .ring:nth-child(2) { inset: 30px; box-shadow: inset 0 0 0 1px rgba(33,240,200,.18); }
.scanner .ring:nth-child(3) { inset: 60px; box-shadow: inset 0 0 0 1px rgba(33,240,200,.28); }
.scanner .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, rgba(33,240,200,.55) 340deg, transparent 360deg); animation: spin 1.4s linear infinite; -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%); }
.scanner .core { position: absolute; inset: 88px; border-radius: 50%; background: radial-gradient(circle, var(--beam), transparent 70%); animation: pulse 1.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-scan .status { font-family: var(--font-mono); font-size: 13px; color: var(--beam); letter-spacing: .05em; min-height: 20px; }
.gen-scan .bar { width: 280px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); margin: 18px auto 0; overflow: hidden; }
.gen-scan .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--beam), var(--cyan)); transition: width .3s; }

/* result */
.gen-result { display: none; }
.gen-result.show { display: block; animation: fadeUp .6s var(--ease); }
.report-head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.report-head .rid { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.report-head h3 { font-size: 20px; font-family: var(--font-body); font-weight: 600; }
.report-head .stamp { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--beam); padding: 6px 12px; border-radius: 100px; background: rgba(33,240,200,.1); }
.report-grid { padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { font-family: var(--font-display); font-size: 30px; letter-spacing: -.03em; display: block; }
.kpi span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.report-section { padding: 0 26px 26px; }
.report-section h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.report-section h4::before { content: ""; width: 18px; height: 1px; background: var(--beam); }

/* variant table */
.vtable { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12.5px; }
.vtable th { text-align: left; padding: 10px 12px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); letter-spacing: .04em; font-size: 11px; text-transform: uppercase; }
.vtable td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); }
.vtable tr:hover td { background: rgba(33,240,200,.03); }
.vtable .gene { color: var(--text); font-weight: 500; }

/* coverage plot */
.cov { display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; align-items: end; height: 120px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.015); box-shadow: inset 0 0 0 1px var(--line); }
.cov i { display: block; background: linear-gradient(180deg, var(--cyan), rgba(70,224,255,.12)); border-radius: 1px; }

/* donut */
.donut-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.donut { width: 180px; height: 180px; position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .center b { font-family: var(--font-display); font-size: 30px; }
.donut .center span { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.legend { display: flex; flex-direction: column; gap: 12px; }
.legend .li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend .li b { margin-left: auto; font-family: var(--font-mono); font-size: 13px; }

.report-foot { padding: 18px 26px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.report-foot .note { font-size: 11.5px; color: var(--faint); max-width: 52ch; line-height: 1.5; }

/* --------------------------- CASE STUDIES -------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 32px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -50px #000; }
.case-card .glow { position: absolute; top: -40%; right: -20%; width: 360px; height: 360px; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.case-card .cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--beam); position: relative; z-index: 2; }
.case-card h3 { font-size: 26px; margin: 14px 0; position: relative; z-index: 2; max-width: 22ch; }
.case-card p { color: var(--text-2); font-size: 14px; position: relative; z-index: 2; max-width: 44ch; }
.case-card .metrics { display: flex; gap: 26px; margin: 22px 0; position: relative; z-index: 2; }
.case-card .metrics b { font-family: var(--font-display); font-size: 30px; display: block; letter-spacing: -.03em; }
.case-card .metrics span { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.case-card .link-arrow { position: relative; z-index: 2; margin-top: 4px; }

/* case article */
.article { display: grid; grid-template-columns: 1fr; gap: 0; }
.article-hero { padding-top: 140px; padding-bottom: 50px; }
.article-hero .cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--beam); }
.article-hero h1 { font-size: clamp(34px, 5.5vw, 64px); margin: 22px 0; max-width: 20ch; }
.article-hero .lede { font-size: clamp(17px, 1.6vw, 21px); }
.article-meta { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-meta .m span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: block; }
.article-meta .m b { font-weight: 500; color: var(--text); font-size: 15px; margin-top: 4px; display: block; }

.article-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin: 10px 0 50px; }
.article-stats .s { background: var(--abyss); padding: 34px 26px; text-align: center; }
.article-stats .s b { font-family: var(--font-display); font-size: clamp(34px,5vw,52px); letter-spacing: -.04em; display: block; }
.article-stats .s span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 10px; display: block; }

.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 48px 0 18px; }
.prose h3 { font-size: 21px; margin: 34px 0 12px; }
.prose p { color: var(--text-2); margin-bottom: 18px; font-size: 16.5px; line-height: 1.75; }
.prose ul.bullets { margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.prose ul.bullets li { display: flex; gap: 12px; color: var(--text-2); line-height: 1.6; }
.prose ul.bullets li svg { width: 18px; flex: none; color: var(--beam); margin-top: 4px; }
.pullquote { margin: 40px 0; padding: 30px 34px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(33,240,200,.06), rgba(139,108,255,.05)); box-shadow: inset 0 0 0 1px var(--line-2); }
.pullquote p { font-family: var(--font-display); font-size: clamp(20px,2.6vw,26px); line-height: 1.35; color: var(--text); letter-spacing: -.02em; }
.pullquote .by { font-family: var(--font-mono); font-size: 12px; color: var(--beam); margin-top: 18px; }

/* ----------------------------- ABOUT ------------------------------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.value { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line); }
.value .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(33,240,200,.08); color: var(--beam); margin-bottom: 18px; }
.value .ic svg { width: 22px; }
.value h3 { font-size: 19px; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--beam), var(--pulse)); }
.tl { position: relative; padding-bottom: 36px; }
.tl::before { content: ""; position: absolute; left: -28px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--beam); box-shadow: 0 0 0 4px rgba(33,240,200,.12); }
.tl .yr { font-family: var(--font-mono); font-size: 13px; color: var(--beam); letter-spacing: .08em; }
.tl h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; margin: 6px 0 6px; }
.tl p { color: var(--muted); font-size: 14px; max-width: 56ch; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.member { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.member .av { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; color: var(--void); font-weight: 600; }
.member h4 { font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.member span { font-family: var(--font-mono); font-size: 11.5px; color: var(--beam); }
.member p { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ----------------------------- CONTACT ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 16px; }
.info-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(33,240,200,.08); color: var(--beam); margin-bottom: 16px; }
.info-card .ic svg { width: 21px; }
.info-card h4 { font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.info-card p, .info-card address { color: var(--text-2); font-size: 14.5px; font-style: normal; line-height: 1.7; }
.info-card a { color: var(--beam); }

.form { padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 9px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-family: var(--font-body); font-size: 14.5px;
  transition: box-shadow .2s; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: inset 0 0 0 1px var(--beam); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-success { display: none; padding: 30px; text-align: center; }
.form-success.show { display: block; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(33,240,200,.1); color: var(--beam); display: grid; place-items: center; margin: 0 auto 18px; }

/* --------------------------- LEGAL PAGES --------------------------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.legal-nav { position: sticky; top: 100px; }
.legal-nav h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-nav a { display: block; padding: 8px 0; font-size: 13.5px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 16px; margin-left: -1px; transition: .2s; }
.legal-nav a:hover, .legal-nav a.active { color: var(--beam); border-left-color: var(--beam); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 24px; margin: 44px 0 16px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 26px 0 10px; font-family: var(--font-body); font-weight: 600; }
.legal-body p { color: var(--text-2); margin-bottom: 16px; line-height: 1.75; font-size: 15.5px; }
.legal-body ul { margin: 0 0 18px 4px; display: flex; flex-direction: column; gap: 10px; }
.legal-body ul li { display: flex; gap: 12px; color: var(--text-2); line-height: 1.6; font-size: 15px; }
.legal-body ul li::before { content: "—"; color: var(--beam); flex: none; }
.legal-update { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 30px; }

/* ------------------------------- CTA ------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 90px); text-align: center; background: linear-gradient(135deg, rgba(33,240,200,.08), rgba(139,108,255,.06)); box-shadow: inset 0 0 0 1px var(--line-2); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(33,240,200,.18), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(32px, 5vw, 58px); position: relative; }
.cta-band p { max-width: 50ch; margin: 22px auto 0; color: var(--text-2); position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ------------------------------ FOOTER ----------------------------- */
.footer { position: relative; border-top: 1px solid var(--line); padding-block: 64px 36px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin-bottom: 22px; }
.footer-soc { display: flex; gap: 10px; }
.footer-soc a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); transition: .25s; }
.footer-soc a:hover { color: var(--beam); box-shadow: inset 0 0 0 1px var(--beam); }
.footer-soc a svg { width: 18px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; color: var(--text-2); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--beam); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .links a { font-size: 13px; color: var(--muted); }
.footer-bottom .links a:hover { color: var(--beam); }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); padding: 6px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); }
.footer-badge .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--beam); box-shadow: 0 0 8px var(--beam); }

/* --------------------------- PAGE HEADER --------------------------- */
.page-hero { padding-top: 140px; padding-bottom: 30px; position: relative; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 76px); max-width: 16ch; }
.page-hero .lede { margin-top: 26px; }

/* ----------------------------- REVEAL ------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ---------------------------- UTILITIES ---------------------------- */
.mt-s{margin-top:14px}.mt-m{margin-top:28px}.mt-l{margin-top:48px}
.tac{text-align:center}.flex{display:flex}.wrap{flex-wrap:wrap}.gap{gap:16px}
.maxw-60{max-width:60ch}.relative{position:relative}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }

/* --------------------------- RESPONSIVE ---------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-panel { max-width: 520px; }
  .tabs { grid-template-columns: 1fr; }
  .stats, .flow, .price-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gen-wrap { grid-template-columns: 1fr; }
  .gen-control { position: static; }
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn, .nav-cta .lang { display: none; }
  .nav-burger { display: block; }
  .nav-cta .lang.mobile-show { display: inline-flex; }
  .bento { grid-template-columns: 1fr; }
  .cell-lg, .cell-sm, .cell-md { grid-column: span 1; min-height: auto; }
  .case-grid, .split, .contact-grid, .donut-row { grid-template-columns: 1fr; }
  .stats, .flow, .price-grid, .values, .team-grid, .article-stats { grid-template-columns: 1fr; }
  .flow-step .arrow { display: none; }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .report-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
}
