/* === bundled from site.css === */
/* ============================================================
   Tokto.ai · v4 brand-guide-true theme
   Single source of truth. All tokens come from the v3 brand guide.
   ============================================================ */

:root {
  /* PRIMARY (brand guide / Color / 02 / Primary) */
  --navy: #1E3A5F;          /* Voice. H2. nav. ink */
  --navy-deep: #0E1119;      /* Display headlines. dashboards */
  --navy-soft: #2C4A72;      /* Softer navy on dark backgrounds */
  --coral: #F26B1F;          /* Gesture. Primary CTA. H1 accent */
  --coral-deep: #C8521A;     /* Coral on white. AA text */
  --coral-soft: #F2A98E;     /* Coral underline. hover tint */

  /* SURFACE */
  --sky-soft: #EEF2F8;       /* Page background. Default ground */
  --sky-tint: #E1E9F4;       /* Ambient circles. Secondary fills */
  --blush: #F5E8E4;          /* Ambient warm circle. Sparing */
  --canvas: #F2F4F8;         /* Outer page ground (between cards) */
  --white: #FFFFFF;

  /* TEXT */
  --text: #1E3A5F;           /* Body copy */
  --text-2: #5A6B82;          /* Secondary text. Sub-headlines */
  --text-3: #9AA8BC;          /* Captions. meta. mono labels */

  /* BORDER */
  --border: #D6DEEC;         /* Dividers. Table rules. Outlines */
  --border-soft: #E6ECF4;     /* Hairline rules on cards */

  /* SEMANTIC */
  --green: #2D8F6B;          /* Positive metric on light surfaces */
  --red: #D43A3A;            /* Error or negative metric */

  /* DASHBOARD MOCK PALETTE (brand guide / Dashboard / 07) */
  --dash-outer: #0E1119;
  --dash-inner: #14182A;
  --dash-field: #1A1F2E;
  --dash-border: #1F2737;
  --dash-text: #C9D2E2;
  --dash-text-2: #8A95AA;
  --green-pos: #4FCC8F;
  --blue-tok: #6CA9FF;
  --purple-lat: #B084DD;

  /* GRID BACKGROUND (brand guide / Color / 02) */
  --grid-line: rgba(30, 58, 95, 0.09);

  /* TYPE STACKS — sitewide Arial (sizes/weights/colors unchanged elsewhere) */
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: Arial, Helvetica, sans-serif;
  /* Hero H1 coral accent only (e.g. “Infrastructure.”); Source Serif loaded in public index head */
  --font-display-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;

  /* RADIUS */
  --r-card: 18px;
  --r-md: 10px;
  --r-sm: 6px;
  --r-pill: 999px;

  /* SHADOW */
  --shadow-card: 0 1px 2px rgba(15, 33, 56, 0.04), 0 8px 24px rgba(15, 33, 56, 0.06);
  --shadow-mock: 0 1px 2px rgba(15, 33, 56, 0.05), 0 16px 40px rgba(15, 33, 56, 0.10);

  /* SPACING */
  --gutter: 24px;
  --max-w: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* ===== GLOBAL CONTINUOUS GRID =================================
   One 28px checkered canvas runs across the entire page, fixed
   so it doesn't reset between sections. Sections sit on top in
   normal flow.
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

::selection { background: var(--coral); color: #fff; }

/* legacy hook — sections that opted into the grid no longer need
   their own copy. Keep the class so existing markup is harmless. */
.graph-bg { position: relative; }

/* ===== TYPOGRAPHY (brand guide / Typography / 03) ============
   All sizes pinned to the brand guide table.
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 400;
}
.eyebrow.muted { color: var(--text-3); }

/* Module 01–03 hero stripes: citation lines (LayerX, Uber) — larger type on wide viewports only */
.module-hero__cite {
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 48ch;
}
@media (min-width: 721px) {
  #question .eyebrow,
  #checkpoint-hero .eyebrow,
  #revops-hero .eyebrow {
    font-size: 13px;
  }
  .module-hero__cite {
    font-size: 14px;
  }
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin: 0;
}
.h-display em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 600;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
.h1 em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 600;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
.h2 em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 600;
}

.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}

.lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}

.body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

.caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--hero { padding: 88px 0 72px; }

.card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--hero { padding: 56px 0 48px; }
}

/* ===== NAVIGATION (brand guide / Components / 06) ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 248, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
  text-decoration: none;
}
/* Tokto brand mark + wordmark (used in nav and footer) */
.brand-mark {
  display: block;
  flex-shrink: 0;
  height: 26px;
  width: auto;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-word__lum { color: var(--navy-deep); }
.brand-word__tir { color: var(--navy-deep); }
.brand-word__dot { color: var(--coral); padding: 0 1px; }
.brand-word__tld {
  color: var(--text-3);
  font-weight: 500;
  font-size: 0.7em;
  letter-spacing: 0.01em;
  margin-left: 1px;
}
.footer__brand-row .brand-mark { height: 24px; }
.footer__brand-row .brand-word { font-size: 18px; }
.nav__links { display: flex; gap: 22px; align-items: center; }
.nav__links a {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: color .15s;
}
.nav__links a:hover { color: var(--coral); }
.nav__spacer { flex: 1; }
.nav__back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
}
.nav__back:hover { color: var(--coral); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ===== BUTTONS (brand guide / Components / 06) =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  cursor: pointer;
}

/* Primary: coral fill, white text */
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.btn--primary:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}
.btn--primary .arrow { transition: transform .15s; }
.btn--primary:hover .arrow { transform: translateX(3px); }

/* Book / schedule (Calendly): same flat coral as “Take control…” CTA strip (graph-bg + doc dialog safe). */
a.btn.btn--primary[href*="calendly.com/robmatzkin/tokto-30-web"] {
  background: var(--coral);
  background-color: var(--coral);
  background-image: none;
  color: #fff;
  mix-blend-mode: normal;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
a.btn.btn--primary[href*="calendly.com/robmatzkin/tokto-30-web"]:hover {
  background: var(--coral-deep);
  background-color: var(--coral-deep);
  color: #fff;
}

/* Ghost: white fill, navy outline + text */
.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

/* Dark ghost on dark surface */
.btn--dark-ghost {
  background: transparent;
  color: var(--dash-text);
  border: 1px solid var(--dash-border);
}
.btn--dark-ghost:hover { color: #fff; border-color: var(--dash-text-2); }

/* ===== CHIPS / PILLS ======================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--sky-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.chip--coral {
  background: var(--blush);
  border-color: var(--coral-soft);
  color: var(--coral);
}
.chip--coral .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(242, 107, 31, 0.15);
}

/* ===== TABLE / RULES ======================================== */
.rule { display: none; }
.rule--soft { display: none; }

/* ===== KPI ROW ============================================== */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.kpi {
  padding: 28px 24px;
  border-right: 1px solid var(--border-soft);
}
.kpi:last-child { border-right: 0; }
.kpi__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.kpi__value {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
  color: var(--navy-deep);
}
.kpi__sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}

/* AISOR brief (dialog) — KPI strip as separate white cards */
.kpi-row--boxed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: none;
  border-top: none;
  border-bottom: none;
}
.kpi-row--boxed .kpi--boxed {
  margin: 0;
  border-right: 0;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 32px rgba(14, 17, 25, 0.08), 0 2px 8px rgba(14, 17, 25, 0.04);
  padding: 18px 20px 20px;
}
.kpi-row--boxed .kpi__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.kpi-row--boxed .kpi__head .kpi__label {
  margin-bottom: 0;
}
.kpi-row--boxed .kpi__head-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.kpi-row--boxed .kpi__head-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
@media (max-width: 900px) {
  .kpi-row--boxed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kpi-row--boxed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kpi-row:not(.kpi-row--boxed) {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-row:not(.kpi-row--boxed) > .kpi:nth-child(2) {
    border-right: 0;
  }
  .kpi-row:not(.kpi-row--boxed) > .kpi:nth-child(1),
  .kpi-row:not(.kpi-row--boxed) > .kpi:nth-child(2) {
    border-bottom: 1px solid var(--border-soft);
  }
}

/* Outcomes KPIs — separate white cards (home + industry pages) */
.kpi-row--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border: none;
  border-top: none;
  border-bottom: none;
}
.kpi-card {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(14, 17, 25, 0.08), 0 2px 8px rgba(14, 17, 25, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 16px 18px 14px;
  min-width: 0;
  text-align: left;
}
/* Speed of AI — icon column left of title (label + value) and subtitle */
.kpi-row--cards .kpi-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
}
.kpi-row--cards .kpi-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--navy);
  color: var(--coral);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-row--cards .kpi-card__icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
.kpi-row--cards .kpi-card__text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.kpi-row--cards .kpi-card__sub {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}
.kpi-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* Medallion default shell (other contexts). Homepage modules + KPI row override below. */
.tokto-medallion {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 9px;
  background: #fff;
  color: var(--navy-deep);
  border: 1px solid rgba(30, 58, 95, 0.5);
  box-shadow: 0 0 0 1px rgba(242, 107, 31, 0.55);
}
.tokto-medallion svg {
  width: 34px;
  height: 34px;
  display: block;
}
/* Three modules + Speed of AI — blue tile border, orange icon strokes, larger glyphs (tight inset). */
#modules .tokto-medallion,
.kpi-row--cards .tokto-medallion {
  color: var(--coral);
  border: 1px solid var(--navy);
  box-shadow: none;
}
#modules .tokto-medallion {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}
#modules .tokto-medallion svg {
  width: 42px;
  height: 42px;
}
.kpi-row--cards .tokto-medallion {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.kpi-row--cards .tokto-medallion svg {
  width: 40px;
  height: 40px;
}
.kpi-card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.kpi-card__value {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  color: var(--navy-deep);
}
.kpi-row--cards .kpi-card:not(:last-child) .kpi-card__value {
  font-size: 21px;
  line-height: 1.2;
}
.kpi-card__value--sm {
  font-size: 21px;
  line-height: 1.2;
  white-space: nowrap;
}
.kpi-card__sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}
@media (max-width: 880px) {
  /* "Outcomes that matter" / Speed of AI — widen headline on small screens */
  .container:has(.kpi-row--cards) > .h1 {
    max-width: min(100%, 46ch) !important;
  }
}
@media (max-width: 900px) {
  .kpi-row--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kpi-row--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .kpi-row--cards .kpi-card {
    padding: 12px 12px 12px;
    column-gap: 10px;
    row-gap: 6px;
  }
  .kpi-row--cards .tokto-medallion {
    width: 42px;
    height: 42px;
  }
  .kpi-row--cards .tokto-medallion svg {
    width: 35px;
    height: 35px;
  }
  .kpi-row--cards .kpi-card__icon {
    width: 42px;
    height: 42px;
  }
  .kpi-row--cards .kpi-card__icon svg {
    width: 35px;
    height: 35px;
  }
  .kpi-row--cards .kpi-card__value {
    font-size: 24px;
  }
  .kpi-row--cards .kpi-card:not(:last-child) .kpi-card__value {
    font-size: 18px;
  }
}

/* ===== PILLAR CARDS ========================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--coral);
  text-transform: uppercase;
}
.pillar__medallion-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2px 0 12px;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.pillar__title em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 600;
}
.pillar__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ===== DASHBOARD MOCK (brand guide / Dashboard / 07) ========= */
.mock {
  background: var(--dash-outer);
  border-radius: 14px;
  box-shadow: var(--shadow-mock);
  overflow: hidden;
  border: 1px solid var(--dash-border);
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--dash-outer);
  border-bottom: 1px solid var(--dash-border);
}
.mock__dots { display: flex; gap: 6px; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot--r { background: #FF5F57; }
.mock__dot--y { background: #FEBC2E; }
.mock__dot--g { background: #28C840; }
.mock__url {
  flex: 1;
  background: var(--dash-field);
  border: 1px solid var(--dash-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dash-text-2);
  text-align: center;
  letter-spacing: 0.04em;
}
.mock__body { padding: 22px; }
.mock h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17px;
  color: #fff;
  font-weight: 600;
}
.mock h4 em { color: var(--coral); font-style: italic; }
.mock p.lead {
  margin: 0 0 18px;
  color: var(--dash-text-2);
  font-size: 13px;
  line-height: 1.55;
}

/* ===== FOOTER =============================================== */
.footer {
  padding: 56px 0 40px;
  background: var(--canvas);
  color: var(--text-2);
  font-size: 13.5px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer__brand-row { display: flex; align-items: center; gap: 10px; }
.footer__tag { margin-top: 14px; font-size: 13px; color: var(--text-2); max-width: 28ch; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { font-size: 13.5px; color: var(--text); }
.footer__col a:hover { color: var(--coral); }
.footer__bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 640px) {
  .footer__bottom {
    align-items: center;
    text-align: center;
  }
}

/* ===== AMBIENT CIRCLES (brand guide motif) ================== */
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.ambient--coral { background: var(--blush); }
.ambient--sky { background: var(--sky-tint); }

/* ===== UTILITIES ============================================ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none !important; } }

/* ===== TWO-COL HERO ========================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== LISTS ================================================ */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.bullets em { font-style: italic; color: var(--coral); font-weight: 500; }

/* ===== PROMISE BOX ========================================== */
.promise {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--white);
}
.promise__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

/* ===== INDUSTRY / PERSONA SWITCHER ========================== */
.switcher {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(14, 17, 25, 0.04);
}
.switcher__step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -10px;
}
.switcher__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  flex: 0 0 auto;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.switcher--done .switcher__num {
  background: var(--navy);
  color: #fff;
}
.switcher--done .switcher__num::before {
  content: "\2713";
  font-size: 13px;
  font-weight: 700;
}
.switcher--done .switcher__num-inner { display: none; }

/* Step 2 locked until step 1 (role) is chosen */
.switcher--locked {
  border-style: dashed;
  border-color: rgba(30, 58, 95, 0.22);
}
.switcher--locked .switcher__pills .switcher__opt:not(:hover) {
  cursor: not-allowed;
}
.switcher--locked .switcher__pills .switcher__opt:disabled {
  opacity: 0.48;
  pointer-events: none;
}

.match-result--hidden {
  display: none !important;
}

/* Picker meta strip — makes "pick two" obvious */
.picker-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px dashed var(--coral);
  background: rgba(242, 107, 31, 0.06);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.picker-meta__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 4px;
}
.picker-meta__sep {
  color: var(--coral);
  opacity: 0.6;
}
.picker-meta__hint {
  color: var(--coral);
  letter-spacing: 0.12em;
}
.picker-meta--partial { background: rgba(242, 107, 31, 0.10); }
.picker-meta--complete {
  border-style: solid;
  border-color: var(--green-pos, #2E8B57);
  background: rgba(46, 139, 87, 0.08);
  color: var(--green-pos, #2E8B57);
}
.picker-meta--complete .picker-meta__num { background: var(--green-pos, #2E8B57); }
.picker-meta--complete .picker-meta__sep,
.picker-meta--complete .picker-meta__hint { color: var(--green-pos, #2E8B57); }
.switcher__label {
  font-family: var(--font-display-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--coral);
  display: block;
}
.switcher__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.switcher a,
.switcher__opt {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
  width: auto;
  flex: 0 0 auto;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.switcher a:hover,
.switcher__opt:hover {
  color: var(--coral);
  border-color: var(--coral);
  transform: translateY(-1px);
}
.switcher__opt:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
.switcher a.is-active,
.switcher__opt.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  font-weight: 600;
}

/* match summary band */
.match-result {
  border: 1px solid var(--border);
  background: var(--sky-soft);
  border-radius: var(--r-card);
  padding: 14px 18px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
/* prompt state — nothing or only one selected. Subtler so the user knows it is waiting on them. */
.match-result--prompt {
  background: transparent;
  border-style: dashed;
  border-color: var(--border);
}
.match-result--prompt .match-result__label {
  color: var(--coral);
}
.match-result--prompt .match-result__value {
  color: var(--text-2);
  font-weight: 500;
}
.match-result__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.match-result__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.match-result__value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.match-result .btn {
  margin-left: auto;
}
.match-result .btn[hidden] { display: none; }
@media (max-width: 640px) {
  .match-result .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* ===== CTA STRIP (flush on page — no dark card shell) ========= */
.cta-strip {
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}
.cta-strip h3,
.cta-strip .cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: min(100vw - var(--gutter) * 2, 1200px);
  min-width: 0;
}
.cta-strip .cta-strip__title span,
.cta-strip .cta-strip__title em {
  display: inline;
}
.cta-strip .cta-strip__title em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
}
.cta-strip h3 em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
}
.cta-strip p,
.cta-strip .cta-strip__dek {
  color: var(--text-2);
  margin: 0 auto 28px;
  line-height: 1.35;
  text-align: center;
  max-width: min(98vw, 72rem);
  font-size: clamp(14px, 1.85vw, 17px);
}
.cta-strip .cta-strip__dek {
  min-width: 0;
}
.cta-strip .flex {
  justify-content: center;
}
.cta-strip .mono {
  color: var(--text-3);
}
.cta-strip .cta-strip__trust {
  margin-top: 32px;
  font-size: clamp(11px, 1.35vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cta-strip .cta-strip__trust .cta-strip__sep {
  color: var(--coral);
  font-weight: 600;
  padding: 0 0.28em;
}
.cta-strip__icon-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 1.25rem;
}
.cta-strip__icon {
  display: block;
  width: clamp(52px, 14vw, 72px);
  height: auto;
  object-fit: contain;
}

/* ============== FOUNDATION HERO (sits on global grid) ============== */
.foundation-hero {
  position: relative;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.foundation-hero > * { position: relative; z-index: 1; }
.foundation-hero__head {
  padding: 24px 0 36px;
  position: relative;
}
.foundation-hero__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-3);
  margin: 0 0 18px;
  letter-spacing: 0.005em;
}
.foundation-hero__eyebrow em {
  font-style: italic;
  color: var(--text-3);
}
.foundation-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy);
}
.foundation-hero__title em {
  font-family: var(--font-display-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 600;
}
.foundation-hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 64ch;
}
.foundation-hero__sub em {
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}
.foundation-hero__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 60ch;
}
.foundation-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.foundation-hero .btn--primary-on-dark {
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}
.foundation-hero .btn--primary-on-dark:hover { background: var(--coral-deep); }
.foundation-hero .btn--ghost-on-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.foundation-hero .btn--ghost-on-dark:hover { border-color: var(--navy); color: var(--navy); }

.foundation-hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 8px 0 16px;
}
.fhpill {
  background: var(--white);
  padding: 26px 26px 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--coral);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fhpill:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(15,33,56,0.05), 0 14px 32px rgba(15,33,56,0.08);
}
.fhpill__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.fhpill__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.fhpill__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}
.fhpill__num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fhpill__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fhpill__list li {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.fhpill__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 7px; height: 7px;
  background: var(--coral);
  border-radius: 1px;
}

/* Evidence tile under each pillar */
.fhpill__evidence {
  margin-top: auto;
  padding: 14px 14px 14px 14px;
  background: var(--sky-soft);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--coral-deep);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fhpill__evidence-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
}
.fhpill__evidence-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.fhpill__evidence-stat--sm {
  font-size: 16px;
  line-height: 1.25;
}
.fhpill__evidence-text {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0;
}
.fhpill__evidence-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-3);
  align-self: flex-start;
}
.fhpill__evidence-source:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* Single-stat band (71% adoption) */
.stat-band {
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--coral);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.stat-band__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat-band__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 4px;
}
.stat-band__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.stat-band__source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-3);
}
.stat-band__source:hover { color: var(--coral); border-bottom-color: var(--coral); }

.foundation-hero__cta-row {
  padding: 16px 56px 28px;
}

.foundation-hero__foot {
  padding: 22px 56px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--sky-soft);
}
.foundation-hero__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.foundation-hero__tag b { color: var(--navy); font-weight: 600; }
.foundation-hero__tag em { color: var(--coral); font-style: normal; font-weight: 500; }

@media (max-width: 880px) {
  .foundation-hero__pillars {
    grid-template-columns: 1fr;
    padding: 4px 24px 24px;
    gap: 14px;
  }
  .foundation-hero__head { padding: 36px 28px 28px; }
  .foundation-hero__foot { padding: 18px 28px; }
  .foundation-hero__cta-row { padding: 12px 28px 22px; }
  .stat-band { padding: 18px 20px; gap: 16px; }
  .stat-band__value { font-size: 36px; }
}

/* ============================================================
   EVIDENCE BAND — standalone section below the foundation hero
   "Infrastructure Catastrophically Breaking"
   ============================================================ */
.evidence-band {
  margin-top: 0;
}
/* Inline head sits in the gap between pillars and evidence cards — must NOT add vertical space */
.evidence-band__head--inline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 0 0 5px;
  max-width: none;
}
.evidence-band__head--inline .evidence-band__eyebrow {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 10px;
}
.evidence-band__head--inline .evidence-band__title {
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.evidence-band__head {
  margin-bottom: 28px;
  max-width: 64ch;
}
.evidence-band__head--below {
  margin-top: 20px;
  margin-bottom: 0;
  max-width: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: nowrap;
}
.evidence-band__head--below .evidence-band__eyebrow {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}
.evidence-band__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin: 0 0 12px;
}
.evidence-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin: 0;
  white-space: nowrap;
}
.evidence-band__head--below .evidence-band__title { white-space: nowrap; }
.evidence-band__title em {
  font-family: var(--font-display-serif);
  color: var(--coral);
  font-style: italic;
  font-weight: 600;
}
.evidence-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.evidence-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--coral-deep);
  border-radius: 12px;
  padding: 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(15,33,56,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.evidence-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(15,33,56,0.05), 0 14px 32px rgba(15,33,56,0.08);
}

/* Interactive case-study card: hover lifts harder, reveals CTA tag, grows coral rail */
.evidence-card--interactive {
  cursor: pointer;
  position: relative;
}
/* Text nodes inside <p>/<span> would otherwise often show the I-beam over the card */
.evidence-card--interactive,
.evidence-card--interactive * {
  cursor: pointer;
}
.evidence-card--interactive:focus {
  outline: none;
}
.evidence-card--interactive:focus-visible {
  outline: 2px solid var(--coral-deep);
  outline-offset: 3px;
}
.evidence-card--interactive:hover {
  transform: translateY(-4px);
  border-left-width: 6px;
  box-shadow: 0 4px 8px rgba(15,33,56,0.06), 0 22px 48px rgba(242,107,31,0.14);
}
.evidence-card__cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-top: auto;
  padding-top: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.evidence-card--interactive:hover .evidence-card__cta,
.evidence-card--interactive:focus-visible .evidence-card__cta {
  opacity: 1;
  transform: translateY(0);
}
/* On touch devices keep the CTA always visible (no hover state) */
@media (hover: none) {
  .evidence-card__cta {
    opacity: 1;
    transform: none;
  }
}

/* "Coming soon" placeholder card (muted) */
.evidence-card--soon {
  border-left-color: var(--border-soft);
}
.evidence-card__cta--soon {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: auto;
  padding-top: 10px;
  opacity: 0.65;
}
.evidence-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
}
.evidence-card__stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin: 0;
}
.evidence-card__stat--sm {
  font-size: 18px;
  line-height: 1.25;
}
.evidence-card__text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0;
}
.evidence-card__source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-3);
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
}
.evidence-card__source:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

@media (max-width: 880px) {
  .evidence-band__title {
    font-size: 28px;
    white-space: normal;
  }
  .evidence-band__head--below {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .evidence-band__head--below .evidence-band__title { white-space: normal; }
  .evidence-band__head--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }
  .evidence-band__head--inline .evidence-band__title {
    white-space: normal;
    font-size: 22px;
  }
  .evidence-band__grid { grid-template-columns: 1fr; gap: 14px; }
  /* Mobile switcher: stack the two columns */
  #matchPicker { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* ============================================================
   RISK QUESTIONS — image poster + copy split
   ============================================================ */
.risk-questions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.risk-questions__copy { min-width: 0; }
.risk-questions__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.risk-questions__figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* circle.png: no frame; 10% under shared risk-figure max-width; full image (no clip). */
.risk-questions__figure--circle {
  background: none;
}
.risk-questions__figure--circle img {
  max-width: 504px;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Module 01 / SoR */
.question__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.question__figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(14, 17, 25, 0.18);
  background: #0e1119;
}

/* Module 02 / Checkpoint — headline uses .h1 like Modules 01 & 03 */
.checkpoint__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.checkpoint__figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(14, 17, 25, 0.18);
  background: #0e1119;
}

/* Module 03 / RevOps & FinOps */
.revops__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.revops__figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(14, 17, 25, 0.18);
  background: #0e1119;
}
@media (max-width: 880px) {
  .risk-questions__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .risk-questions__figure img { max-width: 460px; }
  .risk-questions__figure--circle img { max-width: 414px; }
  .question__figure img { max-width: 460px; }
  .checkpoint__figure img { max-width: 460px; }
  .revops__figure img { max-width: 460px; }
}

/* ============================================================
   TEAM — small portrait thumbnails (white mat)
   ============================================================ */
#team .team-card__photo {
  flex-shrink: 0;
  display: block;
  width: calc(36px * 1.2 * 1.2);
  height: calc(48px * 1.2 * 1.2);
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 17, 25, 0.1);
}

/* Advisory board — stacked photo, name, bio (circle ~20% wider than mgmt portrait) */
#team .team-advisory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 8px;
  align-items: start;
}
#team .team-advisory__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
#team .team-advisory__photo {
  flex-shrink: 0;
  width: calc(36px * 1.2 * 1.2 * 1.2);
  height: calc(36px * 1.2 * 1.2 * 1.2);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 17, 25, 0.1);
  margin-bottom: 12px;
}
#team .team-advisory__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
#team .team-advisory__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
}
@media (max-width: 720px) {
  #team .team-advisory__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   DASHBOARD PREVIEW — bright carousel (tokto.ai marketing style)
   ============================================================ */
#dashboard .dashboard-carousel__shell {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
#dashboard .dashboard-carousel__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
#dashboard .dashboard-carousel__traffic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
#dashboard .dashboard-carousel__light {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
#dashboard .dashboard-carousel__light--r {
  background: #fb7185;
}
#dashboard .dashboard-carousel__light--y {
  background: #fbbf24;
}
#dashboard .dashboard-carousel__light--g {
  background: #34d399;
}
#dashboard .dashboard-carousel__url {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #64748b;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#dashboard .dashboard-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#dashboard .dashboard-carousel__viewport::-webkit-scrollbar {
  display: none;
}
#dashboard .dashboard-carousel__track {
  display: flex;
  flex-direction: row;
  width: 600%;
}
#dashboard .dashboard-carousel__slide {
  flex: 0 0 calc(100% / 6);
  width: calc(100% / 6);
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #f8fafc;
}
#dashboard .dashboard-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
}
#dashboard .dashboard-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
#dashboard .dashboard-carousel__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#dashboard .dashboard-carousel__arrow:hover {
  background: #f8fafc;
  border-color: rgba(242, 107, 31, 0.45);
  color: var(--coral);
}
#dashboard .dashboard-carousel__arrow:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
#dashboard .dashboard-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#dashboard .dashboard-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  padding: 0;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
#dashboard .dashboard-carousel__dot:hover {
  background: #94a3b8;
}
#dashboard .dashboard-carousel__dot.is-active {
  transform: scale(1.25);
}
/* Active dot color cycles: coral → blue → green (matches dashboard semantic colors) */
#dashboard .dashboard-carousel__dot:nth-child(3n + 1).is-active {
  background: var(--coral);
}
#dashboard .dashboard-carousel__dot:nth-child(3n + 2).is-active {
  background: var(--blue-tok);
}
#dashboard .dashboard-carousel__dot:nth-child(3n + 3).is-active {
  background: var(--green-pos);
}
#dashboard .dashboard-carousel__dot:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* ============================================================
   HERO HEAD SPLIT — copy left, portrait poster right
   ============================================================ */
.foundation-hero__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.foundation-hero__head--split .foundation-hero__head-copy {
  min-width: 0;
}
.foundation-hero__head--split .foundation-hero__sub,
.foundation-hero__head--split .foundation-hero__lead {
  max-width: 44ch;
}
.foundation-hero__head-figure {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.foundation-hero__head-figure img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 980px) {
  .foundation-hero__head--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foundation-hero__head--split .foundation-hero__head-copy {
    text-align: center;
  }
  .foundation-hero__head--split .foundation-hero__sub,
  .foundation-hero__head--split .foundation-hero__lead {
    margin-inline: auto;
  }
  .foundation-hero__head-figure {
    justify-content: center;
    width: 100%;
  }
  .foundation-hero__head-figure img { max-width: 280px; margin-inline: auto; }
}

/* ============================================================
   RISK WHEEL — wheel on right, structured copy on left
   ============================================================ */
.risk-wheel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.risk-wheel__copy { min-width: 0; }
.risk-wheel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.risk-wheel__list li {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
  padding-left: 14px;
  border-left: 2px solid var(--coral);
}
.risk-wheel__list li strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.005em;
}
.risk-wheel__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.risk-wheel__figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(14, 17, 25, 0.22), 0 6px 18px -8px rgba(14, 17, 25, 0.08);
  border: 1px solid rgba(14, 17, 25, 0.06);
}
@media (max-width: 980px) {
  .risk-wheel__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .risk-wheel__figure img { max-width: 440px; }
}

/* ============================================================
   MATCH INLINE — role/industry hero blocks injected below picker
   ============================================================ */
.match-inline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.match-inline[hidden] { display: none; }
.match-inline__loading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 24px 0;
}
.match-inline__block {
  border-top: 1px solid var(--border-soft);
  padding-top: 40px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.match-inline--ready .match-inline__block {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger the second block slightly */
.match-inline--ready .match-inline__block + .match-inline__block {
  transition-delay: 0.08s;
}
/* The injected .hero-grid keeps its own 2-column layout. Tighten its top spacing
   since it's no longer a page hero. */
.match-inline__block .hero-grid {
  align-items: center;
}
.match-inline__block .h-display {
  font-size: clamp(36px, 4.4vw, 60px);
}
@media (max-width: 880px) {
  .match-inline { gap: 36px; }
  .match-inline__block { padding-top: 28px; }
}

/* ============================================================
   MATCH BLOCK — single inline cell rendered from match_content.json
   Editorial briefing layout: eyebrow / H1 / H2 / horror callout /
   what you get / detail / what can go wrong / case card / CTA
   ============================================================ */
.match-block {
  position: relative;
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.match-inline--ready .match-block {
  opacity: 1;
  transform: translateY(0);
}
.match-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--coral);
}

/* Eyebrow: ROLE · INDUSTRY */
.match-block__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}

/* H1 — serif display, tight, italics in coral */
.match-block__h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--navy-deep);
  margin: -8px 0 0;
  max-width: 22ch;
}
.match-block__h1 em {
  font-family: var(--font-display-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--coral);
}

/* H2 — sans, secondary navy, briefing tone */
.match-block__h2 {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  max-width: 62ch;
  font-weight: 400;
}
.match-block__h2 em { font-style: italic; color: var(--navy); font-weight: 500; }

/* Horror callout — quiet alarm. Coral hairline, warm cream tint. */
.match-block__horror {
  position: relative;
  margin-top: 4px;
  padding: 22px 24px 22px 28px;
  background: linear-gradient(180deg, #FFF5EE 0%, #FDF1E7 100%);
  border: 1px solid #F4D9C5;
  border-left: 3px solid var(--coral);
  border-radius: 2px;
}
.match-block__horror-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.match-block__horror p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--navy-deep);
  max-width: 64ch;
  font-weight: 400;
}

/* Two-column body grid for the three structured sections */
.match-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 56px;
  margin-top: 8px;
}
@media (max-width: 880px) {
  .match-block__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Generic structured section (Get / Detail / Wrong) */
.match-block__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.match-block__section-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.match-block__section p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-1, #1E2A3A);
  max-width: 64ch;
}
.match-block__section p + p { margin-top: 10px; }

/* Bullets — coral square markers */
.match-block__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.match-block__bullets li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 56ch;
}
.match-block__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--coral);
}

/* "What can go wrong" — same structure, slightly different feel: navy-deep ink */
.match-block__section--wrong .match-block__section-label {
  color: var(--coral);
}
.match-block__section--wrong .match-block__bullets li {
  color: var(--navy-deep);
}
.match-block__section--wrong .match-block__bullets li::before {
  background: var(--navy-deep);
}

/* Recent case card — citation strip */
.match-block__case {
  margin-top: 8px;
  padding: 20px 24px;
  background: #F7F9FC;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.match-block__case-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.match-block__case-summary {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 78ch;
}
.match-block__case-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--coral);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.match-block__case-link:hover {
  border-bottom-color: var(--coral);
}
.match-block__case-link span { margin-left: 4px; }

/* CTA */
.match-block__cta {
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Lead paragraph for missing-cell fallback */
.match-block__lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0;
}
.match-block--missing { gap: 16px; }

@media (max-width: 880px) {
  .match-block { padding-top: 36px; gap: 22px; }
  .match-block__h1 { font-size: 32px; }
  .match-block__horror { padding: 18px 18px 18px 22px; }
  .match-block__horror p { font-size: 16px; }
  .match-block__case { padding: 18px 18px; }
  .match-block__cta { padding-top: 22px; margin-top: 8px; }
}


/* =========================================================================
   Lightbox: click-to-expand for diagrams and product mocks
   ========================================================================= */
[data-expandable] {
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
[data-expandable]:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}
[data-expandable]:focus-visible {
  outline: 2px solid var(--coral, #F26B1F);
  outline-offset: 4px;
}
/* Case-study evidence cards open a template dialog, not image zoom */
.evidence-card--interactive[data-expandable],
.evidence-card--interactive[data-expandable] * {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(14, 17, 25, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  overscroll-behavior: contain;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
/* White backdrop (e.g. five-forces circle art on light ground) */
.lightbox.lightbox--backdrop-white {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lightbox.lightbox--backdrop-white .lightbox__stage img {
  background: #fff;
  box-shadow: 0 12px 48px rgba(15, 33, 56, 0.1);
}
/* Lightbox close — doc-dialog style (light pill, navy ×; neutral hover, no coral wash) */
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-deep);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(14, 17, 25, 0.12);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.lightbox__stage.lightbox__stage--reg-align .lightbox__close {
  border-color: rgba(30, 58, 95, 0.22);
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.96);
}
.lightbox.lightbox--backdrop-white .lightbox__close {
  border-color: rgba(30, 58, 95, 0.22);
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.98);
}
.lightbox__close:hover,
.lightbox__stage:not(.lightbox__stage--reg-align) .lightbox__close:hover,
.lightbox__stage.lightbox__stage--reg-align .lightbox__close:hover,
.lightbox.lightbox--backdrop-white .lightbox__close:hover,
.lightbox.lightbox--backdrop-white .lightbox__stage:not(.lightbox__stage--reg-align) .lightbox__close:hover {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.38);
  color: var(--navy-deep);
  box-shadow: 0 2px 16px rgba(14, 17, 25, 0.14);
}
.lightbox__close:focus-visible {
  outline: 2px solid rgba(30, 58, 95, 0.35);
  outline-offset: 2px;
}
.lightbox__stage {
  position: relative;
  max-width: min(1400px, 96vw);
  max-height: 92vh;
  max-height: min(92vh, 92dvh);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  transform: scale(0.96);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #0E1119;
}
.lightbox__stage .mock {
  /* Larger mock when expanded */
  width: min(1100px, 92vw);
  max-height: 92vh;
  overflow: auto;
  margin: 0;
}
body.lightbox-open { overflow: hidden; }

/* Regulatory alignment case study (lightbox template clone) */
.lightbox__stage.lightbox__stage--reg-align {
  max-width: min(920px, 96vw);
  width: 100%;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  max-height: min(92vh, 92dvh);
  overflow: hidden;
}
.lightbox__stage.lightbox__stage--reg-align .reg-align {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  border-radius: 18px;
  border-left: 4px solid var(--coral, #F26B1F);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 28px 32px 32px;
  color: var(--text, #1E3A5F);
  text-align: left;
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(900px, 88vh, 88dvh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.lightbox__stage.lightbox__stage--reg-align.lightbox__stage--wide {
  max-width: min(980px, 98vw);
}
.lightbox__stage.lightbox__stage--reg-align .reg-align,
.lightbox__stage.lightbox__stage--reg-align .reg-align * {
  font-family: Arial, Helvetica, sans-serif;
}
.reg-align__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(140px, 0.65fr);
  gap: 28px 36px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft, #E6ECF4);
  margin-bottom: 4px;
}
.reg-align__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral, #F26B1F);
}
.reg-align__title {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy-deep, #0E1119);
}
.reg-align__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2, #5A6B82);
  max-width: 52ch;
}
.reg-align__header-art {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.reg-align__header-svg {
  max-width: 100%;
  height: auto;
}
.reg-align__rows {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reg-align__row {
  display: grid;
  grid-template-columns: 1.12fr 0.92fr 1fr;
  gap: 18px 22px;
  padding: 20px 12px;
  border-top: none;
  align-items: start;
  background: rgba(238, 242, 248, 0.72);
  border-radius: 12px;
  border: 1px solid rgba(214, 222, 236, 0.65);
}
.reg-align__row--tint {
  background: rgba(225, 233, 244, 0.88);
  border: 1px solid rgba(197, 212, 232, 0.75);
}
.reg-align__rule-head {
  display: flex;
  gap: 20px;
  align-items: center;
}
.reg-align__icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}
.reg-align__icon-circle--eu {
  border: 2px solid #c5d4e8;
  background: #eef2f8;
}
.reg-align__icon-circle--sr {
  border: 2px solid var(--coral-soft, #f2a98e);
  background: #fffaf7;
}
.reg-align__icon-circle--ffi {
  border: 2px solid var(--navy-soft, #2c4a72);
  background: #e1e9f4;
}
.reg-align__rule-svg {
  display: block;
  width: 80px;
  height: 80px;
}
.reg-align__rule-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep, #0E1119);
}
.reg-align__rule-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2, #5A6B82);
}
.reg-align__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.reg-align__badge-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy, #1E3A5F);
}
.reg-align__badge-txt--tokto {
  color: var(--coral, #F26B1F);
}
.reg-align__cell-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy-deep, #0E1119);
}
.reg-align__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
  padding-top: 8px;
  align-items: stretch;
}
.reg-align__footer-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.reg-align__footer-heading {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: var(--navy-deep, #0E1119);
}
.reg-align__ask-panel {
  background: #faf4ee;
  border-radius: 14px;
  padding: 14px 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  flex: 1;
  align-content: stretch;
  align-items: stretch;
}
.reg-align__ask-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px 10px 6px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(30, 58, 95, 0.06);
  min-width: 0;
  align-self: stretch;
}
.reg-align__ask-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
}
.reg-align__ask-ic svg {
  display: block;
  width: 28px;
  height: 28px;
}
.reg-align__ask-txt {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy-deep, #0E1119);
}
.reg-align__visible-panel {
  background: #e8eef6;
  border-radius: 14px;
  padding: 6px 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.reg-align__vis-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 0 6px;
  border-right: 1px solid var(--border, #d6deec);
}
.reg-align__vis-item:last-child {
  border-right: none;
}
.reg-align__vis-ic {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reg-align__vis-ic svg {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 100%;
  max-height: 100%;
}
.reg-align__vis-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-deep, #0E1119);
  line-height: 1.2;
}

/* Live exposure case study (lightbox; shares .reg-align shell) */
.reg-align--live-exposure {
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.lex-hero {
  margin-bottom: 22px;
}
.lex-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.1fr) minmax(120px, 0.48fr);
  gap: 20px 24px;
  align-items: center;
}
.lex-hero__intro {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-width: 0;
}
.lex-hero__accent-bar {
  width: 5px;
  border-radius: 3px;
  background: var(--coral, #f26b1f);
  flex-shrink: 0;
}
.lex-hero__stat-block {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lex-hero__eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral, #f26b1f);
}
.lex-hero__stat {
  margin: 0;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  color: #0c2544;
  letter-spacing: -0.02em;
}
.lex-hero__copy {
  min-width: 0;
}
.lex-hero__headline {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-deep, #0e1119);
}
.lex-hero__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6578;
  font-weight: 500;
}
.lex-hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lex-hero__svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.lex-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.lex-panel {
  border: 1px solid #e1e6ec;
  border-radius: 14px;
  background: #f8fafc;
  padding: 16px 14px 14px;
  min-height: 0;
}
.lex-panel__title {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep, #0e1119);
  text-align: center;
}
.lex-prompt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lex-prompt-list__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eceff3;
  box-shadow: 0 1px 0 rgba(30, 58, 95, 0.05);
}
.lex-prompt-list__ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lex-prompt-list__ic svg {
  width: 32px;
  height: 32px;
  display: block;
}
.lex-prompt-list__txt {
  font-size: 14px;
  font-weight: 700;
  color: #0c2544;
}
.lex-matter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lex-matter-list__item {
  display: grid;
  grid-template-columns: 44px 10px minmax(0, 1fr);
  gap: 6px 2px;
  align-items: flex-start;
}
.lex-matter-list__icwrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lex-matter-list__icwrap svg {
  width: 44px;
  height: 44px;
  display: block;
}
.lex-matter-list__oran {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral, #f26b1f);
  margin-top: 7px;
}
.lex-matter-list__txt {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-deep, #0e1119);
}
.lex-change {
  border: 1px solid #e1e6ec;
  border-radius: 14px;
  background: #fbfcfe;
  padding: 18px 12px 20px;
  margin-bottom: 20px;
}
.lex-change__title {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--navy-deep, #0e1119);
}
.lex-change__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.lex-change__col {
  text-align: left;
  padding: 12px 14px;
  border-right: 1px solid #dde4ed;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.lex-change__col:last-child {
  border-right: none;
}
.lex-change__ic {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
}
.lex-change__ic svg {
  width: 72px;
  height: 72px;
  display: block;
}
.lex-change__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.lex-change__lbl {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0c2544;
  text-align: left;
}
.lex-change__desc {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: #4a5568;
  max-width: none;
  text-align: left;
}
.lex-takeaway {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fdf3eb;
  border: 1px solid rgba(242, 107, 31, 0.18);
}
.lex-takeaway__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lex-takeaway__icon svg {
  display: block;
  width: 32px;
  height: 32px;
}
.lex-takeaway__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral, #f26b1f);
}
.lex-takeaway__rule {
  width: 1px;
  align-self: stretch;
  min-height: 36px;
  background: rgba(30, 58, 95, 0.12);
  flex-shrink: 0;
}
.lex-takeaway__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-deep, #0e1119);
}
.lex-takeaway__text strong {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}

/* Uber AI spend / growth model (lightbox) */
.reg-align--uber-spend {
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(10, 27, 61, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 27, 61, 0.028) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.uxg-head {
  text-align: center;
}
.uxg-head__title {
  margin: 0 0 6px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 700;
  color: #0a1b3d;
  line-height: 1.22;
}
.uxg-head__mult {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  color: var(--coral, #f26b1f);
  font-weight: 700;
  white-space: nowrap;
}
.uxg-head__sub {
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.45;
  color: #4a5568;
  font-weight: 500;
  max-width: 54ch;
}
.uxg-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  min-height: 0;
  align-items: stretch;
}
.uxg-col--left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.uxg-col--left > .uxg-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.uxg-col--right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.uxg-col--right > .uxg-panel--happen {
  flex: 1 1 auto;
  min-height: 0;
}
.uxg-panel {
  border: 1px solid #e0e4ea;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 10px 12px;
  min-height: 0;
}
.uxg-panel--happen {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.uxg-eyebrow {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral, #f26b1f);
}
.uxg-eyebrow--center {
  text-align: center;
  margin-bottom: 8px;
}
.uxg-panel__lead {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  color: #334155;
}
.uxg-forecast-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
  align-items: stretch;
  min-height: 0;
  flex: 1 1 auto;
}
.uxg-table-wrap {
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  background: #fff;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.uxg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8.5px;
  font-weight: 600;
  color: #0e1119;
  flex: 1 1 auto;
}
.uxg-table th,
.uxg-table td {
  padding: 2px 5px;
  text-align: left;
  border-bottom: 1px solid #f0f2f5;
}
.uxg-table th {
  background: #f4f7fb;
  color: #1e3a5f;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.uxg-table tr:last-child td {
  border-bottom: none;
}
.uxg-chart-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  background: #fff;
  padding: 6px 4px 4px;
  flex: 1 1 auto;
}
.uxg-chart__title {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--coral, #f26b1f);
  flex-shrink: 0;
}
.uxg-chart {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.uxg-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.uxg-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  padding: 6px 8px;
  min-width: 0;
}
.uxg-stat__ic svg {
  display: block;
  width: 26px;
  height: 26px;
}
.uxg-stat__num {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.uxg-stat__num--coral {
  color: var(--coral, #f26b1f);
}
.uxg-stat__num--navy {
  color: #0a1b3d;
}
.uxg-stat__lbl {
  margin: 2px 0 0;
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.uxg-happen__title {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #0a1b3d;
  line-height: 1.2;
}
.uxg-vs-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 13px 15px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.uxg-vs-box {
  font-size: 15px;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: 13px;
  background: #fff;
  color: #0e1119;
}
.uxg-vs-box strong {
  font-weight: 800;
  font-size: 18px;
}
.uxg-vs-box--exp {
  border: 2px solid #1e3a5f;
  color: #1e3a5f;
}
.uxg-vs-box--exp strong {
  color: #1e3a5f;
  font-size: 18px;
}
.uxg-vs-box--act {
  border: 2px solid var(--coral, #f26b1f);
  color: var(--coral, #f26b1f);
}
.uxg-vs-box--act strong {
  font-size: 18px;
}
.uxg-vs {
  font-size: 14.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.uxg-mult-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  border: 2px solid var(--coral, #f26b1f);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #fffdfb;
}
.uxg-mult-box__big {
  display: inline-block;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 800;
  color: var(--coral, #f26b1f);
  line-height: 1;
  letter-spacing: -0.02em;
}
.uxg-mult-box__sub {
  display: inline-block;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #0a1b3d;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
}
.uxg-happen__note {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
}
.uxg-happen__spacer {
  flex: 1 1 auto;
  min-height: 6px;
}
.uxg-happen__foot {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}
.uxg-happen__foot-ic svg {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.uxg-happen__foot-txt {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #0e1119;
}
.uxg-happen__foot-txt strong {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}
.uxg-matters {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #e8ecf1;
}
.uxg-matters__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "bulb lead list";
  gap: 12px 14px;
  align-items: start;
}
.uxg-matters__col--bulb {
  grid-area: bulb;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.uxg-matters__bulb svg {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.uxg-matters__lead {
  grid-area: lead;
  margin: 0;
  min-width: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: #0e1119;
}
.uxg-orange {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}
.uxg-matters__col--list {
  grid-area: list;
  border-left: 3px solid var(--coral, #f26b1f);
  padding-left: 12px;
  min-width: 0;
}
.uxg-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}
.uxg-bullets li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 1.38;
  color: #0e1119;
  font-weight: 600;
}
.uxg-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 5px;
  height: 5px;
  background: var(--coral, #f26b1f);
  border-radius: 1px;
}
.uxg-bullets li:last-child {
  margin-bottom: 0;
}
.uxg-bullets strong {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}

.uxg-source {
  margin: 10px 0 0;
  text-align: center;
}
.uxg-source__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
  text-decoration: none;
}
.uxg-source__link:hover {
  color: var(--coral, #f26b1f);
  text-decoration: underline;
}
.uxg-source__ic {
  display: flex;
  flex-shrink: 0;
  color: var(--coral, #f26b1f);
}
.uxg-source__ic svg {
  display: block;
}

/* ------------------------------------------------------------------
   Uber "Costs out of control" — mobile-only template
   (#uber-ai-spend-popup-mobile, .uxg-mob-*). Linear sections; no
   desktop uxg-main / height:100% grid.
   ------------------------------------------------------------------ */
.lightbox__stage.lightbox__stage--reg-align.lightbox__stage--uber-mob {
  max-width: min(560px, 100vw);
}
.reg-align.uxg-mob-spend {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(10, 27, 61, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 27, 61, 0.028) 1px, transparent 1px);
  background-size: 20px 20px;
}
.uxg-mob-head {
  text-align: center;
  margin-bottom: 14px;
}
.uxg-mob-head__title {
  margin: 0 0 6px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4.8vw, 1.25rem);
  font-weight: 700;
  color: #0a1b3d;
  line-height: 1.22;
}
.uxg-mob-head__mult {
  color: var(--coral, #f26b1f);
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(1.35rem, 6vw, 1.85rem);
}
.uxg-mob-head__sub {
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.45;
  color: #4a5568;
  font-weight: 500;
  max-width: 54ch;
}
.uxg-mob-sec {
  border: 1px solid #e0e4ea;
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px 12px 14px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  display: flow-root;
}
.uxg-mob-sec:last-child {
  margin-bottom: 0;
}
.uxg-mob-eyebrow {
  margin: 0 0 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral, #f26b1f);
}
.uxg-mob-eyebrow--cen {
  text-align: center;
  display: block;
  margin-bottom: 10px;
}
.uxg-mob-lead {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 600;
  color: #334155;
}
.uxg-mob-tablewrap {
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  background: #fff;
  overflow: auto;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.uxg-mob-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8.5px;
  font-weight: 600;
  color: #0e1119;
}
.uxg-mob-table th,
.uxg-mob-table td {
  padding: 3px 6px;
  text-align: left;
  border-bottom: 1px solid #f0f2f5;
}
.uxg-mob-table th {
  background: #f4f7fb;
  color: #1e3a5f;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.uxg-mob-table tr:last-child td {
  border-bottom: none;
}
.uxg-mob-chartwrap {
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  background: #fff;
  padding: 8px 6px 6px;
  margin-bottom: 12px;
}
.uxg-mob-chartcap {
  margin: 0 0 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--coral, #f26b1f);
}
.uxg-mob-chart {
  display: block;
  width: 100%;
  height: auto;
}
.uxg-mob-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.uxg-mob-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  padding: 6px 8px;
  min-width: 0;
}
.uxg-mob-stat__ic svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.uxg-mob-stat__num {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.uxg-mob-stat__num--coral {
  color: var(--coral, #f26b1f);
}
.uxg-mob-stat__num--navy {
  color: #0a1b3d;
}
.uxg-mob-stat__lbl {
  margin: 2px 0 0;
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.uxg-mob-h3 {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4.2vw, 1.15rem);
  font-weight: 700;
  color: #0a1b3d;
  line-height: 1.2;
}
.uxg-mob-vsline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 3px 5px;
  margin-bottom: 10px;
  font-size: clamp(7px, 2.4vw, 9px);
  font-weight: 600;
}
.uxg-mob-vsline__bit {
  white-space: nowrap;
  padding: 4px 5px;
  border-radius: 8px;
  background: #fff;
  line-height: 1.15;
}
.uxg-mob-vsline__bit strong {
  font-weight: 800;
  font-size: clamp(8px, 2.8vw, 11px);
}
.uxg-mob-vsline--exp {
  border: 1.5px solid #1e3a5f;
  color: #1e3a5f;
}
.uxg-mob-vsline--act {
  border: 1.5px solid var(--coral, #f26b1f);
  color: var(--coral, #f26b1f);
}
.uxg-mob-vsline__sep {
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  font-size: clamp(7px, 2.2vw, 9px);
}
.uxg-mob-mult {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  border: 2px solid var(--coral, #f26b1f);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: #fffdfb;
}
.uxg-mob-mult__big {
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 800;
  color: var(--coral, #f26b1f);
  line-height: 1;
}
.uxg-mob-mult__sub {
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  font-weight: 700;
  color: #0a1b3d;
}
.uxg-mob-note {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
}
.uxg-mob-foot {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.uxg-mob-foot__ic svg {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.uxg-mob-foot__txt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #0e1119;
}
.uxg-mob-foot__txt strong {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}
.uxg-mob-matters-head {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.uxg-mob-bulb svg {
  display: block;
  width: 32px;
  height: 32px;
}
.uxg-mob-bullets {
  margin: 0 0 12px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 3px solid var(--coral, #f26b1f);
}
.uxg-mob-bullets li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: #0e1119;
  font-weight: 600;
}
.uxg-mob-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  background: var(--coral, #f26b1f);
  border-radius: 1px;
}
.uxg-mob-bullets li:last-child {
  margin-bottom: 0;
}
.uxg-mob-bullets strong {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}
.uxg-mob-matters-lead {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #e8ecf1;
  font-size: clamp(14px, 4vw, 17px);
  font-weight: 600;
  line-height: 1.45;
  color: #0e1119;
}
.uxg-mob-orange {
  color: var(--coral, #f26b1f);
  font-weight: 800;
}

@media (max-width: 860px) {
  .reg-align__header {
    grid-template-columns: 1fr;
  }
  .reg-align__header-art {
    justify-content: center;
  }
  .reg-align__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reg-align__footer {
    grid-template-columns: 1fr;
  }
  .reg-align__ask-panel {
    grid-template-columns: 1fr;
  }
  .reg-align__visible-panel {
    flex-wrap: wrap;
    padding: 8px 0;
  }
  .reg-align__vis-item {
    flex: 1 1 45%;
    min-width: 120px;
    border-right: none;
    border-bottom: 1px solid var(--border, #d6deec);
    padding: 12px 8px;
  }
  .reg-align__vis-item:nth-child(odd) {
    border-right: 1px solid var(--border, #d6deec);
  }
  .reg-align__vis-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .lex-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lex-hero__intro {
    justify-content: center;
  }
  .lex-hero__art {
    order: -1;
  }
  .lex-mid {
    grid-template-columns: 1fr;
  }
  .lex-change__cols {
    grid-template-columns: 1fr;
  }
  .lex-change__col {
    border-right: none;
    border-bottom: 1px solid #dde4ed;
    padding: 14px 10px;
  }
  .lex-change__col:last-child {
    border-bottom: none;
  }
  .lex-takeaway {
    flex-direction: column;
    align-items: flex-start;
  }
  .lex-takeaway__rule {
    display: none;
  }
  .uxg-main {
    grid-template-columns: 1fr;
  }
  .uxg-forecast-split {
    grid-template-columns: 1fr;
  }
  .uxg-matters__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "bulb"
      "list"
      "lead";
    gap: 12px 14px;
  }
  .uxg-matters__col--list {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid rgba(242, 107, 31, 0.35);
    padding-top: 10px;
    margin-top: 4px;
  }
  .uxg-matters__lead {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8ecf1;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.5;
  }

  /* Uber spend lightbox (≤860px): stack Forecast → What happened → Why; no equal-height column overlap. */
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend > .uxg-head {
    order: 1;
    flex-shrink: 0;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend > .uxg-main {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 0;
    align-items: stretch;
    grid-template-columns: unset;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend > .uxg-matters {
    order: 3;
    flex-shrink: 0;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-col--left,
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-col--right {
    width: 100%;
    height: auto !important;
    flex: 0 0 auto;
    min-height: 0;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-col--left {
    order: 1;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-col--right {
    order: 2;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-happen__spacer {
    flex: 0 0 auto;
    min-height: 6px;
  }
}

@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox__close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 20px; }
  .lightbox__stage .mock { width: 100%; }
  /* Case-study lightboxes: inner scroll on phones (Regulation, Live exposure, Uber). */
  .lightbox__stage.lightbox__stage--reg-align .reg-align {
    padding: 20px 16px 22px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    max-height: min(900px, calc(100vh - 72px));
    max-height: min(900px, calc(100dvh - 72px));
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend {
    padding-top: calc(52px + env(safe-area-inset-top, 0px));
    padding-right: 14px;
    padding-bottom: 20px;
    padding-left: 14px;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align.uxg-mob-spend {
    padding-top: calc(52px + env(safe-area-inset-top, 0px));
    padding-right: 14px;
    padding-bottom: 20px;
    padding-left: 14px;
  }
  /* Expected / vs. / Actual: one line on narrow phones */
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-vs-row {
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 6px);
    justify-content: center;
    margin-bottom: 9px;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-vs-box {
    font-size: clamp(7px, 2.1vw, 10px);
    padding: clamp(3px, 1vw, 7px) clamp(4px, 1.6vw, 10px);
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.15;
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-vs-box strong {
    font-size: clamp(9px, 2.75vw, 13px);
  }
  .lightbox__stage.lightbox__stage--reg-align .reg-align--uber-spend .uxg-vs {
    font-size: clamp(7px, 2vw, 10px);
    letter-spacing: 0.06em;
    flex-shrink: 0;
  }
}

/* ------------------------------------------------------------------
   Mobile-only (≤720px): prevent text / control overlap. No rules
   apply above 721px — desktop and wide tablet layouts unchanged.
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .h1,
  .h-display,
  .h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Long mono / citation lines (checkpoint, revops, etc.) */
  p.mono {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Dashboard bullet grid uses inline two columns on larger screens */
  #dashboard ul.bullets {
    grid-template-columns: 1fr !important;
    gap: 10px 16px !important;
  }

  /* Persona / industry pills: nowrap caused horizontal bleed on narrow phones */
  .switcher {
    padding: 18px 14px;
    min-width: 0;
  }
  .switcher__step {
    margin-bottom: 0;
  }
  .switcher a,
  .switcher__opt {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    max-width: 100%;
  }

  .picker-meta {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: 8px;
    align-items: center;
  }

  .match-result__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .match-result__value {
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .kpi-card__value--sm {
    white-space: normal;
  }

  /* Team: single column earlier than the inline 560px snippet */
  #team .team-grid {
    grid-template-columns: 1fr !important;
  }
  #team .team-advisory__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #risk-questions .risk-questions__copy .flex.gap-12,
  #book.cta-strip .flex.gap-12 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  #risk-questions .risk-questions__copy .flex.gap-12 .btn,
  #book.cta-strip .flex.gap-12 .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA headline: allow wrapping instead of single-line ellipsis */
  .cta-strip .cta-strip__title,
  .cta-strip h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.2;
  }
  .cta-strip .cta-strip__trust {
    white-space: normal;
    line-height: 1.45;
    max-width: 100%;
    padding: 0 var(--gutter);
    text-align: center;
  }

  .stat-band__text {
    min-width: 0;
  }
  .foundation-hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .fhpill {
    padding: 22px 16px 24px;
    min-width: 0;
  }

  .dashboard-carousel__chrome {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dashboard-carousel__url {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .nav__inner {
    gap: 12px;
    padding: 12px var(--gutter);
  }
  .nav__drawer .nav__links a {
    overflow-wrap: anywhere;
  }

  #modules .pillar {
    padding: 22px 16px;
    min-width: 0;
  }

  .evidence-card {
    min-width: 0;
  }

  .match-inline,
  .match-block {
    min-width: 0;
  }
}
/* Tokto.ai · layout overlays (single-page, dialogs, responsive nav, desktop-only decor) */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: #1a3a52;
  color: #fff;
  border-radius: 8px;
  z-index: 100000;
  overflow: visible;
  font-weight: 600;
  font-size: 14px;
  outline: 2px solid #ff8c42;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*
 * Page shell: 50px line grid (fixed). Glow layer is document-tall (absolute on body)
 * so different orbs dominate as the user scrolls; see assets/tokto-bg.js (max 6 orbs).
 * Add class `dark` on <html> for dark grid + dual orbs.
 */
body {
  background-color: #ffffff;
  color: var(--text);
}

html.dark body {
  background-color: #141a2e;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0;
  background-repeat: repeat;
}

html.dark body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

body::after {
  content: none !important;
}

html::after {
  content: none !important;
}

/* --- Atmospheric orbs (filled by tokto-bg.js; ≤6, no orange) --- */
#tokto-live-bg-glows.tokto-live-bg-glows {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

@media (min-width: 768px) {
  #tokto-live-bg-glows.tokto-live-bg-glows {
    display: block;
  }
}

.tokto-live-bg__orb {
  position: absolute;
  border-radius: 9999px;
  opacity: var(--tokto-orb-op);
}

html.dark .tokto-live-bg__orb {
  opacity: var(--tokto-orb-op-dark);
}

html.dark .tokto-live-bg__orb--dual {
  background: #141a2e !important;
}

.tokto-live-bg__orb--mix {
  mix-blend-mode: multiply;
}

html.dark .tokto-live-bg__orb--mix {
  mix-blend-mode: screen;
}

/* Pulse timing is set per-orb in JS (random, max 2s). */
@keyframes tokto-pulse {
  50% {
    opacity: 0.5;
  }
}

/* Content landmark (no .page-card shell): stack above body::before */
#main {
  position: relative;
  z-index: 1;
}

#main > * {
  position: relative;
  z-index: 1;
}

/* Transparent header / nav (was opaque + blur in theme) */
.site-header,
.site-header .nav {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

/* Footer band: let grid show through (was solid canvas in theme) */
.footer {
  background: transparent !important;
}

body > *:not(#tokto-live-bg-glows):not(.lightbox):not(dialog):not(#lp-modal) {
  position: relative;
  z-index: 1;
}

html {
  scrollbar-gutter: stable;
}

/* <picture> is structural only; layout stays on the inner <img> (no extra wrapper box). */
picture {
  display: contents;
}

body > dialog.doc-dialog {
  z-index: 100000;
}
/* Do not set position on closed `.doc-dialog` alone — it can override the UA modal box and
   trap the panel in document flow. Only position when :modal / [open]. */
/* When open (native modal or [open] fallback), keep the box in the viewport; without this,
   non-modal [open] or odd stacking can leave the panel off-screen while the page is scroll-locked. */
dialog.doc-dialog:modal,
dialog.doc-dialog[open] {
  position: fixed;
  inset: 0;
  width: min(960px, 96vw);
  max-height: 92vh;
  height: fit-content;
  margin: auto;
  z-index: 100000;
}

body.doc-dialog-open {
  overflow: hidden;
}

body.contact-modal-open {
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 60;
}

.nav__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  margin-left: auto;
}
.nav__menu-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-deep);
  box-shadow: 0 -6px 0 var(--navy-deep), 0 6px 0 var(--navy-deep);
}

.nav__drawer-cta {
  display: none;
  margin-top: 16px;
}

@media (max-width: 880px) {
  /* Nav lives as first child inside #main; siblings share z-index:1 so later sections paint over
     an absolutely positioned drawer. Raise header + use fixed drawer when open so menu sits on top. */
  main#main > .site-header {
    position: relative;
    z-index: 10050;
  }
  .nav__menu-btn {
    display: inline-flex;
  }
  .nav__cta-desktop {
    display: none !important;
  }
  .nav__drawer {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    padding: 16px var(--gutter) 20px;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(242, 107, 31, 0.35);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 33, 56, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__drawer.is-open {
    display: flex;
    position: fixed;
    left: max(12px, var(--gutter));
    right: max(12px, var(--gutter));
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    margin-top: 0;
    max-height: min(560px, calc(100dvh - 88px));
    max-height: min(560px, calc(100vh - 88px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10060;
    box-shadow: 0 24px 64px rgba(14, 17, 25, 0.22);
  }
  .nav__drawer .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav__drawer .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--coral, #f26b1f);
  }
  .nav__drawer .nav__links a:last-child {
    border-bottom: none;
  }
  .nav__drawer-cta {
    display: block;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--coral, #f26b1f);
  }
  .nav__spacer--desktop {
    display: none;
  }
}

@media (min-width: 881px) {
  .nav__drawer {
    display: contents;
  }
  .nav__drawer .nav__links {
    display: flex;
  }
  .nav__drawer-cta {
    display: none !important;
  }
}

.doc-dialog {
  width: min(960px, 96vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: 0 24px 80px rgba(14, 17, 25, 0.25);
  background: var(--white);
  color: var(--text);
}
.doc-dialog::backdrop {
  background: rgba(14, 17, 25, 0.45);
  backdrop-filter: blur(4px);
}
.doc-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-deep);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(14, 17, 25, 0.08);
}
.doc-dialog__close:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.doc-dialog__scroller {
  position: relative;
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.doc-dialog__body {
  padding: 16px var(--gutter) 40px;
}
.doc-dialog__body .section:first-child {
  padding-top: 40px;
}
.doc-dialog__loading {
  padding: 32px 0;
  text-align: center;
  color: var(--text-3);
}

.doc-dialog__body .match-inline--dialog {
  padding: 8px 0 24px;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Role × industry popup: main title matches home section .h1; ink reads as brand blue */
.doc-dialog__body .match-inline--dialog .match-block__h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--navy);
  max-width: none;
}
.doc-dialog__body .match-inline--dialog .match-block__h1 em {
  font-weight: 600;
}
.doc-dialog__body .match-inline--dialog .match-block__h2 {
  color: var(--navy-soft);
}
.doc-dialog__body .match-inline--dialog .match-block__h2 em {
  color: var(--navy);
  font-weight: 500;
}
.doc-dialog__body .match-inline--dialog .match-block__horror p {
  color: var(--navy);
}
.doc-dialog__body .match-inline--dialog .match-block__section p {
  color: var(--navy);
}
.doc-dialog__body .match-inline--dialog .match-block__section--wrong .match-block__bullets li {
  color: var(--navy);
}
.doc-dialog__body .match-inline--dialog .match-block__section--wrong .match-block__bullets li::before {
  background: var(--navy);
}
.doc-dialog__body .match-inline--dialog .match-block__lead {
  color: var(--navy-soft);
}
@media (max-width: 880px) {
  .doc-dialog__body .match-inline--dialog .match-block__h1 {
    font-size: clamp(28px, 5.2vw, 40px);
  }
}

.risk-questions__figure img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--sky-soft);
  border-radius: 12px;
}

@media (max-width: 880px) {
  section#platform .container div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Brand logotype (nav + footer): /assets/logo.png */
.tokto-logotype {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(220px, 52vw);
}
@media (min-width: 768px) {
  .tokto-logotype {
    height: 40px;
  }
}
.footer__brand-row .tokto-logotype {
  height: 26px;
  max-width: min(200px, 70vw);
}
@media (min-width: 768px) {
  .footer__brand-row .tokto-logotype {
    height: 34px;
  }
}
.nav__brand {
  gap: 0;
}
.nav__brand .tokto-logotype {
  margin: 0;
}

/* AISOR brief (dialog fragment): two-column body copy on wide; stack in narrow popup. */
.ai-sor-two-col-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.ai-sor-two-col-prose--tight-top {
  margin-top: 24px;
}

@media (max-width: 720px) {
  .doc-dialog__body {
    padding: 12px 14px 32px;
  }
  .doc-dialog__close {
    top: 8px;
    right: 8px;
  }
  /* Tokto AISOR popup only: full-width paragraphs (avoid short line lengths). */
  .doc-dialog__body .ai-sor-two-col-prose {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* AISOR popup: white-bordered cards / KPIs — one column, vertical rhythm (no side-by-side). */
  .doc-dialog__body .kpi-row--boxed {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .doc-dialog__body .pillars {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .doc-dialog__body .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .doc-dialog__body ul.bullets[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 10px !important;
    max-width: 100% !important;
  }
}

/* === bundled from contact-modal.css === */
/* Contact Us modal — layout + theme alignment (site.css tokens, .btn--primary submit). */
.contact-modal {
  /* Never use position: relative here — it overrides the UA top layer and pins the dialog to
     document flow, so when scroll is preserved the panel sits off-screen (e.g. top of document). */
  width: min(550px, calc(100vw - 2rem));
  max-height: 90vh;
  padding: 0;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--r-card, 12px);
  background: var(--white, #fff);
  color: var(--text, #374151);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-direction: column;
  box-sizing: border-box;
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Viewport-centered while open (same pattern as dialog.doc-dialog in site.css). */
dialog.contact-modal:modal,
dialog.contact-modal[open] {
  position: fixed;
  inset: 0;
  width: min(550px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: 90vh;
  height: fit-content;
  margin: auto;
  z-index: 100001;
  display: flex;
}

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--r-pill, 9999px);
  background: transparent;
  color: var(--navy, #1e3a5f);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.contact-modal__close:hover {
  background: var(--sky-soft, #e8f4fc);
  color: var(--coral, #F26B1F);
}

.contact-modal__head {
  position: relative;
  flex-shrink: 0;
  padding: 1.25rem 1.5rem;
  background: var(--white, #fff);
  color: var(--navy-deep, #0e1119);
  border-bottom: 2px solid var(--coral, #f26b1f);
}

.contact-modal__head-inner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-right: 2.75rem;
}

.contact-modal__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-card, 10px);
  background: var(--sky-soft, #e8f4fc);
  border: 1px solid var(--border, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: var(--coral, #F26B1F);
  fill: none;
}

.contact-modal__title {
  margin: 0;
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-deep, #0e1119);
}

.contact-modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-modal__field label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy, #1e3a5f);
  margin-bottom: 0.3rem;
}

.contact-modal__field label .req {
  color: var(--coral, #F26B1F);
}

.contact-modal__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.contact-modal__country-wrap {
  /* Closed label is only +XX — keep column narrow so the number field is not squeezed. */
  width: 5.25rem;
  min-width: 4.5rem;
  max-width: 6rem;
  flex-shrink: 0;
}

.contact-modal__country-select {
  width: 100%;
  max-width: 100%;
}

/* Mobile: stack country code and number (native select + input, no overlay tricks). */
@media (max-width: 640px) {
  .contact-modal__row.contact-modal__row--phone {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .contact-modal__country-wrap {
    width: 100%;
    max-width: 100%;
  }
}

.contact-modal__row input {
  flex: 1;
  min-width: 0;
}

.contact-modal input,
.contact-modal select {
  font: inherit;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.35;
  padding: 0.4rem 0.6rem;
  min-height: 0;
  border: 1px solid var(--border, #d1d5db);
  border-radius: var(--r-card, 8px);
  background: var(--white, #fff);
  color: var(--text, #111827);
  box-sizing: border-box;
}

.contact-modal input:focus,
.contact-modal select:focus {
  outline: 2px solid rgba(242, 107, 31, 0.35);
  outline-offset: 0;
  border-color: var(--coral, #f26b1f);
}

.contact-modal__hint {
  font-size: 0.75rem;
  color: var(--text-3, #6b7280);
  margin-top: 0.25rem;
}

.contact-modal__alert {
  padding: 0.85rem;
  border-radius: var(--r-card, 8px);
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.8125rem;
  color: #92400e;
}

.contact-modal__alert a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--coral, #f26b1f);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-pill, 9999px);
}

.contact-modal__alert a:hover {
  background: var(--coral-deep, #c8521a);
}

.contact-modal__success {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-modal__success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4ade80, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-modal__success-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.contact-modal__success h4 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy-deep, #0e1119);
}

.contact-modal__success p {
  margin: 0 0 1.25rem;
  color: var(--text-2, #4b5563);
}

/* Full-width primary CTA — uses .btn.btn--primary from site.css */
.contact-modal__submit {
  width: 100%;
  margin-top: 0.35rem;
  justify-content: center;
  box-sizing: border-box;
}

.contact-modal__submit:disabled {
  transform: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-modal__submit .spin {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-modal-spin 0.85s linear infinite;
}

@keyframes contact-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-modal__btn-secondary {
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  border-radius: var(--r-pill, 9999px);
  border: 1px solid var(--border, #d1d5db);
  background: var(--white, #fff);
  cursor: pointer;
  color: var(--navy, #1e3a5f);
}

.contact-modal__btn-secondary:hover {
  background: var(--sky-soft, #e8f4fc);
  border-color: var(--navy, #1e3a5f);
}

html.dark .contact-modal {
  background: #141a2e;
  color: #e5e7eb;
  border-color: #2d3a52;
}

html.dark .contact-modal__head {
  background: #141a2e;
  color: #f3f4f6;
  border-bottom-color: var(--coral, #f26b1f);
}

html.dark .contact-modal__title {
  color: #fff;
}

html.dark .contact-modal__close {
  color: #e5e7eb;
}

html.dark .contact-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--coral, #F26B1F);
}

html.dark .contact-modal__icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 107, 31, 0.35);
}

html.dark .contact-modal__icon svg {
  stroke: var(--coral, #f26b1f);
}

html.dark .contact-modal__field label {
  color: #e5e7eb;
}

html.dark .contact-modal input,
html.dark .contact-modal select {
  background: #1a2332;
  border-color: #374151;
  color: #f3f4f6;
}

html.dark .contact-modal__success h4 {
  color: #fff;
}

html.dark .contact-modal__alert {
  background: rgba(113, 63, 18, 0.25);
  border-color: #92400e;
  color: #fde68a;
}

@media (max-width: 720px) {
  .contact-modal__head-inner {
    min-width: 0;
    align-items: flex-start;
  }
  .contact-modal__title {
    overflow-wrap: anywhere;
  }
  .contact-modal__body {
    padding: 1rem 1rem 1.25rem;
  }
  .contact-modal__row {
    min-width: 0;
  }
}

/* === bundled from legal-pages.css === */
/* Standalone License + /view/* file browser — bright mode (matches tokto.ai React pages) */
:root {
  --lp-navy: #143e66;
  --lp-navy-ink: #1a3a52;
  --lp-coral: #F26B1F;
  --lp-blue-600: #2563eb;
  --lp-blue-700: #1d4ed8;
  --lp-gray-700: #374151;
  --lp-gray-600: #4b5563;
  --lp-gray-200: #e5e7eb;
  --lp-gray-100: #f3f4f6;
  --lp-blue-50: #eff6ff;
  --lp-blue-900: #1e3a8a;
  --lp-border-blue: #60a5fa;
}

/* Body background + grid + glows come from site.css (design system + layout, same as homepage). */
.lp-page {
  min-height: 100vh;
  color: var(--lp-navy);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.lp-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
@media (min-width: 640px) {
  .lp-inner {
    padding: 1.5rem 1.5rem 3rem;
  }
}

.lp-inner--wide {
  max-width: 72rem;
}

.lp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Back control: use .btn.btn--ghost from site.css (same as homepage “Read the AISOR brief”) */
.lp-back.btn {
  text-decoration: none;
  align-self: flex-start;
}
.lp-back.btn:hover {
  text-decoration: none;
}
.lp-back__short {
  display: inline;
}
.lp-back__long {
  display: none;
}
@media (min-width: 640px) {
  .lp-back__short {
    display: none;
  }
  .lp-back__long {
    display: inline;
  }
}

.lp-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lp-prose {
  max-width: none;
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  .lp-prose {
    font-size: 1.125rem;
  }
}

.lp-h1 {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--lp-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .lp-h1 {
    font-size: 2.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
  }
}

.lp-h1__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: inherit;
}

.lp-logo--title {
  height: 1.5rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}
@media (min-width: 768px) {
  .lp-logo--title {
    height: 1.75rem;
  }
}

.lp-logo--inline {
  height: 0.625rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.25rem;
}
@media (min-width: 768px) {
  .lp-logo--inline {
    height: 0.75rem;
  }
}

.lp-logo--section {
  height: 0.875rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.25rem;
}
@media (min-width: 768px) {
  .lp-logo--section {
    height: 1rem;
  }
}

.lp-lead {
  color: var(--lp-gray-700);
  margin: 0 0 1.5rem;
}

.lp-callout {
  background: var(--lp-blue-50);
  border-left: 4px solid var(--lp-border-blue);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 0.25rem 0.25rem 0;
}
.lp-callout p {
  margin: 0;
  color: var(--lp-blue-900);
}

.lp-hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #d1d5db;
}

.lp-h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--lp-navy);
}

.lp-h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--lp-navy);
  line-height: 1.35;
}

.lp-subhead {
  font-size: 1.125rem;
  color: var(--lp-gray-600);
  margin: -0.25rem 0 1.75rem;
  line-height: 1.5;
}

.faq-group .faq-item {
  margin-bottom: 1rem;
}

.faq-group .faq-item:last-child {
  margin-bottom: 0;
}

.faq-a strong {
  color: var(--lp-navy-ink);
}

/* FAQ (/faq/) — grouped cards, Q icons, compact answers */
.faq-group {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--lp-gray-200);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(26, 58, 82, 0.06);
}

.faq-group .faq-group__heading {
  margin-top: 0;
  margin-bottom: 1rem;
}

.faq-section__role {
  color: var(--coral);
  font-weight: 700;
}

.faq-group__title-sep {
  font-weight: 600;
  color: var(--lp-navy);
}

.faq-group__title-tail {
  font-weight: 600;
  color: var(--lp-navy);
}

.faq-q-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.faq-q-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--coral);
  line-height: 0;
}

.faq-q-icon svg {
  display: block;
}

.faq-q-row .lp-h3 {
  flex: 1 1 auto;
  margin-top: 0;
  margin-bottom: 0.35rem;
  min-width: 0;
}

.faq-item .faq-a {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-left: calc(22px + 0.65rem);
}

@media (min-width: 768px) {
  .faq-item .faq-a {
    font-size: 0.875rem;
  }
}

/* FAQ — final executive summary: title on its own line; plain “Tokto” (no logotype) */
.faq-exec-summary__head {
  display: block;
  margin-bottom: 0.5rem;
}

/* FAQ page — sources block (no hr above; smaller type; coral links) */
.faq-sources {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--lp-gray-600);
}
.faq-sources__title {
  margin: 0 0 0.4rem;
  font-size: inherit;
  color: var(--lp-gray-700);
}
.faq-sources__list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: inherit;
}
.faq-sources .lp-link,
.faq-sources .lp-linkbtn {
  color: var(--coral);
}
.faq-sources .lp-link:hover,
.faq-sources .lp-linkbtn:hover {
  color: var(--coral-deep);
}

.lp-p {
  color: var(--lp-gray-700);
  margin: 0 0 1rem;
}

.lp-ul {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  color: var(--lp-gray-700);
  list-style-type: disc;
}
.lp-ul li {
  margin-bottom: 0.5rem;
}
.lp-ul--loose {
  list-style-position: outside;
}
@media (min-width: 768px) {
  .lp-ul--loose {
    list-style-position: inside;
    padding-left: 1rem;
  }
}

.lp-li-flex {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .lp-li-flex {
    justify-content: flex-start;
  }
}

.lp-link,
.lp-linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--lp-blue-600);
  text-align: center;
  text-decoration: none;
  word-break: break-word;
}
@media (min-width: 768px) {
  .lp-link,
  .lp-linkbtn {
    text-align: left;
  }
}
.lp-link:hover,
.lp-linkbtn:hover {
  color: var(--lp-blue-700);
  text-decoration: underline;
}

.lp-code {
  background: var(--lp-gray-100);
  border: 1px solid #d1d5db;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* File viewer directory page */
.lp-fv-header h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--lp-navy);
  text-align: center;
}
@media (min-width: 768px) {
  .lp-fv-header h1 {
    font-size: 2.25rem;
    text-align: left;
  }
}
.lp-fv-header p {
  margin: 0;
  color: var(--lp-gray-700);
  text-align: center;
}
@media (min-width: 768px) {
  .lp-fv-header p {
    text-align: left;
  }
}

.lp-fv-grid {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .lp-fv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 1.25rem;
  }
}

.lp-fv-card {
  background: #fff;
  border: 1px solid var(--lp-gray-200);
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}
.lp-fv-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 140, 66, 0.5);
}

.lp-fv-card__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-width: 0;
}

.lp-fv-card__main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(100% - 56px);
}

.lp-fv-fileicon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lp-coral);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.lp-fv-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-navy);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 768px) {
  .lp-fv-card h3 {
    font-size: 1rem;
  }
}

.lp-fv-card .lp-fv-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--lp-gray-600);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 768px) {
  .lp-fv-card .lp-fv-meta {
    font-size: 0.875rem;
  }
}

.lp-fv-dl {
  flex: 0 0 auto;
  padding: 0.35rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--lp-gray-700);
}
.lp-fv-dl:hover {
  background: #eff6ff;
}

.lp-loading {
  text-align: center;
  padding: 3rem 1rem;
}
.lp-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--lp-gray-200);
  border-top-color: var(--lp-coral);
  border-radius: 50%;
  animation: lp-spin 0.8s linear infinite;
}
@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}

.lp-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  color: #7f1d1d;
}

.lp-empty {
  background: var(--lp-blue-50);
  border-left: 4px solid var(--lp-border-blue);
  padding: 1.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  color: var(--lp-blue-900);
}

/* Modal */
.lp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lp-modal-backdrop[hidden] {
  display: none;
}

.lp-modal {
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.lp-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--lp-gray-200);
  flex-shrink: 0;
  min-width: 0;
}

.lp-modal__titleblock {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 0;
  min-width: 0;
}

.lp-modal__titleblock svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lp-coral);
  flex-shrink: 0;
}

.lp-modal__titleblock h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-modal__titleblock p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--lp-gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lp-modal__iconbtn {
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  color: var(--lp-gray-600);
}
.lp-modal__iconbtn:hover {
  background: var(--lp-gray-100);
}

.lp-modal__body {
  padding: 1.5rem;
  overflow: auto;
  max-height: calc(90vh - 5rem);
}

.lp-modal__pre {
  white-space: pre-wrap;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--lp-gray-100);
  border: 1px solid var(--lp-gray-200);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0;
}

/* Mobile-only: modal header + titles must not collide (≤720px). */
@media (max-width: 720px) {
  .lp-modal__head {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-modal__actions {
    justify-content: flex-end;
  }
  .lp-modal__titleblock h2,
  .lp-modal__titleblock p {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .lp-topbar {
    flex-wrap: wrap;
  }
}

.lp-modal__pre--sans {
  font-family: inherit;
}

