/* Minibit site styles
   Layout: dark blue-black canvas, floating pill nav, centred section heads with a soft divider,
   bordered cards with a tinted glow, big gradient stats, pill tags and pill buttons.
   One brand accent runs through everything. The accent itself is injected per colourway by the
   generator as --accent / --accent-rgb / --accent-ink (see _build/build.py VARIANTS).
   Dark is the default theme. The toggle in the nav sets data-theme="light" on <html>; the
   choice is remembered in localStorage. */

:root {
  color-scheme: dark;
  /* accent fallbacks (overridden per colourway in the page head) */
  --accent: #D7C19B;
  --accent-rgb: 215, 193, 155;
  --accent-ink: #D7C19B;      /* accent used for text, icons and the logo: same as accent on dark, darker on light */
  --bg: #070a0e;
  --bg-2: #0c1117;
  --surface: #11171d;
  --surface-2: #161d24;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --fg: #ffffff;
  --fg-2: #e6e9ec;
  --fg-3: #d2d7dc;
  --muted: #a9b1ba;
  --dim: #8a929c;
  --faint: #626a75;
  --btn: #ededed;
  --btn-fg: #0b0e12;
  --btn-hover: #ffffff;
  --btn2-border: rgba(255, 255, 255, 0.65);
  --hover: rgba(255, 255, 255, 0.07);
  --wash: rgba(255, 255, 255, 0.025);
  --wash-2: rgba(255, 255, 255, 0.06);
  --nav-bg: rgba(12, 16, 20, 0.72);
  --nav-border: rgba(255, 255, 255, 0.1);
  --menu-bg: rgba(12, 16, 20, 0.96);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --hover-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --card-a: #131a21; --card-b: #0d1217;
  --panel-a: #10161c; --panel-b: #090d11;
  --num-a: #ffffff; --num-b: #6e7680;
  --display-a: #ffffff; --display-b: #c9ced4;
  --divider: rgba(255, 255, 255, 0.35);
  --ga1: 0.42; --ga2: 0.3; --ga3: 0.36; --ga4: 0.24;   /* glow alphas for the four card tints */
  --hero-bg:
    radial-gradient(46% 38% at 50% 26%, rgba(var(--accent-rgb), 0.22), transparent 65%),
    radial-gradient(60% 50% at 10% 15%, rgba(var(--accent-rgb), 0.08), transparent 60%),
    linear-gradient(180deg, #0c1217 0%, #070a0d 60%, #070a0e 100%);
  --cta-a: #0f151b; --cta-b: #080b0f;
  --footer-a: #070a0e; --footer-b: #0a0e13;
  --thumb: #0c1116;
  --form-bg: rgba(255, 255, 255, 0.04);
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Nunito", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 22px;
  --radius-sm: 16px;
  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 64px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f9;
  --bg-2: #eef1f4;
  --surface: #ffffff;
  --surface-2: #f3f5f7;
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(15, 23, 42, 0.16);
  --fg: #0f1419;
  --fg-2: #1f2730;
  --fg-3: #2f3944;
  --muted: #5b6572;
  --dim: #6f7987;
  --faint: #9aa3ae;
  --btn: #0f1419;
  --btn-fg: #ffffff;
  --btn-hover: #1f2730;
  --btn2-border: rgba(15, 23, 42, 0.55);
  --hover: rgba(15, 23, 42, 0.06);
  --wash: rgba(15, 23, 42, 0.03);
  --wash-2: rgba(15, 23, 42, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --nav-border: rgba(15, 23, 42, 0.1);
  --menu-bg: rgba(255, 255, 255, 0.97);
  --shadow: 0 10px 30px rgba(20, 30, 60, 0.1);
  --hover-shadow: 0 18px 40px rgba(20, 30, 60, 0.14);
  --card-a: #ffffff; --card-b: #f7f8fa;
  --panel-a: #ffffff; --panel-b: #f3f5f8;
  --num-a: #0f1419; --num-b: #7b8491;
  --display-a: #0f1419; --display-b: #3a4350;
  --divider: rgba(15, 23, 42, 0.28);
  --ga1: 0.34; --ga2: 0.24; --ga3: 0.3; --ga4: 0.2;
  --hero-bg:
    radial-gradient(46% 38% at 50% 26%, rgba(var(--accent-rgb), 0.4), transparent 65%),
    radial-gradient(60% 50% at 10% 15%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    linear-gradient(180deg, #eaedf1 0%, #f2f4f7 60%, #f6f7f9 100%);
  --cta-a: #ffffff; --cta-b: #eef1f5;
  --footer-a: #f6f7f9; --footer-b: #eceff3;
  --thumb: #eef1f4;
  --form-bg: rgba(15, 23, 42, 0.03);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--btn); color: var(--btn-fg); padding: 10px 16px; border-radius: 999px; font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

.topline { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; opacity: 0.9;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0), var(--accent) 25%, var(--accent) 75%, rgba(var(--accent-rgb), 0)); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; line-height: 1; }
.brand svg { height: 30px; width: auto; flex: none; color: var(--accent-ink); }
.brand img { height: 40px; width: auto; display: block; }
.footer .brand img { height: 36px; }
.hero-logo.brand-logo { width: min(300px, 60vw); filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.25)); }
.hero-logo.brand-logo img { width: 100%; height: auto; display: block; }
/* one of the two lockups shows per theme; these outrank the sizing rules above */
.brand img.logo-light, .brand-logo img.logo-light { display: none; }
:root[data-theme="light"] .brand img.logo-dark, :root[data-theme="light"] .brand-logo img.logo-dark { display: none; }
:root[data-theme="light"] .brand img.logo-light, :root[data-theme="light"] .brand-logo img.logo-light { display: block; }
@media (max-width: 959px) { .brand img { height: 34px; } }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.01em; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; padding-inline: 16px; }
.nav-bar {
  max-width: var(--wrap); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 22px; border-radius: 999px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--nav-border);
  box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: 999px; color: var(--fg-2);
  font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--hover); color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); background: var(--hover); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle, .theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--fg);
  transition: background 0.15s, border-color 0.15s;
}
.nav-toggle:hover, .theme-toggle:hover { background: var(--hover); }
.nav-toggle { display: none; }
.nav-toggle svg, .theme-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
.nav-menu {
  display: none; max-width: var(--wrap); margin: 10px auto 0; padding: 12px;
  background: var(--menu-bg); border: 1px solid var(--nav-border); border-radius: 24px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.nav-menu[data-open="true"] { display: block; }
.nav-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-menu a { display: block; padding: 14px 16px; border-radius: 14px; color: var(--fg-2); text-decoration: none; font-size: 17px; font-weight: 500; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--hover); color: var(--fg); }
.nav-menu .menu-cta { margin: 10px 4px 4px; }
.nav-menu .menu-cta .btn { display: flex; color: var(--btn-fg); padding: 14px 24px; font-size: 16px; border-radius: 999px; }
@media (max-width: 959px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { height: 60px; padding-left: 18px; }
  .nav-actions .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 16px; line-height: 1;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--btn); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--btn2-border); }
.btn-secondary:hover { background: var(--hover); border-color: var(--fg); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn:active { transform: translateY(1px); }

/* ---------- Pills, tags, labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--wash-2); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--fg-2); line-height: 1.2; text-decoration: none;
}
.eyebrow.blue, .eyebrow.magenta, .eyebrow.violet, .eyebrow.cyan { background: rgba(var(--accent-rgb), 0.14); border-color: rgba(var(--accent-rgb), 0.4); }
.eyebrow svg { width: 14px; height: 14px; color: var(--accent-ink); }
.kicker { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--wash);
  font-size: 13px; color: var(--fg); line-height: 1.2; white-space: nowrap;
}
.tag svg { width: 14px; height: 14px; color: var(--accent-ink); flex: none; }
.status { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; white-space: nowrap; color: var(--fg-2); }
.status.live, .status.blue, .status.magenta, .status.violet { border-color: rgba(var(--accent-rgb), 0.5); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: calc(118px + env(safe-area-inset-top, 0px)) 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-logo { width: min(210px, 44vw); color: var(--accent-ink); filter: drop-shadow(0 0 36px rgba(var(--accent-rgb), 0.35)); margin-bottom: 4px; }
.hero-logo svg { width: 100%; height: auto; display: block; }
.hero-mark {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wash-2); border: 1px solid var(--line-2); margin-bottom: 8px;
}
.hero-mark svg { width: 36px; height: 36px; color: var(--accent-ink); }
.display {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 7.2vw, 84px); line-height: 1.0; letter-spacing: -0.025em;
  max-width: 17ch; margin: 0;
  background: linear-gradient(180deg, var(--display-a) 45%, var(--display-b)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { font-size: clamp(18px, 2vw, 22px); color: var(--muted); font-weight: 400; margin-top: -6px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 660px; }
.lead strong { color: var(--fg-2); font-weight: 500; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.hero-note { font-size: 14px; color: var(--dim); }

/* Subpage hero */
.page-hero { padding-bottom: 64px; }
.page-hero .display { max-width: 20ch; font-size: clamp(36px, 5.6vw, 66px); }
.breadcrumbs { font-size: 13.5px; color: var(--dim); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--fg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section.tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.section-head.left { text-align: left; align-items: flex-start; margin-left: 0; }
.section-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--wash-2), var(--wash));
  border: 1px solid var(--line-2);
}
.section-icon svg { width: 28px; height: 28px; color: var(--accent-ink); }
.title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; }
.title-sm { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.02em; }
.divider { width: min(520px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--divider), transparent); margin-top: 8px; }
.section-head.left .divider { background: linear-gradient(90deg, var(--divider), transparent); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden; min-width: 0;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: 22px; line-height: 1.2; font-weight: 800; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card p strong { color: var(--fg); font-weight: 500; }
.card .more { margin-top: auto; padding-top: 6px; }
.card.pad-lg { padding: 36px; }
.glow-blue::after, .glow-magenta::after, .glow-violet::after, .glow-cyan::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -45%; height: 70%; pointer-events: none; z-index: 0;
}
.glow-blue::after { background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), var(--ga1)), transparent 70%); }
.glow-magenta::after { background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), var(--ga2)), transparent 70%); }
.glow-violet::after { background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), var(--ga3)), transparent 70%); }
.glow-cyan::after { background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), var(--ga4)), transparent 70%); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--wash-2); border: 1px solid var(--line); }
.card-icon svg { width: 22px; height: 22px; color: var(--accent-ink); }

.more { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--divider); }
.more:hover { text-decoration-color: var(--fg); }
.more svg { width: 14px; height: 14px; }

/* ---------- Stats ---------- */
.stat { background: linear-gradient(180deg, var(--panel-a), var(--panel-b)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stat svg.icon { width: 32px; height: 32px; color: var(--accent-ink); }
.stat .num {
  font-family: var(--font-display); font-size: clamp(46px, 5vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--num-a), var(--num-b)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .num small { font-size: 0.5em; letter-spacing: -0.02em; }
.stat .label { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Split teaser panels ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.flip > .split-copy { order: 2; }
.split-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.split-copy .title { font-size: clamp(30px, 3.8vw, 46px); }
.split-copy p { color: var(--muted); font-size: 17px; max-width: 54ch; }
.callout { display: flex; align-items: baseline; gap: 14px; padding-top: 6px; }
.callout .num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; background: linear-gradient(180deg, var(--num-a), var(--num-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.callout .what { color: var(--muted); font-size: 15px; max-width: 26ch; line-height: 1.4; }
.panel-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, var(--panel-a), var(--panel-b)); min-width: 0; position: relative; overflow: hidden; }
.panel-box > * { position: relative; z-index: 1; }
.panel-box header { font-size: 17px; font-weight: 500; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; }
.row-list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--wash); min-width: 0; }
.row .row-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--wash-2); }
.row .row-icon svg { width: 18px; height: 18px; color: var(--accent-ink); }
.row .row-text { flex: 1; min-width: 0; }
.row b { display: block; font-weight: 500; font-size: 15.5px; }
.row span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > .split-copy { order: 0; } }
@media (max-width: 480px) { .row .status { display: none; } }

/* ---------- Logo tiles ---------- */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.split .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-tile { aspect-ratio: 1.25; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-a), var(--card-b)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; gap: 6px; min-width: 0; }
.logo-tile b { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.logo-tile span { font-size: 12px; color: var(--dim); line-height: 1.3; }

/* ---------- Stacked points ---------- */
.points { border-top: 1px solid var(--line); }
.points > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px 48px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.points h3 { font-size: 24px; line-height: 1.2; }
.points p { color: var(--muted); font-size: 16.5px; max-width: 60ch; }
@media (max-width: 760px) { .points > div { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } }

/* ---------- Numbered paths ---------- */
.path { text-decoration: none; }
.path .n { font-size: 13px; color: var(--accent-ink); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; font-weight: 600; }
.path h3 { font-size: 19px; line-height: 1.25; }
.path .more { margin-top: auto; }
.path:hover { border-color: var(--line-2); }

/* ---------- Proof / badges ---------- */
.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.badge { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--wash); display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.badge svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 2px; }
.badge b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.badge span { font-size: 13px; color: var(--muted); }
@media (max-width: 420px) { .badges { grid-template-columns: 1fr; } }

/* ---------- Person ---------- */
.person { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.portrait { width: 100%; aspect-ratio: 1; border-radius: 24px; object-fit: cover; border: 1px solid var(--line); background: var(--surface); display: block; }
.portrait-fallback { width: 100%; aspect-ratio: 1; border-radius: 24px; border: 1px solid var(--line); display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, rgba(var(--accent-rgb), 0.35), transparent 70%), linear-gradient(180deg, var(--card-a), var(--panel-b)); font-family: var(--font-display); font-size: 72px; font-weight: 800; letter-spacing: -0.04em; color: var(--fg-2); }
.person-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.person-copy h3, .person-copy h2 { font-size: 30px; }
.person-copy .role { color: var(--accent-ink); font-weight: 500; }
.person-copy p { color: var(--fg-3); font-size: 16.5px; max-width: 64ch; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .portrait, .portrait-fallback { max-width: 240px; } }

/* ---------- Articles ---------- */
.article-card .meta { font-size: 13px; color: var(--dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.article-card .thumb { height: 150px; border-radius: 14px; border: 1px solid var(--line); margin: -4px 0 4px; background: radial-gradient(70% 90% at 20% 110%, rgba(var(--accent-rgb), var(--ga1)), transparent 70%), radial-gradient(60% 80% at 100% 0%, rgba(var(--accent-rgb), var(--ga4)), transparent 70%), var(--thumb); display: grid; place-items: center; }
.article-card .thumb svg { width: 40px; height: 40px; color: var(--fg); opacity: 0.85; }
.article-card.t2 .thumb { background: radial-gradient(70% 90% at 80% 110%, rgba(var(--accent-rgb), var(--ga1)), transparent 70%), radial-gradient(60% 80% at 0% 0%, rgba(var(--accent-rgb), var(--ga4)), transparent 70%), var(--thumb); }
.article-card.t3 .thumb { background: radial-gradient(70% 90% at 50% 120%, rgba(var(--accent-rgb), var(--ga1)), transparent 70%), radial-gradient(60% 80% at 100% 0%, rgba(var(--accent-rgb), var(--ga4)), transparent 70%), var(--thumb); }

.prose { max-width: 70ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: 17.5px; line-height: 1.7; color: var(--fg-3); }
.prose h2 { font-size: 30px; line-height: 1.15; margin-top: 2em; color: var(--fg); }
.prose h3 { font-size: 22px; line-height: 1.25; margin-top: 1.6em; color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--divider); }
.prose a:hover { text-decoration-color: var(--fg); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 2px solid var(--accent-ink); background: var(--wash); border-radius: 0 14px 14px 0; }
.prose blockquote p { color: var(--fg-2); font-size: 18px; }
.prose .summary { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.prose .summary p { color: var(--fg-2); }
.prose .summary .kicker { display: block; margin-bottom: 8px; color: var(--accent-ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--fg); font-weight: 500; }
.prose td { color: var(--fg-3); }
.table-wrap { overflow-x: auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 14px; color: var(--dim); }
.article-meta b { color: var(--fg-2); font-weight: 500; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--wash); margin-top: 48px; }
.author-box img, .author-box .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.15)); color: var(--fg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.author-box p { font-size: 14.5px; color: var(--muted); }
.author-box b { color: var(--fg); font-weight: 500; }

/* ---------- Steps ---------- */
.step .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--fg); background: var(--wash-2); }
.step h3 { font-size: 20px; }
.step .dur { font-size: 13px; color: var(--accent-ink); font-weight: 500; }

/* ---------- Key facts table ---------- */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.facts th { width: 34%; color: var(--muted); font-weight: 500; padding-right: 24px; }
.facts td { color: var(--fg-2); }
@media (max-width: 560px) { .facts th, .facts td { display: block; width: auto; padding: 0; } .facts th { padding-top: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; } .facts td { padding: 4px 0 14px; } .facts tr { display: block; border-bottom: 1px solid var(--line); } .facts th, .facts td { border: 0; } }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: 120px 1fr; gap: 0 28px; }
.timeline .yr { color: var(--dim); font-size: 14px; padding: 18px 0; font-variant-numeric: tabular-nums; }
.timeline .ev { position: relative; padding: 18px 0 18px 26px; border-left: 1px solid var(--line-2); }
.timeline .ev::before { content: ""; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18); }
.timeline .ev b { display: block; font-weight: 500; font-size: 17px; }
.timeline .ev span { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline .yr { padding: 14px 0 0 26px; } .timeline .ev { padding-top: 6px; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--fg-2); background: var(--wash); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 68ch; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; border: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 24px;
  background: radial-gradient(60% 90% at 50% 110%, rgba(var(--accent-rgb), var(--ga1)), transparent 70%), radial-gradient(40% 60% at 90% 0%, rgba(var(--accent-rgb), var(--ga4)), transparent 70%), linear-gradient(180deg, var(--cta-a), var(--cta-b));
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-band .title { max-width: 18ch; }
.cta-band p { color: var(--muted); font-size: 17px; max-width: 54ch; }
.cta-band .contact-line { font-size: 15px; color: var(--fg-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 3px; }
.contact-item b { display: block; font-weight: 500; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 15px; text-decoration: none; }
.contact-item a:hover { color: var(--fg); }
.copy-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-btn { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; color: var(--fg-2); }
.copy-btn:hover { border-color: var(--fg); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--form-bg); color: var(--fg); font: inherit; font-size: 15.5px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-ink); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.radio-row input { accent-color: var(--accent-ink); margin: 0; }
.form-note { font-size: 13.5px; color: var(--dim); }
.form-result { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.12); font-size: 15px; color: var(--fg-2); display: flex; flex-direction: column; gap: 10px; }
.form-result pre { white-space: pre-wrap; font: 13.5px/1.5 var(--mono); color: var(--muted); margin: 0; }
.form-result .actions { margin: 0; justify-content: flex-start; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px)); margin-top: 40px; background: linear-gradient(180deg, var(--footer-a), var(--footer-b)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 34ch; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer h4 { font-family: var(--font); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer li a { color: var(--fg-2); text-decoration: none; font-size: 15px; }
.footer li a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer li span { color: var(--muted); font-size: 15px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.footer-legal a { color: var(--dim); text-decoration: none; }
.footer-legal a:hover { color: var(--fg); }
.footer-legal ul { flex-direction: row; gap: 18px; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 18px; height: 18px; }


/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.muted { color: var(--muted); }
.max-prose { max-width: 66ch; }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: 15px; color: var(--muted); }
.note { font-size: 14px; color: var(--dim); }
.two-col { columns: 2; column-gap: 40px; }
.two-col > * { break-inside: avoid; }
@media (max-width: 700px) { .two-col { columns: 1; } }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-3); font-size: 16px; line-height: 1.5; }
.check-list li svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; margin-top: 4px; }
.check-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 700px) { .check-list.cols { grid-template-columns: 1fr; } }

/* ======================================================================
   Motion. Everything below animates transform, opacity or stroke only,
   runs once or very slowly, and is switched off under prefers-reduced-motion.
   Without JavaScript the page renders fully at rest.
   ====================================================================== */

/* Scroll progress: the top hairline is a faint track with an accent fill that follows scroll */
.topline { background: rgba(var(--accent-rgb), 0.22); }
.topline::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.6)); transform-origin: 0 50%; transform: scaleX(var(--scroll-progress, 0)); }
html:not(.js) .topline::after { transform: none; }

/* Theme cross-fade and hover transitions (cheap properties only) */
.card, .panel-box, .stat, .logo-tile, .row, .badge, .tag, .eyebrow, .chip, .cta-band, .nav-bar, .nav-menu, .faq details, .footer, .form .field input, .form .field textarea {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-bar { transition: height 0.25s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.nav.scrolled .nav-bar { height: 56px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
:root[data-theme="light"] .nav.scrolled .nav-bar { box-shadow: 0 12px 36px rgba(20, 30, 60, 0.16); }
.theme-toggle svg { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.theme-toggle:hover svg { transform: rotate(20deg) scale(1.05); }
.more svg { transition: transform 0.2s ease; }
.more:hover svg, .path:hover .more svg { transform: translateX(4px); }
.faq summary .plus { transition: transform 0.25s ease, background-color 0.2s ease; }
.faq summary:hover .plus { background: var(--hover); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: none; } }
  @keyframes breathe { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.95; transform: scale(1.08); } }
  @keyframes drift { from { transform: translate3d(-2.5%, -1.5%, 0) scale(1.04); } to { transform: translate3d(2.5%, 1.5%, 0) scale(1.04); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.1; } }
  @keyframes spin { from { transform: rotate(0deg) scale(0.8); } to { transform: rotate(360deg) scale(1); } }
  @keyframes fade-up-small { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* Hero entrance */
  .hero::before { inset: -8%; animation: drift 16s ease-in-out infinite alternate; }
  .hero-logo { position: relative; animation: pop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-logo::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; z-index: -1;
    background: radial-gradient(50% 50% at 50% 50%, rgba(var(--accent-rgb), 0.32), transparent 70%);
    animation: breathe 6s ease-in-out infinite; }
  .hero-logo .mb-mark path[pathLength] { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards; }
  .hero-logo .mb-mark .mb-bit { opacity: 0; transform-origin: 77% 55%; animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 1.45s forwards; }
  .hero .eyebrow, .hero .breadcrumbs { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.02s both; }
  .hero .display { animation: rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s both; }
  .hero .tagline { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.26s both; }
  .hero .lead { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s both; }
  .hero .actions { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.48s both; }
  .hero .hero-note { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both; }
  .brand:hover .mb-bit { animation: blink 0.35s steps(2, jump-none) 2; }
  .theme-toggle.spin svg { animation: spin 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

  /* Scroll reveal with stagger. Resting state is visible; JS only adds the entrance. */
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .grid > .reveal:nth-child(2), .js .logos > .reveal:nth-child(2), .js .points > .reveal:nth-child(2) { --d: 0.08s; }
  .js .grid > .reveal:nth-child(3), .js .logos > .reveal:nth-child(3), .js .points > .reveal:nth-child(3) { --d: 0.16s; }
  .js .grid > .reveal:nth-child(4), .js .logos > .reveal:nth-child(4), .js .points > .reveal:nth-child(4) { --d: 0.24s; }
  .js .grid > .reveal:nth-child(5), .js .logos > .reveal:nth-child(5), .js .points > .reveal:nth-child(5) { --d: 0.32s; }
  .js .grid > .reveal:nth-child(6), .js .logos > .reveal:nth-child(6) { --d: 0.4s; }
  .js .section-head .divider { transform: scaleX(0); transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s; }
  .js .section-head.in .divider { transform: scaleX(1); }
  .js .panel-box.reveal .row, .js .badges.reveal .badge, .js .reveal .check-list li, .js .timeline.reveal .ev { opacity: 0; transform: translateX(14px); transition: opacity 0.55s ease var(--d, 0s), transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s); }
  .js .panel-box.reveal.in .row, .js .badges.reveal.in .badge, .js .reveal.in .check-list li, .js .timeline.reveal.in .ev { opacity: 1; transform: none; }
  .js .panel-box.reveal .row:nth-child(2), .js .badges.reveal .badge:nth-child(2), .js .reveal .check-list li:nth-child(2), .js .timeline.reveal .ev:nth-of-type(2) { --d: 0.1s; }
  .js .panel-box.reveal .row:nth-child(3), .js .badges.reveal .badge:nth-child(3), .js .reveal .check-list li:nth-child(3), .js .timeline.reveal .ev:nth-of-type(3) { --d: 0.2s; }
  .js .panel-box.reveal .row:nth-child(4), .js .badges.reveal .badge:nth-child(4), .js .reveal .check-list li:nth-child(4), .js .timeline.reveal .ev:nth-of-type(4) { --d: 0.3s; }
  .js .panel-box.reveal .row:nth-child(5), .js .badges.reveal .badge:nth-child(5), .js .reveal .check-list li:nth-child(5), .js .timeline.reveal .ev:nth-of-type(5) { --d: 0.4s; }
  .js .badges.reveal .badge:nth-child(6), .js .reveal .check-list li:nth-child(n+6), .js .timeline.reveal .ev:nth-of-type(n+6) { --d: 0.5s; }

  /* Hover lift */
  .card:hover, .stat:hover, .logo-tile:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.45); box-shadow: var(--hover-shadow); }
  .glow-blue::after, .glow-magenta::after, .glow-violet::after, .glow-cyan::after { opacity: 0.8; transition: opacity 0.4s ease; }
  .card:hover::after { opacity: 1; }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
  :root[data-theme="light"] .btn-primary:hover { box-shadow: 0 10px 24px rgba(20, 30, 60, 0.22); }
  .row:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateX(3px); }
  .faq details[open] .answer { animation: fade-up-small 0.35s ease both; }

  /* Ambient glow on the closing band */
  .cta-band::before { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none;
    background: radial-gradient(35% 45% at 35% 65%, rgba(var(--accent-rgb), 0.28), transparent 60%);
    animation: drift 11s ease-in-out infinite alternate; }
  .cta-band > * { position: relative; z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .topline::after { transition: none; }
  .js .reveal, .js .reveal .row, .js .reveal .badge { opacity: 1; transform: none; }
}
