/* Layout: a quiet, contemporary one-pager. Big tight sans headlines, mono labels, thin rules,
   one brand blue taken from the logo. The waveform mark is redrawn as SVG and breathes in the hero.
   Every piece of copy exists twice (lang="en" / lang="fr"); the switch just hides one set. */
:root {
  --bg: #f6f6f3;
  --bg-2: #ecece8;
  --ink: #0b0c10;
  --muted: #5c5f6b;
  --rule: #dcdcd6;
  --accent: #3f4bb8;
  --accent-ink: #ffffff;
  --accent-soft: #e3e5f6;
  --glow: rgba(63, 75, 184, .16);
  --wordmark: #0b0c10;
  --surface: #ffffff;
  --bar-muted: #a2a5b1;
  --grid: #ecece8;

  --f-sans: "Geist", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0b10; --bg-2: #12141c; --ink: #eceef5; --muted: #9a9eae; --rule: #252836;
    --accent: #8b94ff; --accent-ink: #0a0b10; --accent-soft: #1a1d33; --glow: rgba(139, 148, 255, .14); --wordmark: #eceef5;
    --surface: #10121a; --bar-muted: #4b4f62; --grid: #1e2130;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0b10; --bg-2: #12141c; --ink: #eceef5; --muted: #9a9eae; --rule: #252836;
  --accent: #8b94ff; --accent-ink: #0a0b10; --accent-soft: #1a1d33; --glow: rgba(139, 148, 255, .14); --wordmark: #eceef5;
    --surface: #10121a; --bar-muted: #4b4f62; --grid: #1e2130;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* language switch: hide whichever copy isn't active */
html[data-lang="en"] body [lang="fr"], html[data-lang="fr"] body [lang="en"] { display: none !important; }

.label { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 34px; height: auto; }
.brand .wm { width: 150px; height: 12px; background: var(--wordmark); -webkit-mask: url(/img/wordmark.png) left center / contain no-repeat; mask: url(/img/wordmark.png) left center / contain no-repeat; }
nav.links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--muted); transition: color .15s; }
nav.links a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.lang { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: 999px; height: 36px; min-width: 48px; padding: 0 12px; cursor: pointer; transition: border-color .15s; }
.lang:hover { border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 15px; border: 0; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

/* hero */
.hero { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
h1 { font-size: clamp(42px, 7.2vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 24px 0 28px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 34rem; margin: 0 0 36px; text-wrap: pretty; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wave-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.wave-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.wave { position: relative; width: 82%; height: auto; overflow: visible; }
.wave .b, .wave .g { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.wave .c { fill: var(--ink); }
.live .wave .b, .live .wave .g { animation: breathe 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.23s); }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.62); } }


/* sections */
section.block { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--rule); }
.head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; margin-bottom: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; margin: 0; text-wrap: balance; }
.head p { font-size: 19px; color: var(--muted); margin: 14px 0 0; max-width: 36rem; text-wrap: pretty; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; background: var(--bg-2); border-radius: 20px; padding: 32px 28px 28px; display: flex; flex-direction: column; min-height: 420px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px var(--glow), 0 0 0 1px var(--rule); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 40px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 600; line-height: 1.1; margin: 0 0 6px; }
.card .was { margin-bottom: 18px; }
.card .kick { font-weight: 500; color: var(--ink); margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 28px; list-style: none; padding-left: 0; }
.tags li { font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); }

/* AI use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.use { position: relative; display: block; text-decoration: none; color: inherit; padding: 28px 56px 32px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background .2s; }
.use:hover { background: var(--bg-2); }
.use .go { position: absolute; top: 26px; right: 24px; color: var(--muted); font-size: 18px; transition: transform .2s, color .2s; }
.use:hover .go, .use:focus-visible .go { color: var(--accent); transform: translateX(4px); }
.use h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 6px; display: flex; align-items: flex-start; gap: 10px; }
.use h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex-shrink: 0; margin-top: .45em; }
.use p { margin: 0; color: var(--muted); font-size: 16px; }

/* approach */
/* "Where AI fits": a compact strip under the efficiency cards */
.also { margin-top: 32px; }
.also p { margin: 0 0 14px; color: var(--muted); max-width: 44rem; }
.also p strong { color: var(--ink); font-weight: 600; }
.also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.also a { display: inline-block; font-size: 15px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; color: inherit; text-decoration: none; transition: border-color .2s, color .2s; }
.also a:hover, .also a:focus-visible { border-color: var(--accent); color: var(--accent); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { border-top: 2px solid var(--ink); padding-top: 24px; }
.principle .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.principle .ico svg { width: 22px; height: 22px; }
.principle h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; margin: 0 0 10px; text-wrap: balance; }
.principle p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .principles { grid-template-columns: 1fr; gap: 36px; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.me { margin: 0; position: sticky; top: 100px; align-self: start; }
.me .photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 60px -36px var(--glow), 0 0 0 1px var(--rule); }
.me img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.me .photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.me figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.me .name { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.about .bio { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; letter-spacing: -.015em; margin: 0 0 48px; text-wrap: pretty; }
.about .bio strong { font-weight: 600; }
.record { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.record li { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.record li::before { content: "↗"; color: var(--accent); font-family: var(--f-mono); }

/* contact */
.contact { padding: clamp(96px, 13vw, 170px) 0; border-top: 1px solid var(--rule); text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.contact > * { position: relative; }
.contact h2 { font-size: clamp(40px, 7vw, 92px); letter-spacing: -.05em; }
.contact h2 + .mail { margin-top: 28px; }
.mail { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mail a { font-size: clamp(20px, 3.2vw, 34px); font-weight: 500; letter-spacing: -.03em; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; overflow-wrap: anywhere; }
.mail a:hover { color: var(--accent); }
.copy { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; background: none; border: 1px solid var(--rule); color: var(--muted); border-radius: 999px; height: 34px; padding: 0 14px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink); }

footer { border-top: 1px solid var(--rule); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer .brand svg { width: 26px; }
footer .brand .wm { width: 120px; height: 10px; }

/* ---------- topic pages (/ai/...) ---------- */
.crumb { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 15px; }
.crumb:hover { color: var(--ink); }
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); margin: 22px 0 22px; max-width: 14ch; }
.page-hero .lead { max-width: 40rem; margin: 0; }
.topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: clamp(80px, 10vw, 128px); }
.steps { display: grid; gap: 36px; position: sticky; top: 100px; }
.steps h2 { font-size: 22px; letter-spacing: -.02em; margin: 10px 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.steps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.steps ol li { padding: 12px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.steps ol li::before { content: "→"; color: var(--accent); font-family: var(--f-mono); }

/* the mock dashboards: each one is a fictional client's own tool, so each sets its own
   colour tokens inline (--surface, --ink, --accent…) and a layout variant (v-rail, v-soft…) */
.dash-wrap { margin: 0; }
.dash-wrap figcaption { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.dash { --r: 20px; --r2: 14px; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(20, 22, 45, .38), 0 2px 6px -4px rgba(0, 0, 0, .08); font-size: 15px; }
.dash.v-rail { grid-template-columns: 58px minmax(0, 1fr); }
.app { min-width: 0; }
.dash .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; letter-spacing: -.02em; flex-shrink: 0; }
.rail { background: var(--bg-2); border-right: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
.rail .logo { margin-bottom: 12px; }
.dash .logo.ph { background: transparent; border: 1.5px dashed var(--muted); opacity: .8; }
.ri { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.ri svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ri.on { background: var(--accent-soft); color: var(--accent); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 0; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14.5px; flex-wrap: wrap; }
.who .client { font-weight: 600; }
.who .sep, .who .app-name { color: var(--muted); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); color: var(--muted); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; flex-shrink: 0; }
.tabs { display: flex; gap: 4px; padding: 10px 20px 0; border-bottom: 1px solid var(--rule); overflow: hidden; }
.tab { padding: 8px 12px 10px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }
.v-pill .tabs { border-bottom: 0; padding-bottom: 2px; }
.v-pill .tab { border: 0; border-radius: 999px; padding: 6px 14px; margin: 0; }
.v-pill .tab.on { background: var(--accent); color: var(--accent-ink); }
.v-soft { --r: 30px; --r2: 20px; }
.v-soft .tile, .v-soft .panel { border-color: transparent; background: var(--bg-2); }
.v-soft .tabs { border-bottom-color: transparent; }
.v-crisp { --r: 10px; --r2: 6px; }
.v-crisp .tile .v, .v-crisp .panel-h b, .v-crisp .who .client { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.01em; }
.v-crisp .tile .v { font-size: clamp(28px, 2.8vw, 36px); }
.v-ledger { --r2: 4px; }
.v-ledger .tile { border: 0; border-left: 3px solid var(--accent); background: var(--bg-2); }
.v-ledger .panel { border-width: 1px 0 0; border-radius: 0; padding-left: 0; padding-right: 0; }
.v-mono .tile .v { font-family: var(--f-mono); font-weight: 500; letter-spacing: -.04em; }
.dash-body { padding: 20px; display: grid; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--rule); border-radius: var(--r2, 14px); padding: 14px 16px 16px; }
.tile .k { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.tile .v { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
.tile .d { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 6px; }
.panel { border: 1px solid var(--rule); border-radius: var(--r2, 14px); padding: 16px 16px 12px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.panel-h b { font-weight: 600; font-size: 15px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { font-family: var(--f-sans); font-size: 12px; fill: var(--muted); }
.chart text.val { fill: var(--ink); font-weight: 600; }
.chart .hit { fill: transparent; cursor: default; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--surface, var(--bg)); font-size: 13px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity .12s; z-index: 2; }
.tip.on { opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spark { display: block; width: 100%; height: 30px; margin-top: 10px; overflow: visible; }
.tile.has-donut { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-content: start; }
.tile.has-donut .donut { grid-column: 2; grid-row: 1 / span 3; width: 54px; height: 54px; align-self: center; }
.meter { height: 6px; border-radius: 999px; background: var(--grid); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }

/* small UI pieces inside dashboards */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14.5px; align-items: center; }
.row:first-child { border-top: 0; padding-top: 2px; }
.row .s { min-width: 0; line-height: 1.35; }
.row .m { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.row .chip { grid-row: 1 / span 2; grid-column: 2; }
.chip { font-family: var(--f-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.chip.hot { border-color: var(--accent); color: var(--ink); }
.chip.hot::before { content: "●"; color: var(--accent); margin-right: 5px; }
.chip.ok::before { content: "✓"; color: var(--accent); margin-right: 5px; }
.note { background: var(--accent-soft); border-radius: var(--r2, 14px); padding: 14px 16px; font-size: 14.5px; }
.note .label { display: block; margin-bottom: 6px; }
.note .reply { margin-top: 12px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
table.ex { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ex th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 0 8px 8px 0; }
table.ex td { border-top: 1px solid var(--rule); padding: 10px 8px 10px 0; vertical-align: top; }
table.ex td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.ex th.n { text-align: right; }
.chat { display: grid; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; }
.bubble.q { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.bubble.a { background: var(--bg-2); border-bottom-left-radius: 4px; }
.bubble .src { display: inline-flex; margin-top: 8px; }

.more { border-top: 1px solid var(--rule); padding: clamp(64px, 8vw, 104px) 0; }
.more h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 28px; }
.more .uses { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.more .use h3 { font-size: 17px; }
.more .use p { font-size: 14.5px; }
.cta-band { border-top: 1px solid var(--rule); padding: clamp(72px, 10vw, 128px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 28px; }

/* "Where the time goes" pages: sourced figures, then what / how / what you get */
.facts-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg-2); padding: clamp(36px, 5vw, 56px) 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.facts.n1 { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
.facts.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
.fact { background: var(--bg); border: 1px solid var(--rule); border-radius: 14px; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.fact .n { font-size: clamp(40px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.fact p { margin: 12px 0 18px; color: var(--ink); font-size: 16px; }
.fact .src { margin-top: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.fact .src:hover { color: var(--accent); }
.steps.trio { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding: clamp(56px, 8vw, 96px) 0; }
.see { display: inline-block; margin-top: 18px; color: var(--accent); text-decoration: none; font-weight: 500; }
.see .go { display: inline-block; margin-left: 6px; transition: transform .2s; }
.see:hover .go { transform: translateX(3px); }
@media (max-width: 960px) { .facts { grid-template-columns: minmax(0, 1fr) !important; max-width: 34rem; } .steps.trio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
@media (max-width: 600px) { .steps.trio { grid-template-columns: 1fr; } }

@media (max-width: 1100px) { .more .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .topic { grid-template-columns: 1fr; }
  .steps { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; }
  .tile .v { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .tile .d { grid-column: 1; }
  .split { grid-template-columns: 1fr; }
  .dash-body { padding: 14px; }
  .dash.v-rail { grid-template-columns: 1fr; }
  .rail { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--rule); padding: 10px 14px; }
  .rail .logo { margin: 0 8px 0 0; }
  .app-top { padding: 12px 14px 0; }
  .who { gap: 2px 10px; }
  .who .sep { display: none; }
  .who .app-name { flex-basis: 100%; font-size: 13.5px; }
  .tabs { padding: 8px 14px 0; }
  .tile .spark, .tile .meter { grid-column: 1 / -1; }
  .tile.has-donut .donut { display: none; }
  .more .uses { grid-template-columns: 1fr; }
}

/* reveal on scroll (only when JS is running, so the page is never blank without it) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live .wave .b, .live .wave .g { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transform: none; }
}

@media (max-width: 960px) {
  nav.links { display: none; }
  .actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .wave-wrap { order: -1; width: min(300px, 70%); margin: 0 auto; }
  .head, .about { grid-template-columns: 1fr; gap: 20px; }
  .me { position: static; max-width: 380px; margin-bottom: 20px; }
  .services { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand .wm { width: 118px; height: 10px; }
  .actions .btn { display: none; }
  .uses { grid-template-columns: 1fr; }
  .record { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
}
