/* ============================================================
   GENSILIX - Brand Website Styles
   Palette: Navy #101A2E, Blue #3A8DFF, Violet #6C63FF,
            Silver #C0C0C0, Ink #0A0A0A
   Type: Inter (Bold headings / Regular body)
   Motif: circular / ring accents, premium minimal, dark theme
   ============================================================ */

:root {
  --navy: #0B1424;
  --navy-2: #101A2E;
  --ink: #070B14;
  --blue: #3A8DFF;
  --blue-bright: #5AA0FF;
  --violet: #6C63FF;
  --silver: #C0C0C0;
  --white: #F4F7FB;

  --bg: var(--navy);
  --bg-2: #0C1526;
  --bg-3: #16233d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(58, 141, 255, 0.4);
  --text: #E7ECF3;
  --text-dim: #A9B4C4;
  --text-muted: #6f7c90;

  --grad: linear-gradient(135deg, var(--blue), var(--violet));
  --grad-bright: linear-gradient(135deg, #5AA0FF, #8B84FF);
  --grad-soft: linear-gradient(135deg, rgba(58,141,255,.18), rgba(108,99,255,.18));

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --shadow-blue: 0 14px 44px rgba(58, 141, 255, 0.28);
  --glow: 0 0 60px rgba(58, 141, 255, 0.25);

  --font: 'Inter', 'Calibri', Arial, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 94px; }

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

/* Ambient background: layered glows + fine grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55vw 55vw at 82% -12%, rgba(58,141,255,.20), transparent 58%),
    radial-gradient(46vw 46vw at -12% 22%, rgba(108,99,255,.16), transparent 60%),
    radial-gradient(40vw 40vw at 60% 108%, rgba(108,99,255,.10), transparent 60%),
    var(--navy);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120vw 90vh at 50% -10%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120vw 90vh at 50% -10%, #000 20%, transparent 75%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--white); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-dim); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; position: relative; }

/* ---------- Utilities ---------- */
.grad-text {
  background: linear-gradient(110deg, #dfeaff 0%, var(--blue-bright) 42%, var(--violet) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(58,141,255,.08); border: 1px solid rgba(58,141,255,.22);
}
.eyebrow::before { display: none; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }
.lead { font-size: 1.18rem; color: var(--text); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; transition: .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 45%);
  opacity: .6; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 52px rgba(58,141,255,.42); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--border); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(11, 20, 36, 0.66);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 9px 15px; border-radius: 10px; font-size: .92rem; font-weight: 500;
  color: var(--text-dim); transition: .2s;
}
.nav-links a:hover { color: var(--white); background: var(--surface); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad-bright); box-shadow: 0 0 10px rgba(58,141,255,.7);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-links .mobile-only { display: none; }

/* Logo / wordmark */
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 34px; width: auto; flex: none; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(58,141,255,.4)); }
.wordmark {
  font-family: 'Michroma', var(--font); font-weight: 400; letter-spacing: .3em; font-size: 1.06rem;
  line-height: 1; white-space: nowrap; margin-right: -.3em; /* cancel trailing letter-spacing */
  color: #e6e8ee;
}
.wordmark .wm {
  background: linear-gradient(180deg, #ffffff 0%, #d4d8e0 45%, #9aa1ad 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .45px #cfd3db; /* adds the weight of the brand-sheet wordmark */
}
/* The brand X is a custom split mark (assets/img/wordmark-x.svg), not the Michroma glyph.
   The real "X" stays in the text, invisible, to keep spacing, copy/paste and screen readers;
   the mark is painted over it at Michroma's cap height (0.75em, top at 0.41em of the line box). */
.wordmark .x {
  color: transparent; -webkit-text-fill-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 155'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234B5BFF'/%3E%3Cstop offset='1' stop-color='%237A6BFF'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%235A9BFF'/%3E%3Cstop offset='1' stop-color='%233F7BFF'/%3E%3C/linearGradient%3E%3Cmask id='gap'%3E%3Crect width='180' height='155' fill='%23fff'/%3E%3Cpolygon points='-11,155 53,155 191,0 127,0' fill='%23000'/%3E%3C/mask%3E%3C/defs%3E%3Cpolygon points='0,0 42,0 180,155 138,155' fill='url%28%23s%29' mask='url%28%23gap%29'/%3E%3Cpolygon points='0,155 42,155 180,0 138,0' fill='url%28%23m%29'/%3E%3C/svg%3E") no-repeat 0.1em 0.41em / 0.87em 0.75em;
}

.menu-toggle {
  display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--white); font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero { padding: 120px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.tag {
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; padding: 7px 15px;
  border: 1px solid var(--border); border-radius: 999px; color: var(--text-dim);
  background: var(--surface); transition: .2s;
}
.tag:hover { color: var(--white); border-color: var(--border-strong); }

/* Hero globe visual: canvas drawn by assets/js/globe.js (network sphere, orbit ring, stars) */
.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,141,255,.22), transparent 68%);
  filter: blur(18px);
}
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Logo core (bare, no box) */
.hero-core {
  position: relative; width: 35.6%; aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero-core svg, .hero-core img { width: 72%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(58,141,255,.55)); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Org chart (Leadership) ---------- */
.org-chart { display: flex; flex-direction: column; align-items: center; }
.org-top { display: flex; justify-content: center; width: 100%; margin-bottom: 40px; }
.org-top .card { max-width: 360px; width: 100%; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: .3s cubic-bezier(.2,.7,.3,1); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(58,141,255,.5), transparent 40%, transparent 65%, rgba(108,99,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(58,141,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--blue-bright); font-weight: 600; font-size: .9rem;
}
.card .card-link .arrow { transition: transform .25s; }
.card:hover .card-link .arrow { transform: translateX(4px); }
.card.roadmap::after {
  content: "Roadmap"; position: absolute; top: 18px; right: 18px;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); background: rgba(108,99,255,.14); border: 1px solid rgba(108,99,255,.4);
  padding: 4px 10px; border-radius: 999px; z-index: 1;
}

/* ---------- Founders ---------- */
.founder {
  display: grid; grid-template-columns: 128px 1fr; gap: 26px; align-items: start;
}
.avatar {
  position: relative;
  width: 128px; height: 128px; border-radius: 22px; display: grid; place-items: center;
  font-size: 2.5rem; font-weight: 800; color: var(--white);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(58,141,255,.35), transparent 60%),
    linear-gradient(160deg, #1a2a48, #0d1526);
  border: 1px solid var(--border-strong);
  letter-spacing: .02em; box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.founder .role { color: var(--blue-bright); font-weight: 600; font-size: .9rem; margin: 3px 0 12px; }
.founder ul { display: grid; gap: 9px; margin-top: 14px; }
.founder ul li {
  position: relative; padding-left: 24px; font-size: .95rem; color: var(--text-dim);
}
.founder ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(58,141,255,.6);
}

/* ---------- Why / feature list ---------- */
.feature { display: flex; gap: 16px; }
.feature .fico {
  width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.feature .fico svg { width: 22px; height: 22px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; }

/* ---------- Banded / distinct blocks ---------- */
.band {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(58,141,255,.10), transparent 55%),
    linear-gradient(160deg, rgba(22,35,61,.9), rgba(12,21,38,.9));
  border: 1px solid var(--border); border-radius: 26px; padding: 52px;
  position: relative; overflow: hidden; backdrop-filter: blur(6px);
}
.band::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px;
  border-radius: 50%; border: 44px solid rgba(108,99,255,.10);
}

.band-tech {
  background:
    linear-gradient(160deg, rgba(6,9,16,.55), rgba(6,9,16,.72)),
    url('../img/chip-circuit-banner.png');
  background-size: cover;
  background-position: center 55%;
}
.band-tech .section-head {
  background: rgba(6,9,16,.45); border-radius: 18px; padding: 22px 26px;
  backdrop-filter: blur(2px);
}

/* Training accent - violet-forward, visually distinct */
.training-band {
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(108,99,255,.20), transparent 55%),
    linear-gradient(150deg, rgba(108,99,255,.14), rgba(58,141,255,.05));
  border: 1px solid rgba(108,99,255,.34);
}
.section-training .eyebrow { color: #A79FFF; background: rgba(108,99,255,.1); border-color: rgba(108,99,255,.3); }
.section-training .eyebrow::before { background: #A79FFF; box-shadow: 0 0 10px #A79FFF; }
.badge-violet {
  display: inline-flex; align-items: center;
  color: #B4ADFF; background: rgba(108,99,255,.14);
  border: 1px solid rgba(108,99,255,.4); padding: 7px 15px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(58,141,255,.22), transparent 60%),
    linear-gradient(120deg, rgba(58,141,255,.12), rgba(108,99,255,.12));
  border: 1px solid var(--border-strong); border-radius: 28px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--glow);
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 120%, rgba(108,99,255,.25), transparent 60%);
}
.cta-strip > * { position: relative; }
.cta-strip h2 { margin-bottom: 14px; }
.cta-strip p { max-width: 580px; margin: 0 auto 30px; font-size: 1.06rem; }
.cta-strip .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Engagement models ---------- */
.model { position: relative; }
.model::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--grad-bright); z-index: 1;
}
.model:nth-child(2)::after { background: linear-gradient(135deg, var(--violet), #9B94FF); }
.model:nth-child(3)::after { background: linear-gradient(135deg, var(--silver), #8b93a5); }
.model .step { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--text-muted); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 92px 0 48px; }
.page-hero h1 { margin-bottom: 18px; max-width: 900px; }
.page-hero p { max-width: 700px; font-size: 1.14rem; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 20px; letter-spacing: .02em; }
.breadcrumb a:hover { color: var(--blue-bright); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-thumb {
  height: 168px; border-radius: 14px; margin-bottom: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(58,141,255,.25), transparent 60%),
    var(--grad-soft);
  border: 1px solid var(--border); display: grid; place-items: center;
}
.post-thumb svg { width: 48px; height: 48px; stroke: var(--blue-bright); fill: none; stroke-width: 1.2; opacity: .85; }
.empty-state {
  text-align: center; padding: 64px 24px; border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(7,11,20,.6); border: 1px solid var(--border); border-radius: 11px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: .95rem; transition: .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,141,255,.16);
  background: rgba(7,11,20,.85);
}
.field select { appearance: none; cursor: pointer; }
.form-note { font-size: .85rem; color: var(--text-muted); }
.form-success {
  display: none; padding: 16px 18px; border-radius: 11px; font-size: .95rem;
  background: rgba(58,141,255,.12); border: 1px solid var(--border-strong); color: var(--text);
}

/* Contact info list */
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .cico {
  width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.contact-item .cico svg { width: 20px; height: 20px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; }
.contact-item .label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item .val { color: var(--text); font-weight: 500; }
.pledge {
  margin-top: 26px; padding: 20px 22px; border-radius: 14px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(58,141,255,.16), transparent 60%),
    var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.pledge strong { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); padding: 72px 0 32px; margin-top: 48px;
  background: linear-gradient(180deg, rgba(7,11,20,.4), var(--bg-2));
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p { font-size: .92rem; max-width: 320px; margin-top: 18px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--text-dim); font-size: .92rem; transition: .2s; }
.footer-col a:hover { color: var(--blue-bright); transform: translateX(3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 300px; margin: 0 auto; order: -1; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-links .mobile-only {
    display: block; margin-top: 8px; text-align: center; color: #fff;
    background: var(--grad); box-shadow: var(--shadow-blue);
  }
  .nav-links .mobile-only:hover { color: #fff; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0; padding: 16px 24px 24px;
    background: rgba(11,20,36,.98); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px);
  }
  .nav.open .nav-links a { padding: 12px 14px; }
}
@media (max-width: 760px) {
  section { padding: 68px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .avatar { width: 92px; height: 92px; font-size: 1.9rem; }
  .band, .cta-strip { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Additional components (stats, flow, markets, values, jobs,
   service-status badges, split hero), brand-consistent
   ============================================================ */

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stats.stats-3col { grid-template-columns: repeat(3, 1fr); }
.stats.stats-3col .stat .num { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.stat .num.text { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.stat {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px;
  background: var(--grad-bright); opacity: .7;
}
.stat .num {
  font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1;
  background: linear-gradient(110deg, #dfeaff, var(--blue-bright) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.stat .lbl { font-size: .88rem; color: var(--text-dim); }

/* ---------- Service-status badge (flagship / roadmap etc) ---------- */
.svc-badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.svc-badge.flagship { color: #cfe0ff; background: var(--grad); box-shadow: var(--shadow-blue); }
.svc-badge.launch   { color: #fff; background: linear-gradient(135deg, var(--violet), #9B94FF); }
.svc-badge.available{ color: #fff; background: linear-gradient(135deg, var(--violet), #7d75ff); }
.svc-badge.roadmap  { color: var(--text-dim); background: rgba(255,255,255,.08); border: 1px solid var(--border); }
.svc-badge.pipeline { color: var(--text-dim); background: rgba(255,255,255,.08); border: 1px solid var(--border); }

/* card with badge pinned + flag glow for flagship */
.card.flag {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(58,141,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color: var(--border-strong);
}

/* compact card variant: icon + title only, no body copy */
.card.compact { padding: 22px; }
.card.compact .icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.card.compact .icon svg { width: 22px; height: 22px; }
.card.compact h3 { margin-bottom: 0; }
.svc-list li {
  position: relative; padding-left: 24px; font-size: .95rem; color: var(--text-dim); margin-top: 9px;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(58,141,255,.6);
}
.svc-note { font-size: .9rem; color: var(--text-muted); font-style: italic; margin-top: 18px; }
.svc-sub { font-size: .88rem; color: var(--text-dim); margin: 4px 0 14px; }
.svc-list .grp { list-style: none; margin: 14px 0 4px; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); }
.svc-list .grp::before { content: none; }

/* ---------- Process flow (AMS design flow) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-step {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px; position: relative;
}
.flow-step .n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: .82rem; font-weight: 700; color: var(--blue-bright);
  border: 1px solid var(--border-strong); background: var(--grad-soft); margin-bottom: 14px;
}
.flow-step h4 { font-size: 1rem; margin-bottom: 12px; color: var(--white); }
.flow-io { font-size: .82rem; display: grid; gap: 4px; }
.flow-io .io-k { font-weight: 700; color: var(--blue-bright); letter-spacing: .04em; font-size: .72rem; }
.flow-io .io-v { color: var(--text-dim); }
.flow-io .io { display: flex; gap: 8px; }

/* ---------- AI migration row ---------- */
.mig-row { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; gap: 18px; align-items: center; }
.mig-node {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center;
}
.mig-node.core {
  border-color: var(--border-strong); position: relative;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(58,141,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--glow);
}
.mig-node .mico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); }
.mig-node .mico svg { width: 26px; height: 26px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; }
.mig-node h3 { font-size: 1.06rem; }
.mig-arrow { color: var(--blue-bright); font-size: 1.5rem; text-align: center; }

/* ---------- Market cards ---------- */
.market {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 28px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); transition: .3s;
}
.market:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.market .mkt-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); }
.market .mkt-ico svg { width: 24px; height: 24px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; }
.market h4 { font-size: 1rem; color: var(--white); }

/* ---------- Values ---------- */
.value-pill {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 600; color: var(--text);
}
.value-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(58,141,255,.6); flex: none; }

/* ---------- Job listings ---------- */
.job {
  display: grid; grid-template-columns: 1.4fr .8fr 2fr auto; gap: 20px; align-items: center;
  padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  transition: .25s;
}
.job:hover { border-color: var(--border-strong); transform: translateX(4px); }
.job .job-title { font-weight: 700; color: var(--white); }
.job .job-exp { font-size: .85rem; color: var(--blue-bright); font-weight: 600; }
.job .job-skills { font-size: .9rem; color: var(--text-dim); }
.job .btn { padding: 10px 20px; font-size: .86rem; }
.jobs { display: grid; gap: 14px; }

/* ---------- Job cards (grid variant) ---------- */
.job-card { display: flex; flex-direction: column; }
.job-card .job-exp { display: inline-block; margin: 12px 0 10px; }
.job-card .job-skills { flex: 1; margin-bottom: 18px; }
.job-card .btn { align-self: flex-start; }

/* ---------- Split feature row (about story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats.stats-3col { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .mig-row { grid-template-columns: 1fr; }
  .mig-arrow { transform: rotate(90deg); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stats.stats-3col { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .job .btn { justify-self: start; margin-top: 6px; }
  .grid.cols-5 { grid-template-columns: 1fr; }
}


/* ===== Insights page (LinkedIn post embeds) ===== */
.insights-list { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.insight-embed {
  width: 100%; max-width: 504px; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.insight-embed iframe { display: block; width: 100%; max-width: 504px; border: 0; }
.insights-more { text-align: center; margin-top: 44px; }
