/* ═══════════════════════════════════════════════════════════════════
   Hybrid Intelligence — landing page
   Committed dark theme. No frameworks, no webfonts, no trackers.
   ═══════════════════════════════════════════════════════════════════ */

:root{
  --bg:          #08090c;
  --surface:     #0d0f14;
  --surface-2:   #11141a;
  --surface-3:   #161a22;
  --line:        #232833;
  --line-strong: #38404f;

  --text:        #e8ebf1;
  --text-2:      #a8b0bf;
  --text-3:      #767f90;

  --local:       #5eead4;
  --local-wash:  rgba(94,234,212,.035);
  --local-chip:  rgba(94,234,212,.14);
  --cloud:       #8b93f8;
  --cloud-chip:  rgba(139,147,248,.16);
  --accent:      var(--local);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --r: 12px;
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* subtle top glow, purely decorative */
body::before{
  content:"";
  position:fixed; inset:0 0 auto 0; height:520px;
  background:
    radial-gradient(760px 320px at 22% -8%, rgba(94,234,212,.09), transparent 70%),
    radial-gradient(700px 300px at 78% -12%, rgba(139,147,248,.08), transparent 70%);
  pointer-events:none; z-index:0;
}

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; position:relative; z-index:1; }

h1,h2,h3{ line-height:1.18; letter-spacing:-.02em; margin:0; font-weight:640; }
p{ margin:0 0 1em; }
a{ color:inherit; }

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

/* Drifting pixel field. Fixed behind everything; page content sits above it. */
.pixel-field{
  position:fixed; inset:0; z-index:0;
  width:100%; height:100%;
  pointer-events:none;                 /* never intercepts clicks or selection */
}
.hero, .section, .footer{ position:relative; z-index:1; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--local); color:#04241f; padding:10px 18px; border-radius:0 0 8px 0;
  font-weight:650; text-decoration:none;
}
.skip-link:focus{ left:0; }

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

/* ─────────────────────────────────────────────────────────── nav ── */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(8,9,12,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav__inner{ display:flex; align-items:center; gap:28px; height:64px; }

.logo{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.logo__mark{ width:32px; height:19px; }
.logo--sm .logo__mark{ width:28px; height:17px; }
.logo__text{ font-family:var(--mono); font-size:15px; font-weight:600; letter-spacing:-.03em; }
.logo__text-dim{ color:var(--text-3); font-weight:400; }

.nav__links{ display:flex; gap:26px; margin-left:auto; }
.nav__links a{
  color:var(--text-2); text-decoration:none; font-size:14.5px;
  transition:color .16s ease;
}
.nav__links a:hover{ color:var(--text); }
.nav__cta{ flex-shrink:0; }

@media (max-width:860px){
  .nav__links{ display:none; }
  .nav__cta{ margin-left:auto; }
}

/* Below ~480px the full brand mark plus "Register interest" no longer fit on
   one line, and the overflow pushed the whole page sideways. Shorten the
   label rather than truncating the name. */
.nav__cta-tight{ display:none; }
@media (max-width:480px){
  .wrap{ padding:0 18px; }
  .nav__inner{ gap:12px; }
  .nav__cta-full{ display:none; }
  .nav__cta-tight{ display:inline; }
}

/* ────────────────────────────────────────────────────────── btns ── */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px; border-radius:9px; border:1px solid transparent;
  font-family:inherit; font-size:15px; font-weight:600; letter-spacing:-.01em;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background .16s ease, border-color .16s ease, color .16s ease, transform .1s ease;
}
.btn:active{ transform:translateY(1px); }
.btn--sm{ padding:8px 15px; font-size:14px; border-radius:8px; }

.btn--primary{ background:var(--local); color:#04241f; }
.btn--primary:hover{ background:#7df3e0; }

.btn--ghost{ background:transparent; color:var(--text); border-color:var(--line-strong); }
.btn--ghost:hover{ border-color:var(--text-3); background:var(--surface-2); }

.btn--quiet{ background:transparent; color:var(--text-2); border-color:transparent; padding-left:8px; padding-right:8px; }
.btn--quiet:hover{ color:var(--text); }

.btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* ────────────────────────────────────────────────────────── hero ── */
.hero{ padding:88px 0 76px; border-bottom:1px solid var(--line); }
.hero__inner{ max-width:900px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--mono); font-size:12.5px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--text-2); background:var(--surface-2);
  border:1px solid var(--line); border-radius:999px; padding:6px 14px 6px 11px;
  margin:0 0 26px;
}
.dot{
  width:7px; height:7px; border-radius:50%; background:var(--local); flex-shrink:0;
  box-shadow:0 0 0 3px rgba(94,234,212,.16);
  animation:pulse 2.6s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.45 } }

.hero__title{ font-size:clamp(2.05rem, 5.1vw, 3.5rem); letter-spacing:-.035em; margin-bottom:26px; }
.hl{ font-family:var(--mono); font-weight:600; letter-spacing:-.04em; white-space:nowrap; }
.hl--local{ color:var(--local); }
.hl--cloud{ color:var(--cloud); }

/* Fixed advance width + tabular figures so the headline can't reflow while
   the numbers count. Both values are always two digits by construction. */
.ratio{
  display:inline-block; min-width:2ch; text-align:center;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum" 1;
}

.hero__sub{ font-size:17.5px; color:var(--text-2); max-width:66ch; }

.hero__actions{ display:flex; flex-wrap:wrap; gap:12px; margin:34px 0 44px; }

.hero__proof{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; list-style:none; margin:0; padding:0;
}
.hero__proof li{ background:var(--surface); padding:18px 20px; }
.hero__proof strong{ display:block; font-size:15px; font-weight:620; }
.hero__proof span{ display:block; font-size:13.5px; color:var(--text-3); margin-top:3px; }
@media (max-width:660px){ .hero__proof{ grid-template-columns:1fr; } }

/* ─────────────────────────────────────────────────────── section ── */
.section{ padding:86px 0; border-bottom:1px solid var(--line); }
.section--tight{ padding:70px 0; }
.section--alt{ background:var(--surface); }

.kicker{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.11em; text-transform:uppercase;
  color:var(--local); margin:0 0 12px;
}
.h2{ font-size:clamp(1.6rem, 3.3vw, 2.3rem); margin-bottom:18px; }
.lede{ font-size:17.5px; color:var(--text-2); max-width:70ch; margin-bottom:38px; }
.note{
  font-size:15px; color:var(--text-3); max-width:76ch; margin-top:32px;
  padding-left:16px; border-left:2px solid var(--line-strong);
}

/* ───────────────────────────────────────────────────── 80/20 split ── */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }

.split__card{
  background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--r); padding:28px 26px 26px; position:relative; overflow:hidden;
  display:flex; flex-direction:column;   /* keeps both cards' footers aligned */
}
.split__card::before{ content:""; position:absolute; inset:0 0 auto 0; height:2px; }
.split__card--local::before{ background:linear-gradient(90deg, var(--local), transparent 85%); }
.split__card--cloud::before{ background:linear-gradient(90deg, var(--cloud), transparent 85%); }

.split__pct{ font-family:var(--mono); font-size:2.9rem; font-weight:600; letter-spacing:-.05em; line-height:1; }
.split__pct span{ font-size:1.5rem; opacity:.5; }
.split__card--local .split__pct{ color:var(--local); }
.split__card--cloud .split__pct{ color:var(--cloud); }

.split__card h3{ font-size:1.28rem; margin:14px 0 6px; }
.split__role{ color:var(--text-2); font-size:15px; margin-bottom:18px; }

.ticks{ list-style:none; margin:0 0 20px; padding:0; }
.ticks li{ position:relative; padding-left:22px; margin-bottom:9px; font-size:15px; color:var(--text-2); }
.ticks li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:7px; height:7px; border-radius:2px; background:var(--line-strong);
}
.split__card--local .ticks li::before{ background:rgba(94,234,212,.55); }
.split__card--cloud .ticks li::before{ background:rgba(139,147,248,.55); }

.split__foot{
  font-size:13.5px; color:var(--text-3); font-family:var(--mono); letter-spacing:-.01em;
  border-top:1px solid var(--line); padding-top:14px; margin:auto 0 0;
}

/* ─────────────────────────────────────────────────────── diagram ── */
.diagram-scroll{
  overflow-x:auto; border:1px solid var(--line); border-radius:var(--r);
  background:var(--surface); padding:8px;
  -webkit-overflow-scrolling:touch;
}
.diagram{ display:block; width:100%; min-width:760px; height:auto; }

.d-title{ fill:var(--text); font-family:var(--sans); font-size:15px; font-weight:620; }
.d-title--sm{ font-size:13.5px; }
.d-sub{ fill:var(--text-3); font-family:var(--sans); font-size:12.5px; }
.d-sub--dim{ fill:var(--text-3); font-style:italic; opacity:.8; }
.d-zone{ font-family:var(--mono); font-size:11px; letter-spacing:.09em; }
.d-zone--local{ fill:var(--local); opacity:.75; }
.d-zone--cloud{ fill:var(--cloud); opacity:.8; }
.d-chip{ font-family:var(--mono); font-size:13px; font-weight:600; }
.d-chip--local{ fill:var(--local); }
.d-chip--cloud{ fill:var(--cloud); }

/* ───────────────────────────────────────────────────────── cards ── */
.cards{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:820px){ .cards{ grid-template-columns:1fr; } }

.card{
  background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r);
  padding:26px; transition:border-color .18s ease, background .18s ease;
}
.card:hover{ border-color:var(--line-strong); background:var(--surface-3); }
/* Marks which side of the policy boundary each capability lives on. */
.card__zone{
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.04em;
  margin-bottom:14px; padding:4px 11px 4px 9px; border-radius:999px;
}
.card__zone::before{ content:""; width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.card__zone--local{ color:var(--local); background:var(--local-chip); }
.card__zone--local::before{ background:var(--local); }
.card__zone--cloud{ color:var(--cloud); background:var(--cloud-chip); }
.card__zone--cloud::before{ background:var(--cloud); }
.card h3{ font-size:1.22rem; margin-bottom:12px; }
.card p{ color:var(--text-2); font-size:15.5px; }
.card__meta{
  font-family:var(--mono); font-size:12.5px; color:var(--text-3) !important;
  border-top:1px solid var(--line); padding-top:14px; margin:18px 0 0 !important;
  letter-spacing:-.01em;
}

/* ─────────────────────────────────────────────────────────── who ── */
.who-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (max-width:820px){ .who-grid{ grid-template-columns:1fr; } }

.who{ border:1px solid var(--line); border-radius:var(--r); padding:24px; background:var(--surface-2); }
.who h3{ font-size:1.1rem; margin-bottom:6px; }
.who__tag{
  font-family:var(--mono); font-size:12px; color:var(--local); opacity:.8;
  letter-spacing:.02em; margin-bottom:14px;
}
.who p:last-child{ color:var(--text-2); font-size:15px; margin:0; }

/* ───────────────────────────────────────────────────────── about ── */
.about{ display:grid; grid-template-columns:1.55fr 1fr; gap:52px; align-items:start; }
@media (max-width:900px){ .about{ grid-template-columns:1fr; gap:36px; } }
.about__main p{ color:var(--text-2); font-size:16.5px; max-width:68ch; }

.about__side{
  background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--r); padding:26px; position:sticky; top:88px;
}
@media (max-width:900px){ .about__side{ position:static; } }
.about__side-title{ font-size:1.05rem; margin-bottom:12px; }
.about__honest{ font-size:14.5px; color:var(--text-2); }
.about__honest--last{ margin:18px 0 0; padding-top:16px; border-top:1px solid var(--line); color:var(--text-3); }

.stack{ list-style:none; margin:0; padding:0; }
.stack li{
  font-size:14.5px; color:var(--text-3); padding:12px 0;
  border-top:1px solid var(--line);
}
.stack li strong{ color:var(--text); font-weight:600; }

/* ──────────────────────────────────────────────────────── signup ── */
.signup{ background:
  radial-gradient(900px 420px at 50% 0%, rgba(94,234,212,.055), transparent 72%), var(--bg); }
.signup__wrap{ max-width:780px; }
.signup__lede{ margin-bottom:32px; }

.form{
  background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--r); padding:30px;
}
@media (max-width:560px){ .form{ padding:22px 18px; } }

.field{ margin-bottom:20px; }
.field > label,
.fieldset legend{
  display:block; font-size:14px; font-weight:600; margin-bottom:7px; color:var(--text);
  padding:0;
}
.req{ color:var(--local); }
.legend-hint{ font-weight:400; color:var(--text-3); font-family:var(--mono); font-size:12px; margin-left:6px; }

input[type=text], input[type=email], select, textarea{
  width:100%; padding:12px 14px;
  background:var(--bg); color:var(--text);
  border:1px solid var(--line); border-radius:9px;
  font-family:inherit; font-size:15.5px; line-height:1.45;
  transition:border-color .16s ease, background .16s ease;
}
input::placeholder, textarea::placeholder{ color:#5a6373; }
input:hover, select:hover, textarea:hover{ border-color:var(--line-strong); }
input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--local); background:var(--surface-3);
  box-shadow:0 0 0 3px rgba(94,234,212,.11);
}
textarea{ resize:vertical; min-height:84px; }
select{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23767f90' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:11px;
  padding-right:38px;
}
select option{ background:var(--surface-2); color:var(--text); }

.field__err{ color:#ff8a8a; font-size:13.5px; margin:7px 0 0; }
.field__help{ color:var(--text-3); font-size:13px; margin:7px 0 0; }
input[aria-invalid="true"]{ border-color:#ff8a8a; }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .grid-2{ grid-template-columns:1fr; gap:0; } }

.fieldset{ border:none; margin:0 0 22px; padding:0; }
.checks{ display:grid; grid-template-columns:1fr 1fr; gap:2px 16px; }
@media (max-width:600px){ .checks{ grid-template-columns:1fr; } }
.radios{ display:grid; gap:2px; }

.check{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14.5px; color:var(--text-2); cursor:pointer;
  padding:7px 0; line-height:1.5;
}
.check input{
  width:17px; height:17px; margin:2px 0 0; flex-shrink:0;
  accent-color:var(--local); cursor:pointer;
}
.check:hover{ color:var(--text); }
.check--standout{
  background:var(--surface-3); border:1px solid var(--line);
  border-radius:9px; padding:15px 16px; margin-bottom:22px; align-items:flex-start;
}
.check--standout strong{ color:var(--text); }

/* honeypot — off-screen, never shown, not announced */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form__actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:6px; }

.form__stepnote{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font-size:14px; color:var(--text-3);
  border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:22px;
}
.form__stepbadge{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--local); background:var(--local-chip); border-radius:999px; padding:4px 10px;
}

.form__status{ margin:16px 0 0; font-size:14.5px; color:#ff8a8a; }

.success{
  background:var(--surface-2); border:1px solid rgba(94,234,212,.4);
  border-radius:var(--r); padding:34px 30px; text-align:center;
}
.success__tick{ width:46px; height:46px; margin-bottom:14px; }
.success h3{ font-size:1.35rem; margin-bottom:10px; }
.success p{ color:var(--text-2); font-size:15.5px; max-width:52ch; margin-inline:auto; }
.success__ps{ color:var(--text-3) !important; font-size:14px !important; margin-top:16px !important; }

.privacy{ font-size:13.5px; color:var(--text-3); margin:22px 0 0; max-width:70ch; }

/* ──────────────────────────────────────────────────────── footer ── */
.footer{ padding:48px 0 28px; background:var(--surface); }
.footer__inner{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.footer__tag{ font-size:14px; color:var(--text-3); margin:12px 0 0; }
.footer__links{ display:flex; flex-direction:column; gap:9px; }
.footer__links a{ color:var(--text-2); text-decoration:none; font-size:14.5px; }
.footer__links a:hover{ color:var(--text); }
.footer__legal{
  margin-top:36px; padding-top:20px; border-top:1px solid var(--line);
}
.footer__legal p{ font-size:13px; color:var(--text-3); margin:0; }
