/* =====================================================================
   ETS PRESTIGE LAYER (2026-09-26d) — TOKENIZED SYSTEM LAYER
   Loaded AFTER styles.css. Direction: "precision instrument".
   Fraunces (headings) / Inter (body) / JetBrains Mono (specs),
   blueprint textures, hairline rules, restrained teal.

   One spacing scale, one button system, one card system, one heading
   scale — every section reads from the tokens below. Remove the
   <link> in header.php to revert.
   ===================================================================== */

:root {
  /* Typography */
  --font-family-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Color */
  --ink: #0a1220;
  --ink-2: #111c2e;
  --teal: #00b3a6;
  --teal-deep: #007c89;
  --teal-mid: #0e9f95;
  --hair: rgba(148, 163, 184, 0.18);
  --hair-dark: rgba(15, 23, 42, 0.08);
  --ets-card-border: rgba(15, 23, 42, 0.09);
  --ets-card-bg: #ffffff;
  --ets-tint: #f7f9fb;
  --ets-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- SPACING SCALE (the only scale) --- */
  --space-section: clamp(4.5rem, 8vw, 6.5rem);  /* vertical rhythm between major sections */
  --space-block: 2rem;                          /* heading -> content, stacked blocks */
  --space-card: clamp(1.5rem, 2vw, 1.75rem);    /* card inner padding */
  --space-card-gap: 1.25rem;                    /* grid gap between cards */

  /* --- RADII --- */
  --radius-card: 16px;
  --radius-inner: 12px;
  --radius-pill: 999px;

  /* --- BUTTONS --- */
  --btn-height-sm: 40px;
  --btn-height-md: 46px;
  --btn-height-lg: 54px;
  --btn-px-sm: 1.15rem;
  --btn-px-md: 1.5rem;
  --btn-px-lg: 2rem;
  --btn-grad: linear-gradient(180deg, #14c4b6 0%, #008f9c 100%);
  --btn-gap: 0.75rem;                           /* gap inside every button group */

  /* --- LAYOUT --- */
  --maxw-content: 72rem;

  /* --- TYPE SCALE --- */
  --h2-size: clamp(1.9rem, 3.2vw, 2.75rem);          /* standard section title */
  --h2-size-band: clamp(2.1rem, 4vw, 3.25rem);       /* dark feature-band title */
  --h1-inner: clamp(2.1rem, 3.6vw, 3rem);            /* inner page H1 */
  --lede-size: 1.08rem;

  /* --- FOCUS --- */
  --focus-ring-color: #0e9f95;
}

body { font-family: var(--font-family-base); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 {
  font-family: var(--font-family-heading);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}
main h2 { font-weight: 600; line-height: 1.12; }

/* =====================================================================
   1. FOCUS DISCIPLINE — ring only for keyboard users
   ===================================================================== */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 2px;
  border-radius: 4px;
}
/* accessibility.js adds .keyboard-focus on keydown and clears on blur —
   make it identical to :focus-visible */
.keyboard-focus {
  outline: 2px solid var(--focus-ring-color) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
/* Kill legacy persistent mouse-focus artifacts */
a:focus:not(:focus-visible) { text-decoration: none; }
.nav-link:focus:not(:focus-visible) { color: var(--color-text); }
.nav-link:focus:not(:focus-visible)::after { width: 0; }
.dropdown-menu a:focus:not(:focus-visible) { background: transparent; color: var(--color-text); }
.submenu-toggle:focus:not(:focus-visible) { outline: none; }

/* =====================================================================
   2. ONE BUTTON SYSTEM
   Sizes: sm 40px / md 46px / lg 54px. Shapes: pill. One primary, one
   outline, one ghost, one quiet. Groups always gap: var(--btn-gap).
   ===================================================================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost,
.btn-cta,
.btn-price,
.hero-cta,
.chatets-hero .btn-ghost,
.mk-index-cta .btn,
.dr-intake-form button.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height-md);
  padding: 0 var(--btn-px-md);
  border-radius: var(--radius-pill);
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  overflow: visible;
  transition: transform 0.22s var(--ets-ease-out), box-shadow 0.22s var(--ets-ease-out),
              background 0.22s, border-color 0.22s, color 0.22s;
}
.btn::after { content: none; } /* legacy ripple — removed */

.btn-sm { height: var(--btn-height-sm); padding: 0 var(--btn-px-sm); font-size: 0.875rem; }
.btn-lg,
.btn-cta,
.btn-price,
.hero-cta,
.mk-index-cta .btn,
.dr-intake-form button.btn-cta { height: var(--btn-height-lg); padding: 0 var(--btn-px-lg); font-size: 1rem; }

/* Primary — the one filled action */
.btn-primary,
.btn-cta,
.btn-price,
.hero-cta,
.mk-index-cta .btn,
.dr-intake-form button.btn-cta {
  background: var(--btn-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -8px rgba(0, 179, 166, 0.55);
}
.btn-primary:hover,
.btn-cta:hover,
.btn-price:hover,
.hero-cta:hover,
.mk-index-cta .btn:hover,
.dr-intake-form button.btn-cta:hover {
  color: #fff;
  background: linear-gradient(180deg, #1fd0c2 0%, #009aa8 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 32px -10px rgba(0, 179, 166, 0.7);
}
.btn-primary:active,
.btn-cta:active,
.hero-cta:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 18px -8px rgba(0,179,166,.5); }

/* Outline — secondary action on light surfaces */
.btn-outline {
  background: transparent;
  color: var(--ink-2);
  border-color: rgba(15, 23, 42, 0.28);
  box-shadow: none;
}
.btn-outline:hover,
.btn-outline:focus {
  background: #fff;
  color: var(--teal-deep);
  border-color: rgba(0, 124, 137, 0.55);
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}
.pricing-cta .btn-outline { border-color: rgba(15, 23, 42, 0.28); }
/* Outline on dark bands */
.hero .btn-outline,
.cx .btn-outline,
.legacy .btn-outline {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.28);
  backdrop-filter: blur(6px);
}
.hero .btn-outline:hover,
.cx .btn-outline:hover,
.legacy .btn-outline:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
.academy .btn-outline { border-color: rgba(15, 23, 42, 0.3); color: var(--ink-2); background: transparent; }

/* Secondary — quiet bordered */
.btn-secondary {
  background: #fff;
  color: var(--ink-2);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: var(--teal-deep);
  border-color: rgba(0, 124, 137, 0.55);
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

/* Ghost — tertiary, hairline */
.btn-ghost,
.chatets-hero .btn-ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: none;
}
.btn-ghost:hover,
.chatets-hero .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
  box-shadow: none;
}
.cx .btn-ghost { color: #e2e8f0; border-color: rgba(226, 232, 240, 0.25); }
.cx .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.05); }

/* Product-page one-offs normalized */
.chatets-splash-hero .hero-cta {
  background: var(--btn-grad); color: #fff; border-radius: var(--radius-pill);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(0,179,166,.55);
}
.chatets-splash-hero .hero-cta:hover { background: linear-gradient(180deg, #1fd0c2 0%, #009aa8 100%); box-shadow: 0 14px 32px -10px rgba(0,179,166,.7); }
.eb-hero .hero-cta { background: var(--btn-grad); color: #fff; }
.eb-hero .hero-cta:hover { background: linear-gradient(180deg, #1fd0c2 0%, #009aa8 100%); box-shadow: 0 14px 32px -10px rgba(0,179,166,.7); }

/* Kill legacy persistent mouse-focus restyles on buttons */
.btn:focus:not(:focus-visible),
.btn-primary:focus:not(:focus-visible),
.btn-secondary:focus:not(:focus-visible),
.btn-outline:focus:not(:focus-visible),
.btn-ghost:focus:not(:focus-visible) { transform: none; outline: none; }
.btn-secondary:focus:not(:focus-visible),
.btn-outline:focus:not(:focus-visible),
.btn-ghost:focus:not(:focus-visible) { background: transparent; color: inherit; box-shadow: none; }
.btn-primary:focus:not(:focus-visible) { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(0,179,166,.55); }

/* Button groups: one gap everywhere */
.hero-actions,
.chatets-actions,
.rx-jump,
.ac-foot,
.form-actions,
.insights-teaser-links,
.suite-ladder-cta,
.services-highlight-cta,
.exit-intent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--btn-gap);
}
.registration-form .form-actions .btn { white-space: nowrap; }
#registration-form { scroll-margin-top: 110px; }

/* =====================================================================
   3. ONE CARD SYSTEM
   radius 16, hairline border, soft two-layer shadow, gentle hover.
   ===================================================================== */
.card,
.suite-card,
.suite-ladder,
.mk-index-card,
.mk-index-svc .row,
.product-family-card,
.market-home-card,
.services-highlight-item {
  border-radius: var(--radius-card);
  border: 1px solid var(--ets-card-border);
  background: var(--ets-card-bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -24px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s var(--ets-ease-out), box-shadow 0.35s var(--ets-ease-out), border-color 0.35s;
}
.card { padding: var(--space-card); height: 100%; }
.card::after { content: none; } /* legacy gradient bar — removed */
.card h2::after,
.card h3::after { content: none; } /* legacy 50px underline — removed */
.card:hover,
.suite-card:hover,
.mk-index-card:hover,
.product-family-card:hover,
.market-home-card:hover,
.services-highlight-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 124, 137, 0.35);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.28);
}
.card h2, .card h3 { margin-top: 0; padding-bottom: 0; letter-spacing: -0.01em; }
.card > .btn, .card > .btn-cta { margin-top: var(--space-block); }
.services-grid--homepage .grid-column > .card,
.news-events .grid-column > .card { height: auto; }

/* Cards that were ad-hoc radii — pull onto the token */
.suite-card { padding: var(--space-card); }
.suite-ladder { border-radius: var(--radius-card); }
.market-home-card { border-top-width: 1px; position: relative; overflow: hidden; }
.market-home-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: currentColor; opacity: 0; }

/* =====================================================================
   4. SECTION RHYTHM + HEADINGS + EYEBROWS
   ===================================================================== */
main.main-content > section:not(.hero):not(.chatets-hero):not(.mk-index-hero):not(.eb-hero):not(.chatets-splash-hero):not(.seminar-hero) {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
main.main-content > section.hero,
main.main-content > section.chatets-hero { padding-top: var(--space-section); padding-bottom: var(--space-section); }

/* Standard section title — one clamp everywhere */
main.main-content h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
}
main.main-content > section > .container > h2 { margin: 0 0 var(--space-block); }
main.main-content > section > .container > h2:not([style]) { text-align: left; }

/* Dark feature bands get the larger band scale */
.why-cad-lies.ledger h2, .legacy h2, .mk-index-cta h2, .cx h2 { font-size: var(--h2-size-band); }

/* Inner-page H1 */
.page-header h1, .page-content h1 {
  font-family: var(--font-family-heading);
  font-size: var(--h1-inner);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

/* Lede paragraphs */
.lead, main.main-content > section > .container > p:not([class]) {
  color: #475569;
  font-size: var(--lede-size);
  line-height: 1.7;
}

/* Eyebrows: mono, spaced, one treatment */
.ets-eyebrow, .ledger-eyebrow, .services-highlight-kicker,
.pf-eyebrow, .mh-eyebrow, .suite-status, .ac-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ets-eyebrow { color: var(--teal-mid); margin: 0 0 1rem; }
.cx .ets-eyebrow, .legacy .ets-eyebrow { color: #5eead4; }
.services-highlight-kicker { color: var(--teal-mid); margin: 0 0 0.75rem; }
.pf-eyebrow, .mh-eyebrow { letter-spacing: 0.12em; }
.step-number { font-family: var(--font-mono); }

/* =====================================================================
   5. HERO (live markup: .hero-intro + .hero-columns)
   ===================================================================== */
.hero {
  padding: var(--space-section) 0;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(0, 179, 166, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(0, 124, 137, 0.14), transparent 60%),
    linear-gradient(180deg, #07101d 0%, #0b1627 55%, #0a1422 100%);
}
.hero::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 179, 166, 0.55), transparent);
}
.hero .container { display: block; }
.hero-intro { max-width: 60rem; margin: 0 auto 3rem; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #7ee8df; margin: 0 0 1.25rem; padding: 0.45rem 0.9rem;
  border: 1px solid rgba(0, 179, 166, 0.35); border-radius: var(--radius-pill); background: rgba(0, 179, 166, 0.08);
}
.hero-intro .hero-eyebrow { align-self: center; margin-left: auto; margin-right: auto; }
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0, 179, 166, 0.7); animation: etsPulse 2.4s infinite; }
@keyframes etsPulse { 0% { box-shadow: 0 0 0 0 rgba(0,179,166,.6); } 70% { box-shadow: 0 0 0 10px rgba(0,179,166,0); } 100% { box-shadow: 0 0 0 0 rgba(0,179,166,0); } }
.hero-intro h1 {
  font-family: var(--font-family-heading); font-weight: 600;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1.04; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 1.25rem;
}
.hero-intro h1 span.highlight {
  background: linear-gradient(90deg, #5eead4, #7dd3fc 50%, #5eead4); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-style: italic; font-weight: 500;
}
.hero-subhead { color: #b8c4d4 !important; font-size: clamp(1.02rem, 1.2vw, 1.15rem) !important; line-height: 1.7 !important; max-width: 46rem; }
.hero-intro .hero-subhead { margin: 0 auto; }
.hero-subhead em { color: #e6edf5; font-style: italic; }
.hero-columns { gap: clamp(2rem, 4vw, 3.5rem); }
.hero-content h1 { letter-spacing: -0.03em; }
.hero-event-details {
  font-family: var(--font-mono); font-size: 0.8rem !important; letter-spacing: 0.02em; color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03) !important; border: 1px solid var(--hair) !important;
  border-left: 2px solid var(--teal) !important; border-radius: var(--radius-inner) !important; padding: 0.9rem 1.1rem !important;
}
.hero-event-details strong { color: #fff; }
.hero-event-sep { color: rgba(0, 179, 166, 0.7); }
.trust-bar { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 1.1rem 0; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.trust-number { font-family: var(--font-mono) !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important; }
.trust-label { font-family: var(--font-mono); font-size: 0.68rem !important; letter-spacing: 0.14em !important; color: #7f8ea3 !important; }
.trust-divider { background: var(--hair) !important; }
.hero-media { position: relative; }
.hero-video, .hero-concept-car {
  border-radius: var(--radius-card) !important; border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.02), 0 0 60px -10px rgba(0, 179, 166, 0.25) !important;
}
.hero-media-caption { font-family: var(--font-mono); font-size: 0.7rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7a90 !important; margin-top: 1rem !important; text-align: left !important; }

/* =====================================================================
   6. THE FAILURE LEDGER
   ===================================================================== */
.why-cad-lies.ledger {
  position: relative; overflow: hidden; border: 0; margin: 0;
  padding: var(--space-section) 0;
  color: #e2e8f0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(225, 29, 72, 0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(0, 179, 166, 0.10), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #0d1726 100%);
}
.why-cad-lies.ledger::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.ledger .container { position: relative; }
.ledger-head { max-width: 46rem; margin-bottom: 2.75rem; }
.ledger-eyebrow { color: #fb7185; margin: 0 0 1rem; }
.why-cad-lies.ledger h2 { color: #fff; margin: 0 0 1rem; }
.why-cad-lies.ledger .ledger-lede { color: #94a3b8; font-size: 1.1rem; line-height: 1.75; margin: 0; }
.ledger-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ledger-row {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1.4fr) minmax(0, 1.3fr) auto;
  align-items: center; gap: 1.5rem; padding: 1.4rem 0.5rem;
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s var(--ets-ease-out);
}
.ledger-row:hover { background: rgba(255, 255, 255, 0.025); }
.ledger-idx { font-family: var(--font-mono); font-size: 0.8rem; color: #475569; }
.ledger-what h3 { font-family: var(--font-family-heading); font-size: 1.3rem; font-weight: 500; color: #f8fafc; margin: 0 0 0.2rem; letter-spacing: -0.01em; }
.why-cad-lies.ledger .ledger-what p { font-size: 0.92rem; color: #8392a7; margin: 0; line-height: 1.5; }
.ledger-cost { display: flex; flex-direction: column; gap: 0.55rem; }
.ledger-range { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: #fda4af; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ledger-bar { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.ledger-bar i {
  position: absolute; top: 0; bottom: 0; border-radius: 4px;
  left: calc(var(--lo) * 100%); width: calc((var(--hi) - var(--lo)) * 100%);
  background: linear-gradient(90deg, #f43f5e, #fb923c);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ets-ease-out);
}
.ledger-row.is-in .ledger-bar i, .no-js .ledger-bar i { transform: scaleX(1); }
.ledger-caught {
  display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #5eead4; padding: 0.45rem 0.8rem; border: 1px solid rgba(94, 234, 212, 0.3); border-radius: var(--radius-pill); background: rgba(0, 179, 166, 0.08);
}
.ledger-caught::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.ledger-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.ledger-total { display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; row-gap: 0.2rem; align-items: baseline; }
.ledger-total-label { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #64748b; }
.ledger-total-num { font-family: var(--font-family-heading); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ledger-total-note { color: #94a3b8; font-size: 0.95rem; max-width: 26rem; line-height: 1.55; }
@media (max-width: 860px) {
  .ledger-row { grid-template-columns: 2.2rem 1fr; gap: 0.9rem 1rem; }
  .ledger-cost { grid-column: 2; }
  .ledger-caught { grid-column: 2; justify-self: start; }
  .ledger-total { grid-template-columns: 1fr; }
}

/* =====================================================================
   7. PRODUCTS + MARKETS HOME GRIDS
   ===================================================================== */
.products-home h2, .markets-home h2 { max-width: 40rem; margin-left: auto; margin-right: auto; }
.products-home.suite h2 { margin-bottom: 1rem; }
.suite-head { max-width: 52rem; margin: 0 auto 3rem; text-align: center; }
.suite-head > p:last-child { color: #475569; font-size: var(--lede-size); line-height: 1.75; margin: 0; }
.suite { background: #fff; }
.suite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-card-gap); }
.suite-card { display: flex; flex-direction: column; background: linear-gradient(180deg, #fff, #fbfcfd); }
.suite-card:last-child { background: #0a1220; border-color: #0a1220; color: #cbd5e1; }
.suite-card:last-child h3 { color: #fff; }
.suite-card:last-child .suite-line, .suite-card:last-child li { color: #94a3b8; }
.suite-card:last-child .suite-cta { color: #5eead4; }
.suite-status { align-self: flex-start; font-size: 0.64rem; color: #64748b; padding: 0.35rem 0.65rem; border: 1px solid rgba(100, 116, 139, 0.3); border-radius: var(--radius-pill); margin-bottom: 1.1rem; }
.suite-status.is-live { color: #0f766e; border-color: rgba(15, 118, 110, 0.35); background: rgba(20, 184, 166, 0.08); }
.suite-card:last-child .suite-status { color: #5eead4; border-color: rgba(94, 234, 212, 0.35); background: rgba(94, 234, 212, 0.06); }
.suite-card h3 { font-size: 1.45rem; margin: 0 0 0.5rem; color: #0b1220; }
.suite-line { font-size: 0.98rem; color: #334155; line-height: 1.55; margin: 0 0 1.1rem; }
.suite-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; flex: 1; }
.suite-card li { font-size: 0.88rem; line-height: 1.55; color: #475569; padding-left: 1.1rem; position: relative; }
.suite-card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 1px; background: var(--teal-mid); }
.suite-cta { font-weight: 600; color: #0f766e; text-decoration: none; }
.suite-ladder { margin-top: 3.5rem; padding: 2.25rem; background: var(--ets-tint); }
.suite-ladder ol { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.suite-ladder li { font-size: 0.9rem; color: #475569; line-height: 1.55; border-top: 1px solid rgba(15, 23, 42, 0.12); padding-top: 1rem; }
.suite-ladder li span { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--teal-mid); margin-bottom: 0.4rem; }
.suite-ladder li strong { display: block; font-family: var(--font-family-heading); font-size: 1.1rem; font-weight: 600; color: #0b1220; margin-bottom: 0.25rem; }
.suite-ladder-cta { justify-content: space-between; }
.suite-ladder-cta p { margin: 0; max-width: 36rem; color: #0f172a; font-size: 1.02rem; line-height: 1.6; }
.product-family-card h3, .market-home-card h3 { font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 1200px) { .suite-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .suite-card { padding: 1.5rem 1.3rem; } }
@media (min-width: 640px) and (max-width: 1199px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } .suite-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .suite-ladder ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .suite-ladder ol { grid-template-columns: 1fr; } .suite-ladder { padding: 1.5rem; } }

/* =====================================================================
   8. CHATETS CONSOLE BAND
   ===================================================================== */
.chatets-hero.cx {
  display: block; padding: var(--space-section) 0; min-height: 0;
  background:
    radial-gradient(900px 500px at 90% 20%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(0, 179, 166, 0.14), transparent 60%),
    #070e1a;
}
.chatets-hero.cx::before { display: none; }
.cx .cx-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cx h2 { color: #fff; margin: 0 0 1.1rem; }
.cx .cx-lede { color: #9fb0c5; font-size: var(--lede-size); line-height: 1.75; margin: 0 0 1.5rem; }
.cx .cx-lede em { color: #e2e8f0; }
.cx-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.cx-points li { color: #b6c3d4; padding-left: 1.6rem; position: relative; line-height: 1.55; }
.cx-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 1px; background: #5eead4; }
.cx-points strong { color: #fff; font-weight: 600; }
.cx .chatets-actions { align-items: center; }
.cx-fine { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #5b6b80; margin: 1rem 0 0; }
.cx-console {
  border-radius: var(--radius-card); overflow: hidden; background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2); backdrop-filter: blur(8px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 80px -30px rgba(56, 189, 248, 0.35);
}
.cx-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.14); background: rgba(255, 255, 255, 0.02); }
.cx-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.cx-bar span { margin-left: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; color: #64748b; }
.cx-body { padding: 1.5rem; display: grid; gap: 1rem; min-height: 290px; align-content: start; }
.cx-msg { padding: 1rem 1.15rem; border-radius: 14px; line-height: 1.6; font-size: 0.95rem; }
.cx-msg--user { justify-self: end; max-width: 85%; background: #134e4a; color: #ecfeff; border-bottom-right-radius: 4px; }
.cx-msg--ai { max-width: 92%; background: rgba(255, 255, 255, 0.04); color: #dbe4ee; border: 1px solid rgba(148, 163, 184, 0.14); border-bottom-left-radius: 4px; min-height: 5.5em; }
.cx-msg--ai.is-typing::after { content: "\258D"; color: #5eead4; animation: cxBlink 1s steps(1) infinite; }
@keyframes cxBlink { 50% { opacity: 0; } }
.cx-cite { font-family: var(--font-mono); font-size: 0.72rem; color: #7dd3fc; display: flex; gap: 0.6rem; align-items: center; }
.cx-cite span { padding: 0.2rem 0.5rem; border: 1px solid rgba(125, 211, 252, 0.35); border-radius: 6px; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.62rem; }
.cx-proof { list-style: none; padding: 0; margin: 1.5rem auto 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.cx-proof li { font-size: 0.85rem; color: #cbd5e1; padding: 0.55rem 0.9rem; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.04); }
.cx-proof strong { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7dd3fc; margin-right: 0.45rem; }
.chatets-splash-hero h1, .eb-hero h1 { font-family: var(--font-family-heading) !important; font-weight: 600 !important; letter-spacing: -0.03em; line-height: 1.05; }
@media (max-width: 900px) { .cx .cx-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   9. LEGACY TIMELINE BAND + ACADEMY
   ===================================================================== */
.legacy { position: relative; overflow: hidden; padding: var(--space-section) 0; background: #05090f; color: #cbd5e1; isolation: isolate; }
.legacy-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; z-index: -2; filter: saturate(0.6) contrast(1.05); }
.legacy::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #05090f 0%, rgba(5, 9, 15, 0.88) 45%, rgba(5, 9, 15, 0.55) 100%), linear-gradient(180deg, #05090f 0%, transparent 25%, transparent 75%, #05090f 100%); }
.legacy-head { max-width: 50rem; margin-bottom: 4rem; }
.legacy h2 { color: #fff; line-height: 1.08; margin: 0 0 1.4rem; }
.legacy h2 span { display: block; color: #94a3b8; font-style: italic; font-weight: 500; }
.legacy-head > p:last-child { font-size: 1.12rem; line-height: 1.8; color: #a3b1c2; margin: 0; }
.legacy-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.legacy-line::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 1px; background: linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(94, 234, 212, 0.7)); }
.legacy-line li { position: relative; padding: 2.2rem 1.5rem 0 0; }
.legacy-line li::before { content: ""; position: absolute; top: 0.2rem; left: 0; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #05090f; border: 1px solid #5eead4; }
.legacy-line li.is-now::before { background: #5eead4; box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.15), 0 0 24px rgba(94, 234, 212, 0.6); }
.lg-year { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 0.6rem; }
.is-now .lg-year { color: #5eead4; }
.legacy-line h3 { font-family: var(--font-family-heading); color: #f1f5f9; font-size: 1.15rem; font-weight: 500; margin: 0 0 0.4rem; }
.legacy-line p { font-size: 0.9rem; line-height: 1.6; color: #8595a9; margin: 0; }
.legacy-line em { color: #cbd5e1; }
@media (max-width: 900px) {
  .legacy-line { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 1.5rem; }
  .legacy-line::before { left: 0.35rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(94, 234, 212, 0.7)); }
  .legacy-line li { padding: 0 0 0 1.25rem; }
  .legacy-line li::before { left: -1.52rem; top: 0.5rem; }
}

.academy { padding: var(--space-section) 0; background: var(--ets-tint); border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); }
.ac-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.ac-head h2 { margin: 0; color: #0b1220; }
.ac-head > p { color: #475569; font-size: var(--lede-size); line-height: 1.75; margin: 0; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: rgba(15, 23, 42, 0.08); border: 1px solid rgba(15, 23, 42, 0.08); border-radius: var(--radius-card); overflow: hidden; }
.ac-track { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; row-gap: 0.25rem; padding: 1.4rem; background: #fff; text-decoration: none; transition: background 0.25s; }
.ac-track:hover { background: #f0fdfa; text-decoration: none; }
.ac-code { grid-row: 1 / 3; font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; color: var(--teal-mid); width: 2.2rem; height: 2.2rem; border: 1px solid rgba(14, 159, 149, 0.35); border-radius: 8px; display: grid; place-items: center; }
.ac-name { font-family: var(--font-family-heading); font-size: 1.02rem; font-weight: 500; color: #0f172a; line-height: 1.3; }
.ac-n { font-size: 0.7rem; letter-spacing: 0.1em; color: #64748b; }
.ac-foot { margin-top: 2.25rem; }
@media (max-width: 860px) { .ac-head { grid-template-columns: 1fr; gap: 1rem; } }

/* =====================================================================
   10. REGISTRATION WIDGETS (.rx-*)
   ===================================================================== */
.rx-promise { margin: 0 0 1.75rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-inner); background: #f0fdfa; border: 1px solid #99f6e4; border-left: 3px solid var(--teal-mid); color: #134e4a; line-height: 1.6; }
.rx-promise strong { color: #042f2e; }
.rx-note { color: #475569; margin: -0.25rem 0 1rem; font-size: 0.95rem; }
.rx-more { margin: 0.5rem 0 1.25rem; border: 1px dashed #cbd5e1; border-radius: var(--radius-inner); padding: 0.85rem 1rem; }
.rx-more summary { cursor: pointer; font-weight: 600; color: #0f766e; }
.rx-more[open] summary { margin-bottom: 1rem; }
.rx-after { width: 100%; margin: 0.75rem 0 0; color: #64748b; font-size: 0.9rem; }
.rx-jump span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.rx-jump { margin-bottom: 1rem; }
.rx-steps { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: 0.75rem; counter-reset: rx; }
.rx-steps li { counter-increment: rx; position: relative; padding-left: 2.6rem; line-height: 1.5; color: #475569; }
.rx-steps li::before { content: counter(rx); position: absolute; left: 0; top: -0.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: #0f766e; border: 1px solid rgba(15, 118, 110, 0.35); background: #f0fdfa; }
.rx-steps strong { color: #0f172a; margin-right: 0.35rem; }
.rx-total { margin: 1.5rem 0 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-inner); background: #0a1220; color: #cbd5e1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.rx-total:empty { display: none; }
.rx-total b { font-family: var(--font-mono); font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.rx-total small { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5eead4; }

/* =====================================================================
   11. LEGACY HOMEPAGE SECTIONS — brought into the system
   ===================================================================== */
/* Pillars + textbook + training paths */
.services-grid--homepage { background: #fff; }
.services-grid--homepage .grid-row { margin-bottom: 0; }
.what-we-do-redesign { border-radius: var(--radius-card); border: 1px solid var(--ets-card-border); }

/* How it works — quiet dark band, hairline spec steps */
.how-it-works {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(0, 179, 166, 0.1), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #0d1726 100%);
  color: #fff;
  position: relative;
}
.how-it-works h2 { color: #fff; text-align: center; margin: 0 0 3rem; }
.how-it-works-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-card-gap); max-width: 1080px; margin: 0 auto; }
.how-it-works-step { text-align: center; padding: 0 0.75rem; }
.how-it-works-step .step-number {
  display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem;
  border-radius: 50%; background: rgba(0, 179, 166, 0.08); border: 1px solid rgba(94, 234, 212, 0.45);
  color: #5eead4; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600;
  margin-bottom: 1rem; box-shadow: none;
}
.how-it-works-step h3 { font-family: var(--font-family-heading); font-size: 1.1rem; font-weight: 500; color: #f1f5f9; margin: 0 0 0.5rem; }
.how-it-works-step p { font-size: 0.9rem; color: #8392a7; line-height: 1.6; }
@media (max-width: 900px) { .how-it-works-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .how-it-works-steps { grid-template-columns: 1fr; } }

/* Consulting services highlight — flat tint band, cards not table cells */
.services-highlight {
  background: var(--ets-tint);
  border: none;
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  border-radius: 0;
  padding: var(--space-section) 0;
  margin: 0;
  box-shadow: none;
}
.services-highlight h2 { margin: 0 0 2.5rem; max-width: 48ch; }
.services-highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-card-gap); border: none; background: transparent; border-radius: 0; overflow: visible; }
.services-highlight-item { padding: var(--space-card); border-top: 3px solid rgba(0, 124, 137, 0.45); min-height: 0; display: flex; flex-direction: column; background: #fff; }
.services-highlight-item + .services-highlight-item { border-top: 3px solid rgba(0, 112, 243, 0.4); }
.services-highlight-item--academy { border-top-color: rgba(13, 148, 136, 0.5); }
.services-highlight-item:hover { background: #fff; }
.services-highlight-item h3 { font-family: var(--font-family-heading); font-size: 1.25rem; font-weight: 600; margin: 0 0 0.65rem; color: var(--ink); letter-spacing: -0.01em; }
.services-highlight-item p { font-size: 0.94rem; color: #475569; line-height: 1.6; margin: 0 0 0.9rem; }
.services-highlight-item .price { margin-top: auto; margin-bottom: 1rem; color: var(--ink); font-weight: 600; }
.services-highlight-item .price-amount { font-family: var(--font-mono); font-size: 1.1rem; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.services-highlight-item .price-unit { font-size: 0.85rem; color: #64748b; font-weight: 500; }
.services-highlight-item .scarcity { font-size: 0.8rem; color: #b45309; }
.services-highlight-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--teal-deep); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.services-highlight-link span { transition: transform 0.2s var(--ets-ease-out); }
.services-highlight-link:hover span { transform: translateX(3px); }
.services-highlight-link:hover, .services-highlight-link:focus { color: var(--teal-deep); text-decoration: underline; }
.services-highlight-cta { margin-top: 2.5rem; }
@media (max-width: 1023px) { .services-highlight-grid { grid-template-columns: 1fr; } }

/* Insights teaser */
.insights-teaser { background: #fff; border-bottom: 1px solid var(--hair-dark); }
.insights-teaser h2 { margin: 0 0 1rem; }
.insights-teaser .container { text-align: center; }
.insights-teaser p { color: #475569; font-size: var(--lede-size); line-height: 1.7; max-width: 44rem; margin: 0 auto 1.75rem; }
.insights-teaser-links { margin-top: 1rem; justify-content: center; }

/* News & events */
.news-events { background: var(--ets-tint); border-top: 1px solid var(--hair-dark); }
.news-events h2 { margin: 0 0 2.5rem; }
.news-events .grid-row { margin-bottom: 0; }
.news-events .card h3 { font-size: 1.25rem; }

/* =====================================================================
   12. MARKETS INDEX (inline-styled page, overridden here)
   ===================================================================== */
.mk-index-hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(0, 179, 166, 0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(0, 124, 137, 0.14), transparent 60%),
    linear-gradient(180deg, #07101d 0%, #0b1627 60%, #0a1422 100%);
  padding: calc(var(--space-section) - 1rem) 0 var(--space-section);
}
.mk-index-hero::before { display: none; }
.mk-index-hero h1 { font-family: var(--font-family-heading); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.mk-index-hero .tagline { color: #b8c4d4; font-size: var(--lede-size); max-width: 46rem; margin: 1rem auto 0; line-height: 1.7; font-weight: 400; opacity: 1; }
.mk-index-trust { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; justify-content: center; gap: 3rem; margin-top: 2.25rem; padding: 1.1rem 0; flex-wrap: wrap; }
.mk-index-trust .num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.mk-index-trust .lbl { font-family: var(--font-mono); font-size: 0.66rem; color: #7f8ea3; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 0.2rem; }
.mk-index-sec { padding: var(--space-section) 0; }
.mk-index-sec h2 { font-family: var(--font-family-heading); font-size: var(--h2-size); font-weight: 600; letter-spacing: -0.022em; margin-bottom: 1rem; color: #0b1220; }
.mk-index-sec .sub { color: #475569; font-size: var(--lede-size); max-width: 46rem; margin: 0 auto 3rem; line-height: 1.7; }
.mk-index-grid { gap: var(--space-card-gap); }
.mk-index-card { padding: var(--space-card); border-top: 3px solid #64748b; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -24px rgba(15, 23, 42, 0.18); }
.mk-index-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.28); }
.mk-index-card .eyebrow { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; margin-bottom: 0.6rem; }
.mk-index-card h3 { font-family: var(--font-family-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: #0b1220; margin-bottom: 0.5rem; }
.mk-index-card p { color: #475569; line-height: 1.65; font-size: 0.94rem; }
.mk-index-card .card-cta { color: var(--teal-deep); font-weight: 600; font-size: 0.9rem; }
.mk-index-svc { max-width: 56rem; }
.mk-index-svc .row { border-radius: var(--radius-inner); margin-bottom: 0.75rem; padding: 1.25rem 1.5rem; }
.mk-index-svc .row:last-child { margin-bottom: 0; }
.mk-index-svc .row h4 { font-family: var(--font-family-heading); color: #0b1220; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.mk-index-svc .row p { color: #64748b; line-height: 1.6; font-size: 0.94rem; }
.mk-index-cta { background: linear-gradient(180deg, #0a1220 0%, #0d1726 100%); padding: var(--space-section) 0; }
.mk-index-cta h2, .mk-index-cta p { color: #fff; }
.mk-index-cta h2 { font-family: var(--font-family-heading); font-size: var(--h2-size-band); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1rem; }
.mk-index-cta p { font-size: var(--lede-size); opacity: 1; color: #b8c4d4; max-width: 40rem; margin: 0 auto 2.25rem; line-height: 1.7; }

/* =====================================================================
   13. GENERIC INNER PAGES (About / Lectures / Customers / Contact / Blog / Tools)
   ===================================================================== */
.page-header {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(0, 179, 166, 0.05), transparent 65%),
    var(--ets-tint);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hair-dark);
}
.page-header h1 { margin: 0.35rem 0 0; color: var(--ink); }
.page-header .breadcrumb, .page-header p { color: #475569; }
.page-header .lead { margin: 0.75rem 0 0; }
ol.breadcrumb, .page-header .breadcrumb ol { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; }
.breadcrumb a { color: var(--teal-deep); }
.breadcrumb a:hover { color: var(--teal-deep); }

.grid-row { gap: var(--space-card-gap); margin-bottom: var(--space-card-gap); }
.grid-row:last-child { margin-bottom: 0; }
.content-section { padding: var(--space-section) 0; }
.feature-list { list-style: none; margin: 0 0 var(--space-block); padding: 0; }
.feature-list li { margin: 0 0 0.55rem; padding-left: 1.1rem; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 0.5rem; height: 1px; background: var(--teal-mid);
}
.content-section h2 { font-size: var(--h2-size); }

/* Forms — quiet, consistent */
.form-control {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(0, 179, 166, 0.18);
}
.form-control:focus:not(:focus-visible) { box-shadow: none; }

/* =====================================================================
   14. FOOTER + CHATETS ANNOUNCEMENT BANNER
   ===================================================================== */
.site-footer {
  background: #0a1220;
  color: #94a3b8;
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: none;
}
.site-footer .footer-logo-image { border-radius: 8px; }
.site-footer .footer-tagline { color: #7f8ea3; max-width: 24rem; line-height: 1.6; }
.site-footer .footer-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}
.site-footer .footer-links li { margin-bottom: 0.55rem; }
.site-footer .footer-links a { color: #b6c3d4; font-size: 0.92rem; text-decoration: none; }
.site-footer .footer-links a:hover { color: #5eead4; text-decoration: none; }
.site-footer .footer-contact p { color: #94a3b8; }
.site-footer .footer-contact a { color: #b6c3d4; }
.site-footer .footer-bottom { border-top: 1px solid rgba(148, 163, 184, 0.14); margin-top: 2.5rem; padding-top: 1.5rem; }
.site-footer .footer-links-secondary a { color: #7f8ea3; font-size: 0.85rem; }
.site-footer .footer-links-secondary a:hover { color: #5eead4; }
.site-footer .newsletter-signup h4 { color: #cbd5e1; font-family: var(--font-family-base); font-weight: 600; font-size: 0.95rem; }
.site-footer .newsletter-form .form-control { background: rgba(255, 255, 255, 0.06); border-color: rgba(148, 163, 184, 0.25); color: #e2e8f0; }
.site-footer .newsletter-form .form-control::placeholder { color: #64748b; }
.site-footer .newsletter-form .btn-primary { height: var(--btn-height-md); }

.chatets-banner {
  width: 100%;
  background: rgba(0, 179, 166, 0.07);
  border-bottom: 1px solid rgba(0, 124, 137, 0.16);
}
.chatets-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.chatets-banner .badge-new {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--teal-deep);
  color: #fff;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
}
.chatets-banner a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.chatets-banner a:hover, .chatets-banner a:focus { color: var(--teal-deep); text-decoration: underline; }

/* =====================================================================
   15. HEADER NAV — one line at 1280px, tight editorial spacing
   ===================================================================== */
.main-navigation { white-space: nowrap; }
.nav-list { flex-wrap: nowrap; }
.nav-link { padding: 0.8rem 0.95rem; font-size: 0.9rem; font-weight: 500; }
.nav-link:hover::after, .nav-link:focus::after { width: calc(100% - 1.9rem); }
.nav-link.active::after { left: 0.95rem; right: 0.95rem; }
.dropdown-menu {
  min-width: 230px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--ets-card-border);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.28);
  padding: 0.4rem 0;
}
.dropdown-menu a, .dropdown-menu .submenu-toggle { font-size: 0.88rem; }
.dropdown-menu a { padding: 0.55rem 1rem; color: var(--ink-2); text-decoration: none; }
.dropdown-menu a:hover { background: var(--ets-tint); color: var(--teal-deep); }
.dropdown-menu a:focus-visible { background: var(--ets-tint); color: var(--teal-deep); }
@media (min-width: 1240px) and (max-width: 1320px) {
  .nav-link { padding: 0.8rem 0.7rem; font-size: 0.86rem; }
}

/* =====================================================================
   16. SCROLL REVEAL + COOKIE BANNER + MOTION SAFETY
   ===================================================================== */
.ets-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ets-ease-out), transform 0.9s var(--ets-ease-out); }
.ets-reveal.is-in { opacity: 1; transform: none; }
#ets-consent-banner {
  left: auto !important; right: 1.25rem !important; bottom: 1.25rem !important;
  max-width: 400px !important; font-size: 0.85rem !important; line-height: 1.5;
  background: rgba(10, 18, 32, 0.94) !important; backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2); border-radius: var(--radius-inner) !important;
  animation: etsBannerIn 0.5s var(--ets-ease-out) 1.2s both;
}
@keyframes etsBannerIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { #ets-consent-banner { left: 0.75rem !important; right: 0.75rem !important; max-width: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .ets-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ledger-bar i { transform: scaleX(1) !important; transition: none !important; }
  .hero-eyebrow-dot, #ets-consent-banner { animation: none !important; }
}

/* =====================================================================
   17. MARQUEES
   ===================================================================== */
.homepage-marquee--clients { background: #fff; border-bottom: 1px solid var(--hair-dark); }
.homepage-marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.homepage-marquee__item--client { border: none !important; box-shadow: none !important; background: transparent !important; }
.homepage-marquee__logo { filter: grayscale(1) contrast(1.05); opacity: 0.55; transition: filter 0.35s, opacity 0.35s; }
.homepage-marquee__item--client:hover .homepage-marquee__logo { filter: none; opacity: 1; }
.homepage-marquee--quotes { background: var(--ets-tint); }
.homepage-marquee__item--quote { background: #fff !important; border: 1px solid var(--hair-dark) !important; box-shadow: none !important; border-radius: var(--radius-inner) !important; }
.homepage-marquee__quote { font-family: var(--font-family-heading); font-style: italic; font-size: 1rem; color: #1e293b; }
.homepage-marquee__attribution { font-family: var(--font-mono); font-size: 0.66rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b !important; }

/* =====================================================================
   18. DARK THEME SPOT-FIXES ([data-theme="dark"] / .theme-dark on <html>)
   ===================================================================== */
.theme-dark .card,
.theme-dark .suite-card,
.theme-dark .mk-index-card,
.theme-dark .services-highlight-item,
.theme-dark .ac-track,
.theme-dark .rx-promise,
.theme-dark .form-control {
  background: #161d2b;
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.theme-dark .card h2, .theme-dark .card h3,
.theme-dark .suite-card h3, .theme-dark .services-highlight-item h3,
.theme-dark .ac-name, .theme-dark .mk-index-card h3 { color: #f1f5f9; }
.theme-dark .suite-card { background: #161d2b; }
.theme-dark .suite-card li, .theme-dark .suite-line,
.theme-dark .services-highlight-item p, .theme-dark .mk-index-card p { color: #94a3b8; }
.theme-dark .services-highlight,
.theme-dark .news-events,
.theme-dark .academy { background: #0d1420; }
.theme-dark .services-highlight-item,
.theme-dark .ac-track { background: #161d2b; }
.theme-dark .ac-track:hover { background: #1a2536; }
.theme-dark .suite-ladder { background: #0d1420; }
.theme-dark .page-header { background: #0d1420; }
.theme-dark .page-header h1 { color: #f1f5f9; }
.theme-dark .form-control { color: #e2e8f0; }
.theme-dark .btn-outline { color: #e2e8f0; border-color: rgba(226, 232, 240, 0.3); }
.theme-dark .btn-outline:hover { color: #5eead4; border-color: rgba(94, 234, 212, 0.5); background: rgba(255, 255, 255, 0.04); }
.theme-dark .btn-secondary { background: transparent; color: #e2e8f0; border-color: rgba(148, 163, 184, 0.3); }
.theme-dark .lead, .theme-dark .page-header .lead { color: #94a3b8; }

/* =====================================================================
   19. MOBILE — 390px / 768px
   ===================================================================== */
@media (max-width: 768px) {
  :root { --space-section: clamp(3.25rem, 9vw, 4.5rem); }
  .hero-actions .btn,
  .chatets-actions .btn,
  .ac-foot .btn,
  .services-highlight-cta .btn,
  .exit-intent-actions .btn { flex: 1 1 auto; min-width: min(100%, 15rem); }
  .mk-index-hero { padding-top: 3.5rem; }
  .suite-ladder-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .hero-actions .btn,
  .chatets-actions .btn,
  .ac-foot .btn,
  .services-highlight-cta .btn,
  .exit-intent-actions .btn,
  .insights-teaser-links .btn { width: 100%; }
  .rx-jump .btn { width: 100%; }
  body { overflow-x: hidden; }
}

/* v4 lead fixes: mobile hero overflow + marquee padding */
@media (max-width: 640px) {
  .hero-intro h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); overflow-wrap: anywhere; }
  .hero-eyebrow { white-space: normal; text-align: center; font-size: .66rem; letter-spacing: .1em; max-width: 100%; }
  .hero-event-details { font-size: .72rem !important; overflow-wrap: anywhere; }
  .hero .trust-bar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero .trust-divider { display: none !important; }
  .hero .hero-actions { flex-direction: column; }
  .hero .hero-actions .btn { width: 100%; }
  .ledger-eyebrow { letter-spacing: .1em; }
}
.hero-intro, .hero-columns, .hero-content, .hero-media { min-width: 0; }
body { overflow-x: hidden; }
.homepage-marquee--clients, .homepage-marquee--quotes { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
