/* Advino Media — design system
   Ink navy, teal brand, gold reserved for data points.
   Geist for interface and headlines, Newsreader for long-form reading. */

/* Self-hosted fonts (Geist and Newsreader, SIL Open Font License) */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }

:root {
  --ink: #0f1b2d;
  --ink-2: #26364d;
  --mute: #5a6a7e;
  --line: #d9e0e8;
  --line-soft: #e8edf2;
  --fog: #eef2f5;
  --paper: #ffffff;
  --teal: #0b6f6b;
  --teal-2: #0e8a85;
  --teal-light: #6fd0c7;
  --sun: #e3ad2f;
  --red: #c8452f;
  --deep: #0a1422;

  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip-link:focus { top: 12px; }

/* type scale */
.d-1 { font-size: clamp(44px, 7.2vw, 104px); letter-spacing: -0.045em; line-height: .98; font-weight: 600; }
.d-2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1.02; }
.h-1 { font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -0.035em; }
.h-2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.12; }
.h-3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.25; }
.h-small { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 40em; letter-spacing: -0.01em; }
.muted { color: var(--mute); }
.kicker { font-size: 15px; font-weight: 500; color: var(--teal); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; }
.sec-dark .kicker { color: var(--teal-light); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1 var(--sans); padding: 16px 24px; border-radius: var(--r-s); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-small { padding: 11px 16px; font-size: 15px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-quiet { color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--fog); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-light); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 500; color: var(--teal); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.sec-dark .text-link, .mega-feature-dark .text-link { color: var(--teal-light); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-dot { fill: var(--sun); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-a { font-weight: 700; font-size: 18px; letter-spacing: .1em; }
.logo-m { font-weight: 500; font-size: 9.5px; letter-spacing: .5em; margin-top: 4px; color: var(--mute); }
.logo-light { color: #fff; }
.logo-light .logo-m { color: rgba(255,255,255,.6); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.primary-nav { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-trigger { font: 500 15.5px var(--sans); color: var(--ink); background: none; border: 0; padding: 10px 14px; border-radius: var(--r-s); cursor: pointer; position: relative; }
.nav-trigger::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--fog); }
.nav-trigger.is-active { color: var(--teal); }
.nav-trigger.is-active::before { content: ""; position: absolute; left: 14px; right: 28px; bottom: 3px; height: 2px; background: var(--teal); }
.header-cta { display: flex; gap: 6px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15,27,45,.25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease); }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega-narrow .mega-inner { grid-template-columns: 2fr 340px; }
.mega-col-wide { grid-column: span 2; }
.mega-head { font-size: 14px; color: var(--mute); margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.mega-grid-tight { grid-template-columns: 1fr 1fr 1fr; }
.mega li a { display: block; padding: 9px 10px; margin: 0 -10px; border-radius: var(--r-s); text-decoration: none; }
.mega li a:hover { background: var(--fog); }
.mega li a[aria-current="page"] .mega-label { color: var(--teal); }
.mega-label { display: block; font-weight: 500; font-size: 16px; }
.mega-desc { display: block; font-size: 14px; color: var(--mute); line-height: 1.4; margin-top: 2px; }
.mega-feature { background: var(--fog); border-radius: var(--r-m); padding: 26px; font-size: 15px; color: var(--ink-2); }
.mega-feature p:last-of-type { margin-bottom: 14px; }
.mega-feature p a { color: var(--ink); text-underline-offset: 3px; }
.mega-feature-title { font-weight: 600; font-size: 17px; color: var(--ink); }
.mega-feature-dark { background: var(--ink); color: rgba(255,255,255,.8); }
.mega-feature-dark .mega-feature-title { color: #fff; }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 9px 14px; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.menu-bars { width: 16px; height: 12px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s, top .2s, bottom .2s; }
.menu-bars::before { top: 2px; }
.menu-bars::after { bottom: 2px; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 5.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { bottom: 5.25px; transform: rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 68px); overflow-y: auto; }
.mobile-inner { padding: 8px var(--gut) 28px; }
.m-group { border-bottom: 1px solid var(--line-soft); }
.m-group summary { list-style: none; padding: 18px 0; font-weight: 600; font-size: 19px; cursor: pointer; display: flex; justify-content: space-between; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; font-weight: 400; color: var(--mute); }
.m-group[open] summary::after { content: "−"; }
.m-group ul { list-style: none; margin: 0 0 16px; padding: 0; }
.m-group a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); }
.m-group a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.mobile-cta { display: grid; gap: 10px; margin-top: 24px; }

@media (max-width: 1120px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 68px; }
}

/* breadcrumbs */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.on-dark .crumbs { position: relative; z-index: 2; }

/* sections */
.sec { padding: var(--sec) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-fog { background: var(--fog); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .lede, .sec-dark .muted { color: rgba(255,255,255,.72); }
.sec-deep { background: var(--deep); color: #fff; }
.rule-top { border-top: 1px solid var(--line); }

/* editorial split: headline left, prose right */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-r { grid-template-columns: 6fr 5fr; }
.split .prose p { font-size: 19px; color: var(--ink-2); }
.sec-dark .split .prose p { color: rgba(255,255,255,.78); }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 900px) { .split, .split-r { grid-template-columns: 1fr; } .sticky-col { position: static; } }

/* page heroes */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 28px; }
.page-hero .btn-row { margin-top: 36px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.hero-img-band { margin-top: clamp(40px, 6vw, 72px); }
.hero-img-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r-s); }
@media (max-width: 700px) { .hero-img-band img { aspect-ratio: 4 / 3; } }
.hero-dark { background: var(--ink); color: #fff; }
.hero-dark .lede { color: rgba(255,255,255,.75); }
.hero-dark .crumbs ol { color: rgba(255,255,255,.55); }
.hero-dark .crumbs li + li::before { color: rgba(255,255,255,.3); }

/* home hero */
.home-hero { padding: clamp(40px, 5vw, 72px) 0 0; overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.home-hero h1 { font-size: clamp(44px, 5.6vw, 84px); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.home-hero .lede { margin-top: 28px; max-width: 30em; }
.home-hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 44px; font-size: 14px; color: var(--mute); display: flex; gap: 24px; flex-wrap: wrap; }
.hero-note span { display: flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 14px; height: 1.5px; background: var(--teal); }
.home-hero-stage { position: relative; padding-bottom: clamp(48px, 6vw, 88px); }
.home-hero-stage::before { content: ""; position: absolute; left: 12%; right: -40vw; top: 8%; bottom: 0; background: var(--fog); border-radius: var(--r-l) 0 0 0; z-index: -1; }
@media (max-width: 1000px) { .home-hero-grid { grid-template-columns: minmax(0, 1fr); } .home-hero-stage::before { left: -10vw; } }

/* ============ Advino AI interface ============ */
.app { max-width: 100%; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 1px 0 rgba(15,27,45,.04), 0 40px 80px -40px rgba(15,27,45,.35); overflow: hidden; font-size: 13px; color: var(--ink); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: #fbfcfd; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.app-url { flex: 1; background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 10px; color: var(--mute); display: flex; justify-content: space-between; gap: 10px; min-width: 0; }
.app-url b { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-status { color: var(--teal); font-weight: 500; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 420px; }
.app-side { border-right: 1px solid var(--line-soft); padding: 14px 10px; background: #fbfcfd; }
.app-side p { font-size: 11px; color: var(--mute); margin: 10px 8px 6px; }
.app-side ul { list-style: none; margin: 0; padding: 0; }
.app-side li { padding: 7px 8px; border-radius: 6px; color: var(--ink-2); }
.app-side li.on { background: var(--ink); color: #fff; }
.app-main { padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.app-head h3 { font-size: 15px; letter-spacing: -0.01em; }
.app-head span { color: var(--mute); font-size: 12px; }
.app-score { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-m); }
.ring { position: relative; width: 112px; height: 112px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--fog); }
.ring .fg { stroke: var(--teal); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.ring-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-val b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ring-val small { font-size: 11px; color: var(--mute); margin-top: 4px; }
.signals { display: grid; gap: 7px; min-width: 0; }
.sig { display: grid; grid-template-columns: 118px 1fr 30px; gap: 10px; align-items: center; }
.sig span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig .bar { height: 6px; background: var(--fog); border-radius: 3px; overflow: hidden; }
.sig .bar i { display: block; height: 100%; width: 0; background: var(--teal-2); border-radius: 3px; transition: width 1.4s var(--ease); }
.sig .bar i.warn { background: var(--sun); }
.sig .bar i.crit { background: var(--red); }
.sig b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-card { border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 12px 14px; min-width: 0; }
.app-card h4 { font-size: 12px; font-weight: 500; color: var(--mute); letter-spacing: 0; margin-bottom: 8px; }
.app-card .big { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.delta-up { color: var(--teal); font-weight: 500; }
.delta-down { color: var(--red); font-weight: 500; }
.spark { width: 100%; height: 34px; margin-top: 6px; }
.spark path { fill: none; stroke: var(--teal-2); stroke-width: 1.6; }
.spark .area { fill: rgba(14,138,133,.08); stroke: none; }
.opp { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.opp li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.tag-crit { background: #fbe7e3; color: #9b2f1c; }
.tag-high { background: #fdf2d6; color: #7a5600; }
.tag-grow { background: #dff3f1; color: #075753; }
.tag-opt { background: #e6ecf3; color: #2a3f5c; }
.tag-mon { background: #f0f0f0; color: #555; }
.app-foot { font-size: 11px; color: var(--mute); padding: 10px 16px; border-top: 1px solid var(--line-soft); background: #fbfcfd; }
@media (max-width: 640px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .app-score { grid-template-columns: 1fr; justify-items: center; }
  .sig { grid-template-columns: 96px 1fr 28px; }
  .app-row { grid-template-columns: 1fr; }
}

/* disciplines mosaic (home) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.mosaic > * { background: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
.mosaic h3 { font-size: 22px; }
.mosaic p { color: var(--mute); font-size: 15px; margin: 12px 0 0; max-width: 32ch; }
.mosaic .m-wide { grid-column: span 5; }
.mosaic .m-mid { grid-column: span 4; }
.mosaic .m-sm { grid-column: span 3; }
.mosaic .m-img { padding: 0; overflow: hidden; }
.mosaic .m-img img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-ink { background: var(--ink); color: #fff; }
.mosaic .m-ink p { color: rgba(255,255,255,.7); }
.mosaic .m-teal { background: var(--teal); color: #fff; }
.mosaic .m-teal p { color: rgba(255,255,255,.82); }
.m-role { font-size: 13px; color: var(--mute); }
.m-ink .m-role, .m-teal .m-role { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .mosaic .m-wide, .mosaic .m-mid, .mosaic .m-sm { grid-column: span 6; } }
@media (max-width: 560px) { .mosaic .m-wide, .mosaic .m-mid, .mosaic .m-sm { grid-column: span 12; } .mosaic .m-img { min-height: 220px; } }

/* capability rows */
.cap-list { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.18); }
.cap { display: grid; grid-template-columns: 4fr 6fr 2fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); align-items: baseline; text-decoration: none; transition: padding .25s var(--ease); }
.cap h3 { font-size: clamp(24px, 2.4vw, 34px); }
.cap p { margin: 0; color: rgba(255,255,255,.72); font-size: 18px; max-width: 38em; }
.cap .cap-go { justify-self: end; font-size: 15px; color: var(--teal-light); font-weight: 500; }
.cap:hover { padding-left: 14px; }
.cap:hover h3 { color: var(--teal-light); }
@media (max-width: 800px) { .cap { grid-template-columns: 1fr; gap: 10px; } .cap .cap-go { justify-self: start; } }

/* image + text feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-s); }
.feature-img.wide img { aspect-ratio: 4 / 3; }
.feature-img figcaption { font-size: 14px; color: var(--mute); margin-top: 12px; }
.feature-rev .feature-img { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-rev .feature-img { order: 0; } }

/* platform teaser on home */
.platform-teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.platform-teaser .app { box-shadow: 0 40px 100px -40px rgba(0,0,0,.6); }
@media (max-width: 960px) { .platform-teaser { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.check-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border: 2px solid var(--teal-light); border-radius: 50%; }
.sec:not(.sec-dark) .check-list li::before { border-color: var(--teal); }

/* principles strip */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
.principles > div { padding: 28px 28px 0 0; }
.principles h3 { font-size: 20px; margin-bottom: 10px; }
.principles p { color: var(--mute); font-size: 16px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* insights listing */
.ins-lead { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ins-lead-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-s); margin-bottom: 22px; }
.ins-lead-main h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.035em; }
.ins-lead-main h2 a, .ins-item h3 a, .card-a h3 a { text-decoration: none; }
.ins-lead-main h2 a:hover, .ins-item h3 a:hover, .card-a h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ins-lead-main p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }
.ins-side { display: grid; gap: 0; }
.ins-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ins-item:first-child { padding-top: 0; }
.ins-item h3 { font-size: 20px; line-height: 1.25; margin: 6px 0 8px; }
.meta { font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; }
.meta a { color: var(--teal); text-decoration: none; font-weight: 500; }
.meta a:hover { text-decoration: underline; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.cat-bar a { text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.cat-bar a:hover { border-color: var(--ink); }
.cat-bar a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.card-a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-s); margin-bottom: 18px; }
.card-a h3 { font-size: 21px; line-height: 1.25; margin: 8px 0 10px; }
.card-a p { color: var(--mute); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .ins-lead { grid-template-columns: 1fr; } .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* article */
.art-head { padding-top: clamp(36px, 5vw, 72px); padding-bottom: 40px; }
.art-head h1 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.04em; line-height: 1.02; max-width: 18ch; margin: 18px 0 24px; }
.art-head .lede { max-width: 36em; }
.art-byline { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.art-byline dt { color: var(--mute); font-size: 13px; }
.art-byline dd { margin: 2px 0 0; font-weight: 500; }
.art-hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-s); }
.art-hero figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 700px) 1fr; gap: clamp(28px, 4vw, 64px); padding-top: 56px; padding-bottom: 40px; }
.toc { position: sticky; top: 104px; align-self: start; font-size: 14.5px; }
.toc h2 { font-size: 13px; font-weight: 500; color: var(--mute); margin-bottom: 12px; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-current { border-left-color: var(--teal); color: var(--teal); font-weight: 500; }
@media (max-width: 1100px) { .art-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; } .toc { position: static; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; } }
.article { font-family: var(--serif); font-size: 20px; line-height: 1.7; color: #1d2a3d; }
.article > *:first-child { margin-top: 0; }
.article p { margin: 0 0 1.15em; }
.article h2 { font-family: var(--sans); font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; margin: 2.2em 0 .7em; color: var(--ink); scroll-margin-top: 100px; }
.article h3 { font-family: var(--sans); font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; margin: 1.8em 0 .5em; color: var(--ink); scroll-margin-top: 100px; }
.article a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article strong { font-weight: 500; color: var(--ink); }
.article blockquote { margin: 1.8em 0; padding: 0 0 0 26px; border-left: 3px solid var(--sun); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--ink); }
.article blockquote p { margin: 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.6em 0 1.8em; border: 1px solid var(--line); border-radius: var(--r-m); }
.article table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.article th { text-align: left; font-weight: 600; background: var(--fog); padding: 12px 14px; color: var(--ink); }
.article td { padding: 12px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.takeaways { font-family: var(--sans); background: var(--fog); border-radius: var(--r-m); padding: 26px 30px; margin: 0 0 2.2em; font-size: 16.5px; line-height: 1.55; }
.takeaways p:first-child { font-weight: 600; font-size: 15px; color: var(--teal); margin-bottom: 10px; }
.takeaways ul { margin: 0; padding-left: 1.1em; }
.takeaways li { margin-bottom: .5em; }
.note { font-family: var(--sans); font-size: 16px; line-height: 1.55; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--r-s); padding: 18px 22px; margin: 1.6em 0; }
.note p:last-child { margin: 0; }
.art-aside { align-self: start; position: sticky; top: 104px; font-size: 15px; }
.art-aside .box { border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.art-aside .box p { color: var(--ink-2); }
@media (max-width: 1100px) { .art-aside { position: static; } }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; font-family: var(--sans); }
.author-mono { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.author-mono svg { width: 26px; height: 26px; }
.author-box p { margin: 4px 0 0; font-size: 15px; color: var(--mute); }
.author-box strong { font-size: 17px; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* forms */
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 500; }
.field .opt { color: var(--mute); font-weight: 400; }
input[type=text], input[type=email], input[type=url], select, textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 13px 14px; width: 100%; transition: border-color .15s; }
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b9c4d0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,111,107,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { font-size: 14px; color: var(--red); min-height: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-group legend { font-size: 15px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; transition: all .15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.consent { font-size: 14px; color: var(--mute); }
.consent-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); align-items: start; }
.consent-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.form-status { padding: 18px 20px; border-radius: var(--r-s); font-size: 16px; }
.form-status.ok { background: #dff3f1; color: #064a47; }
.form-status.err { background: #fbe7e3; color: #7c2414; }

/* timeline (approach) */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.tl-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.tl-step { position: relative; padding-top: 64px; }
.tl-step::before { content: ""; position: absolute; top: 15px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.tl-step:last-child::before { background: var(--sun); border-color: var(--sun); }
.tl-n { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.tl-step h3 { font-size: 24px; margin: 6px 0 10px; }
.tl-step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) {
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-track { grid-template-columns: 1fr; gap: 36px; }
  .tl-step { padding: 0 0 0 48px; }
  .tl-step::before { top: 4px; }
}
.stage { display: grid; grid-template-columns: 120px 5fr 6fr; gap: clamp(24px, 4vw, 64px); padding: 56px 0; border-top: 1px solid var(--line); }
.stage-n { font-size: clamp(48px, 5vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--teal); font-variant-numeric: tabular-nums; }
.stage h2 { font-size: clamp(28px, 3vw, 40px); }
.stage h2 + p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.stage dl { margin: 0; display: grid; gap: 18px; }
.stage dt { font-weight: 600; }
.stage dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } }

/* service page bits */
.svc-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1px solid var(--line); margin-top: 48px; }
.svc-index > div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc-index h3 { font-size: 21px; margin-bottom: 8px; }
.svc-index p { color: var(--ink-2); margin: 0; font-size: 17px; }
@media (max-width: 760px) { .svc-index { grid-template-columns: 1fr; } }
.svc-index-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .svc-index-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-index-3 { grid-template-columns: 1fr; } }
.data-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.data-table th, .data-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: 14px; color: var(--mute); font-weight: 500; }
.data-table td:first-child { font-weight: 600; white-space: nowrap; font-size: 18px; }
.sec-dark .data-table th, .sec-dark .data-table td { border-color: rgba(255,255,255,.16); }
.sec-dark .data-table th { color: rgba(255,255,255,.55); }
.sec-dark .data-table td { color: rgba(255,255,255,.82); }
.sec-dark .data-table td:first-child { color: #fff; }
.scroll-x { overflow-x: auto; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.sec-dark .pill { border-color: rgba(255,255,255,.25); }
.statement { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1.12; font-weight: 500; max-width: 22ch; }
.statement-wide { max-width: 28ch; }
.callout { border-left: 3px solid var(--sun); padding: 6px 0 6px 28px; }
.callout p { font-size: 20px; color: var(--ink-2); margin: 0; }
.funnel { display: grid; gap: 4px; margin-top: 40px; }
.funnel div { background: var(--teal); color: #fff; padding: 16px 22px; border-radius: 4px; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.funnel div:nth-child(2) { width: 88%; background: var(--teal-2); }
.funnel div:nth-child(3) { width: 72%; background: #2b9c95; }
.funnel div:nth-child(4) { width: 54%; background: var(--ink-2); }
.funnel div:nth-child(5) { width: 38%; background: var(--ink); }
.funnel span { opacity: .8; }
@media (max-width: 600px) { .funnel div { width: 100% !important; flex-direction: column; gap: 2px; } }
.serp { border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; background: #fff; font-size: 15px; }
.serp-row { display: grid; grid-template-columns: 34px 1fr 72px; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.serp-row:last-child { border: 0; }
.serp-row .pos { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mute); }
.serp-row.you { background: #f2faf9; margin: 0 -22px; padding: 10px 22px; }
.serp-row.you .pos { color: var(--teal); }
.serp-row .ctr { text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.serp-title { font-weight: 500; }
.serp-sub { color: var(--mute); font-size: 13px; }

/* platform page modules */
.module { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); align-items: start; }
.module-copy h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.module-copy p { color: var(--ink-2); }
.module-copy ul { padding-left: 1.1em; color: var(--ink-2); }
@media (max-width: 960px) { .module { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; font-size: 14px; box-shadow: 0 24px 60px -36px rgba(15,27,45,.3); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.panel-head b { font-size: 15px; }
.panel-head span { color: var(--mute); }
.kv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kv { border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 14px; }
.kv small { display: block; color: var(--mute); font-size: 12px; }
.kv b { display: block; font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kv em { font-style: normal; font-size: 12px; }
@media (max-width: 720px) { .kv-grid { grid-template-columns: 1fr 1fr; } }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ptable th { text-align: left; font-weight: 500; color: var(--mute); font-size: 12px; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line-soft); }
.ptable td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .q { font-weight: 500; }
.mini-bar { display: inline-block; height: 6px; border-radius: 3px; background: var(--teal-2); vertical-align: middle; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-wrap .grid line { stroke: var(--line-soft); }
.chart-wrap text { font: 11px var(--sans); fill: var(--mute); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.rec { border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 16px; display: grid; gap: 8px; }
.rec + .rec { margin-top: 10px; }
.rec p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.rec-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--mute); font-size: 12.5px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { font: 500 14px var(--sans); background: none; border: 0; padding: 10px 14px; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.tab-panel[hidden] { display: none; }
.change-log { list-style: none; margin: 0; padding: 0; }
.change-log li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.change-log li:last-child { border: 0; }
.change-log time { color: var(--mute); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.disclaimer { font-size: 13px; color: var(--mute); margin-top: 14px; }

/* case studies */
.cs-structure { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.cs-structure div { background: #fff; padding: 20px 16px; min-height: 140px; }
.cs-structure b { display: block; margin-bottom: 8px; }
.cs-structure p { font-size: 14px; color: var(--mute); margin: 0; }
@media (max-width: 1000px) { .cs-structure { grid-template-columns: repeat(2, 1fr); } }
.cs-card { display: grid; grid-template-columns: 5fr 7fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.cs-card + .cs-card { margin-top: 24px; }
.cs-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.cs-card-body { padding: clamp(24px, 3vw, 40px); }
.cs-card-body h3 { font-size: 26px; margin: 10px 0 12px; }
.badge { display: inline-block; font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 4px; background: #fdf2d6; color: #6d4c00; }
@media (max-width: 800px) { .cs-card { grid-template-columns: 1fr; } }

/* careers */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 48px; }
.areas > div { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
.areas h3 { font-size: 22px; margin-bottom: 10px; }
.areas p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-aside h2 { font-size: 20px; margin: 32px 0 12px; }
.contact-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.contact-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.contact-steps li::before { content: counter(s); font-weight: 600; color: var(--teal); }
.contact-form { background: var(--fog); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; margin: 2em 0 .6em; }
.legal h3 { font-size: 19px; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--mute); font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; vertical-align: top; }

/* cta band */
.cta-band { padding: clamp(72px, 9vw, 120px) 0; }
.cta-dark { background: var(--ink); color: #fff; }
.cta-light { background: var(--fog); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.cta-inner h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1.02; max-width: 13ch; }
.cta-side p { font-size: 18px; max-width: 32em; }
.cta-dark .cta-side p { color: rgba(255,255,255,.75); }
.cta-side .btn-row { margin-top: 24px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }
.related-links { border-top: 2px solid var(--ink); padding-top: 18px; }
.related-links ul { list-style: none; padding: 0; margin: 12px 0 0; }
.related-links li { border-bottom: 1px solid var(--line); }
.related-links a { display: block; padding: 12px 0; text-decoration: none; font-weight: 500; }
.related-links a:hover { color: var(--teal); }

/* footer */
.site-footer { background: var(--deep); color: rgba(255,255,255,.72); padding: 88px 0 32px; font-size: 15px; }
.f-top { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-brand p { margin: 24px 0 28px; max-width: 30ch; font-size: 17px; color: rgba(255,255,255,.8); }
.f-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.f-head { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); margin-bottom: 16px; letter-spacing: 0; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col a { text-decoration: none; color: rgba(255,255,255,.85); }
.f-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; font-size: 14px; }
.f-bottom p { margin: 0; }
.f-bottom p:first-child { flex: 1; }
.f-bottom a { color: rgba(255,255,255,.85); }
.f-cookie { background: none; border: 0; color: rgba(255,255,255,.85); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
@media (max-width: 1000px) { .f-top { grid-template-columns: 1fr; } .f-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .f-cols { grid-template-columns: 1fr 1fr; } }

/* cookie banner */
.cookie { position: fixed; z-index: 150; left: 16px; bottom: 16px; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 60px -20px rgba(15,27,45,.35); padding: 20px 22px; font-size: 15px; }
.cookie p { margin: 0 0 14px; color: var(--ink-2); }
.cookie a { color: var(--teal); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; } }

/* 404 */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf-code { font-size: clamp(100px, 18vw, 240px); font-weight: 600; letter-spacing: -0.06em; line-height: .85; color: var(--fog); -webkit-text-stroke: 1.5px var(--line); }

/* reveal (used once per page for the hero platform scan) */
.js .count { font-variant-numeric: tabular-nums; }
.timeline-v { display: grid; gap: 28px; }
.timeline-v::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.timeline-v .tl-step { padding: 0 0 0 48px; }
.timeline-v .tl-step::before { top: 4px; }
/* grid children must be allowed to shrink so wide tables scroll inside their panel */
.module { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.platform-teaser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.panel { overflow-x: auto; }
@media (max-width: 960px) { .module, .platform-teaser { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.principles-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .principles-3 { grid-template-columns: 1fr; } }
.dark-top .crumbs-band { background: var(--ink); }
.dark-top .crumbs ol { color: rgba(255,255,255,.55); }
.dark-top .crumbs a:hover { color: #fff; }
.dark-top .crumbs li + li::before { color: rgba(255,255,255,.3); }
.dark-top .site-header:not(.is-scrolled) { border-bottom-color: transparent; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
  .cookie { font-size: 14px; padding: 16px; }
  .cookie p { margin-bottom: 10px; }
}
