/* =============================================================================
   STRATIS website, V4 skeleton
   Structure mirrors hebbia.com; skin follows STRATIS Brand Bible v2.
   Charcoal #050505 / Azure #F2FFFE / Electric blue #00B0D8 / Power Gray #727272
   Typeface: Rethink Sans. Electric blue is the one accent.
   Controls are frosted-glass pills; otherwise no glow, no gradients as atmosphere.
   Anything in [square brackets] is a copy slot. Any hatched box is a media slot.
   ========================================================================== */

@font-face {
  font-family: "Rethink Sans";
  src: url("/assets/fonts/RethinkSans-Variable.ttf") format("truetype");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("/assets/fonts/RethinkSans-Italic-Variable.ttf") format("truetype");
  font-weight: 400 800; font-style: italic; font-display: swap;
}

:root {
  --charcoal: #050505;
  --charcoal-2: #0b0c0c;
  --azure: #f2fffe;
  --signal: #00b0d8;
  --gray: #727272;

  /* dark theme (site default) */
  --bg: var(--charcoal);
  --bg-raise: var(--charcoal-2);
  --text: var(--azure);
  --text-soft: rgba(242, 255, 254, 0.62);
  --text-faint: rgba(242, 255, 254, 0.38);
  --line: rgba(242, 255, 254, 0.12);
  --line-strong: rgba(242, 255, 254, 0.24);
  --ph-line: rgba(114, 114, 114, 0.55);
  --ph-hatch: rgba(114, 114, 114, 0.16);
  --ph-fill: rgba(242, 255, 254, 0.025);

  --ff: "Rethink Sans", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-head: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --fz-hero: clamp(2.8rem, 1.2rem + 6.4vw, 6.4rem);
  --fz-display: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem);
  --fz-h2: clamp(1.9rem, 1.3rem + 2.3vw, 3.2rem);
  --fz-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fz-stat: clamp(3rem, 2rem + 4vw, 5.5rem);
  --fz-lead: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --fz-body: 1rem;
  --fz-small: 0.875rem;
  --fz-label: 0.72rem;
  --lts-tight: -0.035em;
  --lts-label: 0.16em;

  --sect: clamp(5rem, 3.4rem + 7vw, 10rem);
  --sect-s: clamp(3rem, 2.2rem + 3.4vw, 5.5rem);
  --gutter: clamp(1.25rem, 3.4vw, 3rem);
  --maw: 1360px;
  --maw-n: 860px;
  --nav-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* light theme: azure paper */
.theme-light {
  --bg: #f2f7f6;
  --bg-raise: #e9f0ef;
  --text: var(--charcoal);
  --text-soft: rgba(5, 5, 5, 0.6);
  --text-faint: rgba(5, 5, 5, 0.38);
  --line: rgba(5, 5, 5, 0.12);
  --line-strong: rgba(5, 5, 5, 0.26);
  --ph-line: rgba(114, 114, 114, 0.6);
  --ph-hatch: rgba(114, 114, 114, 0.18);
  --ph-fill: rgba(5, 5, 5, 0.02);
}

/* ---------- base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fz-body);
  line-height: 1.55;
  background: var(--charcoal);
  color: var(--azure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--signal); color: var(--charcoal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px;
}
.theme-light a:focus-visible, .theme-light button:focus-visible { outline-color: var(--charcoal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section, .sect { background: var(--bg); color: var(--text); }
.wrap { width: 100%; max-width: var(--maw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--n { max-width: var(--maw-n); }
.hairline-top { border-top: 1px solid var(--line); }
.hairline-bottom { border-bottom: 1px solid var(--line); }

/* ---------- type --------------------------------------------------------- */
.label {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase;
  color: var(--text-soft);
}
.label .mark { width: 8px; height: 8px; border: 1.5px solid var(--signal); border-radius: 50%; }
.theme-light .label .mark { border-color: var(--charcoal); }
h1, h2, h3, h4, h5, h6, .hero-title, .display, .h2, .h3, .opener__title { font-family: var(--ff-head); }
.hero-title, .display { font-size: var(--fz-hero); font-weight: 600; line-height: 0.98; letter-spacing: var(--lts-tight); }
.display { font-size: var(--fz-display); line-height: 1.02; }
.h2 { font-size: var(--fz-h2); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: var(--fz-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: var(--fz-lead); line-height: 1.5; color: var(--text-soft); }
.small { font-size: var(--fz-small); color: var(--text-soft); }
.slot { color: inherit; }
p.slot, .slot--soft { color: var(--text-soft); }
.stack > * + * { margin-top: 1.1rem; }
.stack--lg > * + * { margin-top: 1.8rem; }
.center { text-align: center; }
.center .label { justify-content: center; }
.mx { margin-inline: auto; }

/* ---------- buttons ------------------------------------------------------ */
/* Tall pills in frosted liquid glass: a milky body that blurs what sits behind
   it, a sheen across the upper half, a thin chrome rim and a slight drop shadow.
   On hover/focus the rim picks up a jet-fuel (oil-slick) sheen that drifts round. */
@property --rim-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn {
  --glass-top: rgba(255, 255, 255, 0.94);
  --glass-bot: rgba(236, 240, 240, 0.86);
  --sheen: rgba(255, 255, 255, 0.75);
  --btn-ink: #1b1e1e;
  --rim-o: 1;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.5rem; padding: 0 1.9em; border-radius: 999px;
  font-family: var(--ff); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; line-height: 1;
  color: var(--btn-ink); border: 0;
  background:
    linear-gradient(180deg, var(--sheen), transparent 50%),
    linear-gradient(180deg, var(--glass-top), var(--glass-bot));
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(5, 5, 5, 0.05),
    0 1px 2px rgba(5, 5, 5, 0.14),
    0 8px 18px -8px rgba(5, 5, 5, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
/* rims: a ring cut out of a full-size layer */
.btn::before, .btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* chrome */
.btn::before {
  z-index: 1; opacity: var(--rim-o);
  background: conic-gradient(from 200deg,
    #ffffff, #9aa1a5 12%, #f3f5f6 24%, #5b6266 36%, #eef1f2 50%,
    #8c9397 62%, #ffffff 74%, #6a7175 86%, #ffffff);
}
/* jet fuel: short oil-slick flares that sit on the chrome */
.btn::after {
  z-index: 2; opacity: 0;
  background: conic-gradient(from var(--rim-a),
    transparent 0deg 4deg,
    #2f6bff 12deg, #ff38c8 22deg, #ffd23a 32deg, #ff6a1a 40deg, #ffffff 46deg,
    transparent 54deg 100deg,
    #ffffff 106deg, #ffe14a 114deg, #ff4fb0 124deg, #3f7bff 134deg,
    transparent 144deg 182deg,
    #3f7bff 190deg, #c25bff 200deg, #ffd23a 212deg, #ff7a1a 222deg, #ffffff 228deg,
    transparent 236deg 284deg,
    #ff6a1a 292deg, #ffd23a 300deg, #2f6bff 312deg, #ff38c8 320deg,
    transparent 330deg 360deg);
  transition: opacity 0.4s var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(5, 5, 5, 0.05),
    0 2px 3px rgba(5, 5, 5, 0.16),
    0 12px 24px -10px rgba(5, 5, 5, 0.42);
}
.btn:hover::after, .btn:focus-visible::after { opacity: 1; animation: btn-fuel 7s linear infinite; }
@keyframes btn-fuel { to { --rim-a: 360deg; } }
.btn:active { transform: translateY(0) scale(0.985); }
.btn .ar { font-weight: 500; transition: transform 0.25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* secondary: clear smoke glass on dark, same chrome rim */
.btn--ghost {
  --glass-top: rgba(242, 255, 254, 0.12);
  --glass-bot: rgba(242, 255, 254, 0.04);
  --sheen: rgba(255, 255, 255, 0.12);
  --btn-ink: var(--azure);
  --rim-o: 0.7;
}
.theme-light .btn--ghost {
  --glass-top: rgba(255, 255, 255, 0.6);
  --glass-bot: rgba(255, 255, 255, 0.3);
  --sheen: rgba(255, 255, 255, 0.5);
  --btn-ink: var(--charcoal);
  --rim-o: 1;
}

/* dark: charcoal glass, same chrome rim */
.btn--dark {
  --glass-top: rgba(34, 37, 40, 0.96);
  --glass-bot: rgba(8, 9, 10, 0.96);
  --sheen: rgba(255, 255, 255, 0.12);
  --btn-ink: var(--azure);
}
.btn--text { min-height: 0; padding: 0.85em 0.4em; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--text); }
.btn--text::before, .btn--text::after { display: none; }
.btn--text:hover { color: var(--text-soft); transform: none; box-shadow: none; }
.btn--s { min-height: 2.75rem; padding: 0 1.35em; font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; }
  .btn:hover::after, .btn:focus-visible::after { animation: none; }
}
.textlink { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.textlink:hover { border-color: var(--text); }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- placeholders ------------------------------------------------- */
.ph {
  position: relative; width: 100%;
  border: 1px dashed var(--ph-line); border-radius: var(--radius);
  background-color: var(--ph-fill);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, var(--ph-hatch) 14px 15px);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center;
  font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase;
  color: var(--text-faint); background: var(--bg); width: max-content; height: max-content; margin: auto;
  padding: 0.5em 0.9em; border-radius: 4px;
}
.ph--16-9 { aspect-ratio: 16 / 9; }
.ph--7-5 { aspect-ratio: 7 / 5; }
.ph--4-3 { aspect-ratio: 4 / 3; }
.ph--3-4 { aspect-ratio: 3 / 4; }
.ph--4-5 { aspect-ratio: 4 / 5; }
.ph--1-1 { aspect-ratio: 1 / 1; }
.ph--21-9 { aspect-ratio: 21 / 9; }
.ph--fill { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ph--icon { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 8px; }
.ph--icon::after { content: ""; padding: 0; background: none; }
.ph--logo { height: 36px; width: 100%; border-radius: 4px; }
.ph--logo::after { font-size: 0.6rem; padding: 0.3em 0.6em; }
.ph--avatar { width: 56px; height: 56px; aspect-ratio: 1; border-radius: 50%; flex: none; }
.ph--avatar::after { content: ""; background: none; }
.playbtn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; background: var(--bg); z-index: 1;
}
.playbtn::before { content: ""; width: 0; height: 0; border-left: 18px solid var(--text); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }

/* ---------- nav ---------------------------------------------------------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line); color: var(--azure);
}
.topnav__row { display: flex; align-items: center; gap: 2rem; height: var(--nav-h); max-width: var(--maw); margin-inline: auto; padding-inline: var(--gutter); }
.topnav__brand { display: flex; align-items: center; }
.logo { display: block; width: 118px; height: 16px; color: var(--azure); }
.logo svg { width: 100%; height: 100%; }
.topnav__menu { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
.navitem { position: relative; }
.navlink {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.6em 0.8em; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s, background 0.2s;
}
.navlink:hover, .navitem[aria-expanded="true"] > .navlink, .navitem:focus-within > .navlink { color: var(--azure); background: rgba(242, 255, 254, 0.05); }
.navlink .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.navitem:hover > .dropdown, .navitem:focus-within > .dropdown, .navitem[aria-expanded="true"] > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__heading { display: block; padding: 0.45rem 0.75rem 0.55rem; font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); }
.dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0.75rem; border-radius: 6px; font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.dropdown a:hover { background: rgba(242, 255, 254, 0.06); color: var(--azure); }
.dropdown a .ar { opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.dropdown a:hover .ar { opacity: 1; transform: translateX(2px); }
.topnav__cta { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
/* Log in: a quiet text link that reads like the nav links beside the CTA; the mobile menu carries it below 960px */
.topnav__login {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8em; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.topnav__login:hover { color: var(--azure); background: rgba(242, 255, 254, 0.05); }
.topnav__login:focus-visible { border-radius: var(--radius); }
.topnav__toggle { -webkit-tap-highlight-color: transparent; display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
/* no ring on tap or click; keyboard focus keeps the site-wide :focus-visible ring */
.topnav__toggle:focus:not(:focus-visible) { outline: none; }
.topnav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--azure); transition: transform 0.25s var(--ease), opacity 0.2s; }
body.menu-open .topnav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .topnav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .topnav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--charcoal);
  padding: 1.5rem var(--gutter) 3rem; overflow-y: auto; color: var(--azure);
}
body.menu-open .mobile-menu { display: block; }
.mobile-menu__group { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.mobile-menu__group > span { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.5rem; }
.mobile-menu__group a { display: block; padding: 0.45rem 0; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.mobile-menu__ctas { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; }
.mobile-menu__ctas .btn { justify-content: center; text-align: center; }
.mobile-menu__login { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 1rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s; }
.mobile-menu__login:hover { color: var(--azure); }

/* 961-1100px: the full nav and Log in fit once the links tighten */
@media (min-width: 961px) and (max-width: 1100px) {
  .topnav__row { gap: 1rem; }
  .topnav__menu { gap: 0; margin-left: 0; }
  .navlink, .topnav__login { padding-inline: 0.55em; }
}
@media (max-width: 960px) {
  .topnav__menu, .topnav__cta .btn--text, .topnav__login { display: none; }
  .topnav__toggle { display: flex; }
}

/* ---------- hero (home) -------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: end;
  min-height: min(calc(100svh - var(--nav-h)), 760px); padding-block: var(--sect-s) var(--sect-s);
}
.hero__content { max-width: 560px; }
.hero__content .lead { max-width: 480px; }
.hero__media { position: relative; align-self: stretch; min-height: 420px; }
.hero__media .ph { position: absolute; inset: 0; border-radius: 8px; aspect-ratio: auto; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- secondary hero (inner pages) --------------------------------- */
.page-hero { padding-block: var(--sect) var(--sect-s); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero__grid .stack { max-width: 620px; }
.page-hero--wide .page-hero__media { margin-top: var(--sect-s); }
.page-hero--text { text-align: left; }
.page-hero--text .stack { max-width: 780px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- full video --------------------------------------------------- */
.video { padding-block: var(--sect-s); }
.video .ph { border-radius: 8px; }

/* ---------- logo strip --------------------------------------------------- */
.logos { padding-block: 2.25rem; }
.logos__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1.25rem; align-items: center; }
.logos__item { padding-inline: 0.5rem; }
@media (max-width: 1000px) { .logos__row { grid-template-columns: repeat(4, 1fr); row-gap: 1.5rem; } }
@media (max-width: 520px) { .logos__row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- section header ----------------------------------------------- */
.sect { padding-block: var(--sect); }
.sect--s { padding-block: var(--sect-s); }
.sect__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sect__head--center { margin-inline: auto; text-align: center; }
.sect__head--center .label { justify-content: center; }
.sect__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; flex-wrap: wrap; }
.sect__head--row .stack { max-width: 640px; }

/* ---------- bento -------------------------------------------------------- */
.bento { display: grid; gap: 1rem; }
.bento__row { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.bento__row--narrow-first { grid-template-columns: 1fr 2fr; }
.bento__card {
  display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); min-height: 440px;
}
.bento__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.bento__sub { color: var(--text-soft); max-width: 46ch; margin-top: 0.35rem; }
.bento__stage { position: relative; flex: 1; min-height: 240px; }
.bento__stage .ph { position: absolute; inset: 0; aspect-ratio: auto; }
@media (max-width: 860px) { .bento__row, .bento__row--narrow-first { grid-template-columns: 1fr; } .bento__card { min-height: 360px; } }

/* ---------- cards: stats, icons, generic --------------------------------- */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); }
.card--flat { background: transparent; }
.card__stat { font-size: var(--fz-stat); font-weight: 600; line-height: 0.95; letter-spacing: -0.04em; }
.card__desc { color: var(--text-soft); }
.card--icon { gap: 1.5rem; padding: 1.5rem; }
.card--icon .h3 { font-size: 1.15rem; }
.card--icon .card__body { margin-top: auto; }
.card--stat .card__body { display: grid; gap: 0.75rem; }
.card--link { transition: border-color 0.25s var(--ease); }
.card--link:hover { border-color: var(--line-strong); }

/* ---------- quote -------------------------------------------------------- */
.quote__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.quote__text { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.quote__attr { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.quote__attr .small { line-height: 1.35; }
.quote__attr .ph--logo { width: 120px; }
@media (max-width: 800px) { .quote__grid { grid-template-columns: 1fr; } .quote__grid .ph { max-width: 360px; } }

/* ---------- carousel (horizontal rail) ----------------------------------- */
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.rail__card { flex: 0 0 clamp(260px, 26vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; }
.rail__media { position: relative; }
.rail__arrow { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; font-size: 0.95rem; z-index: 1; }
.rail__title { font-weight: 600; font-size: 1.05rem; }
.rail__sub { color: var(--text-soft); font-size: var(--fz-small); }

/* ---------- feature scroller (product) ----------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: var(--sect-s); border-top: 1px solid var(--line); }
.feature--flip > :first-child { order: 2; }
.feature .stack { max-width: 460px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip > :first-child { order: 0; } }

/* ---------- list module (numbered rows) ---------------------------------- */
.listmod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.listmod__sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.listrow { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.listrow:last-child { border-bottom: 1px solid var(--line); }
.listrow__idx { font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); color: var(--text-faint); padding-top: 0.5rem; }
@media (max-width: 860px) { .listmod { grid-template-columns: 1fr; } .listmod__sticky { position: static; } }

/* ---------- split text block --------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split--sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 800px) { .split, .split--sidebar { grid-template-columns: 1fr; } }

/* ---------- badges (trust) ----------------------------------------------- */
.badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.badge { display: grid; gap: 0.9rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.badge h4 { font-size: 0.95rem; font-weight: 600; }
@media (max-width: 960px) { .badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* ---------- values / gallery / team / testimonials ----------------------- */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 1rem; align-items: end; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.value { display: grid; gap: 0.9rem; align-content: start; padding: 1.5rem 0; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
.testi { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); }
.testi__who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- jobs list ---------------------------------------------------- */
.jobs { border-top: 1px solid var(--line); }
.jobrow { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.jobrow__meta { font-size: var(--fz-small); color: var(--text-soft); }
@media (max-width: 640px) { .jobrow { grid-template-columns: 1fr; gap: 0.5rem; } .jobrow > .textlink { justify-self: start; } }

/* ---------- pricing plans ------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); }
.plan--featured { border-color: var(--line-strong); }
.plan ul { display: grid; gap: 0.6rem; color: var(--text-soft); font-size: var(--fz-small); }
.plan li { display: flex; gap: 0.7rem; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--text-faint); margin-top: 0.5em; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- forms (demo) ------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fz-small); color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.8em 0.9em;
}
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 1px #e5484d; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- image footer CTA --------------------------------------------- */
.close-cta { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; }
.close-cta .ph--fill { border: 0; border-radius: 0; }
.close-cta__content { position: relative; z-index: 1; padding-block: var(--sect); max-width: 720px; }
.close-cta--flat { min-height: 0; }
.close-cta--flat .close-cta__content { text-align: center; margin-inline: auto; }
.close-cta--flat .ctas { justify-content: center; }

/* ---------- footer ------------------------------------------------------- */
.footer { background: var(--charcoal); color: var(--azure); border-top: 1px solid var(--line); padding-block: var(--sect-s) 2rem; }
.footer__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer__data { max-width: 58rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 0.82rem; line-height: 1.65; }
.footer__data h2 { margin: 0 0 0.65rem; color: var(--text-soft); font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; }
.footer__data p { margin: 0.55rem 0 0; }
.footer__data a { color: inherit; text-decoration: underline; text-underline-offset: 0.16em; }
.footer__data a:hover { color: var(--azure); }
.footer__col h4 { font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: 0.3rem 0; font-size: 0.95rem; color: var(--text-soft); }
.footer__col a:hover { color: var(--azure); }
.footer__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 3.5rem; }
.footer__wordmark { margin-top: 4rem; color: rgba(242, 255, 254, 0.9); }
.footer__wordmark svg { width: 100%; height: auto; }
.footer__meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fz-small); color: var(--text-faint); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reveal ------------------------------------------------------- */
.reveal { transform: none; transition: transform 0.7s var(--ease); }
.js-reveal .reveal:not(.is-in) { transform: translateY(18px); }
.js-reveal .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- team headshots ----------------------------------------------- */
.team__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: var(--bg-raise); filter: grayscale(100%); transition: filter 0.4s var(--ease); }
.team__photo:hover { filter: none; }

/* ---------- statement ---------------------------------------------------- */
.statement { padding-block: var(--sect); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.statement__text { font-size: var(--fz-display); font-weight: 600; line-height: 1.02; letter-spacing: var(--lts-tight); max-width: 14ch; }
@media (max-width: 800px) { .statement__grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 1.05rem; color: var(--text-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.5rem; color: var(--text-soft); max-width: 720px; }

/* ---------- day-one steps ------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.step { display: grid; gap: 0.75rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.step__idx { font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); color: var(--text-faint); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- category stack diagram --------------------------------------- */
.stackviz { display: grid; gap: 0.5rem; align-self: center; }
.stackviz__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.stackviz__row--top { border-color: var(--signal); }
.theme-light .stackviz__row--top { border-color: var(--charcoal); border-width: 1.5px; }
.stackviz__name { font-weight: 600; letter-spacing: -0.01em; }
.stackviz__name em { font-style: normal; font-size: var(--fz-label); letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); margin-left: 0.6em; }
.stackviz__q { color: var(--text-soft); font-size: var(--fz-small); }
@media (max-width: 520px) { .stackviz__row { grid-template-columns: 1fr; gap: 0.25rem; } }
.field select { width: 100%; font: inherit; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.8em 0.9em; }
.field select option { color: var(--charcoal); }

/* ---------- horizons: today / in build / next ---------------------------- */
.horizons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.horizon { display: grid; gap: 0.6rem; align-content: start; padding: 1.5rem 0 1.25rem; border-top: 1px solid var(--line); }
.horizon--now { border-top-color: var(--signal); border-top-width: 2px; }
.theme-light .horizon--now { border-top-color: var(--charcoal); }
.horizon__stage { font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); }
.horizon__status { display: inline-block; width: max-content; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.25em 0.6em; }
.horizon--now .horizon__status { color: var(--text); border-color: var(--text); }
.horizons__end { grid-column: 1 / -1; display: grid; grid-template-columns: max-content 1fr; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); margin-top: 0.5rem; }
.horizons__end p { font-size: var(--fz-lead); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 760px) { .horizons { grid-template-columns: 1fr; } .horizons__end { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- film-first hero, big statement, mini steps, capability grid -- */
.hero--film .hero__top { max-width: 860px; padding-block: var(--sect-s) 2.5rem; }
.hero-title--cat { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); }
.hero--film .lead { max-width: 640px; }
.hero__film { padding-inline: var(--gutter); max-width: var(--maw); margin-inline: auto; padding-bottom: var(--sect-s); }
.hero__film .ph { border-radius: 8px; }
.statement--big { padding-block: var(--sect); border-top: 1px solid var(--line); }
.statement__text--center { max-width: 18ch; margin-inline: auto; text-align: center; font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.6rem); }
.ministeps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.ministeps li { display: grid; gap: 0.35rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.ministep__idx { font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); color: var(--text-faint); }
@media (max-width: 900px) { .ministeps { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .ministeps { grid-template-columns: repeat(2, 1fr); } }
.textlink--s { font-size: var(--fz-small); }
.logos__row--10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.logos__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.logos__item--tall .ph--logo { height: 96px; }
@media (max-width: 1000px) { .logos__row--10 { grid-template-columns: repeat(5, 1fr); row-gap: 1rem; } }
@media (max-width: 600px) { .logos__row--10 { grid-template-columns: repeat(2, 1fr); } .logos__row--3 { grid-template-columns: 1fr; } }
.badges--row .badge { padding: 1rem 0; }
.capgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1rem; }
.cap summary { list-style: none; cursor: pointer; padding: 0.9rem 0; font-weight: 600; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.cap summary::-webkit-details-marker { display: none; }
.cap summary::after { content: "+"; color: var(--text-faint); font-weight: 400; }
.cap[open] summary::after { content: "\2212"; }
.cap[open] { border-color: var(--line-strong); }
.cap p { padding: 0 0 1rem; font-size: var(--fz-small); color: var(--text-soft); }
.cap p a { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 960px) { .capgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .capgrid { grid-template-columns: 1fr; } }

/* ---------- opener: full-screen category line over the signal lines ------ */
.opener { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; overflow: hidden; background: var(--charcoal); color: var(--azure); }
.opener__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.opener__content { position: relative; z-index: 1; padding: var(--sect-s) var(--gutter); text-align: center; max-width: 1100px; }
.opener__title { font-size: clamp(2.4rem, 1rem + 5.4vw, 6rem); font-weight: 600; line-height: 1.02; letter-spacing: var(--lts-tight); margin: 0; animation: opener-in 1.2s var(--ease) both; }
.opener__brand { margin: 0 0 1rem; color: rgba(242, 255, 254, 0.76); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
@keyframes opener-in { from { transform: translateY(14px); } to { transform: none; } }
.scrollcue { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 13px; display: grid; justify-items: center; padding-top: 7px; }
.scrollcue span { width: 3px; height: 8px; border-radius: 2px; background: var(--signal); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hero--film { border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .opener__title { animation: none; } .scrollcue span { animation: none; } }

/* ---------- opener video (the ribbons from the old closing section) ------ */
.opener__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.opener__tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,5,5,0.72), rgba(5,5,5,0.30) 50%, rgba(5,5,5,0.78)); }
.opener__title { text-shadow: 0 2px 24px rgba(5,5,5,0.6); }
@media (prefers-reduced-motion: reduce) { .opener__video { display: none; } .opener { background: #050505 url("/videos/cta-poster.jpg") center / cover no-repeat; } }

/* ---------- molecular system (3D, shared molecule.js from the old site) -- */
.molecule { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; min-height: 380px;
  background: radial-gradient(125% 120% at 50% 38%, #FCFDFE, #EAEEF1 78%, #E4E8EC);
  box-shadow: inset 0 0 0 1px rgba(5,5,5,0.08); }
.molecule__canvas-wrap { position: absolute; inset: 0; z-index: 0; }
.molecule__canvas-wrap > div { position: absolute; inset: 0; pointer-events: none; }
#moleculeCanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#moleculeCanvas:active { cursor: grabbing; }
.mol-label { font-family: var(--ff); color: #0A1A16; white-space: nowrap; transform: translate(-50%, 0); letter-spacing: 0.005em; font-weight: 500; }
.molecule__legend { position: absolute; left: 18px; bottom: 14px; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; max-width: 72%; margin: 0; padding: 0; list-style: none;
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #535860; pointer-events: none; }
.molecule__legend li { display: flex; align-items: center; gap: 0.45em; }
.molecule__legend span { width: 8px; height: 8px; border-radius: 50%; }
.molecule__hint { position: absolute; bottom: 14px; right: 18px; z-index: 3; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: #535860; opacity: 0.8; pointer-events: none; }
@media (max-width: 720px) { .molecule__hint { display: none; } .molecule { min-height: 300px; } }

/* ---------- the orb, wide, on black, under its headline ------------------ */
.molecule--wide { aspect-ratio: auto; height: clamp(520px, 62vw, 820px); border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(242,255,254,0.08);
  background: radial-gradient(120% 110% at 50% 42%, #101414, #050505 70%); }
.molecule--wide .mol-label { color: #F2FFFE; }
.molecule--wide .molecule__legend, .molecule--wide .molecule__hint { color: rgba(242,255,254,0.55); }
#problem .sect__head { margin-bottom: 2.5rem; }
@media (max-width: 720px) { .molecule--wide { height: clamp(360px, 110vw, 560px); } }

/* ---------- reasoning network (flywheel.js from the live site) ---------- */
.flywheel { position: relative; overflow: hidden; border-radius: 10px; height: clamp(460px, 52vw, 720px);
  background: radial-gradient(125% 120% at 50% 38%, #FCFDFE, #EAEEF1 78%, #E4E8EC); box-shadow: inset 0 0 0 1px rgba(5,5,5,0.06); }
#flywheelCanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#flywheelCanvas:active { cursor: grabbing; }
.flywheel .mol-label { color: #0A1A16; font-size: 11px; font-weight: 500; }
.fw-stage { display: grid; grid-template-columns: max-content 1fr; gap: 1.25rem; align-items: center; margin-top: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.fw-stage__k { font-size: var(--fz-label); font-weight: 700; letter-spacing: var(--lts-label); color: var(--text); padding: 0.35em 0.7em; border: 1.5px solid var(--charcoal); border-radius: 4px; min-width: 6.5em; text-align: center; }
.fw-stage[data-k="DECIDE"] .fw-stage__k { background: var(--charcoal); color: var(--azure); }
.fw-stage[data-k="LEARN"] .fw-stage__k { background: var(--signal); border-color: var(--signal); color: var(--charcoal); }
.fw-stage__t { color: var(--text-soft); font-size: var(--fz-small); transition: opacity 0.3s; }
@media (max-width: 720px) { .flywheel { height: clamp(360px, 100vw, 520px); } .fw-stage { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- insight anatomy: pull an insight apart ----------------------- */
.anatomy { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); overflow: hidden; }
.anatomy__stage { position: relative; height: clamp(560px, 58vw, 760px); }
.anatomy__edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.anatomy__edge { stroke: rgba(242,255,254,0.22); stroke-width: 1; transition: stroke 0.3s; }
.anatomy__edge.is-lit { stroke: var(--signal); stroke-width: 1.5; }
.anatomy__card { position: absolute; left: 0; top: 0; width: min(340px, 84vw); padding: 1.25rem 1.35rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--charcoal); cursor: pointer; text-align: left; transition: border-color 0.3s, box-shadow 0.3s; will-change: transform; }
.anatomy__card.is-active, .anatomy__card.is-lit { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.anatomy__card .label { margin-bottom: 0.75rem; }
.anatomy__title { font-weight: 600; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.015em; }
.anatomy__rows { display: grid; gap: 0.5rem; margin-top: 0.9rem; font-size: 0.82rem; color: var(--text-soft); }
.anatomy__rows div { display: grid; grid-template-columns: 6.5em 1fr; gap: 0.6rem; }
.anatomy__rows dt { color: var(--text-faint); font-size: 0.62rem; letter-spacing: var(--lts-label); text-transform: uppercase; padding-top: 0.2em; }
.anatomy__rows dd { margin: 0; }
.anatomy__conf { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-soft); }
.anatomy__bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.anatomy__bar i { display: block; height: 100%; width: 82%; background: var(--signal); }
.anatomy__acts { display: flex; gap: 0.4rem; margin-top: 1rem; }
.anatomy__acts span { font-size: 0.72rem; font-weight: 600; padding: 0.45em 0.8em; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-soft); }
.anatomy__acts span:first-child { background: var(--azure); color: var(--charcoal); border-color: var(--azure); }
.anatomy__node { position: absolute; left: 0; top: 0; width: 188px; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--charcoal); color: var(--text); text-align: left; display: grid; gap: 0.25rem; opacity: 0; will-change: transform, opacity; transition: border-color 0.25s, box-shadow 0.25s; }
.anatomy__node:hover, .anatomy__node.is-active { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); z-index: 3; }
.anatomy__node.is-lit { border-color: rgba(0,176,216,0.6); }
.anatomy__idx { font-size: 0.6rem; font-weight: 600; letter-spacing: var(--lts-label); color: var(--text-faint); }
.anatomy__name { font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; }
.anatomy__detail { font-size: 0.76rem; line-height: 1.4; color: var(--text-soft); max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.anatomy__node:hover .anatomy__detail, .anatomy__node.is-active .anatomy__detail, .anatomy__node:focus-visible .anatomy__detail { max-height: 8em; }
.anatomy__bar-ctrl { display: grid; grid-template-columns: max-content 1fr max-content; gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.anatomy__range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-strong); border-radius: 2px; }
.anatomy__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); border: 2px solid var(--charcoal); cursor: ew-resize; }
.anatomy__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--signal); border: 2px solid var(--charcoal); cursor: ew-resize; }
.anatomy__ctl { display: flex; gap: 0.5rem; }
.anatomy__captionbar { display: grid; grid-template-columns: max-content 1fr; gap: 1rem; align-items: center; padding: 0.9rem 1.25rem; border-top: 1px solid var(--line); font-size: var(--fz-small); color: var(--text-soft); }
.anatomy__caption-k { font-size: var(--fz-label); font-weight: 700; letter-spacing: var(--lts-label); color: var(--text); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.3em 0.6em; }
.anatomy__note { padding: 0 1.25rem 1rem; font-size: 0.72rem; color: var(--text-faint); }
.anatomy.is-narrow .anatomy__stage { height: 1080px; }
.anatomy.is-narrow .anatomy__node { width: min(44vw, 200px); }
.anatomy.is-narrow .anatomy__card { width: min(360px, 88vw); }
@media (max-width: 720px) { .anatomy__bar-ctrl { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---------- closing section over the ribbons video ----------------------- */
.close-cta--film { background: var(--charcoal); color: var(--azure); min-height: 640px; }
.close-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.close-cta__tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,5,5,0.82), rgba(5,5,5,0.38) 45%, rgba(5,5,5,0.86)); }
.close-cta--film .close-cta__content { text-shadow: 0 2px 24px rgba(5,5,5,0.6); }
@media (prefers-reduced-motion: reduce) { .close-cta__video { display: none; } .close-cta--film { background: #050505 url("/videos/cta-poster.jpg") center / cover no-repeat; } }

/* ---------- footer: wordmark first ---------------------------------------- */
.footer__wordmark--top { margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }

/* ---------- insight card, product fields ---------------------------------- */
.anatomy__head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.7rem; }
.anatomy__head .label { margin: 0; }
.anatomy__state { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.25em 0.55em; }
.anatomy__title { margin-top: 0.8rem; }
.anatomy__title-k { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.3rem; }
.anatomy__foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.anatomy__foot .anatomy__acts { margin-top: 0; }
.anatomy__trail { font-size: 0.74rem; font-weight: 600; color: var(--text-soft); white-space: nowrap; cursor: pointer; border-bottom: 1px solid var(--line-strong); }
.anatomy__trail:hover { color: var(--text); }

/* ---------- control marks (our own, honest, no borrowed badges) ---------- */
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.control { display: grid; gap: 0.35rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 8px; }
.control__mark { display: inline-block; width: max-content; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); border: 1.5px solid var(--text); border-radius: 4px; padding: 0.35em 0.6em; }
.control__mark--s { margin-bottom: 0.5rem; }
.control__status { font-size: 0.72rem; color: var(--text-soft); }
.theme-light .control__mark { border-color: var(--charcoal); }
@media (max-width: 600px) { .controls { grid-template-columns: repeat(2, 1fr); } }

/* ---------- typographic wordmarks for channels and platforms ------------- */
.wordmarks { display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.wordmark { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text-soft); white-space: nowrap; }
@media (max-width: 600px) { .wordmarks { gap: 0.5rem 1.4rem; } .wordmark { font-size: 0.95rem; } }

/* ---------- logo carousel: every platform STRATIS reads from, full bleed --- */
.logos { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; padding-block: 0.5rem; animation: logos-scroll 95s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
ul.logos__set { display: flex; align-items: center; gap: clamp(3rem, 5.5vw, 5.5rem); margin: 0; padding: 0 clamp(1.5rem, 2.75vw, 2.75rem); list-style: none; }
.logos__item { display: flex; align-items: center; gap: 0.75rem; flex: none; white-space: nowrap; font-weight: 600; font-size: clamp(1.35rem, 0.9rem + 1.3vw, 2rem); letter-spacing: -0.01em; color: var(--text-soft); opacity: 0.75; transition: opacity 0.25s var(--ease); }
.logos__item:hover { opacity: 1; }
.logos__item svg { width: 1.3em; height: 1.3em; flex: none; fill: currentColor; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .logos__track { animation-duration: 60s; } }
@media (prefers-reduced-motion: reduce) {
  .logos { width: auto; margin-left: 0; -webkit-mask-image: none; mask-image: none; }
  .logos__track { animation: none; width: auto; }
  ul.logos__set { flex-wrap: wrap; gap: 1rem 2rem; padding: 0; }
  .logos__set[aria-hidden] { display: none; }
}

/* ---------- trust grid: monochrome icons, hairline dividers -------------- */
.trustgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trustgrid__cell { display: grid; justify-items: center; align-content: start; gap: 0.4rem; padding: clamp(2rem, 4vw, 3.5rem) 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.trustgrid__icon { display: block; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; margin-bottom: 1rem; }
.trustgrid__icon svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.55)); }
.trustgrid__name { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.trustgrid__status { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.theme-light .trustgrid__icon svg { filter: drop-shadow(0 6px 12px rgba(5,5,5,0.18)); }
@media (max-width: 700px) { .trustgrid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- product images ----------------------------------------------- */
.pic { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #F4F6F7; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.7); }
.pic img { display: block; width: 100%; height: auto; }
.pic picture { display: block; }
.pic--wide { border-radius: 10px; }
.feature > .stack:only-child, .split > .stack:only-child, .page-hero__grid > .stack:only-child { grid-column: 1 / -1; max-width: 720px; }
.listmod__sticky:empty { display: none; }
.listmod:has(.listmod__sticky:empty) { grid-template-columns: 1fr; }
.card--icon .card__body { margin-top: 0; }

/* ---------- molecular orb as a feature-row panel -------------------------- */
.molecule--panel { aspect-ratio: 4 / 3; min-height: 360px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(242,255,254,0.08); background: radial-gradient(120% 110% at 50% 42%, #101414, #050505 70%); }
.molecule--panel .mol-label { color: #F2FFFE; }
.molecule--panel .molecule__legend, .molecule--panel .molecule__hint { color: rgba(242,255,254,0.55); }

/* ---------- light orb panel for light sections --------------------------- */
.molecule--light { background: radial-gradient(125% 120% at 50% 40%, #FFFFFF, #F1F5F5 70%, #EAF0EF); box-shadow: inset 0 0 0 1px rgba(5,5,5,0.06); }
.molecule--light .mol-label { color: #0A1A16; }
.mol-source, .mol-group { width: 0; height: 0; pointer-events: none; }
.mol-source span, .mol-group span { position: absolute; top: 0; left: 0; white-space: nowrap; font-family: var(--ff); transform: translate(10px, -50%); }
.mol-source span { font-size: 11.5px; font-weight: 500; letter-spacing: 0.005em; color: #20262B; }
.mol-source.is-left span { transform: translate(calc(-100% - 10px), -50%); }
.mol-source span, .mol-group span { transition: opacity 0.2s; }
.mol-group span { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); transform: translate(-50%, -50%); padding: 3px 7px; border-radius: 5px; background: rgba(247,250,250,0.88); box-shadow: 0 0 0 1px rgba(0,176,216,0.18); }
.is-compact .mol-source span { display: none; }
.molecule--wide:has([data-sources]) { height: clamp(560px, 72vw, 920px); }
@media (max-width: 720px) { .molecule--wide:has([data-sources]) { height: clamp(460px, 135vw, 640px); } }
.molecule--light .molecule__legend, .molecule--light .molecule__hint { color: #535860; }

/* ---------- governance cells: equal frames --------------------------------- */
.gov__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #F4F6F7; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.7); }
.gov__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gov__media--svg { background: radial-gradient(120% 110% at 50% 42%, #101414, #050505 70%); display: grid; place-items: center; padding: 8%; }
.theme-light .gov__media--svg { background: radial-gradient(120% 110% at 50% 42%, #101414, #050505 70%); }
.gov__media--svg svg { width: 100%; height: 100%; }

/* ---------- flat closing sections: fit the frame -------------------------- */
.close-cta--flat .display { font-size: var(--fz-h2); max-width: 20ch; margin-inline: auto; }

/* promise section without a film: balanced padding */
.hero--film .hero__top { padding-block: var(--sect) var(--sect); }

.gov__media--big { align-self: center; padding: 10%; box-shadow: none; }

/* ---------- laptop scene: our product on a screen, drawn in CSS ------------ */
.laptop-scene { align-self: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 35%, #1a1d1d 0%, #0b0d0d 55%, #050505 100%); display: grid; place-items: end center; padding: 9% 9% 0; perspective: 1400px; }
.laptop { position: relative; width: 100%; transform: rotateX(4deg); transform-origin: 50% 100%; }
.laptop__lid { position: relative; border-radius: 10px 10px 4px 4px; padding: 3.2% 3.2% 2.4%; background: linear-gradient(180deg, #2a2d2d, #141616); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 -1px 0 rgba(0,0,0,0.6) inset; }
.laptop__screen { border-radius: 4px; overflow: hidden; background: #F4F6F7; aspect-ratio: 16 / 10; }
.laptop__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop__base { position: relative; height: clamp(10px, 1.4vw, 16px); margin: 0 -3%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #3a3e3e, #1b1e1e 60%, #0f1111); box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset; }
.laptop__notch { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 40%; border-radius: 0 0 6px 6px; background: #0c0e0e; }
.laptop__shadow { position: absolute; left: 4%; right: 4%; bottom: -6px; height: 28px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.7), rgba(0,0,0,0)); z-index: -1; }

/* ---------- monitor scene: the orb on a display, drawn in CSS ------------- */
.monitor-scene { align-self: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(100% 80% at 50% 30%, #f1f3f3 0%, #dfe3e3 60%, #cfd4d4 100%); display: grid; grid-template-rows: 1fr auto auto; justify-items: center; padding: 8% 8% 0; }
.monitor { width: 100%; border-radius: 12px; padding: 1.6%; background: #0b0d0d; box-shadow: 0 30px 50px -30px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.15) inset; }
.monitor__screen { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #050505; }
.molecule--screen { position: relative; width: 100%; height: 100%; border-radius: 0; box-shadow: none; background: radial-gradient(120% 110% at 50% 45%, #101414, #050505 72%); }
.molecule--screen .molecule__canvas-wrap canvas { cursor: default; }
.molecule--screen .mol-label { color: #F2FFFE; }
.monitor__neck { width: 18%; height: clamp(40px, 6vw, 84px); background: linear-gradient(90deg, #8f9595, #c4c9c9 45%, #a6acac 60%, #7f8686); }
.monitor__foot { width: 20%; height: clamp(8px, 1vw, 12px); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #9aa0a0, #6e7474); }

/* monitor screen: exact fit, flat black */
.monitor__screen { position: relative; }
.molecule--screen { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; background: #050505; }

.molecule--screen, .monitor__screen { background: #050505 !important; }

/* monitor scene on the page ground, no backdrop */
.monitor-scene { background: transparent; border: 0; border-radius: 0; padding: 0 6% 0; }
.monitor { box-shadow: 0 40px 60px -36px rgba(0,0,0,0.9), 0 0 0 1px rgba(242,255,254,0.10); }
.monitor__neck { background: linear-gradient(90deg, #2a2e2e, #4a5050 45%, #3a4040 60%, #232727); }
.monitor__foot { background: linear-gradient(180deg, #3d4343, #1f2323); }

/* isolation visual takes the section's own ground */
.gov__media--svg { --iso-bg: #0d1111; --iso-edge: #00b0d8; --iso-line: #727272; --iso-node: #c9d3d2; --iso-core: #f2fffe; --iso-text: #9aa3a2; }
/* in the governance row it takes the screenshot cells' gray ground, border and shadow on every theme */
.gov__media--svg:not(.gov__media--big) { background: #DEDEDE;
  --iso-bg: #FFFFFF; --iso-edge: #050505; --iso-line: #9aa3a2; --iso-node: #535860; --iso-core: #050505; --iso-text: #727272; }

/* ---------- brand memory interactive --------------------------------------- */
.memory { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raise); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.memory__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); font-size: var(--fz-small); color: var(--text-soft); }
.memory__stats { display: flex; gap: 1.2rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.memory__stats b { color: var(--text); font-weight: 600; margin-right: 0.3em; }
.memory__stage { position: relative; min-height: 420px; background: var(--charcoal); }
.memory__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.memory__edge { stroke: rgba(242,255,254,0.16); stroke-width: 0.8; transition: opacity 0.3s; }
.memory__edge--cross { stroke: rgba(242,255,254,0.08); }
.memory__edge.is-dim { opacity: 0.35; }
.memory__node { opacity: 0.9; transition: opacity 0.3s, r 0.3s; cursor: default; }
.memory__node--hub { stroke: rgba(5,5,5,0.7); stroke-width: 1.5; }
.memory__node.is-dim { opacity: 0.22; }
.memory__node.is-lit { opacity: 1; stroke: var(--signal); stroke-width: 3; }
.memory__label { font-family: var(--ff); font-size: 9px; font-weight: 600; letter-spacing: 0.14em; fill: rgba(242,255,254,0.7); text-anchor: middle; pointer-events: none; }
.memory__trace { stroke: var(--signal); stroke-width: 1.2; opacity: 0.9; transition: stroke-dashoffset 0.6s var(--ease); }
.memory__tip { position: absolute; z-index: 3; pointer-events: none; background: var(--charcoal); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0.4rem 0.6rem; font-size: 0.74rem; color: var(--text); max-width: 220px; }
.memory__tip-k { display: block; font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.15rem; }
.memory__legend { position: absolute; left: 12px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; max-width: 70%; margin: 0; padding: 0; list-style: none; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242,255,254,0.5); pointer-events: none; }
.memory__legend li { display: flex; align-items: center; gap: 0.35em; }
.memory__legend span { width: 7px; height: 7px; border-radius: 50%; }
.memory__panel { border-left: 1px solid var(--line); padding: 1.1rem; display: grid; gap: 0.9rem; align-content: start; }
.memory__intro { font-size: 0.82rem; color: var(--text-soft); line-height: 1.45; }
.memory__questions { display: grid; gap: 0.45rem; }
.memory__q { text-align: left; font-size: 0.82rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.memory__q:hover { border-color: var(--line-strong); }
.memory__q.is-active { border-color: var(--signal); background: rgba(0,176,216,0.06); }
.memory__answer { display: none; gap: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.memory.is-asked .memory__answer { display: grid; }
.memory__answer-k { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.memory__answer-text { font-size: 0.86rem; line-height: 1.45; }
.memory__answer-cites { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.3rem; font-size: 0.74rem; color: var(--text-soft); }
.memory__answer-cites li { display: grid; grid-template-columns: max-content 1fr max-content; gap: 0.5rem; align-items: center; }
.memory__cite-dot { width: 7px; height: 7px; border-radius: 50%; }
.memory__cite-c { color: var(--text-faint); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.memory__reset { justify-self: start; font-size: 0.74rem; color: var(--text-soft); border-bottom: 1px solid var(--line-strong); }
.page-hero__grid > .memory { grid-column: 1 / -1; margin-top: 1rem; }
@media (max-width: 860px) { .memory { grid-template-columns: 1fr; } .memory__panel { border-left: 0; border-top: 1px solid var(--line); } .memory__stage { min-height: 340px; } .memory__legend { display: none; } }

/* brand memory: dense product-style graph */
.memory__stage { min-height: 620px; }
.memory__edge { stroke: rgba(242,255,254,0.13); stroke-width: 0.6; }
.memory__edge--cross { stroke: rgba(242,255,254,0.06); }
.memory__node { opacity: 0.92; }
.memory__node--hub { stroke: rgba(5,5,5,0.85); stroke-width: 3; paint-order: stroke; }
.memory__node--mid { stroke: rgba(5,5,5,0.6); stroke-width: 1.5; }
.memory__label { font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; fill: rgba(242,255,254,0.62); text-anchor: start; paint-order: stroke; stroke: rgba(5,5,5,0.8); stroke-width: 3px; stroke-linejoin: round; }
.memory__label--hub { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; fill: #F2FFFE; text-anchor: middle; }
ul.memory__legend { flex-direction: column; gap: 0.3rem; max-width: 190px; padding: 0.7rem 0.8rem; background: rgba(5,5,5,0.7); border: 1px solid var(--line); border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: 0.66rem; color: rgba(242,255,254,0.75); }
.memory__legend-k { font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin: 0.25rem 0 0.1rem; }
.memory__legend li { gap: 0.45em; }

/* brand memory: legible when asked, bigger dots */
.memory__node.is-dim { opacity: 0.4; }
.memory__edge.is-dim { opacity: 0.5; }
.memory__label { font-size: 9.5px; }

/* flat closing sections: one layer of padding, longer lines */
.close-cta--flat { padding-block: var(--sect-s); }
.close-cta--flat .close-cta__content { padding-block: 0; max-width: 820px; }
.close-cta--flat .display { max-width: 24ch; }
.close-cta--flat .lead { max-width: 720px !important; }

/* ---------- thinking orb beside the promise line --------------------------- */
.hero__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__row .hero__top { padding-block: var(--sect) var(--sect); }
.thinkorb { width: min(100%, 520px); aspect-ratio: 1; margin-left: auto; display: block; }
@media (max-width: 860px) { .hero__row { grid-template-columns: 1fr; } .thinkorb { margin: 0 auto; width: min(100%, 360px); } .hero__row .hero__top { padding-bottom: 1rem; } }

/* trust grid: three across, one row */
.trustgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .trustgrid { grid-template-columns: 1fr; } }

/* ---------- audit fixes, Sep 22 ------------------------------------------ */
.hero__row .hero__top > * + * { margin-top: 1.6rem; }
.hero__row .hero__top .ctas { margin-top: 2.2rem; }
.hero__row .hero__top .hero-title { margin-bottom: 0; }

/* ---------- phone-width fixes, Sep 22 audit ------------------------------ */
@media (max-width: 520px) {
  .topnav__row { gap: 0.75rem; }
  .topnav__cta { gap: 0.25rem; }
  .topnav__cta .btn { min-height: 2.4rem; padding: 0 0.95em; font-size: 0.78rem; }
  .topnav__cta .btn .ar { display: none; }
  .logo { width: 96px; height: 13px; }
}
.molecule--panel { min-height: 0; width: 100%; max-width: 100%; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.memory { min-width: 0; }
.memory__head { flex-wrap: wrap; row-gap: 0.4rem; }
.memory__stats { flex-wrap: wrap; row-gap: 0.25rem; }
.memory__stage, .memory__panel { min-width: 0; }
.split, .feature, .grid, .listmod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.feature { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .split, .split--sidebar, .feature, .listmod { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 520px) { .btn { white-space: normal; text-align: center; padding-block: 0.9em; } .ctas { width: 100%; } }

/* ---------- scroll story (home, section 2) ----------------------------------
   Base: a readable stack of the copy (no JS, no WebGL). .is-live pins a
   full-screen WebGL scene and drives each chapter from scroll; .is-still is
   the reduced-motion version: the stack plus one still frame of the sphere. */
.leadin { position: relative; }
.leadin .opener { position: sticky; top: var(--nav-h); z-index: 0; }
.story { position: relative; z-index: 1; background: var(--charcoal); color: var(--azure); }
.story__anchor { position: absolute; top: 0; }
.story__sticky { position: relative; }
.story__canvas, .story__tags, .story__insight, .story__rail, .story__white { display: none; }
.story__chapter { padding: var(--sect-s) var(--gutter); max-width: var(--maw); margin-inline: auto; }
.story__chapter--intro { padding-inline: 0; }
.story__intro { max-width: 860px; }
.story__intro > * + * { margin-top: 1.6rem; }
.story__intro .ctas { margin-top: 2.2rem; }
.story__intro .lead { max-width: 640px; }
.story__cue { display: none; }
.story__head { display: flex; align-items: baseline; gap: 1rem; }
.story__idx { font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); color: var(--signal); }
.story__word { font-family: var(--ff-head); font-size: clamp(3.4rem, 1.4rem + 9vw, 10.5rem); font-weight: 600; line-height: 0.92; letter-spacing: -0.05em; }
.story__desc { max-width: 36rem; margin-top: 1.2rem; font-size: var(--fz-lead); line-height: 1.5; color: var(--text-soft); }

/* live: pinned scene */
.story.is-live { height: 670vh; }
.story.is-live .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story.is-live .story__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.story.is-live .story__chapter { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.story.is-live .story__chapter--intro.is-on .ctas { pointer-events: auto; }

.story.is-live .story__chapter--intro { display: flex; align-items: center; padding-top: var(--nav-h); transform: translateY(var(--rise, 0)); }
.story.is-live .story__chapter--intro .hero-title { font-size: clamp(2.6rem, 1.1rem + 5.4vw, 5.6rem); }
.story.is-live .story__chapter--intro .wrap { position: relative; }
.story.is-live .story__chapter--intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 52%, rgba(5,5,5,0.82), rgba(5,5,5,0.45) 60%, rgba(5,5,5,0)); pointer-events: none; }
.story.is-live .story__intro { margin-inline: auto; text-align: center; }
.story.is-live .story__intro .lead { margin-inline: auto; }
.story.is-live .story__intro .ctas { justify-content: center; }
.story.is-live .story__cue { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 3rem; font-size: var(--fz-label); font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--text-faint); }
.story__cue span { width: 1px; height: 28px; background: linear-gradient(var(--signal), transparent); animation: story-cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes story-cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }


.story.is-live .story__head {
  position: absolute; left: 50%; top: 50%; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; white-space: nowrap;
  transform: translate(-50%, calc(-50% + var(--dy, 0px))) scale(var(--s, 1)); transform-origin: 50% 50%;
  filter: blur(var(--blur, 0px)); will-change: transform, filter;
}
.story.is-live .story__word { padding: 0.08em 0.06em 0.18em; text-shadow: 0 0 40px rgba(5,5,5,0.9), 0 0 2px rgba(5,5,5,0.6); }
.story.is-live .story__desc {
  position: absolute; left: 50%; bottom: clamp(2rem, 7vh, 4.5rem); width: min(36rem, calc(100% - 2 * var(--gutter))); margin: 0;
  transform: translate(-50%, var(--rise, 0px)); text-align: center; color: rgba(242,255,254,0.78); opacity: 0;
  text-shadow: 0 1px 18px rgba(5,5,5,0.95);
}

/* data tags pinned to points in the scene */
.story.is-live .story__tags { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.story__tag { position: absolute; left: 0; top: 0; opacity: 0; display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; will-change: transform, opacity; }
.story__tag i { flex: none; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 4px rgba(242,255,254,0.08); }
.story__tag > span { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.42rem 0.7rem; border-radius: 10px; background: rgba(12,14,14,0.62); box-shadow: inset 0 0 0 1px rgba(242,255,254,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.story__tag b { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; color: var(--azure); }
.story__tag em { font-style: normal; font-size: 0.68rem; color: var(--text-soft); }
.story__tag.is-flip i { margin-left: 0; margin-right: -3.5px; }
.story__tag { translate: 0 -50%; }
.story__tag.is-flip { flex-direction: row-reverse; translate: -100% -50%; }
.story__tag--lit i { background: var(--signal); box-shadow: 0 0 0 4px rgba(0,176,216,0.14); }
.story__tag--lit > span { box-shadow: inset 0 0 0 1px rgba(0,176,216,0.35); }
.story__tag--lit b { color: var(--signal); }
.story__tag--learn i { background: var(--signal); box-shadow: 0 0 0 4px rgba(0,176,216,0.16); }
.story__tag--learn > span { box-shadow: inset 0 0 0 1px rgba(0,176,216,0.28); }

/* the insight the reasoning produces */
.story.is-live .story__insight {
  display: block; position: absolute; left: 0; top: 0; width: min(19rem, 70vw); opacity: 0; pointer-events: none;
  transform: translate3d(var(--x, 0px), calc(var(--y, 0px) + var(--rise, 0px)), 0);
  padding: 1rem 1.1rem 1.05rem; border-radius: 14px; color: var(--azure);
  background: linear-gradient(180deg, rgba(20,26,26,0.86), rgba(9,11,11,0.86));
  box-shadow: inset 0 0 0 1px rgba(0,176,216,0.38), inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px -18px rgba(0,0,0,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.story.is-live .story__ship { width: min(15.5rem, 64vw); padding: 0.85rem 0.95rem 0.9rem; will-change: transform, opacity, filter; }
.story__ship p { font-size: 0.88rem; }
.story__ship .story__insight-meta { gap: 0.8rem; font-size: 0.66rem; }
.story__insight-k { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; font-weight: 600; letter-spacing: var(--lts-label); text-transform: uppercase; color: var(--signal); }
.story__insight-k .mark { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.story__insight p { margin-top: 0.55rem; font-size: 0.95rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.story__insight-meta { display: flex; gap: 1rem; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid rgba(242,255,254,0.1); font-size: 0.72rem; color: var(--text-soft); }

/* three-stage rail */
.story.is-live .story__rail { display: flex; flex-direction: column; gap: 1.1rem; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); margin: 0; padding: 0; list-style: none; opacity: 0; pointer-events: none; }
.story__rail li { --fill: 0; position: relative; display: flex; align-items: center; gap: 0.6rem; padding-left: 0.9rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-faint); transition: color 0.4s var(--ease); }
.story__rail li::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 26px; margin-top: -13px; border-radius: 1px; background: linear-gradient(var(--signal) calc(var(--fill) * 100%), rgba(242,255,254,0.14) 0); }
.story__rail li span { font-size: 0.62rem; letter-spacing: var(--lts-label); }
.story__rail li.is-on { color: var(--azure); }

.story.is-live .story__link { display: block; position: absolute; left: 0; top: 0; height: 1px; transform-origin: 0 50%; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,176,216,0.95), rgba(0,176,216,0.45)); }
.story__link { display: none; }
.story.is-live .story__white { display: block; position: absolute; inset: 0; background: #f2f7f6; opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .story.is-live { height: 590vh; }
  .story.is-live .story__chapter--intro::before { background: linear-gradient(180deg, rgba(5,5,5,0.2), rgba(5,5,5,0.75) 40%, rgba(5,5,5,0.75) 70%, rgba(5,5,5,0.2)); }
  .story.is-live .story__rail { display: none; }
  .story__tag > span { padding: 0.32rem 0.55rem; }
  .story__tag b { font-size: 0.66rem; }
  .story__tag em { font-size: 0.62rem; }
  .story.is-live .story__insight { width: min(16rem, 72vw); }
  .story.is-live .story__desc { font-size: 1rem; }
}

/* reduced motion: the stack, with one still frame of the sphere */
.story.is-still .story__sticky { display: flex; flex-direction: column; }
.story.is-still .story__canvas { display: block; order: 2; width: 100%; height: min(78vh, 680px); }
.story.is-still .story__chapter--intro { order: 1; }
.story.is-still .story__chapter:not(.story__chapter--intro) { order: 3; }
.story.is-still .story__chapter { opacity: 1 !important; visibility: visible !important; }
.story.is-still .story__head { transform: none !important; filter: none !important; }
.story.is-still .story__desc { opacity: 1 !important; transform: none !important; }

/* ---------- Ask STRATIS (home, the insight section) ---------------------------
   The sphere again, with the product's Ask STRATIS spotlight at its centre.
   Base: a readable stack (heading + one example insight). .is-live pins the
   scene; .is-thinking / .is-answered are set while a question plays out. */
.slideover { position: relative; }
.slideover > #how.is-pinned-under { position: sticky; z-index: 0; }
.think { position: relative; z-index: 1; background: var(--charcoal); color: var(--azure); }
.think__sticky { position: relative; }
.think__canvas, .think__layer, .think__ask { display: none; }
.think__head { max-width: var(--maw); margin-inline: auto; padding: var(--sect) var(--gutter) 2rem; }
.think__head > * + * { margin-top: 1.1rem; }
.think__head .lead { max-width: 40rem; }
.think__answer { max-width: var(--maw); margin-inline: auto; padding: 0 var(--gutter) var(--sect); }

/* frosted glass, as in the product (dark) */
.ask-glass {
  background: rgba(30, 32, 38, 0.62); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ask__orb { flex: none; width: 38px; height: 38px; border-radius: 50%; filter: drop-shadow(0 6px 18px rgba(0, 176, 216, 0.35)); animation: ask-breathe 6s ease-in-out infinite; }
.ask__orb--sm { width: 30px; height: 30px; animation: none; }
.ask__orb--working { width: 26px; height: 26px; filter: drop-shadow(0 0 12px rgba(0, 176, 216, 0.65)); animation: ask-beat 1.4s ease-out infinite; }
@keyframes ask-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes ask-beat { 0% { transform: scale(1); } 30% { transform: scale(1.09); } 100% { transform: scale(1); } }

/* live: pinned scene */
.think.is-live { height: 175vh; }
.think.is-live .think__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.think.is-live .think__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.think.is-live .think__layer { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.think.is-live .think__head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(1rem, 5vh, 3.5rem)); padding: 0 var(--gutter); text-align: center; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.think.is-live .think__head .label { justify-content: center; }
.think.is-live .think__head .lead { margin-inline: auto; color: rgba(242, 255, 254, 0.72); text-shadow: 0 1px 16px rgba(5, 5, 5, 0.9); }
.think.is-live .think__head .h2 { text-shadow: 0 0 30px rgba(5, 5, 5, 0.9); }
.think.is-live .think__ask { display: flex; flex-direction: column; align-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.think.is-thinking .think__head, .think.is-thinking .think__ask { opacity: 0; pointer-events: none; }
.think.is-thinking .think__head { transform: translateY(-16px); }
.think.is-thinking .think__ask { transform: translate(-50%, -46%) scale(0.97); }

.ask__bar { display: flex; align-items: center; gap: 0.75rem; }
.ask__form { display: flex; align-items: center; gap: 0.75rem; width: min(580px, calc(100vw - 32px)); height: 56px; padding: 0 1rem 0 0.6rem; border-radius: 999px; }
.ask__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f2f3f5; font: inherit; font-size: 21px; letter-spacing: -0.01em; }
.ask__input::placeholder { color: #6f7681; }
.ask__input:focus-visible { outline: none; }
.ask__go { flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--signal); font-size: 15px; opacity: 0; transition: opacity 0.2s; }
.think.is-typing .ask__go { opacity: 1; }
.ask__form:focus-within { border-color: rgba(0, 176, 216, 0.5); }
.ask__quick { display: flex; gap: 0.6rem; max-width: 400px; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), max-width 0.3s var(--ease), margin 0.3s var(--ease); }
.think.is-typing .ask__quick { opacity: 0; transform: translateX(-10px); pointer-events: none; max-width: 0; margin-left: -0.75rem; overflow: hidden; }
.ask__qbtn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #cfd3da; transition: background 0.2s, color 0.2s; }
.ask__qbtn:hover { background: rgba(0, 176, 216, 0.18); color: #f2f3f5; }
.ask__qbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ask__results { display: none; align-self: center; width: min(580px, calc(100vw - 32px)); margin-top: 0.75rem; padding: 0.5rem; border-radius: 28px; }
.think.is-typing .ask__results { display: block; animation: ask-in 0.2s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.ask__group { padding: 0.5rem 1rem 0.25rem; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f7681; }
.ask__row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; border-radius: 999px; cursor: pointer; }
.ask__row.is-active { background: rgba(0, 176, 216, 0.18); box-shadow: inset 0 0 0 1px rgba(0, 176, 216, 0.45); }
.ask__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: #b6bbc4; font-size: 13px; }
.ask__rowtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ask__rowtext b { font-size: 14px; font-weight: 500; color: #f2f3f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask__rowtext b em { font-style: normal; color: #7fdcf0; }
.ask__rowtext small { font-size: 12px; color: #9aa0ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask__enter { flex: none; margin-right: 0.25rem; color: #6f7681; font-size: 13px; }
.ask__row.is-active .ask__enter { color: #7fdcf0; }
.ask__idle { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 1rem; width: min(820px, calc(100vw - 32px)); transition: opacity 0.2s; }
.think.is-typing .ask__idle { display: none; }
.ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.ask__chip { padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 12.5px; color: #cfd3da; transition: background 0.2s, color 0.2s; }
.ask__chip:hover { background: rgba(0, 176, 216, 0.18); color: #f2f3f5; }
.ask__hint { font-size: 11px; color: #9aa0ab; }

/* the reasoning log, the evidence panels, the wire to the node being read */
.is-typing::after { content: ""; display: inline-block; width: 6px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #00B0D8; animation: tw-caret 0.7s steps(2) infinite; }
@keyframes tw-caret { 50% { opacity: 0; } }

.think__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; }
.think__wire path { fill: none; stroke: #00B0D8; stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(0,176,216,0.8)); }
.think__focus { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; }
.think__focus i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(0,176,216,0.9), 0 0 24px rgba(0,176,216,0.55); animation: think-ring 1.8s var(--ease) infinite; }
.think__focus i + i { animation-delay: 0.9s; }
@keyframes think-ring { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.think__tag { position: absolute; left: 0; top: 0; opacity: 0; padding: 0.28rem 0.55rem; border-radius: 999px; translate: 10px -50%; white-space: nowrap; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #cfe9ef; background: rgba(14,18,22,0.82); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.32); }

/* the evidence panel */
.tp__in { display: flex; flex-direction: column; height: 100%; padding: 1.1rem 1.25rem 1.15rem; }
.tp__head { display: flex; align-items: center; gap: 0.7rem; }
.tp__step { font-family: "Space Mono", ui-monospace, monospace; font-size: 10.5px; color: #00B0D8; padding: 0.15rem 0.45rem; border-radius: 6px; background: rgba(0,176,216,0.12); }
.tp__k { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa0ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp__t { display: block; margin-top: 0.6rem; font-family: var(--ff-head); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; color: #f2f3f5; }
.tp__w { flex: 1; min-height: 0; margin-top: 0.9rem; }
.tp__find { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.07); min-height: 2.6rem; }
.tp__findk { flex: none; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6f7681; }
.tp__findv { font-size: 14px; font-weight: 600; line-height: 1.35; color: #f2f3f5; }
.tp.is-found .tp__findk { color: #00B0D8; }

/* widgets */
.tw { height: 100%; display: flex; flex-direction: column; gap: 0.6rem; font-size: 12px; color: #cfd3da; }
.tw__label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa0ab; }
.tw__query, .tw__search { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.65rem; border-radius: 10px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; color: #e6e8ec; white-space: nowrap; overflow: hidden; min-height: 2.2rem; }
.tw__prompt, .tw__mag { color: #00B0D8; }
.tw__table { border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.tw__tr { display: grid; grid-template-columns: 0.8fr 1.3fr 1fr 0.9fr 0.8fr; gap: 0.4rem; height: 19px; align-items: center; padding: 0 0.6rem; font-family: "Space Mono", ui-monospace, monospace; font-size: 10px; color: #8b919c; white-space: nowrap; }
.tw__tr span { overflow: hidden; text-overflow: ellipsis; }
.tw__tr span:last-child { text-align: right; }
.tw__tr--head { height: 24px; background: rgba(255,255,255,0.04); font-family: var(--ff); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f7681; }
.tw__tr.is-hot { color: #e6e8ec; }
.tw__tr.is-hot span:last-child { color: #7fdcf0; }
.tw__view { height: 114px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.tw__track { will-change: transform; }
.tw__meter { font-size: 11px; color: #9aa0ab; } .tw__meter b { font-family: "Space Mono", ui-monospace, monospace; font-size: 13px; color: #f2f3f5; }
.tw__spark { position: relative; flex: 1; min-height: 62px; }
.tw__spark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tw__sparklab { position: absolute; left: 0; top: 0; display: flex; gap: 0.5rem; align-items: baseline; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa0ab; }
.tw__sparklab b { font-size: 18px; letter-spacing: -0.01em; }
.tw__line { fill: none; stroke: #00B0D8; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(0,176,216,0.5)); }
.tw__area { fill: url(#tnFill); opacity: 0; }
.tw__dot { fill: #00B0D8; opacity: 0; filter: drop-shadow(0 0 6px rgba(0,176,216,0.9)); }
.tw__up { color: #7fdcf0; } .tw__down { color: #f87171; } .tw__ok { color: #4ade80; font-style: normal; } .tw__no { color: #f87171; font-style: normal; }
.tw__joingrid { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; }
.tw__ins { display: grid; gap: 8px; }
.tw__in { padding: 0.4rem 0.6rem; border-radius: 10px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); opacity: 0; }
.tw__in span { display: block; font-size: 10px; color: #9aa0ab; } .tw__in b { font-size: 13px; color: #f2f3f5; }
.tw__wires { width: 100%; height: 100%; align-self: stretch; overflow: visible; }
.tw__wire { fill: none; stroke: #00B0D8; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tw__out { padding: 0.75rem 0.8rem; border-radius: 12px; background: rgba(0,176,216,0.08); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.4); opacity: 0; }
.tw__out span { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa0ab; }
.tw__out b { display: block; margin-top: 0.15rem; font-family: var(--ff-head); font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; color: #f2f3f5; font-variant-numeric: tabular-nums; }
.tw__rows { display: grid; gap: 0.4rem; margin-top: 0.2rem; }
.tw__row { display: flex; justify-content: space-between; padding: 0.4rem 0.6rem; border-radius: 8px; background: rgba(255,255,255,0.03); opacity: 0; }
.tw__row b { font-weight: 600; }
.tw__barplot { position: relative; flex: 1; min-height: 150px; display: flex; align-items: flex-end; gap: 10px; padding-top: 18px; border-bottom: 1px solid #3a3f49; }
.tw__col { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.tw__col i { display: block; height: 100%; border-radius: 3px 3px 0 0; background: #3a3f49; transform-origin: bottom; transform: scaleY(0); transition: background 0.4s; }
.tw__col em { position: absolute; left: 0; right: 0; top: -17px; text-align: center; font-style: normal; font-family: "Space Mono", ui-monospace, monospace; font-size: 10px; color: #9aa0ab; opacity: 0; }
.tw__col.is-over i { background: #00B0D8; box-shadow: 0 0 18px rgba(0,176,216,0.5); }
.tw__col.is-over em { color: #7fdcf0; }
.tw__thresh { --draw: 0; position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(248,113,113,0.85); clip-path: inset(-20px calc((1 - var(--draw)) * 100%) -20px 0); opacity: 0; }
.tw__thresh span { position: absolute; left: 0; top: -9px; padding: 1px 6px; border-radius: 4px; font-size: 10px; color: #f87171; white-space: nowrap; background: rgba(14,16,20,0.95); box-shadow: inset 0 0 0 1px rgba(248,113,113,0.35); }
.tw__barlabels { display: flex; gap: 10px; } .tw__barlabels small { flex: 1; text-align: center; font-size: 10px; color: #6f7681; }
.tw__plotwrap { position: relative; flex: 1; min-height: 150px; }
.tw__plot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tw__grid { stroke: rgba(255,255,255,0.06); }
.tw__band { fill: #00B0D8; opacity: 0; }
.tw__bandnote { position: absolute; top: 4px; padding-left: 6px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #7fdcf0; opacity: 0; }
.tw__big { position: absolute; right: 0; top: -2px; font-family: var(--ff-head); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; color: #7fdcf0; opacity: 0; }
.tw__results { display: grid; gap: 0.45rem; }
.tw__res { position: relative; padding: 0.5rem 0.65rem; border-radius: 10px; background: rgba(255,255,255,0.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); opacity: 0; transition: box-shadow 0.3s, opacity 0.3s; }
.tw__res span { display: block; font-size: 10px; color: #8b919c; } .tw__res b { display: block; padding-right: 4.5rem; font-size: 12px; font-weight: 500; line-height: 1.35; color: #e6e8ec; }
.tw__rel { position: absolute; right: 0.6rem; top: 0.55rem; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #00B0D8; opacity: 0; transition: opacity 0.3s; }
.tw__res.is-rel { box-shadow: inset 0 0 0 1px rgba(0,176,216,0.5); } .tw__res.is-rel .tw__rel { opacity: 1; }
.tw__res.is-dim { opacity: 0.4 !important; }
.tw__share { display: grid; gap: 5px; opacity: 0; }
.tw__share div { display: grid; grid-template-columns: 78px 1fr 44px; gap: 8px; align-items: center; font-size: 10.5px; color: #9aa0ab; }
.tw__share i { display: block; height: 8px; border-radius: 2px; background: #23272f; }
.tw__share b { display: block; height: 100%; border-radius: 2px; background: #454b56; transform-origin: left; transform: scaleX(0); } .tw__share b.is-focus { background: #00B0D8; }
.tw__share em { font-style: normal; text-align: right; font-family: "Space Mono", ui-monospace, monospace; color: #cfd3da; }
.tw__memstat { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.65rem; border-radius: 10px; background: rgba(255,255,255,0.04); font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; color: #cfd3da; }
.tw__pulse { width: 8px; height: 8px; border-radius: 50%; background: #00B0D8; animation: tw-pulse 1.1s infinite; }
.tw__memstat.is-done .tw__pulse { animation: none; background: #4ade80; }
@keyframes tw-pulse { 50% { opacity: 0.3; } }
.tw__mems { display: grid; gap: 0.5rem; }
.tw__mem { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.75rem; padding: 0.6rem 0.75rem; border-radius: 12px; background: rgba(255,255,255,0.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); opacity: 0; transition: box-shadow 0.3s, background 0.3s; }
.tw__mem span { grid-column: 1 / -1; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #8b919c; }
.tw__mem b { font-size: 13px; font-weight: 500; color: #f2f3f5; } .tw__mem em { font-style: normal; font-weight: 600; color: #7fdcf0; white-space: nowrap; }
.tw__mem.is-key { background: rgba(0,176,216,0.08); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.5); }
.tw--hyp { gap: 0.75rem; }
.tw__hyp { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.75rem; align-items: center; opacity: 0; }
.tw__hyptext { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: #e6e8ec; min-height: 1.4em; }
.tw__hyp i { display: block; height: 6px; border-radius: 3px; background: #23272f; overflow: hidden; }
.tw__hyp i b { display: block; height: 100%; border-radius: 3px; background: #00B0D8; transform-origin: left; transform: scaleX(0); }
.tw__hyp i b.is-weak { background: #6f7681; }
.tw__hyp em { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0; white-space: nowrap; }
.tw--rec { gap: 0.15rem; }
.tw__rec { display: grid; grid-template-columns: 1.3fr 1fr 1fr 20px; gap: 0.5rem; align-items: center; padding: 0.55rem 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12.5px; opacity: 0; }
.tw__rec--head { opacity: 1; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f7681; }
.tw__rec b { font-family: "Space Mono", ui-monospace, monospace; font-weight: 400; color: #f2f3f5; }
.tw__plat { font-family: "Space Mono", ui-monospace, monospace; color: #9aa0ab; transition: color 0.3s; }
.tw__plat.is-struck { text-decoration: line-through; color: #6f7681; }
.tw__rec .tw__ok { opacity: 0; text-align: right; }
.tw__recfoot { margin-top: auto; padding: 0.6rem 0.75rem; border-radius: 10px; background: rgba(74,222,128,0.08); box-shadow: inset 0 0 0 1px rgba(74,222,128,0.3); color: #4ade80; font-size: 12px; font-weight: 600; opacity: 0; }

/* the console: what STRATIS is doing, its progress, and its reasoning as it types */
.think__log { display: none; }
.think.is-live .think__log {
  display: flex; flex-direction: column; position: absolute; left: 50%; bottom: clamp(14px, 3vh, 28px); width: min(720px, calc(100% - 32px));
  padding: 0.5rem 0.6rem 0.7rem; border-radius: 22px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.think.is-thinking:not(.is-answered) .think__log { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.think__loghead { display: flex; align-items: center; gap: 0.6rem; padding-right: 0.1rem; font-size: 13px; color: #cfd3da; }
.think__loghead .ask__orb { width: 24px; height: 24px; }
.think__who { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #7fdcf0; }
.think__caption { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f2f3f5; }
.think__steps { display: flex; gap: 3px; flex: none; }
.think__steps i { --fill: 0; width: 14px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #00B0D8 calc(var(--fill) * 100%), rgba(255,255,255,0.14) 0); }
.think__steps i.is-on { box-shadow: 0 0 8px rgba(0,176,216,0.8); }
.think__meter { flex: none; font-size: 11.5px; color: #9aa0ab; white-space: nowrap; font-variant-numeric: tabular-nums; }
.think__meter b { font-weight: 600; color: #f2f3f5; }
.think__skip { flex: none; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 12px; color: #cfd3da; background: rgba(255,255,255,0.06); }
.think__skip:hover { color: #f2f3f5; background: rgba(0,176,216,0.2); }
.think__loglist { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.25rem; height: 2.9rem; margin: 0.5rem 0 0; padding: 0 0.5rem; list-style: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.think__loglist li { display: none; gap: 0.6rem; font-size: 12.5px; line-height: 1.4; color: #e6e8ec; }
.think__loglist li.is-on { display: flex; }
.think__loglist li.is-past { color: #8b919c; }
.think__logn { flex: none; margin-top: 1px; font-family: "Space Mono", ui-monospace, monospace; font-size: 10px; color: #00B0D8; }
.think__loglist li.is-past .think__logn { color: #4b5563; }

/* evidence panels, either side of the sphere (or centred for the overview steps) */
.think__panels { display: none; }
.think.is-live .think__panels { display: block; position: absolute; inset: 0; pointer-events: none; }
.tp { --ph: min(452px, calc(100svh - 290px)); position: absolute; top: calc(50% - var(--ph) / 2 - 30px); height: var(--ph); width: min(420px, 31vw); visibility: hidden; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity;
  border-radius: 22px; background: linear-gradient(180deg, rgba(24,28,34,0.9), rgba(12,14,18,0.92)); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(0,176,216,0.42), inset 0 1px 0 rgba(255,255,255,0.08), 0 40px 90px -30px rgba(0,0,0,0.95), 0 0 70px -24px rgba(0,176,216,0.45); transition: box-shadow 0.4s; }
.tp--right { right: clamp(16px, 3vw, 48px); }
.tp--left { left: clamp(16px, 3vw, 48px); }
.tp--center { left: calc(50% - min(420px, 31vw) / 2); }
.tp:not(.is-current) { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px -30px rgba(0,0,0,0.95); }

/* the finale: every source used, gathered into a grid, morphing into the insight */
.think__sources { display: none; }
.think.is-live .think__sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: absolute; left: 50%; top: 50%; width: min(980px, calc(100% - 48px)); transform: translate(-50%, -50%); pointer-events: none; }
.think__src { position: relative; display: flex; flex-direction: column; gap: 0.2rem; min-height: 108px; padding: 0.85rem 0.9rem; border-radius: 16px; opacity: 0; will-change: transform, opacity;
  background: linear-gradient(180deg, rgba(24,28,34,0.92), rgba(12,14,18,0.94)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 24px 50px -24px rgba(0,0,0,0.9); transition: box-shadow 0.4s; }
.think__src.is-lit { box-shadow: inset 0 0 0 1px rgba(0,176,216,0.6), 0 0 40px -12px rgba(0,176,216,0.6), 0 24px 50px -24px rgba(0,0,0,0.9); }
.think__srci { position: absolute; right: 0.8rem; top: 0.7rem; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #00B0D8; background: rgba(0,176,216,0.12); }
.think__srck { padding-right: 2rem; font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa0ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.think__src b { font-family: var(--ff-head); font-size: 1.02rem; font-weight: 600; color: #f2f3f5; }
.think__src small { margin-top: auto; font-size: 11.5px; line-height: 1.35; color: #b6bbc4; }

/* the insight, shaped like the product's insight preview, with the chrome edge of the buttons */
.think.is-live .think__answer { position: absolute; left: 50%; top: calc(50% + var(--nav-h) / 2 - 10px); max-width: none; width: auto; padding: 0; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.9); display: flex; flex-direction: column; align-items: center; }
.think__asked { margin-bottom: 0.9rem; font-size: 12px; color: #9aa0ab; text-align: center; }
.think__q { color: #f2f3f5; }
.think__q::before { content: "“"; } .think__q::after { content: "”"; }
.ipc {
  --flash: 0; position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(412px, calc(100vw - 32px)); min-height: 412px; padding: 24px; border-radius: 24px; text-align: left; color: #000;
  background: #fff; box-shadow: 0 4px 25px rgba(0,0,0,0.15), 0 30px 80px -30px rgba(0,176,216,0.45), 0 0 calc(var(--flash) * 90px) calc(var(--flash) * 10px) rgba(0,176,216,0.55);
}
.ipc::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from 200deg, #ffffff, #9aa1a5 12%, #f3f5f6 24%, #5b6266 36%, #eef1f2 50%, #8c9397 62%, #ffffff 74%, #6a7175 86%, #ffffff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ipc::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 2px; opacity: 0; transition: opacity 0.4s var(--ease);
  background: conic-gradient(from var(--rim-a), transparent 0deg 4deg, #2f6bff 12deg, #ff38c8 22deg, #ffd23a 32deg, #ff6a1a 40deg, #ffffff 46deg, transparent 54deg 100deg, #ffffff 106deg, #ffe14a 114deg, #ff4fb0 124deg, #3f7bff 134deg, transparent 144deg 182deg, #3f7bff 190deg, #c25bff 200deg, #ffd23a 212deg, #ff7a1a 222deg, #ffffff 228deg, transparent 236deg 284deg, #ff6a1a 292deg, #ffd23a 300deg, #2f6bff 312deg, #ff38c8 320deg, transparent 330deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ipc:hover::after { opacity: 1; animation: btn-fuel 7s linear infinite; }
.ipc__audit { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #f4f6f6; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.ipc__audit img { width: 30px; height: 30px; border-radius: 50%; }
.ipc__scope { margin-top: 24px; padding-right: 66px; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: #7d7d7d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ipc__title { margin-top: 8px; padding-right: 66px; font-family: var(--ff); font-size: 24px; font-weight: 500; line-height: 30px; letter-spacing: -0.01em; color: #000; }
.ipc__sub { margin-top: 8px; padding-right: 66px; font-size: 14px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: #7d7d7d; }
.ipc__chart { height: 150px; margin-top: 24px; }
.ipc__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ipc__axis { font-family: var(--ff); font-size: 11px; fill: #a0a0a0; }
.ipc__axis--x { font-size: 11px; letter-spacing: 0.02em; }
.ipc__ranked { display: flex; flex-direction: column; justify-content: center; gap: 10px; height: 100%; }
.ipc__ranked div { display: grid; grid-template-columns: 104px 1fr 52px; gap: 10px; align-items: center; }
.ipc__ranked span { text-align: right; font-size: 11px; text-transform: uppercase; letter-spacing: -0.01em; color: #7d7d7d; }
.ipc__ranked i { display: block; height: 14px; border-radius: 2px; background: #f0f0f0; }
.ipc__ranked b { display: block; height: 100%; border-radius: 2px; }
.ipc__ranked em { font-style: normal; font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; color: #7d7d7d; }
.ipc__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.ipc__lg { display: inline-flex; align-items: center; gap: 8px; max-width: 160px; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: #7d7d7d; white-space: nowrap; }
.ipc__sw { flex: none; width: 24px; height: 2px; }
.ipc__sw--solid { background: #00B0D8; }
.ipc__sw--dash { background: repeating-linear-gradient(to right, #00B0D8 0 3px, transparent 3px 6px); }
.ipc__sw--light { background: repeating-linear-gradient(to right, rgb(125,205,255) 0 3px, transparent 3px 6px); }
.ipc__sw--muted { background: #cdcdcd; }
.think__headline { max-width: 440px; margin-top: 1rem; font-size: 13px; line-height: 1.5; text-align: center; color: #b6bbc4; }
.think__answerfoot { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.think__note { margin-top: 0.65rem; font-size: 11px; color: #6f7681; text-align: center; }
.think:not(.is-live) .think__answer { display: flex; flex-direction: column; align-items: center; }

@media (max-width: 760px) {
  .think.is-live { height: 160vh; }
  .ask__quick { display: none; }
  .ask__form { height: 52px; }
  .ask__input { font-size: 17px; }
  .ask__chip { font-size: 12px; }
  .think.is-live .think__head { top: calc(var(--nav-h) + 0.75rem); }
  .think.is-live .think__head .lead { font-size: 0.95rem; }
  .think__meter { display: none; }
  .think__steps { display: none; }
  .ipc { min-height: 0; padding: 20px; }
  .ipc__chart { height: 150px; margin-top: 22px; }
  .ipc__legend { margin-top: 20px; gap: 12px; }
  .think__headline { font-size: 12px; padding: 0 16px; }
}
@media (max-width: 899px) {
  /* phones: a compact card above the console, its contents scaled down whole so nothing crowds; the sphere sits centred above it */
  .tp, .tp--left, .tp--right, .tp--center { --tz: 0.8; left: 12px; right: 12px; width: auto; top: auto; bottom: 166px; height: clamp(210px, 34svh, 290px); overflow: hidden; }
  .tp__in { width: calc(100% / var(--tz)); height: calc(100% / var(--tz)); transform: scale(var(--tz)); transform-origin: 0 0; padding: 1rem 1.15rem; }
  .tp__t { font-size: 1.25rem; }
  .tw__barplot, .tw__plotwrap { min-height: 90px; }
  .tw__view { height: 76px; }
  .think.is-live .think__sources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; top: calc(50% + var(--nav-h) / 2); }
  .think__src { min-height: 92px; padding: 0.65rem 0.7rem; }
  .think__src b { font-size: 0.9rem; }
  .think__src small { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .ask__orb, .ask__orb--working, .think__focus i { animation: none; } .ipc:hover::after { animation: none; } }


/* the insight card: its recommendation and actions */
.ipc__rec { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ececec; }
.ipc__reck { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #7d7d7d; }
.ipc__rect { margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.4; color: #111; }
.ipc__acts { display: flex; gap: 8px; margin-top: 16px; }
.ipc__acts .btn { flex: 1; min-height: 2.6rem; padding: 0 0.9em; font-size: 0.86rem; }
.ipc__acts svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ipc__status { min-height: 1.2em; margin-top: 10px; font-size: 12px; color: #0a7f97; text-align: center; }
.ipc.is-declined .ipc__status { color: #7d7d7d; }
.ipc.is-approved [data-act="approve"] { --glass-top: rgba(0,140,172,0.96); --glass-bot: rgba(0,110,138,0.96); }

/* the insight card's human in the loop: the product's budget allocation slider, sized for the card */
.ipc__alloc { display: none; }
.ipc.has-alloc .ipc__alloc { display: block; margin-top: 14px; }
.think:not(.is-live) .ipc__alloc { display: none; }
.ipc__dist .ipc__axis--u { font-size: 10px; letter-spacing: 0; }
.ipc__dist svg { display: block; width: 100%; height: auto; overflow: visible; }
.ipc__b-m { fill: #5E5E5E; }
.ipc__b-s { fill: #3B82F6; }
.ipc__b-up { fill: rgba(34,197,94,0.22); stroke: #22c55e; stroke-width: 1; }
.ipc__b-down { fill: url(#ipcHatch); stroke: #ef4444; stroke-width: 1; }
.ipc__dlegend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; }
.ipc__dlegend .ipc__lg { gap: 6px; font-size: 10px; max-width: none; }
.ipc__sq { flex: none; width: 11px; height: 11px; border-radius: 2px; }
.ipc__sq--m { background: #5E5E5E; }
.ipc__sq--s { background: #3B82F6; }
.ipc__sq--up { background: rgba(34,197,94,0.22); box-shadow: inset 0 0 0 1px #22c55e; }
.ipc__sq--down { background: repeating-linear-gradient(-45deg, #ef4444 0 1.5px, transparent 1.5px 3.5px); box-shadow: inset 0 0 0 1px #ef4444; }
.ipc__move { margin-top: 16px; font-size: 16px; line-height: 1.25; color: #111; font-variant-numeric: tabular-nums; }
.ipc__track { --th: 44px; position: relative; height: var(--th); margin-top: 12px; border-radius: 999px; overflow: hidden; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: #e5e5e5; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.ipc__track:focus-visible { outline: 2px solid #00B0D8; outline-offset: 2px; }
.ipc__snap { position: absolute; top: 0; bottom: 0; width: 72px; pointer-events: none; left: calc(var(--th) / 2 + var(--v, 0.6) * (100% - var(--th)) - 36px);
  background: linear-gradient(to right, transparent, rgba(125,205,255,0.5) 30%, rgba(125,205,255,0.8) 50%, rgba(125,205,255,0.5) 70%, transparent); }
.ipc__thumb { position: absolute; top: 0; width: var(--th); height: var(--th); border-radius: 50%; pointer-events: none; left: calc(var(--v, 0.6) * (100% - var(--th)));
  background: #d4d4d4; border: 1px solid #c4c4c4; box-shadow: 0 2px 10px rgba(0,0,0,0.12); transition: transform 0.15s var(--ease); }
.ipc__track.is-dragging .ipc__thumb { transform: scale(0.94); }
.ipc__gain { margin-top: 8px; font-size: 12px; color: #0a7f97; font-variant-numeric: tabular-nums; }

/* phones: the card carries both charts and the slider, so it tightens up */
@media (max-width: 899px) {
  .ipc.has-alloc .ipc__chart { height: 112px; margin-top: 14px; }
  .ipc.has-alloc .ipc__legend { margin-top: 12px; gap: 12px; }
  .ipc.has-alloc .ipc__rec { margin-top: 14px; padding-top: 12px; }
  .ipc.has-alloc .ipc__rect { font-size: 14px; }
  .ipc.has-alloc .ipc__alloc { margin-top: 8px; }
  .ipc.has-alloc .ipc__dlegend { display: none; }
  .ipc.has-alloc .ipc__move { margin-top: 8px; font-size: 15px; }
  .ipc.has-alloc .ipc__track { --th: 40px; margin-top: 8px; }
  .ipc.has-alloc .ipc__acts { margin-top: 12px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .ipc.has-alloc .ipc__sub, .ipc.has-alloc .ipc__legend, .ipc.has-alloc .ipc__gain { display: none; }
  .ipc.has-alloc .ipc__chart { height: 96px; }
}
/* desktop: one stacked card, spacing tightened so the insight, its chart and the slider fit on one screen */
@media (min-width: 900px) {
  .ipc.has-alloc { min-height: 0; }
  .ipc.has-alloc .ipc__scope { margin-top: 8px; }
  .ipc.has-alloc .ipc__chart { height: 120px; margin-top: 16px; }
  .ipc.has-alloc .ipc__legend { margin-top: 14px; }
  .ipc.has-alloc .ipc__rec { margin-top: 16px; padding-top: 14px; }
  .ipc.has-alloc .ipc__alloc { margin-top: 10px; }
  .ipc.has-alloc .ipc__dlegend { margin-top: 6px; }
  .ipc.has-alloc .ipc__move { margin-top: 12px; }
  .ipc.has-alloc .ipc__track { --th: 40px; margin-top: 10px; }
  .ipc.has-alloc .ipc__acts { margin-top: 14px; }
  .ipc.has-alloc .ipc__status { min-height: 0; margin-top: 8px; }
  .ipc.has-alloc .ipc__status:empty { display: none; }
}
.think.is-live .think__answer.think__answer { max-height: calc(100% - var(--nav-h) - 16px); overflow-y: auto; scrollbar-width: none; }
.think.is-live .think__answer > * { flex-shrink: 0; }

/* reasoning panels, source tiles and the console: dark glass with the buttons' chrome rim */
.tp::before, .think__src::before, .think.is-live .think__log::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from 200deg, #ffffff, #9aa1a5 12%, #f3f5f6 24%, #5b6266 36%, #eef1f2 50%, #8c9397 62%, #ffffff 74%, #6a7175 86%, #ffffff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.75; transition: opacity 0.4s;
}
.tp, .think__src, .think.is-live .think__log {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(30,33,37,0.94), rgba(8,9,11,0.95));
}
.tp { box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 40px 90px -30px rgba(0,0,0,0.95); }
.tp.is-current { box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 40px 90px -30px rgba(0,0,0,0.95), 0 0 70px -22px rgba(0,176,216,0.55); }
.tp.is-current::before { opacity: 1; }
.tp:not(.is-current)::before { opacity: 0.5; }
.think__src { box-shadow: 0 24px 50px -24px rgba(0,0,0,0.9); }
.think__src.is-lit { box-shadow: 0 0 40px -12px rgba(0,176,216,0.6), 0 24px 50px -24px rgba(0,0,0,0.9); }
.think__src.is-lit::before { opacity: 1; }
.think.is-live .think__log { border: 0; box-shadow: 0 22px 60px -18px rgba(0,0,0,0.8); }

/* every figure in the reasoning reads in the electric blue, as in the product's dark mode */
.tp { --neon: #3ad7f7; }
.tw__tr { color: rgba(58,215,247,0.55); }
.tw__tr span:first-child { color: #6f7681; }
.tw__tr.is-hot { color: var(--neon); text-shadow: 0 0 10px rgba(0,176,216,0.6); }
.tw__tr.is-hot span:first-child { color: #9aa0ab; }
.tw__tr.is-hot span:last-child { color: var(--neon); }
.tw__meter b, .tw__out b, .tw__in b, .tw__row b, .tw__mem em, .tw__share em, .tw__col em, .tw__rec b, .tw__big, .tw__sparklab b, .tw__up, .tw__down { color: var(--neon); text-shadow: 0 0 12px rgba(0,176,216,0.55); }
.tw__line { stroke: var(--neon); filter: drop-shadow(0 0 6px rgba(0,176,216,0.85)); }
.tw__dot { fill: var(--neon); }
.tw__wire { stroke: var(--neon); filter: drop-shadow(0 0 4px rgba(0,176,216,0.8)); }
.tw__col i { background: linear-gradient(180deg, rgba(58,215,247,0.55), rgba(0,176,216,0.18)); box-shadow: inset 0 2px 0 var(--neon); }
.tw__col.is-over i { background: linear-gradient(180deg, var(--neon), #00B0D8); box-shadow: 0 0 22px rgba(0,176,216,0.75); }
.tw__share b, .tw__hyp i b.is-weak { background: rgba(0,176,216,0.4); }
.tw__share b.is-focus, .tw__hyp i b { background: var(--neon); box-shadow: 0 0 10px rgba(0,176,216,0.8); }
.tw__share i, .tw__hyp i { background: rgba(0,176,216,0.1); }
.tw__band { fill: var(--neon); }
.tw__thresh { border-top-color: rgba(242,255,254,0.7); }
.tw__thresh span { color: #f2fffe; box-shadow: inset 0 0 0 1px rgba(242,255,254,0.3); }
.tw__out { background: rgba(0,176,216,0.1); box-shadow: inset 0 0 0 1px rgba(58,215,247,0.55), 0 0 30px -10px rgba(0,176,216,0.6); }
.tw__mem.is-key, .tw__res.is-rel { box-shadow: inset 0 0 0 1px rgba(58,215,247,0.6), 0 0 24px -10px rgba(0,176,216,0.6); }
.tw__rel, .think__logn, .tp__step, .tp.is-found .tp__findk, .tw__prompt, .tw__mag { color: var(--neon, #3ad7f7); }
.tw__pulse { background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.tw__plat.is-struck { color: #6f7681; text-shadow: none; }
.tw__rec .tw__ok { color: var(--neon); }
.tw__recfoot { color: var(--neon); background: rgba(0,176,216,0.1); box-shadow: inset 0 0 0 1px rgba(58,215,247,0.5); }
.tw__hyp .tw__ok { color: var(--neon); }
.think__srci { color: #3ad7f7; }
@media (max-width: 760px) { .ipc__acts .btn { font-size: 0.8rem; padding: 0 0.6em; } .ipc__rec { margin-top: 16px; } .think__headline { display: none; } }


/* light mode for the reasoning: panels, source tiles and the console match the insight card */
.tp, .think__src, .think.is-live .think__log {
  --neon: #00b0d8; --ink: #0089ad;
  color: #1b1e1e;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(240,245,246,0.95));
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.tp { box-shadow: inset 0 1px 0 #fff, 0 30px 70px -28px rgba(0,0,0,0.8); }
.tp.is-current { box-shadow: inset 0 1px 0 #fff, 0 30px 70px -28px rgba(0,0,0,0.8), 0 0 60px -18px rgba(0,176,216,0.6); }
.think__src, .think__src.is-lit { box-shadow: 0 20px 44px -22px rgba(0,0,0,0.8); }
.think__src.is-lit { box-shadow: 0 0 40px -14px rgba(0,176,216,0.65), 0 20px 44px -22px rgba(0,0,0,0.8); }
.think.is-live .think__log { box-shadow: 0 20px 50px -18px rgba(0,0,0,0.75); }
.tp:not(.is-current)::before { opacity: 0.8; }

/* panel chrome */
.tp__k, .think__srck, .tw__label, .tw__rec--head, .tw__tr--head, .tw__barlabels small, .tp__findk { color: #7d7d7d; }
.tp__t, .think__src b, .tp__findv { color: #0b0d0e; }
.tp__step { color: var(--ink); background: rgba(0,176,216,0.1); }
.tp__find { border-top-color: #e6e9ea; }
.tp.is-found .tp__findk { color: var(--ink); }
.think__src small { color: #4b5258; }
.think__srci { color: var(--ink); background: rgba(0,176,216,0.1); }

/* widgets on light */
.tw { color: #3a4046; }
.tw__query, .tw__search, .tw__memstat { background: #f2f5f6; box-shadow: inset 0 0 0 1px #e3e7e9; color: #1b1e1e; }
.tw__table { box-shadow: inset 0 0 0 1px #e3e7e9; }
.tw__tr--head { background: #f2f5f6; }
.tw__tr { color: rgba(0,137,173,0.55); }
.tw__tr span:first-child { color: #9aa0a6; }
.tw__tr.is-hot { color: var(--ink); text-shadow: none; font-weight: 700; }
.tw__tr.is-hot span:first-child { color: #5b6266; }
.tw__meter { color: #7d7d7d; }
.tw__sparklab { color: #7d7d7d; }
.tw__meter b, .tw__out b, .tw__in b, .tw__row b, .tw__mem em, .tw__share em, .tw__col em, .tw__rec b, .tw__big, .tw__sparklab b, .tw__up, .tw__down { color: var(--ink); text-shadow: none; }
.tw__line { stroke: var(--neon); filter: drop-shadow(0 0 4px rgba(0,176,216,0.45)); }
.tw__wire { stroke: var(--neon); filter: none; }
.tw__in, .tw__row, .tw__res, .tw__mem { background: #f5f7f8; box-shadow: inset 0 0 0 1px #e6e9ea; }
.tw__in span, .tw__res span, .tw__mem span, .tw__out span { color: #7d7d7d; }
.tw__res b, .tw__mem b, .tw__hyptext { color: #1b1e1e; }
.tw__out { background: rgba(0,176,216,0.08); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.5); }
.tw__mem.is-key, .tw__res.is-rel { background: rgba(0,176,216,0.07); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.55); }
.tw__res.is-dim { opacity: 0.45 !important; }
.tw__rel { color: var(--ink); }
.tw__grid { stroke: #eceff0; }
.tw__bandnote { color: var(--ink); }
.tw__barplot { border-bottom-color: #d9dee0; }
.tw__col i { background: linear-gradient(180deg, rgba(0,176,216,0.45), rgba(0,176,216,0.12)); box-shadow: inset 0 2px 0 var(--neon); }
.tw__col.is-over i { background: linear-gradient(180deg, #2fd3f5, #00a2c8); box-shadow: 0 0 18px rgba(0,176,216,0.45); }
.tw__col.is-over em { color: var(--ink); }
.tw__thresh { border-top-color: rgba(11,13,14,0.55); }
.tw__thresh span { color: #1b1e1e; background: #fff; box-shadow: inset 0 0 0 1px #d9dee0; }
.tw__share, .tw__share div { color: #5b6266; }
.tw__share i, .tw__hyp i { background: #e8f6fa; }
.tw__share b, .tw__hyp i b.is-weak { background: rgba(0,176,216,0.35); box-shadow: none; }
.tw__share b.is-focus, .tw__hyp i b { background: var(--neon); box-shadow: 0 0 8px rgba(0,176,216,0.5); }
.tw__hyp .tw__ok, .tw__rec .tw__ok { color: var(--ink); }
.tw__no { color: #d64545; }
.tw__rec { border-bottom-color: #eceff0; }
.tw__rec span { color: #3a4046; }
.tw__plat { color: #7d7d7d; }
.tw__plat.is-struck { color: #b0b5b9; }
.tw__recfoot { color: var(--ink); background: rgba(0,176,216,0.08); box-shadow: inset 0 0 0 1px rgba(0,176,216,0.4); }
.tw__memstat.is-done .tw__pulse { background: var(--neon); }
.tp .is-typing::after { background: var(--neon); }

/* the console on light */
.think__loghead, .think__caption { color: #1b1e1e; }
.think__who { color: var(--ink); }
.think__meter { color: #7d7d7d; } .think__meter b { color: #0b0d0e; }
.think__skip { color: #1b1e1e; background: #eef1f2; }
.think__skip:hover { color: #0b0d0e; background: rgba(0,176,216,0.15); }
.think__steps i { background: linear-gradient(90deg, var(--neon) calc(var(--fill) * 100%), #dfe4e6 0); }
.think__loglist li { color: #1b1e1e; }
.think__loglist li.is-past { color: #8a9096; }
.think__logn { color: var(--ink); }
.think__loglist li.is-past .think__logn { color: #b0b5b9; }

/* the story's data tags and insight cards: black with the chrome rim, like the dark buttons */
.story__tag > span, .story.is-live .story__insight {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 40%), linear-gradient(180deg, rgba(26,28,30,0.95), rgba(6,7,8,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 14px 34px -16px rgba(0,0,0,0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.story__tag > span::before, .story.is-live .story__insight::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from 200deg, #ffffff, #9aa1a5 12%, #f3f5f6 24%, #5b6266 36%, #eef1f2 50%, #8c9397 62%, #ffffff 74%, #6a7175 86%, #ffffff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.85;
}
.story__tag--lit > span, .story__tag--learn > span { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 14px 34px -16px rgba(0,0,0,0.9), 0 0 26px -10px rgba(0,176,216,0.7); }
.story.is-live .story__insight { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 24px 50px -20px rgba(0,0,0,0.95), 0 0 40px -14px rgba(0,176,216,0.55); }
.story__insight-meta { border-top-color: rgba(242,255,254,0.1); }


/* the console stays dark: black glass with the chrome rim */
.think.is-live .think__log {
  color: #e6e8ec;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 40%), linear-gradient(180deg, rgba(26,28,30,0.95), rgba(6,7,8,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 22px 60px -18px rgba(0,0,0,0.85);
}
.think__loghead, .think__caption { color: #f2f3f5; }
.think__who { color: #3ad7f7; }
.think__meter { color: #9aa0ab; } .think__meter b { color: #f2f3f5; }
.think__skip { color: #cfd3da; background: rgba(255,255,255,0.07); }
.think__skip:hover { color: #f2f3f5; background: rgba(0,176,216,0.22); }
.think__steps i { background: linear-gradient(90deg, #00b0d8 calc(var(--fill) * 100%), rgba(255,255,255,0.14) 0); }
.think__loglist li { color: #e6e8ec; }
.think__loglist li.is-past { color: #8b919c; }
.think__logn { color: #3ad7f7; }
.think__loglist li.is-past .think__logn { color: #4b5563; }

/* the scrubber under the console: drag through the reasoning */
.think__scrub { display: flex; align-items: center; margin: 0.55rem 0.5rem 0; }
.think__range { --p: 0; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; padding: 0; background: transparent; cursor: pointer; touch-action: none; }
.think__range:focus { outline: none; }
.think__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #00b0d8 calc(var(--p) * 100%), rgba(255,255,255,0.14) 0); }
.think__range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #00b0d8 calc(var(--p) * 100%), rgba(255,255,255,0.14) 0); }
.think__range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #f2f3f5; box-shadow: 0 0 0 4px rgba(0,176,216,0.35), 0 2px 8px rgba(0,0,0,0.6); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.think__range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #f2f3f5; box-shadow: 0 0 0 4px rgba(0,176,216,0.35), 0 2px 8px rgba(0,0,0,0.6); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.think__range:hover::-webkit-slider-thumb, .think__range:active::-webkit-slider-thumb { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(0,176,216,0.4), 0 2px 8px rgba(0,0,0,0.6); }
.think__range:hover::-moz-range-thumb, .think__range:active::-moz-range-thumb { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(0,176,216,0.4), 0 2px 8px rgba(0,0,0,0.6); }
.think__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #050505, 0 0 0 5px #3ad7f7; }
.think__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #050505, 0 0 0 5px #3ad7f7; }
@media (max-width: 899px) { .think.is-live .think__sources { grid-template-columns: repeat(3, minmax(0, 1fr)); } .think__src small { display: none; } .think__src { min-height: 70px; } }

/* ---------- phones: a larger, better-set type scale ---------------------- */
@media (max-width: 600px) {
  :root {
    --fz-display: clamp(2.55rem, 11.6vw, 3.1rem);
    --fz-h2: clamp(2rem, 8.6vw, 2.35rem);
  }
  .hero-title--cat { font-size: clamp(2.45rem, 10.6vw, 2.9rem); }
  .display { line-height: 1; letter-spacing: -0.04em; }
  .close-cta--film { min-height: min(100svh, 780px); align-items: center; }
  .close-cta--film .close-cta__content { padding-block: var(--sect-s); }
  .close-cta--film .lead { font-size: clamp(1.25rem, 5.9vw, 1.45rem); line-height: 1.3; max-width: none; }
  .close-cta__sub span { display: block; }   /* three set lines on phones */
}

/* phones: the ask sits low so the intro above never runs into it, and the insight compacts on short screens */
@media (max-width: 760px) {
  .think.is-live .think__ask { top: auto; bottom: clamp(20px, 6svh, 64px); transform: translate(-50%, 0); }
  .think.is-thinking .think__ask { transform: translate(-50%, 8px) scale(0.97); }
}
@media (max-width: 760px) and (max-height: 760px) {
  .think__asked { display: none; }
  .ipc { padding: 16px 18px; }
  .ipc__scope { margin-top: 6px; }
  .ipc__sub { font-size: 12px; }
  .ipc__chart { height: 104px; margin-top: 14px; }
  .ipc__legend { margin-top: 12px; }
  .ipc__rec { margin-top: 12px; padding-top: 12px; }
  .ipc__rect { font-size: 14px; }
  .ipc__acts { margin-top: 12px; }
  .ipc__status { min-height: 0; margin-top: 6px; }
  .ipc__dlegend { display: none; }
  .ipc__move { margin-top: 10px; font-size: 14px; }
  .ipc__track { --th: 38px; margin-top: 8px; }
  .ipc__gain { margin-top: 6px; }
  .think__answerfoot { margin-top: 0.6rem; }
  .think__note { display: none; }
  .tp, .tp--left, .tp--right, .tp--center { --tz: 0.7; }
}
@media (max-width: 760px) {
  .think__answerfoot { gap: 0.9rem; }
  .think__answerfoot .btn, .think__answerfoot .textlink { white-space: nowrap; }
}

/* brand memory on phones: a portrait frame with labels sized to read */
.memory.is-narrow .memory__stage { min-height: 0; aspect-ratio: 600 / 980; }
.memory.is-narrow .memory__label { font-size: 15px; stroke-width: 4px; }
.memory.is-narrow .memory__label--hub { font-size: 19px; }

/* diagrams on phones: node labels only where they can be read, and legends below the canvas instead of over it */
.molecule__canvas-wrap.is-narrow:not(.is-zoomed) .mol-label[data-ring]:not([data-ring="0"]) { display: none; }
/* phones: zoom in on the molecule to read every node */
.molecule__zoom { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,0.9); box-shadow: 0 0 0 1px rgba(5,5,5,0.1), 0 6px 18px -8px rgba(0,0,0,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.molecule__zoom[hidden] { display: none; }
.molecule__zoom button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; line-height: 1; font-weight: 400; color: #1b1e1e; -webkit-tap-highlight-color: transparent; }
.molecule__zoom button + button { border-top: 1px solid rgba(5,5,5,0.1); }
.molecule__zoom button:disabled { color: #b4b9bd; cursor: default; }
.molecule:not(.molecule--light) .molecule__zoom { background: rgba(20,22,24,0.85); box-shadow: 0 0 0 1px rgba(242,255,254,0.14); }
.molecule:not(.molecule--light) .molecule__zoom button { color: #f2fffe; }
.molecule:not(.molecule--light) .molecule__zoom button + button { border-top-color: rgba(242,255,254,0.14); }
.molecule:not(.molecule--light) .molecule__zoom button:disabled { color: rgba(242,255,254,0.3); }
@media (max-width: 720px) {
  .molecule, .flywheel { display: flex; flex-direction: column; }
  .molecule__canvas-wrap { position: relative; inset: auto; flex: 1; min-height: 0; }
  ul.molecule__legend { position: static; max-width: none; padding: 10px 14px 12px; gap: 8px 12px; }
}

/* touch screens: text links and the scroll cue get a 44px tap area without moving their underline */
@media (pointer: coarse) {
  .textlink { position: relative; }
  .textlink::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
  .scrollcue::after { content: ""; position: absolute; inset: -9px -9px; }
}

/* phones: the molecule drops its source-group tags */
.molecule__canvas-wrap.is-narrow .mol-group { display: none; }
/* the smallest phones (320px): the nav button stays on one line */
.topnav__cta .btn { white-space: nowrap; }
@media (max-width: 359px) { .topnav__cta .btn { padding: 0 0.75em; font-size: 0.72rem; } .topnav__brand svg { width: 84px; height: auto; } }

/* ---------- cookie consent (js/consent.js) ------------------------------- */
.consent {
  position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  max-width: 30rem; margin-left: auto; padding: 0.85rem 0.85rem 0.85rem 1.1rem;
  background: var(--charcoal-2); color: var(--azure); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); font-size: var(--fz-small); line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__text a { text-decoration: underline; text-underline-offset: 2px; }
.consent__text { flex: 1 1 12rem; }
.consent__actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-left: auto; }
.consent__actions .btn { color: var(--azure); }
.consent__actions [aria-pressed="true"] { border-color: var(--azure); }
