/* GT AFRIK — design tokens. Direction: "field survey instrument".
   Warm paper surfaces, ink type, brand blue as signal, brand green as "live".
   Night photography and the console live in ink bands for contrast. */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* surfaces */
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --card: #fbfaf6;
  --ink: #0e1116;
  --ink-2: #161b23;
  --ink-3: #222a35;

  /* text */
  --text: #0e1116;
  --text-2: #3b4049;
  --text-3: #595d65;
  --text-inv: #f3f0e8;
  --text-inv-2: rgba(243, 240, 232, 0.66);
  --text-inv-3: rgba(243, 240, 232, 0.56);

  /* brand + semantic status */
  --blue: #3866ff;
  --blue-deep: #1d3fd6;
  --blue-wash: rgba(56, 102, 255, 0.1);
  --green: #2fbf6a;
  --green-wash: rgba(47, 191, 106, 0.14);
  --amber: #e39b17;
  --red: #d9412b;
  --red-wash: rgba(217, 65, 43, 0.12);

  /* small-text variants of the brand/status hues — each clears WCAG AA (4.5:1)
     on paper, card and their own wash; the bright hues are for large type/marks */
  --blue-ink: #2448e0;
  --green-ink: #12703c;
  --red-ink: #b5321e;
  --amber-ink: #8a5600;

  /* hairlines */
  --line: rgba(14, 17, 22, 0.12);
  --line-soft: rgba(14, 17, 22, 0.07);
  --line-inv: rgba(243, 240, 232, 0.12);

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --text-hero: clamp(3rem, 1.6rem + 5.2vw, 6.25rem);
  --text-h2: clamp(2.5rem, 1.6rem + 3.8vw, 5.25rem);
  --text-h3: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  --text-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-mono: 0.72rem;

  /* space */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --space-section: clamp(5rem, 3rem + 7vw, 10rem);
  --max: 1320px;

  /* shape — deliberately varied, not uniform */
  --r-card: 22px;
  --r-panel: 14px;
  --r-photo: 6px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(14, 17, 22, 0.04), 0 24px 60px -28px rgba(14, 17, 22, 0.28);
  --shadow-float: 0 2px 0 rgba(14, 17, 22, 0.04), 0 40px 80px -30px rgba(14, 17, 22, 0.45);

  /* motion */
  --dur-fast: 160ms;
  --dur: 420ms;
  --dur-slow: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* GT AFRIK — base: reset, type, buttons, chips, shared helpers */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--text-base)/1.6 var(--font-body);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* ── type ── */
.mono { font-family: var(--font-mono); font-size: var(--text-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--text-mono)/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--inv { color: var(--text-inv-3); }
.h2 {
  font: 400 var(--text-h2)/0.98 var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .cta__title em { font-style: italic; color: var(--blue); }
.lead { font-size: var(--text-lead); color: var(--text-2); max-width: 52ch; text-wrap: pretty; }
.lead-inv { font-size: var(--text-lead); color: var(--text-inv-2); max-width: 52ch; text-wrap: pretty; }

/* ── buttons ── */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), box-shadow var(--dur) var(--ease-out);
}
.btn span[aria-hidden] { transition: transform var(--dur) var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn--ink:hover { --bg: var(--ink-3); }
.btn--blue { --bg: var(--blue); --fg: #fff; box-shadow: 0 14px 30px -14px rgba(56, 102, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--blue:hover { --bg: var(--blue-deep); box-shadow: 0 20px 40px -16px rgba(56, 102, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--line { --bg: transparent; --fg: var(--text); border-color: var(--line); }
.btn--line:hover { --bg: var(--card); border-color: rgba(14, 17, 22, 0.25); }
.btn--line-inv { --bg: transparent; --fg: var(--paper); border-color: var(--line-inv); }
.btn--line-inv:hover { --bg: rgba(243, 240, 232, 0.08); }
.wa { width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--green) 40%, transparent); }

.link {
  display: inline-flex; gap: 8px; align-items: center; padding-block: 10px; /* ≥44px tap target */
  font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}
.link:hover { background-size: 100% 1px; }
.link span { transition: transform var(--dur) var(--ease-out); }
.link:hover span { transform: translateX(4px); }

/* ── status ── */
.dot-live { display: inline-flex; align-items: center; gap: 8px; }
.dot-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 191, 106, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47, 191, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 106, 0); } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  font: 500 0.68rem/1.4 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-style: normal; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--run { color: var(--green-ink); background: var(--green-wash); }
.chip--idle { color: var(--amber-ink); background: rgba(227, 155, 23, 0.14); }
.chip--alert { color: var(--red-ink); background: var(--red-wash); }
.chip--off { color: var(--text-3); background: rgba(14, 17, 22, 0.06); }

/* ── reveal ── */
/* .motion is set by site.js itself (not an inline head script), so if the script
   stalls on a slow connection nothing stays hidden. Hero content never uses .reveal. */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.motion .reveal.is-in { opacity: 1; transform: none; }
/* off-screen decoration stops animating (battery + CPU on low-end phones) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

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

/* GT AFRIK — shared chrome: nav, menu, contours, section heads, CTA band, footer */

/* ───────── NAV ───────── */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: var(--max); margin-inline: auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur) var(--ease-out);
}
.nav.is-scrolled .nav__bar {
  background: color-mix(in srgb, var(--card) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-color: var(--line-soft); box-shadow: var(--shadow-card);
}
.nav__logo img { width: 128px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 0.92rem; color: var(--text-2); transition: background-color var(--dur-fast), color var(--dur-fast); }
.nav__links a:hover { background: rgba(14, 17, 22, 0.06); color: var(--text); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: var(--r-pill); background: rgba(14, 17, 22, 0.06); font: 500 0.72rem/1 var(--font-mono); }
.lang a { padding: 7px 10px; border-radius: var(--r-pill); color: var(--text-3); }
.lang a[aria-current] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(14, 17, 22, 0.12); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); place-content: center; gap: 5px; }
.nav__burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); }

.menu { inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 88px var(--gutter) 40px; border: 0; background: var(--ink); color: var(--paper); }
.menu[open] { display: flex; flex-direction: column; gap: 32px; animation: menu-in var(--dur) var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu::backdrop { background: rgba(14, 17, 22, 0.5); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-inv); font: 400 2.4rem/1.1 var(--font-display); }
.menu nav small { font: 500 0.7rem var(--font-mono); color: var(--text-inv-3); }
.menu__close { position: absolute; top: 24px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-inv); background: none; }
.menu .btn { align-self: flex-start; }
.menu .mono { color: var(--text-inv-2); }

/* ───────── CONTOURS (decorative topography) ───────── */
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: rgba(14, 17, 22, 0.07); stroke-width: 1; }
.contours--inv path { stroke: rgba(243, 240, 232, 0.06); }

/* ───────── SECTION HEADS ───────── */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head--split { grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 40px; }

/* ───────── CTA ───────── */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: var(--space-section); }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(56, 102, 255, 0.35), transparent 70%); }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta__title { font: 400 clamp(3.4rem, 1.6rem + 8vw, 9rem)/0.9 var(--font-display); letter-spacing: -0.04em; }
.cta .cta__title em { color: #8aa2ff; }
.cta .hero__cta { justify-content: center; margin-top: 12px; }

/* ───────── FOOTER ───────── */
.foot { background: var(--ink); color: var(--text-inv-2); padding-top: 72px; border-top: 1px solid var(--line-inv); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot__brand img { width: 150px; margin-bottom: 20px; }
.foot__brand p { max-width: 38ch; margin-bottom: 20px; }
.foot address { font-style: normal; line-height: 1.9; }
.foot a:hover { color: var(--paper); }
.foot nav { display: flex; flex-direction: column; }
.foot nav a, .foot address a { display: inline-block; padding-block: 9px; } /* ≥44px tap targets */
.foot h3 { color: var(--text-inv-3); margin-bottom: 8px; font-weight: 500; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-block: 24px; border-top: 1px solid var(--line-inv); color: var(--text-inv-3); }
.foot__giant { font: 400 clamp(5rem, 2rem + 18vw, 22rem)/0.78 var(--font-display); letter-spacing: -0.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 232, 0.12); white-space: nowrap; margin-bottom: -0.12em; user-select: none; }


/* ───────── NAV: current page ───────── */
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(14, 17, 22, 0.06); }
.menu nav a[aria-current="page"] { color: #8aa2ff; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sec-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav .lang, .nav .btn { display: none; }
  .nav__bar { height: 58px; padding-left: 18px; }
  .nav__logo img { width: 112px; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* ───────── NAV: inverse variant for dark pages (live demo) ───────── */
.nav--inv .nav__links a { color: var(--text-inv-2); }
.nav--inv .nav__links a:hover, .nav--inv .nav__links a[aria-current="page"] { color: var(--paper); background: rgba(243, 240, 232, 0.08); }
.nav--inv.is-scrolled .nav__bar { background: rgba(14, 17, 22, 0.72); border-color: var(--line-inv); }
.nav--inv .lang { background: rgba(243, 240, 232, 0.08); }
.nav--inv .lang a { color: var(--text-inv-3); }
.nav--inv .lang a[aria-current] { background: var(--ink-3); color: var(--paper); box-shadow: none; }
.nav--inv .btn--ink { --bg: var(--paper); --fg: var(--ink); }
.nav--inv .btn--ink:hover { --bg: #fff; }
.nav--inv .nav__burger { background: var(--ink-3); border-color: var(--line-inv); }
.nav--inv .nav__burger i { background: var(--paper); }

/* ───────── FOOTER: social profiles ───────── */
.foot__social { display: flex; gap: 10px; margin-top: 24px; }
.foot__social a {
  display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-inv); color: var(--text-inv-2);
  transition: color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.foot__social a:hover { color: var(--paper); border-color: var(--blue); background: var(--blue); transform: translateY(-2px); }
.foot__social svg { fill: currentColor; }

/* ───────── FAQ — vanilla port of 21st.dev "faq-tabs" ───────── */
.faq { position: relative; isolation: isolate; padding-block: 0 var(--space-section); }
.faq__head { position: relative; display: grid; justify-items: center; gap: 18px; margin-bottom: 40px; text-align: center; }
.faq__head::before { /* soft halo behind the heading, as in the original */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -55%; width: min(600px, 90vw); height: 320px;
  transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 102, 255, 0.12), transparent); filter: blur(30px);
}
.faq__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.faq-tab {
  position: relative; flex: none; overflow: hidden; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: transparent; font: 500 0.92rem/1.2 var(--font-body); color: var(--text-2); min-height: 44px;
  white-space: nowrap; transition: color 500ms, border-color 500ms;
}
.faq-tab span { position: relative; z-index: 1; }
.faq-tab::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateY(101%); transition: transform 500ms cubic-bezier(0.6, -0.28, 0.735, 0.045); /* backIn */
}
.faq-tab:hover { color: var(--text); border-color: rgba(14, 17, 22, 0.28); }
.faq-tab[aria-selected="true"] { color: var(--paper); border-color: var(--ink); }
.faq-tab[aria-selected="true"]::before { transform: translateY(0); }
.faq__list { max-width: 820px; margin-inline: auto; }
.faq__panel { display: grid; gap: 12px; }
.faq__panel + .faq__panel { margin-top: 40px; }
.faq__cat { margin-bottom: 4px; color: var(--text-3); }
.faq--tabs .faq__cat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.faq__panel.is-entering { animation: faq-in 500ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(20px); } }
.faq__item {
  interpolate-size: allow-keywords;
  border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  transition: background-color var(--dur), border-color var(--dur);
}
.faq__item[open] { background: color-mix(in srgb, var(--paper-2) 55%, var(--card)); border-color: rgba(14, 17, 22, 0.18); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px;
  cursor: pointer; list-style: none; font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem)/1.2 var(--font-display);
  letter-spacing: -0.015em; color: var(--text-2); transition: color var(--dur-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary, .faq__item summary:hover { color: var(--text); }
.faq__item summary i { position: relative; flex: none; width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 22px; color: var(--text-2); max-width: 64ch; }
/* smooth height where supported; other browsers simply toggle */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 300ms ease-in-out, content-visibility 300ms allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@media (max-width: 640px) {
  .faq__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .faq__item summary { padding: 18px; }
  .faq__item p { padding: 0 18px 18px; }
}

/* ───────── mobile action bar: WhatsApp + demo, always in thumb reach ───────── */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 17, 22, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-inv);
    transform: translateY(110%); transition: transform var(--dur) var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { height: 48px; justify-content: center; padding: 0 12px; font-size: 0.9rem; }
  .foot { padding-bottom: 80px; }
}

/* GT AFRIK — inner pages. Restyles the shared page vocabulary (sol-*, page-hero,
   card, widget, timeline, authority-*, blog, contact, legal, 404) in the
   "field survey instrument" direction. Home has its own home.css. */

[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── layout ───────── */
.shell, .about-shell, .sol-split { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.shell--wide { max-width: 1440px; }
.shell--mid { max-width: 1000px; }
.shell--narrow { max-width: 820px; }
.shell--prose { max-width: 800px; }

main > section:not([class]), .sol-section { padding-block: var(--space-section); }
main > section:not([class]) + section:not([class]) { padding-top: 0; }

.grid { display: grid; gap: 14px; }
.grid--halves { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.grid--bento { grid-template-columns: repeat(12, 1fr); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; }
.sol-split:has(> .sol-media, > .stat-stack) { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }

/* ───────── motion hooks (legacy class names) ───────── */
.fade-up { animation: rise var(--dur-slow) var(--ease-out) both; }
.fade-up--late { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.motion .gt-reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.motion .gt-reveal.is-in { opacity: 1; transform: none; }
.card__glow, .closing__glow, .hero__float { display: none; }

/* ───────── type ───────── */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 500 var(--text-mono)/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.kicker--green { color: var(--green-ink); }
.sol-title, .page-title, .authority-hero__title {
  font: 400 clamp(2.8rem, 1.4rem + 5vw, 6.4rem)/0.95 var(--font-display); letter-spacing: -0.03em; text-wrap: balance;
}
.page-title--xl { font-size: clamp(3.2rem, 1.4rem + 7vw, 8.2rem); }
.page-title--lg { font-size: clamp(3rem, 1.4rem + 5.4vw, 6.8rem); }
.page-title--sm { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); }
.sol-title em, .page-title em, .tint-blue, .about-heading em, .closing__title em { font-style: italic; color: var(--blue); }
.sol-hero--green .sol-title em { color: var(--green-ink); }
.sol-hero--red .sol-title em { color: var(--red-ink); } /* calmer than alarm red */
.sol-hero--red .kicker { color: var(--red-ink) !important; } /* overrides a legacy inline colour that failed contrast */
.sol-sub, .page-sub, .authority-hero__lede, .lead { margin-top: 26px; font-size: var(--text-lead); color: var(--text-2); max-width: 50ch; text-wrap: pretty; }
.page-hero--center .page-sub { margin-inline: auto; }
.sol-head__title, .about-heading, .sol-sub-head {
  font: 400 var(--text-h2)/0.98 var(--font-display); letter-spacing: -0.025em; text-wrap: balance;
}
.sol-sub-head, .about-heading--tight { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); }
.about-heading--lg { max-width: 18ch; margin-bottom: clamp(40px, 5vw, 72px); }
.sol-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 760px; }
.sol-head--center { margin-inline: auto; text-align: center; }
.sol-head--center .kicker { justify-content: center; }
.sol-head__text { margin-top: 20px; font-size: var(--text-lead); color: var(--text-2); max-width: 54ch; text-wrap: pretty; }
.sol-head--center .sol-head__text { margin-inline: auto; }

/* ───────── buttons (legacy names) ───────── */
.btn--primary, .btn-primary {
  --bg: var(--blue); --fg: #fff;
  box-shadow: 0 14px 30px -14px rgba(56, 102, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover, .btn-primary:hover { --bg: var(--blue-deep); }
.btn--block { width: 100%; justify-content: center; }
.sol-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.link-more { display: inline-flex; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 0.95rem; color: var(--blue-ink); }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

/* ───────── heroes ───────── */
.sol-hero, .page-hero, .authority-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(140px, 12vw, 180px) 0 clamp(64px, 8vw, 120px);
  background: radial-gradient(60% 70% at 85% 25%, var(--glow, rgba(56, 102, 255, 0.1)), transparent 70%), var(--paper);
}
.sol-hero--green { --glow: rgba(47, 191, 106, 0.12); }
.sol-hero--red { --glow: rgba(217, 65, 43, 0.1); }
.page-hero__float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sol-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.page-hero--center { text-align: center; }
.page-hero--center .kicker { justify-content: center; }
.page-hero--tall { padding-block: clamp(170px, 16vw, 240px) clamp(80px, 10vw, 150px); }
.page-hero--plain { padding-bottom: var(--space-section); background: var(--paper); }

/* ───────── hero widget = ink instrument ───────── */
.widget {
  position: relative; padding: 22px; border-radius: var(--r-card); background: var(--ink); color: var(--paper);
  box-shadow: 16px 16px 0 -1px var(--paper-2), 16px 16px 0 0 var(--line), var(--shadow-float); transform: rotate(1.2deg); transition: transform var(--dur-slow) var(--ease-out);
}
.widget:hover { transform: rotate(0deg) translateY(-4px); }
.widget__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line-inv); font: 500 var(--text-mono)/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-inv-2); }
.widget__state { display: inline-flex; align-items: center; gap: 8px; color: #6fe3a0; }
.score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.score__value { font: 400 5.4rem/0.8 var(--font-display); letter-spacing: -0.04em; }
.score__scale { font: 500 var(--text-mono) var(--font-mono); text-transform: uppercase; color: var(--text-inv-3); }
.bars { display: grid; gap: 16px; }
.bar__head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.bar__label { color: var(--text-inv-2); }
.bar__value { font: 600 0.8rem var(--font-mono); }
.bar__track { height: 6px; border-radius: 99px; background: var(--line-inv); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--bar-color, var(--green)); transform: scaleX(var(--w, 0.6)); transform-origin: left; animation: fill 1.4s var(--ease-out) both 300ms; }
@keyframes fill { from { transform: scaleX(0); } }
.widget__foot, .widget__event { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-inv); display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 0.72rem/1.5 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-inv-3); }
.widget__foot b { color: var(--paper); }
.widget__event i { display: inline-block; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--green); }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gauge { padding: 16px; border-radius: var(--r-panel); background: var(--ink-2); }
.gauge__label { font: 500 0.64rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-inv-3); }
.gauge__value { margin: 6px 0 12px; font: 600 1.6rem/1 var(--font-body); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.widget__alert { padding: 16px; border-radius: var(--r-panel); background: rgba(217, 65, 43, 0.14); border: 1px solid rgba(217, 65, 43, 0.35); color: #ffb4a6; font-size: 0.95rem; }
.widget__alert i { font-style: normal; font-weight: 700; color: #ff8a73; }
.widget__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin-top: 14px; border-radius: var(--r-panel); overflow: hidden; background: var(--line-inv); }
.mini-stat { padding: 16px; background: var(--ink-2); }
.mini-stat__value { font: 600 1.6rem/1 var(--font-body); letter-spacing: -0.03em; }
.mini-stat__label { margin-top: 6px; font: 500 0.64rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-inv-3); }

/* ───────── numbered features = ruled editorial list ───────── */
.grid--cards { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.num-card, .step-card {
  position: relative; padding: 32px 28px 44px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease-out);
}
.grid--cards > :nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.num-card:hover, .step-card:hover { background: var(--card); }
.num-card__num, .step-card__num { font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.1em; color: var(--blue); margin-bottom: 40px; }
.step-card__num { font: 400 4.4rem/1 var(--font-display); letter-spacing: -0.03em; margin-bottom: 24px; }
.num-card__num { color: var(--blue-ink); }
.num-card--green .num-card__num { color: var(--green-ink); }
.sol-hero--red ~ * .step-card__num { color: var(--red-ink); }
.num-card__title, .step-card__title { font: 400 1.9rem/1.05 var(--font-display); letter-spacing: -0.02em; margin-bottom: 12px; }
.num-card__text, .step-card__text { color: var(--text-2); max-width: 38ch; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); font-size: 0.9rem; }
.sol-split > p.gt-reveal:last-child { text-align: center; }

/* ───────── boxed cards (industries, blog) ───────── */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  padding: 30px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.num-card.card { border-radius: 0; background: none; border-width: 0 0 1px 1px; overflow: visible; display: block; }
.num-card.card:hover { transform: none; box-shadow: none; background: var(--card); }
.grid--cards > .num-card.card:nth-child(3n + 1) { border-left-width: 0; }
.card__tag { font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); }
.card__tag--green { color: var(--green-ink); }
.card__title, .ind-card__title { font: 400 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -0.02em; }
.ind-card--feature .ind-card__title { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
.card__text { color: var(--text-2); }
.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ind-card { min-height: 280px; }
.ind-card--feature.card--blue { background: var(--blue); color: #fff; border-color: transparent; }
.ind-card--feature.card--green { background: var(--ink); color: var(--paper); border-color: transparent; }
.ind-card--feature .card__tag, .ind-card--feature .card__text { color: rgba(255, 255, 255, 0.76); }
.ind-card--feature.card--green .card__tag { color: #6fe3a0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.chip-row .chip { color: var(--text-2); background: rgba(14, 17, 22, 0.05); text-transform: none; letter-spacing: 0; font: 500 0.8rem/1.4 var(--font-body); padding: 6px 12px; }
.chip-row .chip::before { display: none; }
.ind-card--feature .chip-row .chip { color: inherit; background: rgba(255, 255, 255, 0.12); }

/* ───────── bands ───────── */
.sol-band, .timeline-band { padding-block: var(--space-section); }
.sol-band { background: var(--ink); color: var(--paper); }
.sol-band .kicker { color: var(--text-inv-3); }
.sol-band .kicker--green { color: #6fe3a0; }
.sol-band .sol-head__text, .sol-band .tile-note { color: var(--text-inv-2); }
.sol-band .sol-head__title em, .sol-band .sol-sub-head em { color: #8aa2ff; }
.timeline-band { background: var(--paper-2); border-block: 1px solid var(--line); }

.spec-list { margin-top: 32px; border-top: 1px solid var(--line); }
.spec-list__row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); align-self: center; }
.spec-list dd { margin: 0; font-weight: 600; }
.sol-band .spec-list, .sol-band .spec-list__row { border-color: var(--line-inv); }
.sol-band .spec-list dt { color: var(--text-inv-3); }

.img-slot { position: relative; overflow: hidden; border-radius: var(--r-photo); background: var(--paper-2); }
.img-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.img-slot:hover img { transform: scale(1.03); }
.sol-media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid currentColor; }
.tile { padding: 26px 20px 30px 0; border-bottom: 1px solid var(--line); }
.tile + .tile { padding-left: 20px; border-left: 1px solid var(--line); }
.tile__name { font: 400 1.8rem/1.05 var(--font-display); letter-spacing: -0.02em; }
.tile__note { margin-top: 8px; font: 500 0.68rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.sol-band .tile { border-color: var(--line-inv); }
.sol-band .tile__note { color: var(--text-inv-3); }
.tile-note { margin-top: 28px; text-align: center; color: var(--text-3); font-size: var(--text-sm); }
.pipeline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; font: 500 0.75rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-inv-2); }
.pipeline span, .pipeline b { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-inv); }
.pipeline b { background: var(--blue); border-color: var(--blue-ink); color: #fff; font-weight: 600; }
.pipeline i { font-style: normal; color: var(--text-inv-3); }

.sol-band .grid:not(.grid--cards) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 2px solid var(--red); }
.scheme-card { padding: 28px 24px 34px 0; border-bottom: 1px solid var(--line-inv); }
.scheme-card + .scheme-card { padding-left: 24px; border-left: 1px solid var(--line-inv); }
.scheme-card__title { font: 400 1.8rem/1.05 var(--font-display); letter-spacing: -0.02em; margin-bottom: 12px; }
.scheme-card__text { color: var(--text-inv-2); }
.scheme-card__caught { margin-top: 18px; font: 500 0.7rem/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #6fe3a0; }

.stat-stack { display: grid; gap: 14px; }
.stat-block { padding: 36px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.stat-block__figure { font: 400 clamp(3.4rem, 2rem + 4vw, 5.6rem)/0.9 var(--font-display); letter-spacing: -0.04em; }
.stat-block__text { margin-top: 12px; color: var(--text-2); max-width: 34ch; }
.stat-block--blue { background: var(--blue-deep); border-color: transparent; color: #fff; }
.stat-block--blue .stat-block__text { color: rgba(255, 255, 255, 0.8); }

.who-list { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.who-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.who-list h3 { font: 400 1.6rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.who-list p { margin-top: 6px; color: var(--text-2); }

/* ───────── closing = ink CTA ───────── */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-section); background: var(--ink); color: var(--paper); text-align: center; }
.closing::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(56, 102, 255, 0.35), transparent 70%); }
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.closing__title { font: 400 clamp(3rem, 1.4rem + 6vw, 7.4rem)/0.92 var(--font-display); letter-spacing: -0.04em; text-wrap: balance; }
.closing__title em { color: #8aa2ff; }
.closing__text { font-size: var(--text-lead); color: var(--text-inv-2); max-width: 50ch; }

/* ───────── about ───────── */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-story__media { aspect-ratio: 5 / 4; }
.about-text { margin-top: 20px; color: var(--text-2); font-size: var(--text-lead); max-width: 54ch; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.timeline__rule { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.timeline__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-wash); flex: none; }
.timeline__item--green .timeline__dot { background: var(--green); box-shadow: 0 0 0 5px var(--green-wash); }
.timeline__line { flex: 1; height: 1px; background: var(--line); }
.timeline__year { font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.1em; color: var(--blue-ink); }
.timeline__title { margin: 10px 0; font: 400 1.7rem/1.05 var(--font-display); letter-spacing: -0.02em; }
.timeline__desc { color: var(--text-2); font-size: 0.95rem; }
.founder { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__media { aspect-ratio: 1; }
.founder__quote { margin: 0 0 28px; font: italic 400 clamp(1.8rem, 1.2rem + 2vw, 3rem)/1.15 var(--font-display); letter-spacing: -0.02em; text-wrap: pretty; }
.founder__quote::before { content: "“"; display: block; height: 0.5em; font-size: 2.4em; line-height: 1; color: var(--blue-ink); }
.founder__name { font-weight: 600; }
.founder__role { margin-top: 4px; font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* ───────── contact ───────── */
.page-hero--split .grid--halves { align-items: start; }
.reach { display: grid; gap: 12px; margin-top: 36px; max-width: 520px; }
.reach__wa { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); transition: transform var(--dur) var(--ease-out); }
.reach__wa:hover { transform: translateY(-3px); }
.reach__wa-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(47, 191, 106, 0.2); flex: none; }
.reach__wa-label { display: block; font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-inv-3); }
.reach__wa-number { display: block; margin-top: 4px; font: 400 1.9rem/1 var(--font-display); }
.reach__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reach__tile { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); transition: border-color var(--dur-fast); }
a.reach__tile:hover { border-color: var(--blue-ink); }
.reach__label { font: 500 0.64rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.reach__value { font-weight: 600; word-break: break-word; }
.reach__note { font-size: var(--text-sm); color: var(--text-3); }
.demo-form, .demo-done { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.demo-form__head, .demo-done__head { font: 400 2.2rem/1 var(--font-display); letter-spacing: -0.02em; }
.demo-form__sub, .demo-done__text { margin-top: 8px; color: var(--text-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font: 400 1rem/1.4 var(--font-body); color: var(--text); transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); background: #fff; box-shadow: 0 0 0 4px var(--blue-wash); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: 0.8rem; color: var(--red-ink); }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.need-chips legend { width: 100%; margin-bottom: 8px; font: 500 0.66rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.need-chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); font-size: 0.9rem; transition: all var(--dur-fast); }
.need-chip:hover { border-color: rgba(14, 17, 22, 0.3); }
.need-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.demo-form__micro { text-align: center; font: 500 0.66rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.demo-done { justify-items: start; }
.demo-done__mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; background: var(--green-wash); color: var(--green-ink); font-size: 1.4rem; }

/* ───────── blog ───────── */
.page-hero:not(.page-hero--tall):not(.page-hero--split):not(.page-hero--plain) { padding-bottom: 48px; }
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; padding: 0; gap: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); }
.blog-featured .img-slot { border-radius: 0; min-height: 420px; }
.blog-featured__body { padding: clamp(28px, 4vw, 56px); justify-content: center; }
.blog-featured__meta, .post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 500 0.66rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.blog-badge { padding: 5px 10px; border-radius: var(--r-pill); background: var(--blue); color: #fff; }
.blog-featured__title { font: 400 clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem)/1 var(--font-display); letter-spacing: -0.025em; }
.blog-featured__excerpt, .post__excerpt { color: var(--text-2); }
.blog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.blog-grid > .card { padding: 0; }
.blog-grid .card__body { padding: 26px; }
.post--lead-a { grid-column: span 7; } .post--lead-b { grid-column: span 5; }
.post--split, .post--brief { grid-column: span 6; }
.post__media { aspect-ratio: 16 / 9; border-radius: 0; }
.post--split { flex-direction: row; }
.post--split .post__media { flex: 0 0 42%; aspect-ratio: auto; }
.post__cat { color: var(--blue-ink); }
.post__cat--green { color: var(--green-ink); }
.post__rule { display: block; width: 40px; height: 2px; background: var(--blue); }

/* ───────── authority / guides ───────── */
.authority-hero { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.authority-hero__title { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.6rem); max-width: 18ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.breadcrumbs a:hover { color: var(--blue-ink); }
.authority-meta, .authority-status { margin-top: 20px; font: 500 var(--text-mono)/1.6 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.authority-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px) var(--space-section); }
.authority-prose { min-width: 0; font-size: 1.06rem; line-height: 1.75; color: var(--text-2); }
.authority-prose > * + * { margin-top: 1.1em; }
.authority-prose h2 { margin-top: 2.2em; font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.9rem)/1.05 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.authority-prose h3 { margin-top: 1.6em; font: 600 1.15rem/1.3 var(--font-body); color: var(--text); }
.authority-prose ul, .authority-prose ol { padding-left: 1.2em; }
.authority-prose ul { list-style: disc; } .authority-prose ol { list-style: decimal; }
.authority-prose li + li { margin-top: 0.4em; }
.authority-prose li::marker { color: var(--blue-ink); }
.authority-prose a:not(.btn) { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.authority-prose strong { color: var(--text); }
.authority-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.authority-prose th, .authority-prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.authority-prose th { font: 500 0.66rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 2px solid var(--ink); }
.authority-callout { padding: 22px 24px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.authority-callout strong { display: block; margin-bottom: 6px; }
.authority-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.authority-card { padding: 22px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); }
.authority-card h3 { margin: 0 0 8px; font: 400 1.5rem/1.1 var(--font-display); }
.authority-faq details, .authority-prose details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.authority-prose summary { cursor: pointer; font-weight: 600; color: var(--text); }
.authority-sources { font-size: 0.9rem; }
.authority-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 12px; }
.authority-aside__card { padding: 20px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); font-size: 0.92rem; color: var(--text-2); }
.authority-aside__card a { color: var(--blue-ink); font-weight: 600; }
.authority-aside__label { margin-bottom: 8px; font: 500 0.64rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

/* ───────── legal ───────── */
.legal-tabs { display: inline-flex; gap: 4px; margin: 36px 0 48px; padding: 4px; border-radius: var(--r-pill); background: rgba(14, 17, 22, 0.06); }
.legal-tabs__btn { padding: 10px 20px; border: 0; border-radius: var(--r-pill); background: none; font-weight: 600; color: var(--text-3); }
.legal-tabs__btn[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(14, 17, 22, 0.14); }
.legal-body { color: var(--text-2); line-height: 1.75; }
.legal-body h2 { margin: 2em 0 0.6em; font: 400 1.9rem/1.1 var(--font-display); color: var(--text); }
.legal-body p + p { margin-top: 1em; }
.legal-body ul { list-style: disc; padding-left: 1.2em; margin-top: 0.8em; }
.legal-note { margin-top: 56px; padding: 22px 24px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); font-size: 0.92rem; color: var(--text-2); }
.legal-note a { color: var(--blue-ink); }

/* ───────── 404 ───────── */
.lost { min-height: 100svh; display: grid; place-items: center; padding: 140px var(--gutter) 80px; text-align: center; }
.lost__inner { display: grid; justify-items: center; gap: 18px; }
.radar { position: relative; width: 200px; height: 200px; border-radius: 50%; background: var(--ink); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-float); }
.radar__ring { position: absolute; inset: 22%; border-radius: 50%; border: 1px solid var(--line-inv); box-shadow: 0 0 0 30px transparent, 0 0 0 31px var(--line-inv); }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 75%, rgba(47, 191, 106, 0.45)); animation: sweep 3.2s linear infinite; }
@keyframes sweep { to { transform: rotate(1turn); } }
.radar__blip { position: absolute; top: 30%; left: 64%; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
.radar__blip span { display: none; }
.radar__centre { position: absolute; inset: calc(50% - 4px); border-radius: 50%; background: var(--green); }
.lost__signal { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--text-mono) var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-ink); }
.lost__signal i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lost__code { font: 400 clamp(5rem, 3rem + 10vw, 11rem)/0.85 var(--font-display); letter-spacing: -0.05em; }
.lost__text { max-width: 44ch; color: var(--text-2); font-size: var(--text-lead); }
.lost__cta { margin-top: 12px; }

/* ───────── generic stats (legacy) ───────── */
.band-stats, .stats { padding-block: clamp(48px, 6vw, 88px); border-block: 1px solid var(--line); background: var(--card); }
.band-stats__grid, .stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.band-stat, .stat { padding: 8px 28px; border-left: 1px solid var(--line); }
.band-stat__value, .stat__value { font: 400 clamp(2.6rem, 1.8rem + 2.4vw, 4rem)/1 var(--font-display); letter-spacing: -0.03em; }
.band-stat__label, .stat__label, .band-stat__sub { margin-top: 8px; color: var(--text-2); font-size: var(--text-sm); }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .sol-hero__grid, .grid--halves, .about-story, .founder { grid-template-columns: 1fr; }
  .widget { max-width: 560px; transform: none; }
  .grid--cards { grid-template-columns: 1fr 1fr; }
  .grid--cards > :nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 28px; }
  .grid--cards > :nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .grid--cards > .num-card.card:nth-child(3n + 1) { border-left-width: 1px; }
  .grid--cards > .num-card.card:nth-child(2n + 1) { border-left-width: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .authority-layout { grid-template-columns: 1fr; }
  .authority-aside { position: static; }
  .span-4, .span-5, .span-6, .span-7 { grid-column: span 6; }
  .post--lead-a, .post--lead-b, .post--split, .post--brief { grid-column: span 12; }
}
@media (max-width: 860px) {
  .sol-split:has(> .sol-media, > .stat-stack) { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .img-slot { min-height: 260px; }
  .span-4, .span-5, .span-6, .span-7 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .grid--cards { grid-template-columns: 1fr; }
  .grid--cards > *, .grid--cards > :nth-child(n) { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .tile + .tile, .scheme-card + .scheme-card { border-left: 0; padding-left: 0; }
  .timeline, .authority-grid, .field-row, .reach__pair { grid-template-columns: 1fr; }
  .post--split { flex-direction: column; }
  .post--split .post__media { aspect-ratio: 16 / 9; }
  .widget { padding: 18px; }
  .score__value { font-size: 4.2rem; }
}

/* contact form honeypot: off-screen for people, still filled in by naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* mock dashboards are illustrations, and say so */
.widget::after {
  content: "Illustrative demo"; position: absolute; left: 4px; bottom: -34px;
  font: 500 0.64rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
:lang(fr) .widget::after { content: "Démo illustrative"; }

/* ───────── answer-first block (product pages) ───────── */
.answer { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.answer__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.answer__q { font: 400 clamp(1.9rem, 1.4rem + 1.8vw, 3rem)/1.05 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.answer__a { font-size: var(--text-lead); color: var(--text-2); max-width: 60ch; margin-bottom: 8px; }
.faq--page { padding-block: var(--space-section); }
.faq__title { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }

/* contact: jump link to the form when the layout stacks */
#demo { scroll-margin-top: 110px; }
.reach__jump { margin-top: 16px; }
@media (min-width: 1081px) { .reach__jump { display: none; } }
@media (max-width: 860px) { .answer__inner { grid-template-columns: 1fr; } }

/* keyword line inside product H1s: reads as the kicker, counts as heading text */
.sol-title .kicker { display: flex; }

/* sits over the top of the hero (below the floating nav) so the hero band stays seamless */
main:has(> .seo-breadcrumb) { position: relative; }
.seo-breadcrumb { position: absolute; z-index: 2; top: 104px; left: 0; right: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); color: var(--text-2); font-size: .875rem; }
.seo-breadcrumb a, .form-fallback a { text-decoration: underline; text-underline-offset: .2em; }

/* product hero: real platform screenshot (vehicle names anonymised) */
.shot {
  margin: 0; border-radius: var(--r-card); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 16px 16px 0 -1px var(--paper-2), 16px 16px 0 0 var(--line), var(--shadow-float);
  transform: rotate(1deg); transition: transform var(--dur-slow) var(--ease-out);
}
.shot:hover { transform: rotate(0deg) translateY(-4px); }
.shot img { display: block; width: 100%; height: auto; }
.shot__cap { padding: 10px 14px; border-top: 1px solid var(--line); font: 500 0.68rem/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 900px) { .shot { transform: none; } }
