/* Komneon site. Brand guidelines v3.0 (28 Oct 2026).
   Gunmetal leads, teal is the single accent (~10%), Libre Franklin for
   everything, JetBrains Mono for real data only. 6px corners, 10px on large
   graphic panels. Flat surfaces: no shadows, glows or gradient fills. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin.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: "Libre Franklin"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --gunmetal: #1B1C1E;
  --deep: #111214;
  --raised: #252628;
  --line: #363739;
  --mist: #B2B3B5;
  --paper: #F4F4F5;
  --map: #18191B;

  --light: #F5F6F7;
  --white: #FFFFFF;
  --rule: #DADADB;
  --ink: #111214;
  --ink-2: #565759;
  --ink-3: #68696B;

  --teal: #43B3A0;
  --teal-deep: #1B7366;
  --teal-ink: #0E1F1C;

  --font: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: 64px;
  --maxw: 1312px;
  --r: 6px;
  --r-lg: 10px;
  --header-h: 72px;
  --section: 120px;
}
@media (max-width: 1100px) { :root { --gutter: 40px; --section: 96px; } }
@media (max-width: 720px)  { :root { --gutter: 20px; --section: 72px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--white :focus-visible, .section--light :focus-visible, .site-header :focus-visible { outline-color: var(--teal-deep); }
::selection { background: var(--teal); color: var(--teal-ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: var(--teal-ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Surfaces ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .66); }
.section--white { background: var(--white); color: var(--ink); }
.section--light { background: var(--light); color: var(--ink); }
.section--dark  { background: var(--gunmetal); color: var(--paper); }
.section--deep  { background: var(--deep); color: var(--paper); }
.section + .section--white.no-top, .section + .section--light.no-top { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); }
.section--dark .rule-top, .section--deep .rule-top { border-top-color: var(--line); }

/* ---------- Type ---------- */

.display { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.375rem, 1.6rem + 2.8vw, 3.625rem); line-height: 1.07; }
.h2 { font-size: clamp(1.875rem, 1.4rem + 1.7vw, 2.75rem); line-height: 1.12; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
.h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.005em; }
.muted { color: var(--ink-2); }
.section--dark .muted, .section--deep .muted, .on-dark .muted { color: var(--mist); }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.section--dark .lede, .section--deep .lede, .on-dark .lede { color: var(--mist); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }
.small { font-size: 14px; line-height: 1.55; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.measure { max-width: 36em; }

/* Dark contexts that aren't .section--dark */
.page-hero--dark .lede, .cta .lede, .band .lede { color: var(--mist); }
.page-hero--dark .muted { color: var(--mist); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--teal); color: var(--teal-ink); }
.btn--primary:hover { background: #4FC2AE; }
.btn--secondary { border-color: var(--line); color: var(--paper); background: transparent; }
.btn--secondary:hover { border-color: var(--mist); }
.section--white .btn--primary, .section--light .btn--primary, .on-light .btn--primary, .site-header .btn--primary { background: var(--teal-deep); color: var(--white); }
.section--white .btn--primary:hover, .section--light .btn--primary:hover, .on-light .btn--primary:hover, .site-header .btn--primary:hover { background: #17635A; }
.section--white .btn--secondary, .section--light .btn--secondary, .on-light .btn--secondary, .site-header .btn--secondary { border-color: var(--rule); color: var(--ink); }
.section--white .btn--secondary:hover, .section--light .btn--secondary:hover, .on-light .btn--secondary:hover, .site-header .btn--secondary:hover { border-color: var(--ink-3); }
.btn .arr, .link-arrow .arr { transition: transform .15s ease; }
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: inherit; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.prose a, .text-link { color: var(--teal-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.section--dark .prose a, .section--deep .prose a, .section--dark .text-link, .section--deep .text-link { color: var(--teal); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.wordmark { width: 132px; height: 11px; fill: currentColor; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__link, .site-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .15s ease;
}
.site-nav__link:hover, .site-nav__trigger:hover, .site-nav__trigger[aria-expanded="true"], .site-nav__link[aria-current="page"], .site-nav__trigger.is-current { color: var(--ink); }
.site-nav__trigger svg { width: 10px; height: 10px; transition: transform .2s ease; }
.site-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: none; }
.mega.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: 260px repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 40px 44px; }
.mega__intro p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
.mega__intro .h4 { color: var(--ink); }
.mega__col h3 { margin-bottom: 14px; }
.mega__col h3 a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.mega__col h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mega__col h3 svg { width: 20px; height: 20px; color: var(--teal-deep); flex: none; }
.mega__col li + li { margin-top: 2px; }
.mega__col li a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.mega__col li a:hover { color: var(--ink); }

.nav-toggle { display: none; margin-left: auto; height: 40px; padding: 0 12px; gap: 10px; align-items: center; background: none; border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.nav-toggle__bars { width: 16px; height: 10px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.nav-toggle__bars::before { top: 1px; } .nav-toggle__bars::after { top: 7.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--rule); }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--rule); }
  .site-nav__link, .site-nav__trigger { width: 100%; height: 56px; padding: 0; font-size: 17px; color: var(--ink); justify-content: space-between; }
  .mega { position: static; border: 0; background: none; }
  .mega__inner { grid-template-columns: 1fr; gap: 24px; padding: 4px 0 24px; }
  .mega__intro { display: none; }
  .site-nav__cta { margin: 24px 0 0; flex-direction: column; align-items: stretch; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--deep); color: var(--paper); padding-top: clamp(56px, 7vw, 104px); padding-bottom: 0; position: relative; overflow: hidden; }
.hero__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--deep) url(/assets/img/hero-poster.webp) center / cover no-repeat; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(17,18,20,.8); }
.hero > .container { position: relative; z-index: 1; }
.hero .lede { color: var(--mist); }
.hero__stage > .hero__pause { position: absolute; right: 0; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(17,18,20,.5); color: var(--mist); font: 500 12.5px/1 var(--font); cursor: pointer; }
.hero__pause:hover { color: var(--paper); border-color: var(--mist); }
.hero__pause-ic { width: 8px; height: 9px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.hero__pause[aria-pressed="true"] .hero__pause-ic { border: 0; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
@media (max-width: 700px) { .hero__stage > .hero__pause { top: 2px; right: 0; padding: 0 10px; } .hero__pause [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.hero__aside .lede { margin-bottom: 32px; }
.hero__stage { margin-top: clamp(48px, 6vw, 80px); position: relative; }
.hero__stage::after { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 0; height: 44%; background: var(--white); z-index: 0; }
.hero__stage > * { position: relative; z-index: 1; }
.trustline { background: var(--white); color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.trustline__inner { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-block: 28px 32px; align-items: center; justify-content: space-between; }
.trustline__statement { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.trustline__statement span { color: var(--ink-3); font-weight: 400; }
.trustline ul { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.trustline li { display: inline-flex; align-items: center; gap: 10px; }
.trustline li::before { content: ""; width: 6px; height: 6px; background: var(--teal-deep); }
@media (max-width: 900px) { .hero__head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Page heroes ---------- */
.page-hero { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 6vw, 88px); }
.page-hero--dark { background: var(--gunmetal); color: var(--paper); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 80px; align-items: start; }
.page-hero__grid .lede { margin-bottom: 32px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; align-items: start; } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; margin: 0 0 40px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 10px; height: 10px; opacity: .7; }
.page-hero--dark .crumbs, .section--dark .crumbs { color: var(--mist); }
.page-hero--dark .crumbs a { color: var(--mist); }
.page-hero--dark .crumbs a:hover { color: var(--paper); }


/* Photo band in sector heroes */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--deep); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 21 / 8; }
.photo--card { aspect-ratio: 16 / 10; }
.photo__scrim { position: absolute; inset: 0; background: rgba(17,18,20, .28); }
.photo__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo__caption { position: absolute; left: 20px; bottom: 16px; font-family: var(--mono); font-size: 11px; color: var(--paper); opacity: .85; }
@media (max-width: 720px) { .photo--wide { aspect-ratio: 4 / 3; } }

/* ---------- Section heads ---------- */
.head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 52rem; }
.head .h2 + .lede, .head .h2 + p { margin-top: 20px; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; }
.head--split .lede { margin: 0; }
@media (max-width: 900px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 96px; align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split--center { align-items: center; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* ---------- Problem / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--1 { grid-template-columns: 1fr; }
.stats--1 .stat { border-right: 0; padding-bottom: 0; }
.stat { padding: 32px 32px 8px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.stat + .stat { padding-left: 32px; }
.stat:last-child { border-right: 0; }
.stat__figure { font-size: clamp(2.5rem, 1.8rem + 2.2vw, 3.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--ink); margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.stat__figure small { font-size: .42em; letter-spacing: -0.01em; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.stat__label { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; max-width: 24em; }
.stat__source { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; }
.stat__source:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.section--dark .stats, .section--deep .stats { border-top-color: var(--line); }
.section--dark .stat, .section--deep .stat { border-right-color: var(--line); }
.section--dark .stat__figure, .section--deep .stat__figure { color: var(--teal); }
.section--dark .stat__figure small, .section--deep .stat__figure small { color: var(--mist); }
.section--dark .stat__label, .section--deep .stat__label { color: var(--mist); }
.section--dark .stat__source, .section--deep .stat__source { color: var(--mist); }
@media (max-width: 900px) { .stats, .stats--2 { grid-template-columns: 1fr; } .stat, .stat + .stat { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--rule); } .section--dark .stat, .section--deep .stat { border-bottom-color: var(--line); } .stat:last-child { border-bottom: 0; } }

/* Ratio diagram (one pilot per drone vs one operator) */
.ratio { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.ratio__col { padding: 28px 28px 24px; }
.ratio__col + .ratio__col { border-left: 1px solid var(--rule); background: var(--gunmetal); color: var(--paper); }
.ratio__col .mono { color: var(--ink-3); display: block; margin-bottom: 14px; }
.ratio__col + .ratio__col .mono { color: var(--mist); }
.ratio__col h3 { margin-bottom: 18px; }
.ratio svg { width: 100%; height: auto; }
@media (max-width: 560px) { .ratio { grid-template-columns: 1fr; } .ratio__col + .ratio__col { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { border-top: 1px solid var(--rule); padding-top: 24px; position: relative; }
.step__num { font-family: var(--mono); font-size: 12px; color: var(--teal-deep); display: block; margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.section--dark .step, .section--deep .step { border-top-color: var(--line); }
.section--dark .step__num, .section--deep .step__num { color: var(--teal); }
.section--dark .step p, .section--deep .step p { color: var(--mist); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 600px) { .steps, .steps--3 { grid-template-columns: 1fr; gap: 32px; } }

/* Steps synced to a demo */
.sync-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 32px; }
.sync-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 22px 0 0; text-align: left; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
.sync-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.sync-step::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--teal-deep); }
.sync-step.is-done::after { width: 100%; }
.sync-step.is-active::after { width: var(--p, 0%); }
.sync-step__num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 10px; }
.sync-step.is-active .sync-step__num, .sync-step.is-done .sync-step__num { color: var(--teal-deep); }
.sync-step__title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; display: block; margin-bottom: 6px; color: var(--ink); }
.sync-step__text { display: block; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.sync-step:not(.is-active):not(.is-done) .sync-step__title { color: var(--ink-2); }
.sync-step:hover .sync-step__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.on-dark .sync-step::before { background: var(--line); }
.on-dark .sync-step::after { background: var(--teal); }
.on-dark .sync-step__num { color: var(--mist); }
.on-dark .sync-step.is-active .sync-step__num, .on-dark .sync-step.is-done .sync-step__num { color: var(--teal); }
.on-dark .sync-step__title { color: var(--paper); }
.on-dark .sync-step:not(.is-active):not(.is-done) .sync-step__title { color: var(--mist); }
.on-dark .sync-step__text { color: var(--mist); }
@media (max-width: 900px) { .sync-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 520px) { .sync-steps { grid-template-columns: 1fr; gap: 22px; } .sync-step__text { display: none; } .sync-step.is-active .sync-step__text { display: block; } }

/* ---------- Stage: where product demos sit ---------- */
.stage { position: relative; border-radius: var(--r-lg); padding: clamp(12px, 3vw, 48px); background-color: var(--light); background-image: radial-gradient(circle at 1px 1px, #D0D0D1 1px, transparent 1.4px); background-size: 16px 16px; }
.stage--plain { background-image: none; }
.stage--dark { background-color: var(--deep); background-image: radial-gradient(circle at 1px 1px, #252628 1px, transparent 1.4px); }
.stage--flush { padding: 0; background: none; }

/* Scene tabs (home hero) */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.tab { position: relative; background: none; border: 0; padding: 14px 20px 16px 0; margin-right: 28px; cursor: pointer; color: var(--mist); text-align: left; font-size: 15px; font-weight: 500; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.tab[aria-selected="true"] { color: var(--paper); }
.tab[aria-selected="true"]::after { background: var(--teal); }
.tab .mono { display: block; color: var(--mist); margin-bottom: 4px; font-size: 11px; }
.tab[aria-selected="true"] .mono { color: var(--teal); }
.tab:hover { color: var(--paper); }
@media (max-width: 600px) { .tab { margin-right: 18px; font-size: 14px; padding-right: 0; } }

/* ---------- ORCA console (product UI) ---------- */
.orca { --c-bg: var(--deep); position: relative; background: var(--deep); color: var(--paper); border: 1px solid #292A2C; border-radius: var(--r-lg); overflow: hidden; font-size: 13px; line-height: 1.45; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; isolation: isolate; }
.orca__bar { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px 0 18px; border-bottom: 1px solid #262729; background: var(--deep); }
.orca__brand { font-weight: 600; letter-spacing: .14em; font-size: 12px; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.orca__brand::before { content: ""; width: 7px; height: 7px; background: var(--teal); }
.orca__crumb { color: var(--mist); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.orca__crumb b { color: var(--paper); font-weight: 600; }
.orca__crumb .sep { margin: 0 8px; opacity: .6; }
.orca__status { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r); border: 1px solid #292A2C; font-family: var(--mono); font-size: 11px; color: var(--mist); white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }
.pill.is-off .dot { background: transparent; box-shadow: inset 0 0 0 1.25px var(--mist); }
.pill.is-signal { color: var(--teal); border-color: rgba(67,179,160,.45); }
.pill b { color: var(--paper); font-weight: 500; }

.orca__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 0; }
.orca__map { position: relative; background: var(--map); aspect-ratio: 16 / 10; overflow: hidden; }
.orca__map svg.orca-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orca__rail { border-left: 1px solid #262729; display: flex; flex-direction: column; min-height: 0; background: var(--deep); }
.orca__panel { padding: 14px 16px; border-bottom: 1px solid #262729; }
.orca__panel:last-child { border-bottom: 0; flex: 1; min-height: 0; overflow: hidden; }
.orca__label { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 8px; }
.orca__label .mono { letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 11px; }
.orca__objective { color: var(--paper); font-size: 13px; line-height: 1.5; margin: 0; }
.fleet { display: grid; gap: 1px; }
.fleet li { display: grid; grid-template-columns: 42px minmax(0, 1fr) 34px; gap: 10px; align-items: center; height: 24px; font-size: 12px; color: var(--mist); }
.fleet .id { font-family: var(--mono); font-size: 11px; color: var(--paper); }
.fleet .st { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fleet .bat { height: 4px; background: #252628; border-radius: 1px; overflow: hidden; }
.fleet .bat i { display: block; height: 100%; background: var(--mist); width: 50%; transition: width .4s linear; }
.fleet li.is-hl .id, .fleet li.is-hl .st { color: var(--teal); }
.fleet li.is-hl .bat i { background: var(--teal); }
.fleet li.is-out { opacity: .55; }
.fleet li.is-low .bat i { background: var(--paper); }
.fleet__more { font-family: var(--mono); font-size: 11px; color: var(--mist); margin-top: 6px; }
.feed { display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--mist); animation: feedIn .5s ease both; }
.feed time { font-family: var(--mono); font-size: 11px; color: #98999B; padding-top: 1px; }
.feed li.is-signal span { color: var(--paper); }
.feed li.is-signal time { color: var(--teal); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.orca__foot { display: flex; align-items: center; gap: 20px; height: 44px; padding: 0 12px 0 18px; border-top: 1px solid #262729; background: var(--deep); font-size: 12px; color: var(--mist); }
.meter { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; max-width: 360px; }
.meter__bar { flex: 1; height: 4px; background: #252628; border-radius: 1px; overflow: hidden; min-width: 60px; }
.meter__bar i { display: block; height: 100%; width: 0; background: var(--teal); }
.meter .mono, .orca__foot .mono { color: var(--paper); font-size: 11.5px; }
.kv { display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.kv .mono { font-size: 11.5px; }
.orca__pause { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: none; border: 1px solid #292A2C; border-radius: var(--r); color: var(--mist); font-size: 11.5px; cursor: pointer; }
.orca__pause:hover { color: var(--paper); border-color: var(--line); }
.orca__pause svg { width: 10px; height: 10px; }
.orca__pause .i-play { display: none; }
.orca.is-paused .orca__pause .i-play { display: block; }
.orca.is-paused .orca__pause .i-pause { display: none; }

/* Overlays inside the map */
.orca-card { position: absolute; left: 16px; bottom: 16px; width: 300px; max-width: calc(100% - 32px); background: rgba(17,18,20, .96); border: 1px solid #2D2E30; border-radius: var(--r); padding: 14px; color: var(--paper); font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; z-index: 3; }
.orca-card.is-in { opacity: 1; transform: none; }
.orca-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.orca-card__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 7px; }
.orca-card__tag::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.orca-card__tag.is-mist { color: var(--mist); }
.orca-card__meta { font-family: var(--mono); font-size: 10.5px; color: var(--mist); }
.orca-card__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.orca-card__thumb { width: 76px; height: 64px; border-radius: 4px; overflow: hidden; background: #050608; }
.orca-card__thumb svg { width: 100%; height: 100%; }
.orca-card__title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.orca-card__text { color: var(--mist); margin: 0; font-size: 12px; line-height: 1.45; }
.orca-card__coords { font-family: var(--mono); font-size: 10.5px; color: #98999B; margin-top: 6px; display: block; }
.orca-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.orca-card__btn { height: 32px; border-radius: var(--r); border: 1px solid var(--line); background: none; color: var(--paper); font-size: 12.5px; font-weight: 600; display: grid; place-items: center; transition: background-color .2s ease, transform .15s ease, border-color .2s ease; }
.orca-card__btn--go { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.orca-card__btn.is-press { transform: scale(.96); }
.orca-card__btn.is-focus { outline: 2px solid var(--paper); outline-offset: 2px; }
.orca-card__result { display: none; margin-top: 12px; padding-top: 10px; border-top: 1px solid #292A2C; color: var(--paper); font-size: 12.5px; }
.orca-card.is-resolved .orca-card__actions { display: none; }
.orca-card.is-resolved .orca-card__result { display: block; }
.orca-card__result b { color: var(--teal); font-weight: 600; }
.orca-card__list { display: grid; gap: 8px; margin-top: 4px; }
.orca-card__list li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px; align-items: center; font-size: 12px; color: var(--mist); }
.orca-card__list .n { font-family: var(--mono); font-size: 10.5px; color: var(--mist); }
.orca-card__list b { color: var(--paper); font-weight: 600; }
.orca-card__list .mono { font-size: 10.5px; }

.orca-report { position: absolute; right: 16px; top: 16px; width: 286px; max-width: calc(100% - 32px); background: rgba(17,18,20, .96); border: 1px solid #2D2E30; border-radius: var(--r); padding: 14px 14px 12px; opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .5s ease; z-index: 3; pointer-events: none; }
.orca-report.is-in { opacity: 1; transform: none; }
.orca-report h4 { font-size: 14px; letter-spacing: -0.01em; margin: 0 0 10px; }
.orca-report dl { margin: 0; display: grid; gap: 6px; }
.orca-report dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--mist); }
.orca-report dd { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--paper); text-align: right; }
.orca-report .gaps { margin-top: 10px; padding-top: 10px; border-top: 1px solid #292A2C; display: grid; gap: 6px; }
.orca-report .gaps li { font-size: 11.5px; color: var(--mist); display: grid; grid-template-columns: 12px 1fr; gap: 8px; line-height: 1.4; }
.orca-report .gaps li::before { content: ""; width: 8px; height: 8px; margin-top: 4px; border: 1px solid var(--mist); background: repeating-linear-gradient(45deg, transparent 0 2px, rgba(178,179,181,.6) 2px 3px); }
.orca-report .exports { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.orca-report .exports span { font-family: var(--mono); font-size: 10.5px; padding: 4px 7px; border: 1px solid #2D2E30; border-radius: 4px; color: var(--paper); }

.orca-banner { position: absolute; left: 50%; top: 14px; transform: translate(-50%, -6px); background: rgba(17,18,20,.96); border: 1px solid #2D2E30; border-radius: var(--r); padding: 7px 12px; font-family: var(--mono); font-size: 11px; color: var(--paper); white-space: nowrap; opacity: 0; transition: opacity .4s ease, transform .4s ease; z-index: 2; display: flex; gap: 8px; align-items: center; }
.orca-banner::before { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--mist); }
.orca-banner.is-in { opacity: 1; transform: translate(-50%, 0); }
.orca-banner.is-signal::before { background: var(--teal); box-shadow: none; }

.orca-toast { position: absolute; right: 14px; top: 14px; width: 270px; display: grid; gap: 6px; z-index: 2; pointer-events: none; }
.orca-toast li { background: rgba(17,18,20,.92); border: 1px solid #292A2C; border-radius: var(--r); padding: 8px 10px; display: grid; grid-template-columns: 38px 1fr; gap: 8px; font-size: 12px; color: var(--mist); animation: feedIn .5s ease both; }
.orca-toast time { font-family: var(--mono); font-size: 10.5px; color: #98999B; }
.orca-toast li.is-signal span { color: var(--paper); }
.orca-toast li.is-signal time { color: var(--teal); }

.orca-legend { position: absolute; right: 14px; bottom: 44px; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; color: var(--mist); z-index: 1; background: rgba(24,25,27,.85); padding: 6px 9px; border-radius: 4px; }
.orca-legend span { display: inline-flex; align-items: center; gap: 6px; }
.orca-legend i { width: 7px; height: 7px; display: inline-block; }
.orca-legend .k-drone { border-radius: 50%; background: var(--paper); }
.orca-legend .k-teal { background: var(--teal); }
.orca-legend .k-cov { background: rgba(244,244,245,.25); }
.orca-legend .k-out { border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--mist); }

/* Compact console (narrow containers): rail hidden, feed as toasts */
.orca--compact .orca__body { grid-template-columns: 1fr; }
.orca--compact .orca__rail { display: none; }
.orca:not(.orca--compact) .orca-toast { display: none; }
@media (max-width: 860px) {
  .orca__body { grid-template-columns: 1fr; }
  .orca__rail { display: none; }
  .orca:not(.orca--compact) .orca-toast, .orca--compact .orca-toast { display: grid; width: 220px; }
  .orca .orca-toast li:nth-child(n+2) { display: none; }
  .orca__map { aspect-ratio: 4 / 3; }
  .orca-report { width: 240px; }
  .orca-card { width: 260px; }
  .orca__foot .kv--hide-sm { display: none; }
  .orca-legend { display: none; }
}
@media (max-width: 560px) {
  .orca__crumb .job { display: none; }
  .orca__status [data-k="fleet"] { display: none; }
  .orca__bar { padding: 0 10px 0 14px; gap: 10px; }
  .orca__status .pill--clock { display: none; }
  .orca__map { aspect-ratio: 4 / 3; }
  .orca:not(.orca--compact) .orca-toast, .orca--compact .orca-toast { left: 10px; right: 10px; width: auto; top: 10px; }
  .orca-card__row { grid-template-columns: 1fr; }
  .orca-card__thumb, .orca-card__text, .orca-card__coords { display: none !important; }
  .orca-card { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; padding: 12px; }
  .orca-report { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-width: none; }
  .orca-banner { top: auto; bottom: 10px; }
  .orca__foot { gap: 12px; }
  .meter { max-width: none; }
  .orca__foot .kv { display: none; }
}

/* Placeholder before a demo mounts */
.orca-mount:empty { aspect-ratio: 16 / 11.2; background: var(--deep); border: 1px solid #292A2C; border-radius: var(--r-lg); }
.flow__dot { animation: flowdot 2.8s linear infinite; }
@keyframes flowdot { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(56px); opacity: 0; } }
.log li[hidden] { display: none; }

/* Bare map (mini demos, thumbnails) */
.mini { position: relative; background: var(--map); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.mini svg.orca-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini__label { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 11px; color: var(--mist); z-index: 1; }
.mini__label b { color: var(--teal); font-weight: 400; }

/* ---------- Capability (moves) cards ---------- */
.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.move { background: var(--raised); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.move .mini { border-radius: 0; }
.move__text { padding: 24px 28px 28px; }
.move__text h3 { margin-bottom: 8px; color: var(--paper); }
.move__text p { color: var(--mist); font-size: 15.5px; }
@media (max-width: 800px) { .moves { grid-template-columns: 1fr; } }

/* ---------- Flow diagram (how it works) ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.05fr) 56px minmax(0, 1fr); align-items: stretch; }
.flow__col { border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--white); padding: 24px; }
.flow__col--core { background: var(--gunmetal); border-color: var(--gunmetal); color: var(--paper); }
.flow__col h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.flow__col .mono { color: var(--ink-3); display: block; margin-bottom: 18px; }
.flow__col--core .mono { color: var(--mist); }
.flow__list { display: grid; gap: 10px; }
.flow__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: var(--r); background: var(--light); font-size: 14.5px; line-height: 1.45; }
.flow__list li svg { width: 20px; height: 20px; color: var(--teal-deep); margin-top: 1px; }
.flow__list li b { display: block; font-weight: 600; }
.flow__list li span { color: var(--ink-2); font-size: 13.5px; }
.flow__col--core .flow__list li { background: var(--raised); }
.flow__col--core .flow__list li svg { color: var(--teal); }
.flow__col--core .flow__list li span { color: var(--mist); }
.flow__link { position: relative; display: flex; align-items: center; justify-content: center; }
.flow__link svg { width: 100%; height: 40px; overflow: visible; }
.flow__link path { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.flow__link circle { fill: var(--teal-deep); }
.flow__team { margin-top: 14px; padding: 14px; border-radius: var(--r); border: 1px dashed var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; }
.flow__team svg { width: 20px; height: 20px; color: var(--teal); }
.flow__team span { color: var(--mist); display: block; font-size: 13px; }
@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__link { height: 40px; }
  .flow__link svg { transform: rotate(90deg); width: 40px; }
}

/* ---------- Sector cards ---------- */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sector-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--gunmetal); color: var(--paper); text-decoration: none; min-height: 440px; isolation: isolate; }
.sector-card__img { position: absolute; inset: 0; z-index: -2; }
.sector-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.sector-card:hover .sector-card__img img { transform: scale(1.025); }
.sector-card::before { content: ""; position: absolute; inset: 0; background: rgba(17,18,20,.5); z-index: -1; }
.sector-card__top { padding: 28px 28px 0; display: flex; align-items: center; gap: 12px; }
.sector-card__top svg { width: 22px; height: 22px; color: var(--teal); }
.sector-card__top span { font-weight: 600; font-size: 15px; }
.sector-card__body { margin-top: auto; padding: 0 28px 28px; background: none; }
.sector-card__body h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); line-height: 1.15; margin-bottom: 18px; max-width: 18em; }
.sector-card__uses { display: grid; gap: 0; border-top: 1px solid rgba(244,244,245,.25); }
.sector-card__uses li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(244,244,245,.18); font-size: 14.5px; color: var(--paper); }
.sector-card__uses li span:last-child { font-family: var(--mono); font-size: 11px; color: var(--mist); }
.sector-card__more { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; }
.sector-card:hover .sector-card__more .arr { transform: translateX(3px); }
.sector-card__more .arr { transition: transform .15s ease; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } .sector-card { min-height: 400px; } }

/* ---------- Use-case index (numbered rows) ---------- */
.index { border-top: 1px solid var(--rule); }
.index__group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px 48px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.index__group h3 { align-self: start; font-size: 17px; letter-spacing: -0.01em; }
.index__group h3 a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.index__group h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.index__group h3 svg { width: 20px; height: 20px; color: var(--teal-deep); flex: none; }
.index__rows li + li { border-top: 1px solid var(--rule); }
.index__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.4fr) 24px; gap: 20px; align-items: baseline; padding: 14px 0; text-decoration: none; }
.index__rows li:first-child .index__row { padding-top: 0; }
.index__row .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.index__row .t { font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.index__row .d { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.index__row .arr { color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.index__row:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.index__row:hover .arr { transform: translateX(3px); color: var(--teal-deep); }
.section--dark .index, .section--dark .index__group, .section--dark .index__rows li + li { border-color: var(--line); }
@media (max-width: 900px) { .index__group { grid-template-columns: 1fr; } .index__row { grid-template-columns: 36px minmax(0, 1fr) 20px; } .index__row .d { grid-column: 2 / 3; } .index__row .arr { grid-row: 1; grid-column: 3; } }

/* ---------- Use-case cards (sector page) ---------- */
.uc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.uc-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--rule); overflow: hidden; transition: border-color .2s ease; }
.uc-card:hover { border-color: var(--ink-3); }
.uc-card .mini { border-radius: 0; }
.uc-card__text { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.uc-card__text .mono { color: var(--ink-3); margin-bottom: 10px; display: block; }
.uc-card__text h3 { margin-bottom: 10px; }
.uc-card__text p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.uc-card__text .link-arrow { margin-top: auto; color: var(--teal-deep); }
@media (max-width: 1020px) { .uc-cards { grid-template-columns: 1fr; } .uc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .uc-card .mini { aspect-ratio: auto; height: 100%; min-height: 220px; } }
@media (max-width: 640px) { .uc-card { display: flex; } .uc-card .mini { aspect-ratio: 16/10; min-height: 0; height: auto; } }

/* ---------- Feature lists ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 26px 0 28px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 16px; }
.feature svg { width: 24px; height: 24px; color: var(--teal-deep); grid-row: span 2; margin-top: 2px; }
.feature h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.feature--plain { grid-template-columns: 1fr; }
.section--dark .feature, .section--deep .feature { border-top-color: var(--line); }
.section--dark .feature svg, .section--deep .feature svg { color: var(--teal); }
.section--dark .feature p, .section--deep .feature p { color: var(--mist); }
@media (max-width: 1020px) { .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .features, .features--3 { grid-template-columns: 1fr; } }

/* Charter (numbered commitments) */
.charter { counter-reset: c; border-top: 1px solid var(--rule); }
.charter li { counter-increment: c; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.charter li::before { content: counter(c, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--teal-deep); }
.charter h3 { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); letter-spacing: -0.01em; line-height: 1.3; }
.charter p { color: var(--ink-2); font-size: 15.5px; }
.section--dark .charter, .section--dark .charter li, .section--deep .charter, .section--deep .charter li { border-color: var(--line); }
.section--dark .charter li::before, .section--deep .charter li::before { color: var(--teal); }
.section--dark .charter p, .section--deep .charter p { color: var(--mist); }
@media (max-width: 860px) { .charter li { grid-template-columns: 48px minmax(0, 1fr); } .charter p { grid-column: 2; } }

/* ---------- Panels (product mocks on light sections) ---------- */
.panel { background: var(--gunmetal); color: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.panel--light { background: var(--white); color: var(--ink); border: 1px solid var(--rule); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel--light .panel__head { border-bottom-color: var(--rule); }
.panel__title { font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 10px; align-items: center; }
.panel__title::before { content: ""; width: 7px; height: 7px; background: var(--teal); }
.panel--light .panel__title::before { background: var(--teal-deep); }

.log { font-family: var(--mono); font-size: 12px; line-height: 1.5; display: grid; gap: 0; }
.log li { display: grid; grid-template-columns: 70px 80px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #292A2C; color: var(--mist); }
.log li:last-child { border-bottom: 0; }
.log li b { color: var(--paper); font-weight: 400; }
.log li .who { color: var(--paper); }
.log li.is-signal .who { color: var(--teal); }
.log li.is-new { animation: feedIn .6s ease both; }
@media (max-width: 560px) { .log li { grid-template-columns: 62px minmax(0, 1fr); } .log li .who { display: none; } }

.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); background: var(--white); }
.report__map { background: var(--map); position: relative; min-height: 320px; }
.report__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.report__body { padding: 28px; }
.report__body .mono { color: var(--ink-3); }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 18px; }
.report th, .report td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.report th { font-weight: 600; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.report td.num { font-family: var(--mono); font-size: 12.5px; text-align: right; white-space: nowrap; }
.report__exports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.report__exports span { font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: var(--r); border: 1px solid var(--rule); color: var(--ink); }
@media (max-width: 860px) { .report { grid-template-columns: 1fr; } .report__map { min-height: 260px; } }

/* Quote / statement band */
.statement { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; max-width: 24em; }
.statement span { color: var(--mist); }
.section--white .statement span, .section--light .statement span { color: var(--ink-3); }

/* Full-bleed photo band */
.band { position: relative; min-height: clamp(420px, 52vw, 620px); display: flex; align-items: flex-end; color: var(--paper); isolation: isolate; overflow: hidden; }
.band__img { position: absolute; inset: 0; z-index: -2; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(17,18,20,.55); z-index: -1; }
.band .container { padding-block: clamp(48px, 7vw, 96px); }
.band__overlay { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
@media (max-width: 900px) { .band__overlay { display: none; } }

/* Use-case detail blocks */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why__item { padding: 24px; border-radius: var(--r-lg); background: var(--light); }
.why__item .mono { color: var(--teal-deep); display: block; margin-bottom: 14px; }
.why__item h3 { font-size: 17.5px; letter-spacing: -0.01em; margin-bottom: 8px; }
.why__item p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.compare__col { padding: 32px; }
.compare__col + .compare__col { background: var(--gunmetal); color: var(--paper); border-left: 1px solid var(--gunmetal); }
.compare__col .mono { display: block; color: var(--ink-3); margin-bottom: 16px; }
.compare__col + .compare__col .mono { color: var(--teal); }
.compare__col h3 { margin-bottom: 18px; }
.compare__col ul { display: grid; gap: 12px; }
.compare__col li { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.compare__col li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; background: var(--ink-3); }
.compare__col + .compare__col li { color: var(--mist); }
.compare__col + .compare__col li::before { background: var(--teal); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare__col + .compare__col { border-left: 0; } }

.outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.output { padding: 20px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
.output h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.output p { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.output .mono { color: var(--ink-3); font-size: 11px; padding: 3px 7px; border: 1px solid var(--rule); border-radius: 4px; align-self: start; }
@media (max-width: 720px) { .outputs { grid-template-columns: 1fr; } }

.note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--light); border: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.note svg { width: 20px; height: 20px; color: var(--teal-deep); margin-top: 1px; }
.note b { color: var(--ink); font-weight: 600; }

.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who li { padding: 8px 14px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); font-size: 14.5px; }
.section--dark .who li { background: var(--raised); border-color: var(--line); color: var(--paper); }

/* Related */
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.related a { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; align-items: center; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--white); text-decoration: none; transition: border-color .2s ease; }
.related a:hover { border-color: var(--ink-3); }
.related .mono { color: var(--ink-3); display: block; margin-bottom: 8px; }
.related h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.related p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.related .mini { aspect-ratio: 4 / 3; border-radius: var(--r); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .related a { grid-template-columns: 1fr; } .related .mini { display: none; } }

/* ---------- CTA band ---------- */
.cta { background: var(--gunmetal); color: var(--paper); padding-block: clamp(72px, 9vw, 128px); position: relative; overflow: hidden; isolation: isolate; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 80px; align-items: center; }
.cta__art { width: 100%; height: auto; aspect-ratio: 900 / 520; }
.cta .lede { margin: 20px 0 32px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } .cta__art { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--mist); font-size: 14.5px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 40px 32px; padding-block: 72px 56px; }
.site-footer__brand .wordmark { width: 140px; height: 12px; color: var(--paper); margin-bottom: 22px; }
.site-footer__brand p { max-width: 22em; margin-bottom: 24px; }
.site-footer h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); margin: 0 0 16px; }
.site-footer h2 a { text-decoration: none; }
.site-footer h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: var(--teal-ink); }
.site-footer__bottom { border-top: 1px solid #262729; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-block: 24px 32px; font-size: 13px; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom li + li { margin-top: 0; }
.site-footer__note { color: #98999B; }
@media (max-width: 1100px) { .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field .req { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s ease; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5 5 7l3.5-3.5' fill='none' stroke='%234D5A58' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal-deep); outline-offset: 0; border-color: var(--teal-deep); }
.field [aria-invalid="true"] { border-color: #8A3B2E; }
.field .err { color: #8A3B2E; font-size: 13.5px; margin-top: 6px; min-height: 0; }
.form__status { font-size: 15px; padding: 14px 16px; border-radius: var(--r); background: var(--light); border: 1px solid var(--rule); display: none; }
.form__status.is-shown { display: block; }
.form__fine { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Long-form pages (privacy, credits) ---------- */
.doc { max-width: 44rem; }
.doc h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin: 48px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1em; }
.doc ul li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.doc ul li::before { content: ""; width: 6px; height: 6px; background: var(--teal-deep); margin-top: 11px; }
.doc a { color: var(--teal-deep); }
.credits { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.credits li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.credits img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--r); }
.credits p { font-size: 15px; color: var(--ink-2); margin: 0; }
.credits b { color: var(--ink); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--dark .divider { background: var(--line); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 88px; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.icon { width: 24px; height: 24px; }

/* Origin story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 96px; align-items: start; }
.story__quote { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.story__body p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
