/* =========================================================
   Nebula MGA — design tokens
   ========================================================= */
:root {
  --ink-950: #04070e;
  --ink-900: #080d1a;
  --ink-850: #0c1324;
  --ink-800: #121a2f;
  --ink-700: #1b2540;
  --line: rgba(170, 195, 255, 0.11);
  --line-strong: rgba(170, 195, 255, 0.2);
  --text: #eaf0fa;
  --muted: #98a4bc;
  --dim: #66728b;

  --cyan: #22c3f3;
  --teal: #56eadf;
  --grad: linear-gradient(120deg, #1bb4f4 0%, #3fd6ea 55%, #62f2d8 100%);

  --paper: #f3f5f9;
  --paper-2: #e9edf4;
  --paper-ink: #0a1122;
  --paper-muted: #56617a;
  --paper-line: #d9dfea;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--ink-950); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.display {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display em, .hero-title em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.lede { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 60ch; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; } .section-head--split > .end { justify-self: end; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: linear-gradient(120deg, #0a7cc0 0%, #0a8a8f 100%); color: #ffffff; }
.btn--primary:hover { transform: translateY(-1px); background: linear-gradient(120deg, #0b86cc 0%, #0b959b 100%); box-shadow: 0 10px 30px -10px rgba(34, 195, 243, 0.55); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.nav-open .site-header {
  background: rgba(4, 7, 14, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px;
  font-family: var(--f-mono); font-size: 12px;
}
.lang button { background: none; border: 0; padding: 5px 10px; border-radius: 999px; color: var(--muted); letter-spacing: 0.06em; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink-950); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed; inset: 76px 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 28px;
    background: rgba(4, 7, 14, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-size: 24px; color: var(--text);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  body.nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 420px) { .brand img { height: 36px; } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 0; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(34, 195, 243, 0.2), transparent 70%),
    radial-gradient(45% 45% at 92% 80%, rgba(86, 234, 223, 0.12), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(60, 80, 200, 0.18), transparent 70%),
    linear-gradient(90deg, rgba(4, 7, 14, 0.92) 0%, rgba(4, 7, 14, 0.55) 55%, rgba(4, 7, 14, 0.35) 100%);
}
.hero { background: var(--ink-950); }
.hero-bg { position: absolute; inset: -8% 0; z-index: -3; will-change: transform; }
.hero-bg-img {
  position: absolute; inset: 0;
  background: url("../assets/img/milky-way.webp") center / cover no-repeat;
  transform-origin: 60% 40%;
  animation: space-drift 20s ease-in-out infinite alternate;
}
@keyframes space-drift {
  0% { transform: scale(1.08) translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: scale(1.3) translate3d(-5%, 3%, 0) rotate(3deg); }
}
.hero-nebula { position: absolute; inset: 0; z-index: -3; pointer-events: none; mix-blend-mode: screen; }
.hero-nebula::before, .hero-nebula::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px);
}
.hero-nebula::before {
  width: 55vw; height: 45vw; left: 38%; top: 5%;
  background: radial-gradient(closest-side, rgba(34, 195, 243, 0.38), rgba(34, 195, 243, 0) 70%);
  animation: cloud-a 14s ease-in-out infinite alternate;
}
.hero-nebula::after {
  width: 45vw; height: 38vw; left: 55%; top: 35%;
  background: radial-gradient(closest-side, rgba(120, 90, 230, 0.34), rgba(120, 90, 230, 0) 70%);
  animation: cloud-b 18s ease-in-out infinite alternate;
}
@keyframes cloud-a {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate3d(-12vw, 8vh, 0) scale(1.25); opacity: 1; }
}
@keyframes cloud-b {
  0% { transform: translate3d(0, 0, 0) scale(1.1); opacity: 0.9; }
  100% { transform: translate3d(8vw, -10vh, 0) scale(0.85); opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) { .hero-nebula::before, .hero-nebula::after { animation: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bg-img { animation: none; } }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(transparent, var(--ink-950));
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero > .wrap { width: 100%; }
.hero-star {
  position: absolute; z-index: -1;
  right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  top: 50%; transform: translateY(-65%);
  width: clamp(140px, 14vw, 210px); aspect-ratio: 1;
  pointer-events: none;
}
.hero-star svg { width: 100%; height: 100%; filter: drop-shadow(0 0 36px rgba(63, 214, 234, 0.4)); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-star svg { animation: none; } }
@media (max-width: 1100px) { .hero-star { width: 130px; top: 104px; transform: none; opacity: 0.5; } }

.hero-content { position: relative; max-width: 820px; padding-bottom: clamp(48px, 7vw, 80px); }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin: 18px 0 22px;
}
.hero-title em { display: inline; }
.hero .lede { font-size: clamp(15px, 1.25vw, 17px); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  position: relative;
}
.stat { padding: 22px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b {
  display: block; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.01em;
}
.stat b small { font-family: var(--f-mono); font-size: 0.32em; letter-spacing: 0.08em; color: var(--muted); vertical-align: 0.9em; margin-right: 6px; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .hero-star { width: 96px; top: 92px; opacity: 0.45; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* =========================================================
   Backed by
   ========================================================= */
.backed { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-900); }
.backed .wrap { display: flex; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.backed-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); max-width: 14ch; }
.backed-logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.backed-logos img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.72; transition: opacity 0.3s; }
.backed-logos img:hover { opacity: 1; }
.backed-logos img.tall { height: 52px; }
.backed-more { font-size: 13px; color: var(--dim); margin-left: auto; }
@media (max-width: 900px) { .backed-more { margin-left: 0; width: 100%; } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }

/* Solutions */
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--teal); }
.text-link:hover .ico { transform: translateX(4px); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
.product {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 24px 24px 22px; background: var(--ink-900);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: cardIn 0.5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .product { animation: none; } }
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(34, 195, 243, 0.12), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.product:hover { background: var(--ink-850); border-color: var(--line-strong); }
.product:hover::before { opacity: 1; }
.product:hover .ico { transform: translateX(4px); }
.product-img { margin: -24px -24px 4px; aspect-ratio: 2 / 1; overflow: hidden; position: relative; background: var(--ink-850); }
.product-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 14, 0.1), rgba(4, 7, 14, 0.75)), rgba(12, 60, 90, 0.25); mix-blend-mode: normal; transition: opacity 0.5s var(--ease); }
.product-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.05); transition: transform 0.8s var(--ease), filter 0.6s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); filter: none; }
.product:hover .product-img::after { opacity: 0.55; }
.product-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; }
.product-num { color: var(--teal); }
.product-cat { color: var(--dim); text-transform: uppercase; text-align: right; }
.product h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.1; margin-top: 8px; }
.product > p { color: var(--muted); font-size: 14px; }
.specs { margin: auto 0 0; padding-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 7px 0; font-size: 13px; }
.spec + .spec { border-top: 1px dashed var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-top: 2px; }
.spec dd { margin: 0; color: var(--text); }
.spec dd small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--teal); }

/* Approach */
.approach { background: var(--ink-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.approach-grid { display: grid; gap: 56px; }
@media (min-width: 960px) {
  .approach-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .approach-head { position: sticky; top: 120px; align-self: start; }
}
.approach-head .display { margin-top: 20px; }
.pillars { display: grid; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num { font-family: var(--f-mono); font-size: 13px; color: var(--teal); padding-top: 8px; }
.pillar h3 { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* Markets */
.markets-top { display: grid; gap: 32px; margin-bottom: 36px; }
@media (min-width: 900px) { .markets-top { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; } }
.hq {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 195, 243, 0.08), transparent 60%);
}
.hq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: 8px; box-shadow: 0 0 0 6px rgba(86, 234, 223, 0.15), 0 0 24px var(--teal); flex: none; }
.hq small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hq p { font-size: 15px; }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .market-grid { grid-template-columns: 1fr; } }
.market { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-900); }
.market-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.market h3 { font-family: var(--f-display); font-size: 22px; line-height: 1.1; }
.market-count { font-family: var(--f-mono); font-size: 11px; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.market li a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color 0.2s; }
.market li a:hover { color: var(--text); }

/* Industries */
.industries { display: grid; gap: 40px; }
@media (min-width: 960px) { .industries { grid-template-columns: 0.9fr 1.1fr; gap: 88px; } }
.industries .display { margin-top: 16px; font-size: clamp(30px, 3.2vw, 44px); }
.industry-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 560px) { .industry-list { grid-template-columns: 1fr; } }
.industry-list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.industry-list li span { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }

/* =========================================================
   Team (light)
   ========================================================= */
.team { background: var(--paper); color: var(--paper-ink); }
.team .eyebrow { color: #0c8fb8; }
.team .lede { color: var(--paper-muted); }
.team .display em { background: linear-gradient(120deg, #0a8fc4, #12b3a6); -webkit-background-clip: text; background-clip: text; }
.team-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-muted); padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--paper-line); }
.team-lead { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 20px; margin-bottom: 56px; }
.team-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 28px 18px; }
@media (max-width: 1020px) { .team-lead { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .team-lead { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team-all { grid-template-columns: 1fr 1fr; gap: 28px 14px; } }
.member-photo { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #ffffff, var(--paper-2)); margin-bottom: 12px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member--lead .member-photo { aspect-ratio: 1; }
.member h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.member--lead h3 { font-size: 15.5px; }
.member p { font-size: 12.5px; color: var(--paper-muted); margin-top: 4px; line-height: 1.45; }
.member-mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: #0a7fae; font-weight: 500; }
.member-mail:hover .ico { transform: translateX(3px); }

/* =========================================================
   News
   ========================================================= */
.news-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }
.news {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-900);
  transition: border-color 0.3s, background 0.3s;
}
.news:hover { border-color: var(--line-strong); background: var(--ink-850); }
.news:hover .ico { transform: translateX(4px); }
.news--feature {
  grid-row: span 3; padding: 30px; min-height: 320px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(34, 195, 243, 0.2), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(86, 234, 223, 0.1), transparent 60%),
    var(--ink-900);
}
.news--feature h3 { font-size: clamp(26px, 2.4vw, 34px) !important; margin-top: 6px; }
.news--feature p { font-size: 15px; max-width: 44ch; }
@media (max-width: 860px) { .news--feature { grid-row: auto; min-height: 320px; } }
.news-meta { display: flex; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.tag { color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; }
.news h3 { font-family: var(--f-display); font-size: 20px; line-height: 1.15; }
.news p { color: var(--muted); font-size: 14px; }
.news .product-link { margin-top: auto; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--ink-900); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1020px) { .contact-grid { grid-template-columns: 1.55fr 1fr; gap: 64px; } }
.routing-head, .routing li { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: center; }
.routing-head { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.routing li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.route-line { font-weight: 500; }
.route-line:hover { color: var(--teal); }
.route-who { color: var(--muted); }
.route-mail { font-family: var(--f-mono); font-size: 13px; color: var(--teal); word-break: break-all; }
.route-mail:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .routing-head { display: none; }
  .routing li { grid-template-columns: 1fr; gap: 4px; }
}
.office { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-950); display: grid; gap: 26px; align-self: start; }
.office h3 { font-family: var(--f-display); font-size: 24px; }
.office-row small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.office-row a:hover { color: var(--teal); }
.office-row p, .office-row a { font-size: 15.5px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--ink-950); }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 28px; font-size: 12.5px; color: var(--dim); }
.footer-bottom p { max-width: 70ch; }

/* =========================================================
   Product page
   ========================================================= */
.pd-hero { position: relative; padding: 136px 0 56px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.pd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 70% at 85% 20%, rgba(34, 195, 243, 0.18), transparent 70%), var(--ink-950);
}
.pd-hero .hero-star { width: clamp(120px, 14vw, 200px); top: 50%; transform: translateY(-50%); opacity: 0.8; }
.back { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.back .ico { transform: rotate(180deg); }
.back:hover { color: var(--text); }
.pd-title { font-family: var(--f-display); font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -0.01em; margin: 14px 0 18px; max-width: 16ch; }
.pd-specs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line-strong); }
.pd-specs .spec { display: block; padding: 22px 22px 0 0; border: 0; }
.pd-specs .spec + .spec { padding-left: 22px; border-left: 1px solid var(--line); border-top: 0; }
.pd-specs dd { font-size: 15.5px; margin-top: 8px; }
@media (max-width: 900px) {
  .pd-specs { grid-template-columns: 1fr 1fr; }
  .pd-specs .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .pd-specs .spec:nth-child(n + 3) { padding-top: 22px; }
}
@media (max-width: 480px) {
  .pd-specs { grid-template-columns: 1fr; }
  .pd-specs .spec + .spec { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
}
.pd-body { display: grid; gap: 56px; }
@media (min-width: 960px) { .pd-body { grid-template-columns: 1.3fr 1fr; gap: 80px; } }
.pd-h { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.coverage li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.coverage li::before {
  content: ""; width: 12px; height: 12px; margin-top: 7px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C53 38 62 47 100 50C62 53 53 62 50 100C47 62 38 53 0 50C38 47 47 38 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C53 38 62 47 100 50C62 53 53 62 50 100C47 62 38 53 0 50C38 47 47 38 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pd-aside { display: grid; gap: 20px; align-content: start; }
.pd-person { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-900); transition: border-color 0.3s; }
.pd-person:hover { border-color: var(--teal); }
.pd-person img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; object-position: center 20%; background: #fff; flex: none; }
.pd-person strong { display: block; font-weight: 600; }
.pd-person small { display: block; color: var(--muted); font-size: 13px; }
.pd-person em { display: block; font-style: normal; font-family: var(--f-mono); font-size: 12.5px; color: var(--teal); margin-top: 4px; word-break: break-all; }
.pd-cta {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: radial-gradient(100% 90% at 100% 0%, rgba(34, 195, 243, 0.22), transparent 60%), var(--ink-900);
}
.pd-cta h3 { font-family: var(--f-display); font-size: 24px; margin-bottom: 8px; }
.pd-cta p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.pd-cta .mail { display: block; margin-top: 14px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.pd-other { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
@media (min-width: 900px) { .pd-other { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .pd-other { grid-template-columns: 1fr; } }
.pd-other a { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); transition: color 0.2s; }
.pd-other a span { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.pd-other a .ico { margin-left: auto; }
.pd-other a:hover { color: var(--text); }
.pd-other a:hover .ico { transform: translateX(4px); color: var(--teal); }

/* =========================================================
   Stock imagery
   ========================================================= */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-850); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 7, 14, 0.6)); pointer-events: none; }
.approach-photo { margin-top: 32px; aspect-ratio: 16 / 9; }
.markets-photo { aspect-ratio: 4 / 1; margin-bottom: 16px; }
.markets-photo img { object-position: center 35%; }
@media (max-width: 640px) { .markets-photo { aspect-ratio: 16 / 10; } }
.pd-bg { position: absolute; inset: 0 0 0 38%; z-index: -1; background: center / cover no-repeat; opacity: 0.45; filter: grayscale(0.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
@media (max-width: 760px) { .pd-bg { inset: 0; opacity: 0.2; } }

/* =========================================================
   Multi-page
   ========================================================= */
.page-top { padding-top: clamp(130px, 14vw, 170px); }
.section--intro { padding-bottom: 0; }
.section--intro .section-head { max-width: 820px; }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--grad); }
@media (max-width: 1020px) { .nav-links a[aria-current="page"]::after { display: none; } .nav-links a[aria-current="page"] { color: var(--teal); } }

/* compact line list (home) */
.line-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .line-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .line-list { grid-template-columns: 1fr; } }
.line { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color 0.2s; }
.line-num { font-family: var(--f-mono); font-size: 12px; color: var(--teal); }
.line-body { flex: 1; min-width: 0; }
.line-body strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.line-body small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.line .ico { color: var(--dim); }
.line:hover strong { color: var(--teal); }
.line:hover .ico { transform: translateX(4px); color: var(--teal); }

/* approach pillars in a row (home) */
.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1020px) { .pillar-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-row { grid-template-columns: 1fr; } }
.pillar-row .pillar { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 0; border-bottom: 0; }
.pillar-row .pillar-num { padding-top: 0; }

/* CTA band */
.cta-band { border-top: 1px solid var(--line); background:
  radial-gradient(60% 120% at 100% 0%, rgba(34, 195, 243, 0.16), transparent 60%), var(--ink-900); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta-inner .display { max-width: 18ch; }

/* =========================================================
   Light sections — same components, re-tokenised
   ========================================================= */
.light {
  --ink-950: #ffffff;
  --ink-900: #ffffff;
  --ink-850: #f7f9fc;
  --ink-800: #eef2f7;
  --line: rgba(10, 17, 34, 0.1);
  --line-strong: rgba(10, 17, 34, 0.18);
  --text: #0a1122;
  --muted: #4f5a72;
  --dim: #7a8599;
  --teal: #0a86a3;
  --grad: linear-gradient(120deg, #0a8fc4 0%, #0fa9b8 55%, #12b3a6 100%);
  background: var(--paper);
  color: var(--text);
  border-color: var(--paper-line);
}
.light.approach { background: var(--paper); }
.light .product, .light .news, .light .market, .light .office { box-shadow: 0 1px 2px rgba(10, 17, 34, 0.04), 0 8px 24px -16px rgba(10, 17, 34, 0.18); }
.light .product:hover, .light .news:hover { background: #ffffff; box-shadow: 0 2px 4px rgba(10, 17, 34, 0.05), 0 16px 36px -18px rgba(10, 17, 34, 0.28); }
.light .news--feature {
  background: radial-gradient(90% 70% at 100% 0%, rgba(34, 195, 243, 0.14), transparent 60%), #ffffff;
}
.light .btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.light .product-img::after { background: linear-gradient(180deg, transparent 55%, rgba(10, 17, 34, 0.25)); }
.light .product-img img { filter: grayscale(0.25); }

/* pages whose first section is light need a solid header from the top */
body[data-solid-header] .site-header { background: rgba(4, 7, 14, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }

/* consistent inner-page spacing */
.page-top { padding-top: clamp(120px, 12vw, 152px); }
.section--intro { padding-bottom: clamp(48px, 6vw, 72px); }

/* =========================================================
   Astronaut scroll guide (wide screens only)
   ========================================================= */
.guide { position: fixed; z-index: 40; top: 104px; bottom: 72px; right: max(14px, calc((100vw - var(--wrap)) / 4 - 23px)); width: 46px; pointer-events: none; transition: opacity 0.4s var(--ease); }
.guide.is-hidden { opacity: 0; }
.guide-rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(128, 150, 190, 0.35); }
.guide-tether { position: absolute; left: 50%; top: 0; width: 1.5px; margin-left: -0.5px; background: var(--grad); border-radius: 2px; opacity: 0.9; }
.guide-astro { position: absolute; left: 0; top: -23px; width: 46px; height: 46px; will-change: transform; }
.guide-astro img { width: 46px; height: 46px; filter: drop-shadow(0 4px 10px rgba(4, 7, 14, 0.35)); animation: float 4.5s ease-in-out infinite; transition: rotate 0.5s var(--ease); }
.guide-astro.is-down img { rotate: 14deg; }
.guide-astro.is-up img { rotate: -14deg; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) { .guide-astro img { animation: none; } .guide-astro.is-down img, .guide-astro.is-up img { rotate: 0deg; } }
@media (max-width: 1199px) { .guide { display: none; } }

/* =========================================================
   Mobile & tablet fixes
   ========================================================= */
/* stat "USD" prefix: never below 11px */
.stat b small { font-size: 11px; vertical-align: 1.1em; }

/* mobile menu: solid, full height, covers the page */
@media (max-width: 1020px) {
  .nav-links {
    inset: 76px 0 0; background: var(--ink-950);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--ink-950); -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* hero star: keep it off the text on small screens */
@media (max-width: 760px) {
  .hero .hero-star { display: none; }
  .backed-logos { gap: 22px; }
  .backed-logos img { height: 28px; }
  .backed-logos img.tall { height: 36px; }
}

/* product hero on tablet/mobile: no star, softer photo behind the specs */
@media (max-width: 900px) {
  .pd-hero .hero-star { display: none; }
  .pd-bg { inset: 0; opacity: 0.16; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
}

/* contact: stack the office card below the routing table until there is room */
@media (max-width: 1199px) { .contact-grid { grid-template-columns: 1fr !important; } .office { max-width: 560px; } }
.route-mail { word-break: normal; overflow-wrap: anywhere; }

/* comfortable tap targets on touch screens */
@media (pointer: coarse) {
  .lang button { padding: 9px 13px; }
  .member-mail, .text-link, .product-link, .route-mail, .route-line, .office-row a, .footer-links a, .back { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-links { gap: 0 24px; }
  .routing li { padding: 6px 0; }
}
@media (pointer: coarse) {
  .market li a { padding: 10px 0; }
  .nav-links a { padding: 10px 0; }
}
