/* ==========================================================================
   Innovative Numerics: shared finish layer (v3)
   Loads after each page's own <style>. One job: make four pages read as one
   restrained system. No scroll effects, no entrance animation, no glow.
   The only thing that moves by itself on the site is the hero solve.
   ========================================================================== */
/* Fonts are served from this site (SIL Open Font License): no third-party request, no layout shift from a late swap */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 700; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #08070c;
  --ink-2: #0c0a12;
  --panel: #0f0d17;
  --header-footer: #0c0a12;
  --line: rgba(226, 214, 255, .10);
  --line-2: rgba(226, 214, 255, .20);
  --text: #f1eef7;
  --dim: #aaa4ba;
  --mute: #8a849d;            /* 5.4:1 on --ink; the old value failed AA at small sizes */
  --violet-2: #b987ff;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: var(--f-body);    /* monospace retired: figures use tabular numerals instead */
  --display-stretch: 112%;
  --radius: 10px;
}
html { scroll-padding-top: 92px; }
body { font-variant-numeric: tabular-nums; }
::selection { background: #b987ff; color: #08070c; }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ── Type ──────────────────────────────────────────────────────────────── */
h1, h2 { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 500; }
h1 { font-size: clamp(2.25rem, 1.35rem + 3.3vw, 3.875rem) !important; letter-spacing: -.028em !important; line-height: 1.04 !important; }
h2 { letter-spacing: -.02em !important; }
h1 em, h2 em { font-style: normal; background: none !important; -webkit-text-fill-color: currentColor; color: inherit !important; }
.contact h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem) !important; letter-spacing: -.025em !important; line-height: 1.06 !important; max-width: 18ch; }
.lede, .hero .lede, .contact p { font-weight: 400 !important; }

/* Labels: plain words in the body face. No tracking, no caps, no rule. */
.label { font-family: var(--f-body); font-size: .875rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--violet-2); gap: 12px; }
.label::before { display: none; }
.layer .tag, .flow .k, .col .k, .workflow > p, .beta-badge, .pj-item .k {
  font-family: var(--f-body) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: .8125rem !important;
}
.beta-badge { border-radius: 6px !important; }

/* ── Chrome ────────────────────────────────────────────────────────────── */
/* Glass, used once: the bar floats and the page refracts through it as it scrolls underneath.
   (Glass over a flat black page shows nothing, so it is not used on static panels.) */
header.nav { top: calc(env(safe-area-inset-top, 0px) + 12px); background: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding-inline: 12px; pointer-events: none; }
header.nav .wrap { pointer-events: auto; position: relative; z-index: 0; max-width: 1224px; padding: 10px 12px 10px 20px; border-radius: 18px; }
/* The glass sits on a pseudo-element, not on .wrap itself, so the dropdown below can blur the page too
   (a backdrop-filter on an ancestor would stop the dropdown seeing through to the page). */
header.nav .wrap::before, .submenu::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035) 60%, rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.08); backdrop-filter: blur(22px) saturate(190%) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 14px 40px -14px rgba(0, 0, 0, .7);
}
header.nav .wrap::after {   /* specular streak along the top edge */
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 22%, rgba(255, 255, 255, .12) 55%, rgba(255, 255, 255, .4) 82%, transparent);
}

/* Platform dropdown: the two product pages live here; everything else in the bar scrolls the home page */
.nav-links { align-items: center; }
.has-menu { position: relative; }
.has-menu > a { display: inline-flex; align-items: center; gap: 7px; }
.has-menu > a.is-current { color: var(--text); }
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .15s; }
.has-menu:hover .caret, .has-menu:focus-within .caret { transform: translateY(1px) rotate(225deg); }
.submenu {
  position: absolute; left: -18px; top: calc(100% + 22px); width: 318px; z-index: 0; list-style: none; margin: 0; padding: 8px; border-radius: 16px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s;
}
.submenu::before { background: linear-gradient(180deg, rgba(34, 28, 50, .72), rgba(16, 13, 26, .78)); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); }
.submenu::after { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }   /* keeps hover alive across the gap */
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s, visibility 0s; }
.submenu a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--text); }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { background: rgba(255, 255, 255, .08); }
.submenu b { display: block; font-weight: 500; font-size: .9375rem; }
.submenu span { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--dim); }
.submenu .over { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .10); }
.submenu .over a { font-size: .8125rem; color: var(--dim); padding-block: 9px; }
.submenu .over a:hover { color: var(--text); }
.mobile-menu li.sub a { padding-left: 28px !important; color: var(--dim) !important; }
@media (prefers-reduced-motion: reduce) { .submenu, .caret { transition: none !important; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { header.nav .wrap::before, .submenu::before { background: rgba(16, 13, 24, .96); } }
.mobile-menu ul { background: #110e1a !important; z-index: 5; border-radius: 16px !important; left: 12px !important; right: 12px !important; }
.nav-links { color: #d5cfe2 !important; }
body::before { background: var(--ink); }
.nav-links { color: var(--dim); }
.nav-links a { transition: color .15s; }
.nav-links a[aria-current="page"] { text-decoration-color: var(--violet-2); }
footer { background: var(--ink-2) !important; border-top-color: var(--line) !important; }
footer .wrap { color: var(--mute); }

.btn { border-radius: 8px; padding: 12px 20px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.btn .arr { display: none; }
.btn-solid:hover { background: #fff; }
.btn-line:hover { border-color: var(--text); }
.nav .btn { padding: 9px 16px; }
.mobile-menu summary { border-radius: 8px !important; }
.mail { border-radius: 8px !important; font-size: 1rem !important; }
a.text-link, .more, .about-link { color: var(--text) !important; text-decoration: underline; text-decoration-color: var(--violet-2); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a.text-link:hover, .more:hover, .about-link:hover { text-decoration-color: var(--text); }

/* Glows and gradient washes off; surfaces are flat and separated by hairlines */
.hero::before, .contact::before, .product-hero::before, .about-hero::before, .flow-hero::before, .flow-contact::before, .product-contact::before { display: none !important; }
.layer.product, .workflow { background: none !important; }
.flow .hot { background: rgba(185, 135, 255, .07) !important; }
.flow .hot .k { color: var(--violet-2) !important; }
.mesh-frame, .stack, .shot, .media, .flow { border-radius: var(--radius) !important; }

/* ── Home: hero ────────────────────────────────────────────────────────── */
.hero .wrap { align-items: start; padding-block: 80px 72px; gap: 56px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero-copy { padding-top: 28px; }
.hero h1 { margin: 0 0 24px; }
.hero .lede { max-width: 38ch; color: var(--dim); }
.hero .meta { display: block; font-family: var(--f-body); font-size: .875rem; letter-spacing: 0; color: var(--mute); max-width: 44ch; margin-top: 44px; }
.fe { margin: 0; }
.mesh-frame { background: var(--ink-2); border-color: var(--line); aspect-ratio: 7 / 5.4; cursor: default; touch-action: pan-y; }
.mesh-frame.can-grab { cursor: grab; }
.mesh-frame.can-press, .mesh-frame.is-pressing { cursor: ns-resize; }
.mesh-frame.is-grabbing { cursor: grabbing; }
.mesh-frame canvas { pointer-events: none; }
.mesh-hud { left: 20px; right: 20px; bottom: 16px; font-family: var(--f-body); font-size: .8125rem; color: var(--mute); white-space: pre; }
.mesh-hud [data-hud="hint"] { color: var(--text); }
.fe figcaption { margin-top: 14px; font-size: .875rem; line-height: 1.55; color: var(--dim); max-width: 68ch; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px; gap: 40px; }
  .hero-copy { padding-top: 0; }
  .mesh-frame { aspect-ratio: 1 / 1.02; max-height: none; }
}
@media (max-width: 480px) { .mesh-hud [data-hud="state"] { display: inline; } .mesh-hud [data-hud="hint"] { display: none; } }

/* ── Home: sections ────────────────────────────────────────────────────── */
.head h2 { margin-top: 0; }
.layer .tag { color: var(--mute); padding-top: 3px; }
.layer.product .tag { color: var(--violet-2); }
.layer.product h3 span { font-size: .875rem; color: var(--mute); }
.layer.edge p { font-size: .875rem; color: var(--dim); }
.layer .more { font-size: .875rem; }

.day { align-items: start; }
.daylist { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; font-size: .9375rem; color: var(--dim); }
.daylist li { padding: 9px 0; border-top: 1px solid var(--line); break-inside: avoid; }
@media (max-width: 720px) { .daylist { columns: 2; } }
@media (max-width: 420px) { .daylist { columns: 1; } }

.flow .k { color: var(--mute); }
.flow .k b { font-weight: 500; color: var(--violet-2); margin-right: 8px; }
.own { font-size: .875rem; color: var(--dim); }
.media .cap { font-size: .8125rem; }
.fig .n small { color: inherit; opacity: .6; }
.col ul { font-family: var(--f-body); font-size: .875rem; gap: 8px; }
.col h3 { margin-top: 0; }
.founded { display: block; max-width: 84ch; color: var(--dim); }
.path .sub { color: var(--dim); }
.path .n { font-size: .875rem; color: var(--violet-2); }
.path li:first-child::before { box-shadow: none; }
.path::before { background: var(--line-2); }

/* ── Product pages: same restraint ─────────────────────────────────────── */
.flow-tagline { font-style: normal !important; }
.flow-speed-metric strong { background: none !important; -webkit-text-fill-color: currentColor; color: var(--text) !important; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 500; }
.grid-offering, .founder-card, .foundation-art, .grid-dashboard { border-radius: var(--radius) !important; background-image: none !important; }
.art-label { display: none; }
