/* Asari web theme, light and dark, from the Asari Design System (October 2026).
   Light is the default. Dark applies when the browser prefers dark, unless the page forces a theme
   with <html data-theme="light|dark">. Fonts: Manrope 700/800 (display) + Inter 400-600 (text). */

/* Self-hosted fonts (Fontsource variable builds, v5.3.0). No requests to Google, per the privacy policy. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext-wght.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-wght.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-wght.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  /* Brand (same in both themes) */
  --brand: #0a6ed1;
  --brand-hover: #085aa8;
  --brand-deep: #0a4fa0;
  --teal: #17b0a7;

  /* Light theme */
  --ink-deep: #12212f;
  --ink: #1d2d3e;
  --ink-muted: #4c5c6d;
  --ink-faint: #64748b;
  --link: #0a6ed1;
  --surface: #ffffff;
  --surface-tint: #f4f7fb;
  --wash-top: #f5f8fc;
  --wash-bottom: #eaf1fa;
  --bloom-blue: rgba(10, 110, 209, .12);
  --bloom-teal: rgba(23, 176, 167, .10);
  --line: #e6ebf2;
  --line-strong: #cdd9e8;
  --pill-fill: #e7f7f6;
  --pill-ink: #0f8a83;
  --pill-line: transparent;
  --chip-fill: #ffffff;
  --chip-active-fill: #e8f1fb;
  --chip-active-ink: #0a4fa0;
  --bar-fill: rgba(255, 255, 255, .78);
  --shadow-panel: 0 30px 70px -30px rgba(19, 40, 66, .35);
  --shadow-cta: 0 14px 34px rgba(10, 110, 209, .3);
  --logo-light: block;
  --logo-dark: none;

  --font-head: Manrope, Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* Dark theme values, used by both the media query and the forced attribute. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink-deep: #ffffff;
    --ink: #e8eef5;
    --ink-muted: #c3d1e1;
    --ink-faint: #93a4b8;
    --link: #6fb6ff;
    --surface: #152236;
    --surface-tint: #1a2a42;
    --wash-top: #0c1d36;
    --wash-bottom: #08111f;
    --bloom-blue: rgba(10, 110, 209, .22);
    --bloom-teal: rgba(23, 176, 167, .14);
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --pill-fill: rgba(23, 176, 167, .14);
    --pill-ink: #5fd6cc;
    --pill-line: rgba(23, 176, 167, .35);
    --chip-fill: #152236;
    --chip-active-fill: rgba(10, 110, 209, .22);
    --chip-active-ink: #ffffff;
    --bar-fill: rgba(8, 17, 31, .82);
    --shadow-panel: 0 30px 70px -30px rgba(0, 0, 0, .7);
    --shadow-cta: 0 14px 34px rgba(10, 110, 209, .35);
    --logo-light: none;
    --logo-dark: block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink-deep: #ffffff;
  --ink: #e8eef5;
  --ink-muted: #c3d1e1;
  --ink-faint: #93a4b8;
  --link: #6fb6ff;
  --surface: #152236;
  --surface-tint: #1a2a42;
  --wash-top: #0c1d36;
  --wash-bottom: #08111f;
  --bloom-blue: rgba(10, 110, 209, .22);
  --bloom-teal: rgba(23, 176, 167, .14);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --pill-fill: rgba(23, 176, 167, .14);
  --pill-ink: #5fd6cc;
  --pill-line: rgba(23, 176, 167, .35);
  --chip-fill: #152236;
  --chip-active-fill: rgba(10, 110, 209, .22);
  --chip-active-ink: #ffffff;
  --bar-fill: rgba(8, 17, 31, .82);
  --shadow-panel: 0 30px 70px -30px rgba(0, 0, 0, .7);
  --shadow-cta: 0 14px 34px rgba(10, 110, 209, .35);
  --logo-light: none;
  --logo-dark: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-muted);
  font: 400 17px/1.5 var(--font-body);
  background-color: var(--wash-bottom);
  background-image:
    radial-gradient(900px 600px at 100% 0, var(--bloom-blue), transparent 65%),
    radial-gradient(800px 600px at 0 100%, var(--bloom-teal), transparent 65%),
    linear-gradient(180deg, var(--wash-top), var(--wash-bottom));
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo lockup: one image per theme, swapped by token */
.logo .on-light { display: var(--logo-light); }
.logo .on-dark { display: var(--logo-dark); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--bar-fill); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.topbar .logo img { height: 40px; width: auto; }
.topbar .end { display: flex; align-items: center; gap: 14px; }

/* Main navigation (desktop): top-level links and dropdown menus */
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a, .mainnav > ul > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; border: 0; background: none; cursor: pointer; color: var(--ink); text-decoration: none; font: 500 17px/1 var(--font-body); }
.mainnav > ul > li > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.mainnav > ul > li > a:hover, .mainnav > ul > li > button:hover { color: var(--brand); }
.mainnav [aria-current], .mainnav .current > button { color: var(--link); }
.menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 300px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-panel); display: none; z-index: 20; }
.menu.wide { min-width: 620px; display: none; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.open > .menu { display: block; }
.has-menu:hover > .menu.wide, .has-menu:focus-within > .menu.wide, .has-menu.open > .menu.wide { display: grid; }
.has-menu::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 14px; }
.menu .group { padding: 10px 12px 4px; color: var(--ink-faint); font: 600 12px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; }
.menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 15px/1.3 var(--font-body); }
.menu a span { display: block; margin-top: 3px; color: var(--ink-faint); font-weight: 400; font-size: 13.5px; line-height: 1.4; }
.menu a:hover, .menu a[aria-current] { background: var(--surface-tint); color: var(--brand); }
.btn-sm { margin: 0; padding: 11px 18px; font-size: 15px; box-shadow: none; }

/* Mobile navigation */
.menu-toggle { display: none; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.menu-toggle .bars { width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.menu-toggle .bars::before { top: -5px; } .menu-toggle .bars::after { top: 5px; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - 60px); overflow-y: auto; }
.topbar .mobile-nav .wrap { display: block; height: auto; padding-top: 8px; padding-bottom: 20px; }
.mobile-nav .group { margin: 18px 0 6px; color: var(--ink-faint); font: 600 12px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; }
.mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 17px/1.2 var(--font-body); }
.mobile-nav a[aria-current] { color: var(--link); }
.mobile-nav .btn { display: inline-flex; margin-top: 20px; border: 0; color: #fff; }

/* Opening band */
.pill { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--pill-fill); border: 1px solid var(--pill-line); color: var(--pill-ink); font: 600 13px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; }
.rule { height: 6px; width: 120px; border-radius: 3px; background: var(--brand); margin: 24px 0 22px; }
h1, h2, h3 { color: var(--ink-deep); font-family: var(--font-head); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(38px, 6vw, 70px); line-height: 1.03; letter-spacing: -.04em; }
h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; margin: 20px 0 0; max-width: 680px; }
.hero { padding: clamp(44px, 7vw, 84px) 0 0; }

/* Search and topic filter */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search input { width: 100%; height: 48px; padding: 0 44px 0 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 16px/1 var(--font-body); }
.search input::placeholder { color: var(--ink-faint); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 110, 209, .18); }
.search button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-faint); font-size: 22px; line-height: 1; cursor: pointer; }
.search button:hover { color: var(--ink); background: var(--surface-tint); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--chip-fill); color: var(--ink); font: 500 14px/1 var(--font-body); cursor: pointer; }
.topic:hover { border-color: var(--brand); }
.topic[aria-pressed="true"] { background: var(--chip-active-fill); color: var(--chip-active-ink); border-color: var(--brand); }

/* Featured post */
.featured { margin-top: 40px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-panel); position: relative; }
.featured .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 2000 / 955; }
.featured .frame img { width: 100%; }
.featured .body { padding: 8px clamp(4px, 2vw, 22px) 8px 0; }
.featured h2 a { color: inherit; text-decoration: none; }
.featured h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.featured p.desc { margin: 14px 0 0; }

/* Post grid */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: clamp(48px, 6vw, 72px) 0 0; }
.count { color: var(--ink-faint); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card::before { content: ""; position: absolute; left: 24px; top: 0; width: 48px; height: 4px; border-radius: 0 0 3px 3px; background: var(--brand); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-panel); transform: translateY(-2px); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.card .desc { margin: 12px 0 0; font-size: 16px; line-height: 1.55; flex: 1; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-faint); font-size: 14px; margin-bottom: 12px; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.byline { color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--surface-tint); border: 1px solid var(--line); color: var(--ink-muted); font-size: 12.5px; line-height: 1.4; }
.more { display: inline-flex; margin-top: 18px; color: var(--link); font: 600 15px/1 var(--font-body); }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 13px 22px; border-radius: 12px; background: var(--brand); color: #fff; font: 600 16px/1 var(--font-body); text-decoration: none; box-shadow: var(--shadow-cta); }
.btn:hover { background: var(--brand-hover); color: #fff; }
.empty { margin: 30px 0 0; padding: 28px; border-radius: 16px; border: 1px dashed var(--line-strong); text-align: center; color: var(--ink-faint); }
[hidden] { display: none !important; }

/* Brand band (footer) */
.brand-band { margin-top: clamp(64px, 9vw, 110px); padding: 28px 0 40px; }
.brand-band .wrap > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line-strong); padding-top: 28px; }
.brand-band .logo img { height: 32px; width: auto; }
.brand-band nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.brand-band nav a { color: var(--ink-muted); text-decoration: none; }
.brand-band nav a:hover { color: var(--brand); }
.brand-band .links { color: var(--ink-faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.brand-band .links a { color: var(--ink-faint); text-decoration: none; }
.brand-band .links a:hover { color: var(--brand); }
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.theme-switch button { border: 0; background: transparent; color: var(--ink-faint); font: 500 13px/1 var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* Article pages (blog posts) */
.back { display: inline-flex; color: var(--ink-faint); text-decoration: none; font: 500 15px/1 var(--font-body); margin-bottom: 30px; }
.back:hover { color: var(--brand); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 26px; color: var(--ink-faint); font-size: 15px; }
.article-meta .by { color: var(--ink); font-weight: 600; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.hero-shot { margin: clamp(32px, 5vw, 52px) 0 0; }
.hero-shot .frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-panel); aspect-ratio: 2000 / 955; }
.hero-shot .frame img { width: 100%; }
.hero-shot figcaption { color: var(--ink-faint); font-size: 14px; margin-top: 12px; }
.prose { max-width: 760px; }
.block { padding: clamp(52px, 7vw, 88px) 0 0; }
.block p { margin: 16px 0 0; line-height: 1.65; }
.block p strong { color: var(--ink); font-weight: 600; }
.eyebrow { color: var(--pill-ink); font: 600 13px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; margin: 0 0 14px; }
.numbered { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; counter-reset: n; }
.numbered li { counter-increment: n; display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.numbered li::before { content: counter(n, decimal-leading-zero); flex: none; width: 30px; color: var(--brand); font: 800 20px/1 var(--font-head); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.feature .num { display: block; color: var(--brand); font: 800 22px/1 var(--font-head); margin-bottom: 14px; }
.feature p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
.dots { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dots li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 24px 50px; }
.dots li::before { content: ""; position: absolute; left: 24px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.dots p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.steps-line { list-style: none; padding: 0; margin: 26px 0 0; }
.steps-line li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.steps-line li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps-line .num { flex: none; width: 48px; color: var(--brand); font: 800 34px/1 var(--font-head); }
.steps-line p { margin: 6px 0 0; }
.note { margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: var(--surface-tint); border: 1px solid var(--line); border-left: 4px solid var(--brand); color: var(--ink); }
.cta-panel { margin-top: clamp(56px, 8vw, 96px); padding: clamp(26px, 4vw, 44px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-panel); }
.cta-panel p { margin: 12px 0 0; }
.cta-panel .btn { margin-top: 24px; }
.fine { color: var(--ink-faint); font-size: 13.5px; line-height: 1.6; margin-top: 36px; }

@media (max-width: 960px) {
  .topbar .wrap { height: 60px; }
  .topbar .logo img { height: 34px; }
  .topbar nav a { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured .body { padding: 4px 6px 10px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .topbar .wrap { height: 54px; }
  .topbar .logo img { height: 30px; }
  .topbar nav a { font-size: 16px; }
  .topbar nav .hide-sm { display: none; }
  .search { max-width: none; }
  .features, .dots { grid-template-columns: 1fr; }
  .steps-line li { gap: 14px; }
  .steps-line .num { width: 36px; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}

/* ===== Site components (full-site redesign, October 2026) ===== */
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-tint); color: var(--brand); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns .btn { margin-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-faint); font-size: 14px; margin-bottom: 26px; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .6; }

/* Sections */
.section { padding: clamp(60px, 8vw, 104px) 0 0; }
.section-intro { max-width: 760px; }
.section-intro p { margin: 16px 0 0; line-height: 1.6; }
.band { margin-top: clamp(60px, 8vw, 104px); padding: clamp(28px, 4.5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-panel); }
.band > .wrap { padding: 0; }
.band + .section { padding-top: clamp(48px, 6vw, 80px); }

/* Hero with media */
.hero-split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-split h1 { font-size: clamp(36px, 5vw, 60px); }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.hero-points li { position: relative; padding-left: 24px; color: var(--ink); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.media-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0b1628; box-shadow: var(--shadow-panel); }
.media-frame video, .media-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.media-caption { color: var(--ink-faint); font-size: 14px; margin-top: 12px; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font: 600 13px/1.2 var(--font-body); }
.status.done { background: #e7f7f6; color: #0f8a83; }
.status.progress { background: #e8f1fb; color: #0a4fa0; }
.status.later { background: #f1f5f9; color: #4c5c6d; }
:root[data-theme="dark"] .status.done { background: rgba(23, 176, 167, .16); color: #5fd6cc; }
:root[data-theme="dark"] .status.progress { background: rgba(10, 110, 209, .22); color: #9ccaff; }
:root[data-theme="dark"] .status.later { background: rgba(255, 255, 255, .08); color: #c3d1e1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status.done { background: rgba(23, 176, 167, .16); color: #5fd6cc; }
  :root:not([data-theme="light"]) .status.progress { background: rgba(10, 110, 209, .22); color: #9ccaff; }
  :root:not([data-theme="light"]) .status.later { background: rgba(255, 255, 255, .08); color: #c3d1e1; }
}

/* Generic grids and tiles */
.cols { display: grid; gap: 16px; margin-top: 32px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.tile .num { color: var(--brand); font: 800 22px/1 var(--font-head); margin-bottom: 14px; }
.tile .kicker { color: var(--pill-ink); font: 600 12px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.tile p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
.tile ul { margin: 12px 0 0; padding-left: 18px; font-size: 15.5px; line-height: 1.55; }
.tile ul li { margin-top: 4px; }
.tile .more { margin-top: auto; padding-top: 16px; }
a.tile { color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-panel); transform: translateY(-2px); }
.tile.feature-tile { border-top: 4px solid var(--brand); }
.bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 24px; line-height: 1.55; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.bullets li strong { color: var(--ink); }

/* Two-column text and image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Product strip and logos */
.product-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.product-card .body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.product-card .shot { background: var(--surface-tint); display: flex; align-items: center; padding: 20px; }
.product-card .shot img { border-radius: 10px; border: 1px solid var(--line); }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.roadmap .tile h3 { margin-top: 10px; }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.data th { text-align: left; background: var(--surface-tint); color: var(--ink); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; color: var(--ink-deep); font: 700 18px/1.35 var(--font-head); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; color: var(--brand); font: 400 26px/1 var(--font-body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; max-width: 760px; line-height: 1.6; }

/* Long-form legal and policy text */
.legal { max-width: 800px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 44px; }
.legal h3 { margin-top: 26px; font-size: 19px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 20px; }

/* Contact */
.contact-card { display: grid; gap: 6px; }
.contact-card a { font: 700 20px/1.3 var(--font-head); text-decoration: none; overflow-wrap: anywhere; }

/* Footer, full site */
.site-footer { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-strong); padding: 48px 0 36px; background: var(--surface); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer .logo img { height: 32px; width: auto; }
.site-footer .about { margin: 16px 0 0; max-width: 320px; line-height: 1.6; }
.site-footer h2 { font: 600 12px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 13.5px; }

@media (max-width: 1080px) {
  .mainnav, .topbar .end .btn-sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1081px) { .mobile-nav { display: none !important; } }
@media (max-width: 960px) {
  .hero-split, .split, .product-card { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cols-3, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .roadmap { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; }
}
.topbar .btn-sm { margin: 0; }

/* Stat numerals (design system: Manrope 800, brand blue). Every figure needs a source line nearby. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.stat strong { display: block; color: var(--brand); font: 800 clamp(36px, 4.4vw, 52px)/1 var(--font-head); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: var(--ink); font-weight: 500; line-height: 1.4; }
:root[data-theme="dark"] .stat strong { color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat strong { color: var(--link); } }
.source { color: var(--ink-faint); font-size: 13.5px; margin-top: 12px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .btn { max-width: 100%; overflow-wrap: anywhere; line-height: 1.3; } }

/* Team map (home page). Markup generated by scripts/make-team-map.py */
.cmap { margin-top: clamp(28px, 4vw, 48px); }
.cmap-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cmap-land { stroke: #c1cfe0; stroke-width: 4.4; stroke-linecap: round; }
:root[data-theme="dark"] .cmap-land { stroke: var(--line-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cmap-land { stroke: var(--line-strong); } }
.cmap-country { stroke: var(--brand); stroke-width: 4.4; stroke-linecap: round; opacity: .55; transition: opacity .25s, stroke .25s; }
.cmap-marker { cursor: pointer; }
.cmap-marker .dot { fill: var(--brand); stroke: var(--wash-top); stroke-width: 3; transition: transform .25s; }
.cmap-marker .pulse { fill: var(--brand); opacity: .25; transform-box: fill-box; transform-origin: center; animation: cmap-pulse 2.8s ease-out infinite; }
.cmap-marker text { fill: #fff; font: 800 15px/1 var(--font-head); text-anchor: middle; pointer-events: none; }
.cmap-marker .cmap-tag { fill: var(--ink-deep); font: 700 15px/1 var(--font-body); paint-order: stroke; stroke: var(--wash-top); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.cmap-marker:nth-child(odd) .pulse { animation-delay: 1.4s; }
@keyframes cmap-pulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(2.1); opacity: 0; } }
.cmap.has-active .cmap-country { opacity: .22; }
.cmap.has-active .cmap-country.is-active { opacity: 1; stroke: var(--link); }
.cmap.has-active .cmap-marker { opacity: .45; }
.cmap.has-active .cmap-marker.is-active { opacity: 1; }
.cmap-marker.is-active .cmap-tag { opacity: 1; }
.cmap-marker.is-active .dot { fill: var(--brand-hover); }
.cmap-side { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: clamp(16px, 2.5vw, 28px); padding-top: clamp(16px, 2.5vw, 24px); border-top: 1px solid var(--line); }
.cmap-total { margin: 0; display: grid; gap: 6px; max-width: 140px; }
.cmap-total strong { color: var(--brand); font: 800 clamp(40px, 4.6vw, 56px)/1 var(--font-head); letter-spacing: -.03em; }
.cmap-total span { color: var(--ink); font-weight: 500; line-height: 1.3; }
.cmap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cmap-row { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: start; align-content: space-between; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.cmap-row:hover, .cmap-row.is-active { background: var(--surface-tint); border-color: var(--line); }
.cmap-row:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cmap-label { display: flex; flex-direction: column; gap: 2px; }
.cmap-name { font-weight: 600; }
.cmap-note { color: var(--ink-faint); font-size: 13px; }
.cmap-count { color: var(--ink-deep); font: 800 22px/1 var(--font-head); }
.cmap-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cmap-bar span { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
:root[data-theme="dark"] .cmap-total strong { color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cmap-total strong { color: var(--link); } }
@media (prefers-reduced-motion: reduce) { .cmap-marker .pulse { animation: none; opacity: 0; } }
@media (max-width: 960px) { .cmap-side { grid-template-columns: 1fr; gap: 14px; } .cmap-total { max-width: none; display: flex; align-items: baseline; gap: 12px; } .cmap-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cmap-list { grid-template-columns: 1fr 1fr; } .cmap-marker text { display: none; } }
