/* ═══════════════════════════════════════════════════════════════════════════
   ERMITS MARKETING SHELL — VendorSoluce
   Canonical spec shared with CyberCaution and CyberCorrect: structure is
   identical across the three sites; only the four --brand-* tokens differ.
   Linked LAST in <head> on every marketing page so it wins the cascade.
   !important is used only where a Tailwind utility / legacy !important rule
   on the element must be overridden; each block says why.
   No raw colour literals here: brand values come from tokens.css.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand (only per-site variation) */
  --brand: var(--vs-brand);
  --brand-hover: var(--vs-brand-hover);
  --brand-soft: color-mix(in srgb, var(--vs-brand) 9%, transparent);
  --brand-ink: var(--vs-brand);

  /* Layout */
  --shell-max: 1200px;
  --shell-narrow: 760px;
  --shell-gutter: 16px;
  --shell-gutter-md: 24px;
  --shell-gutter-lg: 32px;
  --nav-h: 56px;
  /* Alias used by Tailwind pt-[var(--nav-height)] and shell.css */
  --nav-height: var(--nav-h);
  --breadcrumb-height: 40px;
  --page-top-offset: calc(var(--nav-h) + var(--breadcrumb-height));

  /* Inner-page top band (under breadcrumb). Compact — not a second hero. */
  --pagehead-y: 24px;
  --pagehead-y-lg: 28px;

  /* Section rhythm */
  --section-y: 40px;          /* v2 compact (§3b) */
  --section-y-lg: 64px;
  --stack-intro: 28px;

  /* Type scale */
  --fs-hero: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h3: 1.0625rem;
  --fs-h3-feature: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --border-w: 1px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06);
  --shadow-md: 0 4px 16px -4px rgb(15 23 42 / .10), 0 2px 4px -2px rgb(15 23 42 / .06);
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 160ms;
}

/* Derived (not part of the byte-identical block) */
:root {
  --shell-g: var(--shell-gutter);
  --section-pad: var(--section-y);
  --es-surface: var(--bg);
  --es-surface-alt: var(--bg-2);
  --es-card: var(--card);
  --es-border: var(--border);
  --es-text: var(--text);
  --es-muted: var(--muted);
  --es-card-shadow: var(--shadow-sm);
  --es-card-shadow-hover: var(--shadow-md);
  --es-on-brand: var(--bg);
}
@media (max-width: 639px) { :root { --stack-intro: 24px; } }
@media (min-width: 640px) { :root { --shell-g: var(--shell-gutter-md); } }
@media (min-width: 1024px) { :root { --shell-g: var(--shell-gutter-lg); --section-pad: var(--section-y-lg); } }

html.dark {
  --es-on-brand: var(--text);
  --brand-ink: var(--vs-brand-light);
  --brand-soft: color-mix(in srgb, var(--vs-brand-light) 14%, transparent);
  --es-surface-alt: color-mix(in srgb, var(--bg) 55%, var(--bg-2));
  --es-card-shadow: none;
  --es-card-shadow-hover: none;
}

/* ── Page frame ────────────────────────────────────────────────────────────
   The old `scrollbar-gutter: stable` on <html> (with overflow-x hidden) left a
   15px empty strip at the right edge on overlay-scrollbar systems. */
html { scrollbar-gutter: auto; }
html, body { overflow-x: clip; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* ── Container ─────────────────────────────────────────────────────────── */
.es-container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-g);
}
.es-narrow { max-width: var(--shell-narrow); margin-inline: auto; }

/* Legacy section wrappers (max-w-5xl/6xl/7xl inside full-bleed sections) are
   snapped onto the shell container so header logo, first card and footer brand
   share one left edge. !important: beats Tailwind max-w-* / px-* utilities. */
main > section:not(.es-section):not(.es-hero),
main > div > section:not(.es-section),
main > nav[aria-label="Breadcrumb"] {
  padding-left: var(--shell-g) !important;
  padding-right: var(--shell-g) !important;
}
/* Sticky breadcrumb: solid so content never shows through under the header. */
main > nav[aria-label="Breadcrumb"] {
  background-color: var(--bg) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: var(--border) !important;
}
main > section > .mx-auto:is(.max-w-5xl, .max-w-6xl, .max-w-7xl),
main > div > section > .mx-auto:is(.max-w-5xl, .max-w-6xl, .max-w-7xl),
main > nav[aria-label="Breadcrumb"] > div {
  width: 100%;
  max-width: calc(var(--shell-max) - 2 * var(--shell-g)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Header ────────────────────────────────────────────────────────────── */
/* Solid bar so scrolled pageheads / legal titles never bleed through glass. */
nav.glass-nav-vs.es-header,
nav.glass-nav-vs {
  height: var(--nav-h);
  background-color: var(--bg) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 -1px 0 0 var(--border) !important;
}
html.dark nav.glass-nav-vs.es-header,
html.dark nav.glass-nav-vs {
  background-color: var(--bg) !important;
}
.es-header__inner {
  height: var(--nav-h);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-g);
  display: flex;
  align-items: center;
  gap: 16px;
}
.es-brand-wrap { flex: 0 1 auto; min-width: 0; }
.es-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.es-brand__mark { width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; }
.es-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.es-brand__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  white-space: nowrap;
}
html.dark .es-brand__name { color: var(--text); }
.es-brand__tagline {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.es-brand__by { font-size: 11.5px; color: var(--muted); }
@media (max-width: 379px) { .es-header .es-brand__tagline { display: none; } }

.es-nav { flex: 1 1 auto; justify-content: center; align-items: center; gap: 2px; min-width: 0; }
/* !important: components.css/shell.css style nav.glass-nav-vs .nav-link with !important hover/active rules. */
nav.glass-nav-vs .es-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--text) !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
html.dark nav.glass-nav-vs .es-nav a.nav-link { color: var(--text) !important; }
/* Nav icons: same 16px lucide treatment as the CyberCaution/CyberCorrect headers. */
nav.glass-nav-vs .es-nav .es-nav-ico { width: 16px; height: 16px; flex: none; }
nav.glass-nav-vs .es-nav a.nav-link:hover,
nav.glass-nav-vs .es-nav a.nav-link:focus-visible {
  color: var(--text) !important;
  background: color-mix(in srgb, var(--text) 5%, transparent) !important;
}
nav.glass-nav-vs .es-nav a.nav-link.nav-link-active,
nav.glass-nav-vs .es-nav a.nav-link[aria-current="page"],
nav.glass-nav-vs .es-nav a.nav-link.nav-link-active:hover,
nav.glass-nav-vs .es-nav a.nav-link[aria-current="page"]:hover {
  color: var(--brand-ink) !important;
  background: var(--brand-soft) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.es-actions { flex: 0 0 auto; align-items: center; gap: 8px; margin-left: auto; }
/* !important: legacy theme-toggle rules in shell.css force a grey pill background. */
nav.glass-nav-vs .es-icon-btn,
nav.glass-nav-vs [data-tour="theme-toggle"] button.es-icon-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease) !important;
}
html.dark nav.glass-nav-vs .es-icon-btn,
html.dark nav.glass-nav-vs [data-tour="theme-toggle"] button.es-icon-btn { color: var(--text) !important; background: transparent !important; }
nav.glass-nav-vs .es-icon-btn:hover,
nav.glass-nav-vs [data-tour="theme-toggle"] button.es-icon-btn:hover,
html.dark nav.glass-nav-vs .es-icon-btn:hover,
html.dark nav.glass-nav-vs [data-tour="theme-toggle"] button.es-icon-btn:hover {
  background: color-mix(in srgb, var(--text) 7%, transparent) !important;
  color: var(--text) !important;
}
nav.glass-nav-vs .es-icon-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  fill: none !important;
  color: inherit !important;
}
nav.glass-nav-vs .es-icon-btn svg line,
nav.glass-nav-vs .es-icon-btn svg path,
nav.glass-nav-vs .es-icon-btn svg circle,
nav.glass-nav-vs .es-icon-btn svg polyline {
  stroke: currentColor !important;
}
nav.glass-nav-vs [data-tour="theme-toggle"] { display: inline-flex; }

/* Mobile drawer */
[data-mobile-menu].es-drawer { top: var(--nav-h); }
.es-drawer__panel {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.es-drawer__inner { max-width: var(--shell-max); margin-inline: auto; padding: 12px var(--shell-g) 16px; }
.es-drawer a.mobile-nav-link,
.es-drawer a.es-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.dark .es-drawer a.mobile-nav-link,
html.dark .es-drawer a.es-drawer__link { color: var(--muted) !important; }
.es-drawer a.mobile-nav-link:hover,
.es-drawer a.es-drawer__link:hover { background: color-mix(in srgb, var(--text) 5%, transparent) !important; color: var(--text) !important; }
.es-drawer a.mobile-nav-link.nav-link-active,
.es-drawer a.mobile-nav-link[aria-current="page"] { color: var(--brand-ink) !important; background: var(--brand-soft) !important; font-weight: 600 !important; }
.es-drawer svg { width: 16px; height: 16px; flex-shrink: 0; }
.es-drawer__heading {
  margin: 12px 12px 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer ────────────────────────────────────────────────────────────────
   !important: tailwind.css and page-level <style> blocks force footer
   backgrounds/borders with !important; the canonical footer wins here. */
footer#footer.es-footer,
html.dark footer#footer.es-footer {
  background-color: var(--es-surface-alt) !important;
  color: var(--text) !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 16px;
}
.es-footer__inner { max-width: var(--shell-max); margin-inline: auto; padding-inline: var(--shell-g); }
/*
  Compact, predictable footer:
  - phone: stacked
  - tablet: brand on top, 3 equal link cols
  - desktop: brand + 3 cols on one row (link text may wrap; never clips)
*/
.es-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 16px;
  align-items: start;
}
.es-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: 22rem;
}
.es-footer__col { min-width: 0; }
@media (min-width: 560px) {
  .es-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
  }
  .es-footer__brand {
    grid-column: 1 / -1;
    max-width: 24rem;
  }
}
@media (min-width: 900px) {
  .es-footer__grid {
    /* Brand track + breathing room, then 3 fluid link cols */
    grid-template-columns: minmax(11rem, 13.5rem) repeat(3, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 12px;
  }
  .es-footer__brand {
    grid-column: auto;
    max-width: none;
  }
}
@media (min-width: 1100px) {
  .es-footer__grid {
    grid-template-columns: minmax(12rem, 15rem) repeat(3, minmax(0, 1fr));
    column-gap: 40px;
  }
}
.es-footer__brand .es-brand {
  width: max-content;
  max-width: 100%;
}
.es-footer__brand .es-brand__mark { width: 36px; height: 36px; }
/* Desc wraps to the brand lockup width. */
.es-footer__desc {
  margin-top: 8px;
  width: 0;
  min-width: 100%;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted) !important;
}
.es-footer__heading {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text) !important;
}
.es-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.es-footer__links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 20px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted) !important;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.es-footer__links a span { min-width: 0; overflow-wrap: anywhere; }
.es-footer__links a:hover { color: var(--brand-ink) !important; }
.es-footer__links svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-ink);
}
footer#footer.es-footer .es-footer__bar,
html.dark footer#footer.es-footer .es-footer__bar {
  margin-top: 14px;
  padding-block: 10px;
  border-top: 1px solid var(--border) !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.es-footer__copy {
  font-size: 12px;
  color: var(--muted) !important;
  margin-right: auto;
  text-align: left;
}
.es-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink) !important;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
}
.es-badge img { width: 14px; height: 14px; }
/* Keep copy | badge on one row at all widths (left / right). */
@media (max-width: 639px) {
  footer#footer.es-footer .es-footer__bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Buttons: primary / secondary / link; md + lg ─────────────────────────
   !important on colour/background: shell.css dark-mode sweeps
   (`html.dark main a:not(...)`) would otherwise recolour button labels. */
.es-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.es-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.es-btn--lg { height: 48px; padding: 0 24px; font-size: 16px; }
.es-btn--primary,
html.dark .es-btn--primary,
html.dark main a.es-btn--primary {
  background: var(--brand) !important;
  color: var(--es-on-brand) !important;
  border: 1px solid transparent !important;
  box-shadow: var(--shadow-sm);
}
.es-btn--primary:hover,
html.dark .es-btn--primary:hover { background: var(--brand-hover) !important; }
.es-btn--secondary,
html.dark main a.es-btn--secondary,
html.dark main button.es-btn--secondary {
  background: var(--card) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm);
}
html.dark .es-btn--secondary { background: transparent !important; border-color: color-mix(in srgb, var(--text) 22%, transparent) !important; }
.es-btn--secondary:hover,
html.dark .es-btn--secondary:hover { background: color-mix(in srgb, var(--text) 5%, var(--card)) !important; border-color: color-mix(in srgb, var(--text) 30%, transparent) !important; }
.es-link,
html.dark main a.es-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-ink) !important;
  background: none;
  text-decoration: none;
}
.es-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.es-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.es-link:hover svg { transform: translateX(2px); }
.es-btn-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.es-btn-group--center { justify-content: center; }
@media (max-width: 479px) {
  .es-btn-group { flex-direction: column; align-items: stretch; }
  .es-btn-group > .es-btn { width: 100%; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
/* !important: index <head> legacy rule `main > section:not(#hero){padding:… !important}`. */
main > section.es-section { padding-top: var(--section-pad) !important; padding-bottom: var(--section-pad) !important; }
.es-section { background: var(--es-surface); }
.es-section--alt { background: var(--es-surface-alt); }
/* !important: shell.css forces every <section> to --bg in dark mode with !important. */
main > section.es-section,
html.dark main > section.es-section { background-color: var(--es-surface) !important; }
main > section.es-section--alt,
html.dark main > section.es-section--alt { background-color: var(--es-surface-alt) !important; }
.es-intro { max-width: var(--shell-narrow); margin: 0 auto var(--stack-intro); text-align: center; }
.es-intro--left { margin-left: 0; text-align: left; }
.es-intro--wide { max-width: 920px; }
.es-intro--wide .es-lead { font-size: 1.0625rem !important; }
.es-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-ink) !important;
}
.es-h2,
main .es-intro h2 {
  margin: 0 0 8px;
  font-size: var(--fs-h2) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  font-weight: 700 !important;
  color: var(--text) !important;
  text-wrap: balance;
}
.es-lead {
  margin: 0;
  font-size: var(--fs-lead) !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
  text-wrap: pretty;
}
.es-after { margin-top: 24px; text-align: center; }
.es-subhead { margin: 20px 0 8px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--text) !important; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.es-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .es-grid { gap: 20px; } }
@media (min-width: 640px) { .es-grid--2, .es-grid--4, .es-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .es-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .es-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) {
  /* 3-up grids at tablet: 2 columns + the last card spans full width (no orphan) */
  .es-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .es-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ≥4 cards on mobile: horizontal scroll-snap row with peek (shared pattern across ERMITS sites) */
@media (max-width: 639px) {
  .es-snap {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--shell-g));
    padding: 2px var(--shell-g) 8px;
    scroll-padding-inline: var(--shell-g);
    scrollbar-width: none;
  }
  .es-snap::-webkit-scrollbar { display: none; }
  .es-snap > * { scroll-snap-align: start; }
}
.es-card,
html.dark main .es-card {
  background-color: var(--es-card) !important;
  border: 1px solid var(--es-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--es-card-shadow) !important;
  padding: 16px;
  transform: none !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 640px) { .es-card { padding: 20px; } }
a.es-card:hover { box-shadow: var(--es-card-shadow-hover) !important; border-color: color-mix(in srgb, var(--brand) 30%, var(--es-border)) !important; }
.es-card h3,
.es-card .es-card__title {
  margin: 0 0 6px;
  font-size: var(--fs-h3) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: var(--text) !important;
}
.es-card p { font-size: 15px; line-height: 1.55; color: var(--muted) !important; margin: 0 0 10px; }
.es-card p:last-child { margin-bottom: 0; }
.es-card__help { font-size: var(--fs-small) !important; color: var(--text-secondary) !important; padding-top: 10px; border-top: 1px solid var(--es-border); margin-top: auto !important; }
html.dark .es-card__help { color: var(--muted) !important; }
.es-card__help strong { color: var(--text); font-weight: 600; }
.es-card a:not(.es-link):not(.es-btn) { color: var(--brand-ink) !important; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand-ink) 35%, transparent); text-underline-offset: 2px; }
.es-card .es-link { margin-top: auto; padding-top: 4px; font-size: 14px; }
.es-chip {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 12px;
  font-weight: 700;
}
.es-chip svg { width: 20px; height: 20px; }
.es-checks { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 6px; }
.es-checks li { position: relative; padding-left: 18px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-secondary) !important; }
html.dark .es-checks li { color: var(--muted) !important; }
.es-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(-45deg);
}
@media (min-width: 480px) { .es-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; } }
.es-checks--spaced { margin-top: 16px; }
.es-steps-mini { list-style: none; counter-reset: es-mini; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.es-steps-mini li { counter-increment: es-mini; position: relative; padding-left: 30px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-secondary) !important; }
html.dark .es-steps-mini li { color: var(--muted) !important; }
.es-steps-mini li::before {
  content: counter(es-mini);
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}

/* Browser-frame component for product screenshots (16:10 crop) */
.es-frame {
  border: 1px solid var(--es-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--es-card);
  box-shadow: var(--shadow-md);
}
html.dark .es-frame { box-shadow: none; }
.es-frame__bar { display: flex; gap: 5px; align-items: center; height: 22px; padding: 0 10px; background: var(--es-surface-alt); border-bottom: 1px solid var(--es-border); }
.es-frame__bar span { width: 7px; height: 7px; border-radius: 999px; background: var(--ill-line); }
.es-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--bg); }

/* Split: copy | visual (visual below copy on mobile) */
.es-split { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .es-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .es-split--flip > :first-child { order: 2; } }
.es-split > * { min-width: 0; max-width: 100%; }
.es-split__visual { max-width: 520px; width: 100%; margin-inline: auto; }
.es-split .es-lead { max-width: var(--shell-narrow); }
.es-split h2 { margin-top: 0; }

/* 3-step flow: numbered nodes joined by a line — horizontal ≥768, vertical below */
.es-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; }
.es-flow__step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.es-flow__step:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: -18px; width: 2px;
  background: color-mix(in srgb, var(--brand-ink) 28%, transparent);
}
.es-flow__node {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--es-on-brand); font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 4px var(--es-surface);
  position: relative; z-index: 1;
}
.es-flow__body { display: flex; flex-direction: column; min-width: 0; }
.es-flow__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin: 6px 0 2px; }
.es-flow__body h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--text) !important; }
.es-flow__body p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--muted) !important; }
.es-flow__body .es-frame { margin-bottom: 14px; }
.es-flow__body .es-link { margin-top: auto; font-size: 14px; }
@media (min-width: 768px) {
  .es-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .es-flow__step { grid-template-columns: 1fr; gap: 12px; }
  .es-flow__step:not(:last-child)::after { left: 48px; right: -24px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .es-flow__label { margin-top: 0; }
}

/* Final CTA band */
.es-cta-band {
  margin-top: var(--section-pad);
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand-ink) 18%, transparent);
  text-align: center;
}
@media (min-width: 768px) { .es-cta-band { padding: 44px 48px; } }
.es-cta-band .es-lead { max-width: var(--shell-narrow); margin: 0 auto 20px; }
/* !important: index <head> legacy `html.dark #action-cascade { background … !important }`. */
html.dark #action-cascade.es-cta-band { background: var(--brand-soft) !important; }

/* ── Index hero (two-column ≥1024) ───────────────────────────────────── */
.es-hero { padding-block: 40px 44px; background: radial-gradient(120% 90% at 85% 40%, var(--brand-soft), transparent 60%), var(--es-surface-alt); }
html.dark main > section.es-hero { background: radial-gradient(120% 90% at 85% 40%, var(--brand-soft), transparent 60%), var(--es-surface) !important; }
:root:not(.dark) main > section.es-hero { background: radial-gradient(120% 90% at 85% 40%, var(--brand-soft), transparent 60%), var(--es-surface-alt) !important; }
.es-hero__texture { opacity: .6; }
.es-hero__grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.es-hero__grid > * { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .es-hero { padding-block: 56px 64px; }
  .es-hero__grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 48px; }
}
.es-hero h1 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: var(--fs-hero) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em;
  font-weight: 800 !important;
  color: var(--text) !important;
  text-wrap: balance;
}
.es-hero .es-hl { color: var(--brand-ink) !important; }
.es-hero__sub { max-width: 34rem; margin: 0 0 24px; font-size: var(--fs-lead); line-height: 1.6; color: var(--muted) !important; }
.es-hero__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted) !important; }
.es-hero__gets { margin-top: 20px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); max-width: 34rem; }
.es-hero__gets-title { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 600; color: var(--text) !important; }
.es-hero__gets .es-checks { margin: 0; }
.es-hero__visual { width: 100%; max-width: 560px; margin-inline: auto; }
.es-hero__visual .es-ill { max-height: 220px; }
@media (min-width: 640px) { .es-hero__visual .es-ill { max-height: 300px; } }
@media (min-width: 1024px) { .es-hero__visual .es-ill { max-height: none; } }

/* ── Illustrations (shared ERMITS visual language, themeable) ────────── */
:root {
  --ill-surface: var(--card);
  --ill-line: color-mix(in srgb, var(--muted) 42%, var(--card));
  --ill-brand: var(--brand);
  --ill-amber: var(--risk-medium);
}
html.dark { --ill-brand: var(--vs-brand-light); --ill-line: color-mix(in srgb, var(--muted) 45%, var(--card)); }
.es-ill { display: block; width: 100%; height: auto; overflow: visible; }
.es-ill .ill-card { fill: var(--ill-surface); stroke: var(--ill-line); stroke-width: 1.5; }
.es-ill .ill-shadow { filter: drop-shadow(0 6px 14px rgb(15 23 42 / .08)); }
html.dark .es-ill .ill-shadow { filter: none; }
.es-ill .ill-skel { fill: var(--ill-line); opacity: .7; }
.es-ill .ill-skel-strong { fill: var(--ill-line); }
.es-ill .ill-soft { fill: color-mix(in srgb, var(--ill-brand) 16%, var(--ill-surface)); }
.es-ill .ill-soft-strong { fill: color-mix(in srgb, var(--ill-brand) 35%, var(--ill-surface)); }
.es-ill .ill-tile { fill: color-mix(in srgb, var(--ill-line) 25%, var(--ill-surface)); }
.es-ill .ill-brand { fill: var(--ill-brand); }
.es-ill .ill-on-brand { fill: var(--ill-surface); }
.es-ill .ill-amber { fill: var(--ill-amber); }
.es-ill .ill-node { fill: var(--ill-surface); stroke: var(--ill-brand); stroke-width: 2; }
.es-ill .ill-node-sm { fill: var(--ill-surface); stroke: var(--ill-line); stroke-width: 2; }
.es-ill .ill-link { fill: none; stroke: var(--ill-brand); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.es-ill .ill-dash { fill: none; stroke: var(--ill-line); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 4; }
.es-ill .ill-baseline { fill: none; stroke: var(--ill-line); stroke-width: 1.5; stroke-linecap: round; }
.es-ill .ill-track { fill: none; stroke: color-mix(in srgb, var(--ill-line) 55%, var(--ill-surface)); stroke-width: 8; }
.es-ill .ill-arc { fill: none; stroke: var(--ill-brand); stroke-width: 8; stroke-linecap: round; }
.es-ill .ill-check { fill: none; stroke: var(--ill-surface); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.es-ill .ill-stroke-brand { fill: none; stroke: var(--ill-brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.es-ill .ill-heat-0 { fill: color-mix(in srgb, var(--ill-line) 40%, var(--ill-surface)); }
.es-ill .ill-heat-1 { fill: color-mix(in srgb, var(--ill-brand) 22%, var(--ill-surface)); }
.es-ill .ill-heat-2 { fill: color-mix(in srgb, var(--ill-brand) 55%, var(--ill-surface)); }
.es-ill .ill-heat-3 { fill: var(--ill-brand); }
.es-ill .ill-heat-amber { fill: var(--ill-amber); }
.es-ill .ill-glow-stop { stop-color: var(--ill-brand); }

/* ── Legacy component normalisation (pages not hand-rewritten) ──────────── */
/* Gradient primary → solid brand primary (spec). */
a.vs-btn-primary, button.vs-btn-primary,
html.dark a.vs-btn-primary, html.dark button.vs-btn-primary {
  background: var(--brand) !important;
  box-shadow: var(--shadow-sm) !important;
  transform: none !important;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
a.vs-btn-primary, button.vs-btn-primary, html.dark a.vs-btn-primary, html.dark button.vs-btn-primary { color: var(--es-on-brand) !important; }
a.vs-btn-primary:hover, button.vs-btn-primary:hover { background: var(--brand-hover) !important; }
.vs-btn-outline {
  height: 44px;
  padding: 0 20px;
  border-width: 1px;
  border-color: var(--border);
  color: var(--text);
  background: var(--card);
  border-radius: var(--radius-sm);
  font-size: 15px;
  white-space: nowrap;
  transform: none !important;
}
html.dark .vs-btn-outline { color: var(--text); border-color: color-mix(in srgb, var(--text) 22%, transparent); background: transparent; }

/* Cards: no lift, no coloured edge strips, no top accent hairlines. */
.vs-card, .vs-card:hover { transform: none !important; }
.vs-card { border-radius: var(--radius-md); box-shadow: var(--es-card-shadow); }
.vs-card:hover { box-shadow: var(--es-card-shadow); border-color: var(--border); }
.vs-step-card, html.dark .vs-step-card { border-top: 1px solid var(--border); }
.vs-problem-card-red, .vs-problem-card-amber { border-left: 1px solid var(--border); }
.vs-kicker,
html.dark .vs-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand-ink);
}

/* ── Legacy page sections (subpages not hand-rewritten) ──────────────────
   Uniform compact rhythm + two-tone backgrounds. !important: beats the
   Tailwind py-*/pt-*/pb-* utilities on each <section> and shell.css's
   `main nav[aria-label=Breadcrumb] + * { padding-top … !important }`. */
main > section:not(.es-section):not(.es-hero),
main > div > section:not(.es-section) {
  padding-top: var(--section-pad) !important;
  padding-bottom: var(--section-pad) !important;
}
/* Consecutive sections on the same surface read as one block: no doubled gap. */
main > section.bg-white:not(.es-section) + section.bg-white:not(.es-section),
main > section.bg-gray-50:not(.es-section) + section.bg-gray-50:not(.es-section) {
  padding-top: 0 !important;
}
main > section.bg-white:not(.es-section),
html.dark main > section.bg-white:not(.es-section) { background: var(--es-surface) !important; }
main > section:is(.bg-gray-50, .bg-gray-100, .section-alt, [class*="bg-gray-100/"], [class*="bg-gray-50/"]):not(.es-section),
html.dark main > section:is(.bg-gray-50, .bg-gray-100, .section-alt, [class*="bg-gray-100/"], [class*="bg-gray-50/"]):not(.es-section) {
  background: var(--es-surface-alt) !important;
}
/* Page intro under breadcrumb: flat compact band — do not mirror homepage hero. */
main > nav[aria-label="Breadcrumb"] + section:not(.es-section),
html.dark main > nav[aria-label="Breadcrumb"] + section:not(.es-section) {
  padding-top: var(--pagehead-y) !important;
  padding-bottom: var(--pagehead-y) !important;
  background: var(--es-surface-alt) !important;
  border-bottom: 1px solid var(--es-border);
}
@media (min-width: 1024px) {
  main > nav[aria-label="Breadcrumb"] + section:not(.es-section) {
    padding-top: var(--pagehead-y-lg) !important;
    padding-bottom: var(--pagehead-y-lg) !important;
  }
}
main > nav[aria-label="Breadcrumb"] + section .intro-gradient,
main > nav[aria-label="Breadcrumb"] + section.intro-gradient { background-image: none; }
main > nav[aria-label="Breadcrumb"] + section h1 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  font-weight: 700 !important;
  text-wrap: balance;
  margin-bottom: 8px !important;
}
main > nav[aria-label="Breadcrumb"] + section h1 + p,
main > nav[aria-label="Breadcrumb"] + section p.text-lg,
main > nav[aria-label="Breadcrumb"] + section p.text-xl {
  font-size: 1rem !important;
  line-height: 1.55 !important;
  max-width: var(--shell-narrow);
  margin-left: auto;
  margin-right: auto;
}
/* Section headings on legacy pages → shell h2 scale */
main > section:not(.es-section) h2:is(.text-3xl, .text-4xl, [class*="md:text-4xl"], [class*="md:text-3xl"]) {
  font-size: var(--fs-h2) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* Legacy cards: one radius / border / shadow; no tinted or coloured default borders. */
main .vs-card,
main .modern-card {
  border-radius: var(--radius-md) !important;
}
/* Inset block inside a card: divider instead of a nested box */
.es-inset { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--es-border); }
/* 404: keep the oversized code clear of the fixed header. !important: page <head> sets main padding with !important. */
main.es-404 { padding-top: calc(var(--nav-h) + 48px) !important; padding-bottom: 56px !important; }
.es-cta-band--flush { margin-top: 0; }
/* Eyebrow-style card titles (uppercase h3 on legacy pages) keep the eyebrow scale. */
.es-card h3.uppercase { font-size: var(--fs-eyebrow) !important; letter-spacing: .08em; color: var(--brand-ink) !important; margin-bottom: 8px; }

/* ── v3 (§3c): extra illustration primitives ─────────────────────────── */
.es-ill text { font-family: inherit; }
.es-ill .ill-num { fill: var(--es-on-brand); font-size: 12px; font-weight: 700; }
.es-ill .ill-num-soft { fill: var(--ill-brand); font-size: 12px; font-weight: 700; }
.es-ill .ill-label { fill: var(--ill-brand); font-size: 11px; font-weight: 700; }
.es-ill .ill-label-strong { fill: var(--text); font-size: 12px; font-weight: 600; }
.es-ill .ill-track-fill { fill: color-mix(in srgb, var(--ill-line) 40%, var(--ill-surface)); }
.es-ill .ill-boundary { fill: color-mix(in srgb, var(--ill-brand) 5%, transparent); stroke: color-mix(in srgb, var(--ill-brand) 45%, transparent); stroke-width: 1.5; stroke-dasharray: 6 5; }
.es-ill .ill-surface-chip { fill: var(--ill-surface); stroke: color-mix(in srgb, var(--ill-brand) 45%, transparent); stroke-width: 1.5; }
.es-ill .ill-cloud { fill: none; stroke: var(--ill-line); stroke-width: 2; stroke-linejoin: round; }
.es-ill .ill-x { fill: none; stroke: var(--ill-amber); stroke-width: 2.5; stroke-linecap: round; }
.es-ill .ill-ring { fill: none; stroke: var(--ill-line); stroke-width: 1.5; }

/* ── v3 (§3c): PageHeader band ───────────────────────────────────────── */
/* Compact inner-page top — flat surface, tool-header type scale. Homepage
   keeps .es-hero. !important: beats legacy breadcrumb+section rules above
   and shell.css dark-mode section background sweep. */
main > section.es-pagehead,
html.dark main > section.es-pagehead,
main > nav[aria-label="Breadcrumb"] + section.es-pagehead {
  padding: var(--pagehead-y) 0 !important;
  background: var(--es-surface-alt) !important;
  border-bottom: 1px solid var(--es-border);
}
@media (min-width: 1024px) {
  main > section.es-pagehead,
  main > nav[aria-label="Breadcrumb"] + section.es-pagehead {
    padding: var(--pagehead-y-lg) 0 !important;
  }
}
.es-pagehead__grid { display: grid; gap: 16px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.es-pagehead__grid > * { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .es-pagehead__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; } }
.es-pagehead--text .es-pagehead__grid { grid-template-columns: minmax(0, 1fr); }
.es-pagehead__copy { max-width: 720px; text-align: left; }
.es-pagehead h1,
main > nav[aria-label="Breadcrumb"] + section.es-pagehead h1 {
  margin: 0 0 8px !important;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  font-weight: 700 !important;
  color: var(--text) !important;
  text-wrap: balance;
}
.es-pagehead h1 .es-hl { color: var(--brand-ink) !important; }
.es-pagehead__lead,
main > nav[aria-label="Breadcrumb"] + section.es-pagehead .es-pagehead__lead {
  margin: 0 !important;
  max-width: 640px;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
}
.es-pagehead__note { margin: 8px 0 0; max-width: 640px; font-size: var(--fs-small); line-height: 1.5; color: var(--muted) !important; }
.es-pagehead__note a, .es-pagehead__links a { color: var(--brand-ink) !important; font-weight: 500; }
.es-pagehead__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: var(--fs-small); }
.es-pagehead .es-btn-group { margin-top: 14px; }
.es-pagehead__visual { display: none; width: 100%; max-width: 300px; margin-inline: auto; }
.es-pagehead__visual .es-ill { max-height: 140px; }
@media (min-width: 640px) { .es-pagehead__visual { display: block; } }
@media (min-width: 1024px) { .es-pagehead__visual .es-ill { max-height: 160px; } .es-pagehead__visual { margin: 0; } }
.es-pagehead__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.es-pagehead__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 12px; font-weight: 500; }

/* In-section split intro (text | 480×320 visual), used on features / trust / how-it-works */
.es-split--intro { margin-bottom: var(--stack-intro); text-align: left; }
.es-split--intro h2 { margin: 0 0 8px; }
.es-split--intro p { margin: 0; }
.es-visual-slot { margin-top: 20px; }
.es-visual-slot .es-ill { max-width: 520px; margin-inline: auto; }

/* Section TOC chips (best practices) */
.es-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.es-toc a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--es-border); background: var(--es-card); font-size: 13px; font-weight: 500; color: var(--text-secondary) !important; text-decoration: none; }
.es-toc a:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--es-border)); color: var(--brand-ink) !important; }

/* ── Legal pages (shared layout + TOC) ─────────────────────────────────── */
/* Inherit compact pagehead padding; keep slightly denser type below. */
main > nav[aria-label="Breadcrumb"] + section.es-pagehead--legal,
main > section.es-pagehead--legal {
  padding: var(--pagehead-y) 0 !important;
}
@media (min-width: 1024px) {
  main > nav[aria-label="Breadcrumb"] + section.es-pagehead--legal,
  main > section.es-pagehead--legal { padding: var(--pagehead-y-lg) 0 !important; }
}
.es-pagehead--legal h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem) !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}
.es-pagehead--legal .es-pagehead__lead {
  font-size: var(--fs-small) !important;
  max-width: 40rem;
}
.es-legal-toc-wrap {
  margin-top: 14px;
  max-width: 720px;
}
.es-legal-toc-wrap[hidden] { display: none !important; }
.es-legal-toc-wrap > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.es-legal-toc-wrap > summary::-webkit-details-marker { display: none; }
.es-legal-toc-wrap > summary::after {
  content: "▾";
  font-size: 11px;
  color: var(--brand-ink);
}
.es-legal-toc-wrap[open] > summary::after { content: "▴"; }
.es-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.es-legal-toc a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--es-border);
  background: var(--es-card);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-secondary) !important;
  text-decoration: none;
}
.es-legal-toc a:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--es-border));
  color: var(--brand-ink) !important;
}
.es-legal {
  width: 100%;
  max-width: var(--shell-narrow);
  margin: 0 auto;
  padding: 12px var(--shell-g) 40px;
}
.es-legal__body.legal-content,
.legal-content.es-legal__body {
  background: var(--es-card) !important;
  border: 1px solid var(--es-border);
  border-radius: var(--radius-md);
  box-shadow: var(--es-card-shadow);
  padding: 18px 16px !important;
  color: var(--text);
}
@media (min-width: 640px) {
  .es-legal__body.legal-content,
  .legal-content.es-legal__body { padding: 24px 28px !important; }
}
@media (min-width: 1024px) {
  .es-legal__body.legal-content,
  .legal-content.es-legal__body { padding: 28px 32px !important; }
}
.legal-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text) !important;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--text) !important;
  scroll-margin-top: calc(var(--page-top-offset) + 12px);
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.15rem 0 0.5rem;
  color: var(--text) !important;
  scroll-margin-top: calc(var(--page-top-offset) + 12px);
}
.legal-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem;
  color: var(--text) !important;
}
.legal-content p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--muted) !important;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--muted) !important;
}
.legal-content li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
.legal-content a {
  color: var(--brand-ink) !important;
  text-decoration: underline;
}
.legal-content strong {
  font-weight: 600;
  color: var(--text) !important;
}
.es-legal-hub {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .es-legal-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .es-legal-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── v3 (§3c): trimmed home hero ─────────────────────────────────────── */
.es-hero { padding-block: 32px !important; }
@media (min-width: 1024px) {
  .es-hero { padding-block: 48px !important; }
  .es-hero__grid { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 56px; }
  .es-hero__visual .es-ill { max-height: 380px; }
}
.es-hero h1 { max-width: 15ch; }
.es-hero__sub { max-width: 37rem; margin-bottom: 24px; }
/* "What you get" list relocated from the hero into the first section */
.es-gets { margin: 0 auto var(--stack-intro); padding: 14px 18px; max-width: 920px; border: 1px solid var(--es-border); border-radius: var(--radius-md); background: var(--es-card); }
.es-gets__title { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 600; color: var(--text) !important; }
.es-gets .es-checks { margin: 0; }
@media (min-width: 480px) { .es-checks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; } }
@media (min-width: 1024px) { .es-checks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── v3 (§3c): pricing plans ─────────────────────────────────────────── */
div.es-section--block { padding-block: var(--section-pad); background: var(--es-surface); }
.es-note { max-width: 860px; margin: 0 auto 24px; padding: 14px 18px; border: 1px solid var(--es-border); border-radius: var(--radius-md); background: var(--es-surface-alt); }
.es-note h3 { margin: 0 0 4px !important; font-size: var(--fs-small) !important; font-weight: 600; color: var(--text) !important; }
.es-note p { font-size: var(--fs-small) !important; color: var(--muted) !important; }
.es-plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 640px) { .es-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .es-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 639px) {
  .es-plans { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--shell-g)); padding: 14px var(--shell-g) 8px; scroll-padding-inline: var(--shell-g); scrollbar-width: none; }
  .es-plans::-webkit-scrollbar { display: none; }
  .es-plans > * { scroll-snap-align: start; }
}
.es-plan,
html.dark main .es-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--es-card) !important;
  border: 1px solid var(--es-border) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--es-card-shadow);
}
.es-plan--featured,
html.dark main .es-plan--featured { border: 2px solid var(--brand-ink) !important; box-shadow: var(--es-card-shadow-hover); }
.es-plan__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 3px 10px; border-radius: 999px; background: var(--brand); color: var(--es-on-brand);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
/* !important: page <head> sets .plan-card-inner padding. */
.es-plan .plan-card-inner { padding: 20px 18px !important; }
.es-plan .text-4xl { font-size: 2rem !important; }
.es-plan h3 { font-size: 1.0625rem !important; font-weight: 600 !important; }
.es-chip--plan { margin-bottom: 0; }
.es-chip--plan svg { width: 20px !important; height: 20px !important; }
.es-plan__tag { margin: 0 0 6px; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink) !important; }
.es-plan__best { margin-bottom: 16px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--es-surface-alt); border: 1px solid var(--es-border); color: var(--text-secondary); }
.es-plan__best-title { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.es-plan__ico { color: var(--brand-ink) !important; }
.es-plan__em { color: var(--brand-ink) !important; font-weight: 500; }
.es-plan .es-btn { width: 100%; white-space: nowrap; padding: 0 12px; font-size: 14px; }
.es-plan__sub { margin: -2px 0 0; text-align: center; font-size: 12px; line-height: 1.4; color: var(--muted) !important; }

/* Tutorial stepper chips (in page header) */
.es-stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.es-stepper > span { color: var(--muted); }
/* Vendor review: workflow coverage strip under the workspace header */
.es-coverage { margin: 0 0 24px; }
.es-coverage h2 { margin: 0 0 10px; font-size: var(--fs-small) !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.es-coverage ol { display: grid; gap: 12px; margin: 0 !important; }
.es-coverage ol > li { margin: 0 !important; padding: 14px; border: 1px solid var(--es-border); border-radius: var(--radius-md); background: var(--es-card); }
@media (min-width: 640px) { .es-coverage ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .es-coverage ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .es-hero h1 { line-height: 1.05 !important; margin-bottom: 14px; }
  .es-hero__sub { max-width: 600px; font-size: 1.125rem; margin-bottom: 22px; }
  .es-hero__note { margin-top: 10px; }
}
/* ID selector: the index <head> rule `main > section:not(#hero)` carries ID specificity. */
main > section#vs-hero { padding-top: 32px !important; padding-bottom: 32px !important; }
@media (min-width: 1024px) { main > section#vs-hero { padding-top: 48px !important; padding-bottom: 48px !important; } }

/* ---------------------------------------------------------------------------
   Long-form trust blocks (trust.html .es-longform): on phones a bordered card
   around several paragraphs doubles the padding and makes the page very long.
   Flatten to plain section content and scale the 30px+ heading down to the
   shell h2 size. !important: beats Tailwind p-8/border-2 utilities on the node.
--------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .modern-card.es-longform {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .modern-card.es-longform > .flex:first-child { gap: 12px !important; margin-bottom: 16px !important; }
  .modern-card.es-longform > .flex:first-child > svg { width: 28px; height: 28px; }
  .modern-card.es-longform h2 { font-size: 1.5rem !important; line-height: 1.2 !important; }
  .modern-card.es-longform p { font-size: 15px; line-height: 1.55; }
}

/* ── v4 (§3d): real product captures ─────────────────────────────────── */
/* Light/dark capture pairs: one <img> per theme, toggled by html.dark. */
.es-shot { display: block; width: 100%; height: auto; }
html.dark .es-shot--light,
:root:not(.dark) .es-shot--dark { display: none; }
/* Frame chrome shared by the three ERMITS sites: 28px bar, three dots, muted URL. */
.es-frame__bar { height: 28px; gap: 6px; padding: 0 12px; }
.es-frame__bar span { width: 8px; height: 8px; }
.es-frame__url {
  margin-left: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-style: normal; font-size: 11px; color: var(--muted);
}
.es-frame img.es-shot { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.es-frame--natural img.es-shot { aspect-ratio: auto; object-fit: initial; }
.es-frame--hero { box-shadow: 0 24px 48px -12px rgb(15 23 42 / .18), var(--shadow-sm); }
html.dark .es-frame--hero { box-shadow: 0 24px 48px -12px rgb(0 0 0 / .5); }

/* Product stage: main capture + up to two real element crops as callouts (desktop only). */
.es-stage { position: relative; }
.es-stage::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 75%);
}
.es-stage > * { position: relative; z-index: 1; }
.es-callout {
  position: absolute; z-index: 2; display: none; overflow: hidden;
  border: 1px solid var(--es-border); border-radius: 10px; background: var(--es-card);
  box-shadow: var(--shadow-md);
}
html.dark .es-callout { box-shadow: 0 12px 24px -8px rgb(0 0 0 / .5); }
.es-callout .es-shot { width: 100%; }
@media (min-width: 1024px) {
  .es-callout { display: block; }
  .es-callout--a { width: 42%; left: -24px; bottom: -24px; }
  .es-callout--b { width: 30%; right: -24px; bottom: -24px; }
  .es-callout--c { width: 58%; left: -24px; bottom: -28px; }
  .es-stage--report { margin-bottom: 28px; }
}
.es-stage__caption { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted) !important; }
@media (min-width: 1024px) { .es-hero__visual .es-stage__caption { margin-top: 34px; } }
/* Mobile: main capture only, cropped from the top. */
@media (max-width: 1023px) {
  .es-hero__visual .es-frame img.es-shot { max-height: 240px; }
}
.es-hero__visual { max-width: 600px; }
.es-pagehead__visual .es-frame { overflow: hidden; }
.es-pagehead__visual .es-frame img.es-shot {
  max-height: 140px;
  object-fit: contain;
  object-position: top center;
  background: var(--es-card);
}
@media (min-width: 1024px) {
  .es-pagehead__visual .es-frame img.es-shot { max-height: 160px; }
}
.es-visual-slot .es-frame { max-width: 640px; margin-inline: auto; }

/* Labelled concept diagram (trust): explains architecture, not product UI. */
.es-diagram .dg-label { fill: var(--text); font-size: 11px; font-weight: 600; }
.es-diagram .dg-title { fill: var(--text); font-size: 12px; font-weight: 600; }
.es-diagram .dg-sub { fill: var(--muted); font-size: 10.5px; }

/* ── v5 (§3e): concept-card spot illustrations ───────────────────────── */
/* Shared duotone style: brand stroke 1.75 + brand-soft fill + neutral line; amber only for risk. */
.es-ci { display: block; width: 64px; height: 48px; overflow: visible; }
@media (min-width: 640px) { .es-ci { width: 88px; height: 66px; } }
.es-ci * { stroke-linecap: round; stroke-linejoin: round; }
.es-ci .ci-f { fill: color-mix(in srgb, var(--ill-brand) 16%, var(--es-card)); stroke: var(--ill-brand); stroke-width: 1.75; }
.es-ci .ci-s { fill: none; stroke: var(--ill-brand); stroke-width: 1.75; }
.es-ci .ci-l { fill: none; stroke: var(--ill-line); stroke-width: 1.75; }
.es-ci .ci-n { fill: var(--es-card); stroke: var(--ill-line); stroke-width: 1.5; }
.es-ci .ci-a { fill: color-mix(in srgb, var(--ill-amber) 30%, var(--es-card)); stroke: var(--ill-amber); stroke-width: 1.75; }
.es-ci .ci-dot { fill: var(--ill-brand); }
.es-ci .ci-solid { fill: var(--es-card); stroke: var(--ill-brand); stroke-width: 1.75; }
.es-ci .ci-dash { stroke-dasharray: 3 4; }
/* Top tinted panel (grids of 3–4). Negative margins match the card padding (16 / 20px). */
.es-card__art {
  display: flex; align-items: center; justify-content: center;
  height: 60px; margin: -16px -16px 12px;
  background: var(--brand-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-ink) 12%, transparent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
@media (min-width: 640px) { .es-card__art { height: 80px; margin: -20px -20px 14px; } }
.es-card:has(.es-card__art) { overflow: hidden; }
a.es-card:hover .es-card__art { background: color-mix(in srgb, var(--brand-ink) 13%, transparent); }
a.es-card:hover .es-card__art .es-ci { transform: translateY(-2px); transition: transform var(--dur) var(--ease); }
/* Pricing: panel spans the plan card top (plan-card-inner carries the padding). */
.es-plan .es-plan__art { margin: 0; border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; }
.es-plan--featured .es-plan__art { border-radius: calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0 0; }
/* Features personas: 72px tinted square above each persona panel. */
.es-persona { display: flex; align-items: center; justify-content: center; width: 96px; height: 72px; margin: 0 auto 14px; border-radius: var(--radius-md); background: var(--brand-soft); }
.es-persona .es-ci { width: 64px; height: 48px; }
/* Non-UI concept figure (reused brand illustration) */
.es-figure { margin: 0; }
.es-figure img { display: block; width: 100%; max-width: 447px; height: auto; margin-inline: auto; border-radius: var(--radius-md); border: 1px solid var(--es-border); }
.es-figure figcaption { margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); }

/* FAQ: compact accordion */
.faq-list { max-width: 820px; margin: 0 auto 32px; display: grid; gap: 10px; }
details.faq-q { border: 1px solid var(--es-border); border-radius: 12px; background: var(--es-card); box-shadow: var(--es-card-shadow); overflow: hidden; }
details.faq-q > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
details.faq-q > summary::-webkit-details-marker { display: none; }
details.faq-q[open] > summary { border-bottom: 1px solid var(--es-border); }
.faq-q__title { font-size: 1rem !important; font-weight: 600; margin: 0 !important; line-height: 1.4; color: var(--fg, inherit); }
.faq-q__chev { flex-shrink: 0; transition: transform .15s; color: var(--muted); }
details.faq-q[open] .faq-q__chev { transform: rotate(180deg); }
.faq-q__answer { padding: 12px 16px 14px; }
.faq-q__answer p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--muted); }
.faq-q__answer a { color: var(--brand); font-weight: 500; }
.faq-cta { max-width: 820px; margin: 0 auto; text-align: center; }
main details.faq-q { display: block !important; }
main details.faq-q > summary { width: 100%; }
main .faq-q__answer, main .faq-q__answer p { font-weight: 400 !important; }
main .faq-cta h2 { font-size: 1.5rem !important; font-weight: 700; margin: 0 0 6px; }
main details.faq-q { padding: 0 !important; }

/* How It Works: stage cards */
.hiw-stage { display: flex; flex-direction: column; }
.hiw-stage h3 { margin: 4px 0 6px !important; }
.hiw-stage .hiw-stage__out { font-weight: 600; color: var(--fg, inherit) !important; }
.hiw-stage .hiw-stage__links { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hiw-cta { margin-top: 32px; }
main .hiw-cta h2, main .faq-cta h2 { font-size: 1.5rem !important; font-weight: 700 !important; margin: 0 0 6px !important; color: var(--fg, inherit); }

/* Mobile: no sideways scrolling — card rows stack, plans stack, compare tables fit the screen */
@media (max-width: 767px) {
  .es-snap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
  .es-plans {
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
  .compare-table-wrap { overflow-x: visible !important; }
  .compare-table { min-width: 0 !important; width: 100% !important; table-layout: fixed; font-size: 0.6875rem !important; }
  .compare-table th, .compare-table td { padding: 6px 3px !important; word-break: normal; overflow-wrap: anywhere; min-width: 0 !important; max-width: none !important; }
  .compare-table th:first-child, .compare-table td:first-child { width: 32%; position: static !important; }
  .es-hero h1, .es-pagehead h1, main h1, main h2 { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 359px) {
  .es-hero h1, .es-pagehead h1 { font-size: 1.75rem !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .compare-table-wrap { overflow-x: visible !important; }
  .compare-table { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
  .compare-table th, .compare-table td { min-width: 0 !important; max-width: none !important; overflow-wrap: anywhere; }
  .compare-table th:first-child, .compare-table td:first-child { width: 28%; position: static !important; }
}

/* Trust: framework map */
.trust-map { max-width: 820px; margin: 0 auto; border: 1px solid var(--es-border); border-radius: 12px; overflow: hidden; background: var(--es-card); }
.trust-map table { width: 100%; border-collapse: collapse; font-size: 15px; }
.trust-map th, .trust-map td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--es-border); vertical-align: top; }
.trust-map th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--es-subtle, transparent); }
.trust-map td:first-child { font-weight: 600; width: 38%; }
.trust-map td:last-child { color: var(--muted); }
.trust-map tr:last-child td { border-bottom: 0; }
main .hiw-cta h2 { font-size: 1.5rem !important; }
.trust-note { text-align: center; margin: 14px auto 0; max-width: 820px; }
@media (max-width: 1023px) {
  .compare-table thead th { overflow-wrap: normal !important; word-break: keep-all; hyphens: none; font-size: 10px !important; letter-spacing: -0.01em; }
}

/* ── Homepage finishing: side tiles, tier cards, chips, split CTA, hub chips ── */
.es-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .es-tiles { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .es-tiles > :last-child:nth-child(odd) { grid-column: auto; }
}
/* Homepage #data: one column on phones, three in a row from tablet up. */
#data .es-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) {
  #data .es-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
#data .es-tiles > :last-child:nth-child(odd) { grid-column: auto; }
.es-card--side {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
}
.es-card--side > :not(.es-card__art) { grid-column: 2; }
.es-card--side > .es-card__art {
  grid-column: 1; grid-row: 1 / span 3;
  width: 64px; height: 64px; margin: 0;
  border-radius: var(--radius-md);
  border-bottom: 0;
  background: var(--brand-soft);
}
.es-card--side > .es-card__art .es-ci { width: 54px; height: 40px; }
@media (max-width: 639px) {
  .es-tiles:has(> .es-card--side) { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #data .es-tiles:has(> .es-card--side) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .es-card--side { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; }
  #data .es-card--side {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
    column-gap: 0;
  }
  #data .es-card--side > .es-card__art {
    grid-column: 1; grid-row: auto; width: 48px; height: 48px;
  }
  #data .es-card--side > :not(.es-card__art) { grid-column: 1; }
  .es-card--side > .es-card__art { width: 52px; height: 52px; }
  .es-card--side > .es-card__art .es-ci { width: 44px; height: 33px; }
  #data .es-card--side > .es-card__art .es-ci { width: 40px; height: 30px; }
}

.es-tier { display: flex; flex-direction: column; text-align: center; }
.es-tier .es-tier__name {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.es-tier .es-tier__price {
  margin: 4px 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text) !important;
}
.es-tier .es-tier__price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.es-tier .es-tier__desc { margin: 8px 0 16px; font-size: var(--fs-small); color: var(--muted) !important; }
.es-tier .es-btn { margin-top: auto; width: 100%; }
.es-card--featured,
.es-tier--featured {
  border: 2px solid var(--brand-ink) !important;
  box-shadow: var(--es-card-shadow-hover);
}
.es-tier--featured .es-tier__name { color: var(--brand-ink) !important; }

/* Homepage plans + closing CTA: denser band, three tier cards in one row. */
#plans.es-section { padding-block: clamp(28px, 4vw, 40px) !important; }
#plans .es-intro { margin-bottom: 16px; }
#plans .es-intro .es-lead { font-size: .9375rem !important; line-height: 1.45 !important; }
#plans .es-grid.es-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#plans .es-grid.es-grid--3 > :last-child:nth-child(odd) { grid-column: auto; }
#plans .es-tier {
  padding: 14px 12px;
  gap: 0;
}
#plans .es-tier .es-tier__price { font-size: 1.5rem; margin-top: 2px; }
#plans .es-tier .es-tier__price span { font-size: .8125rem; }
#plans .es-tier .es-tier__desc { margin: 6px 0 12px; font-size: .75rem; line-height: 1.35; }
#plans .es-tier .es-btn { height: 36px; font-size: .8125rem; padding: 0 12px; }
#plans .es-after { margin-top: 14px; }
#start.es-section { padding-block: clamp(24px, 3.5vw, 36px) !important; }
#start .es-cta-band {
  margin-top: 0;
  padding: 20px 18px;
}
#start .hiw-cta { margin-top: 0; }
#start .es-cta-band--split .es-cta-band__copy .es-lead { margin-top: 4px; font-size: .9375rem !important; }
#start .es-cta-band--split .es-btn-group { margin-top: 14px; }
@media (min-width: 768px) {
  #start .es-cta-band { padding: 24px 28px; }
}
@media (max-width: 559px) {
  #plans .es-grid.es-grid--3 { grid-template-columns: 1fr; }
}

.es-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 0; margin: 0; list-style: none; max-width: 100%; }
.es-chips > * {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--es-border); background: var(--es-card);
  font-size: 0.8125rem; font-weight: 600; color: var(--text);
  max-width: 100%;
}
.es-subhead {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.es-align-note { margin: 10px 0 0; font-size: 0.8125rem; color: var(--muted) !important; }
.es-split__aside { width: 100%; margin-top: 20px; }
.es-split__visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.es-split__visual .es-frame { width: 100%; }

.es-cta-band--split { text-align: center; }
.es-cta-band--split .es-cta-band__copy { min-width: 0; }
.es-cta-band--split .es-cta-band__copy .es-lead { margin: 8px auto 0; }
.es-cta-band--split .es-btn-group { margin-top: 20px; justify-content: center; }
@media (min-width: 900px) {
  .es-cta-band--split {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: left;
  }
  .es-cta-band--split .es-cta-band__copy .es-lead { margin-inline: 0; max-width: none; }
  .es-cta-band--split .es-btn-group { margin-top: 0; flex-shrink: 0; justify-content: flex-end; }
}

/* Hub meta chips (Vendor Review) — pill row, not stacked eyebrows */
.es-hub-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.es-hub-chip {
  display: inline-flex; align-items: center;
  font-size: 0.625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: color-mix(in srgb, var(--muted) 12%, var(--es-card));
  border: 1px solid var(--es-border); border-radius: 9999px; padding: .15rem .45rem; line-height: 1.2;
}
.es-hub-chip.is-accent {
  color: var(--brand-ink);
  background: color-mix(in srgb, var(--brand-ink) 12%, var(--es-card));
  border-color: color-mix(in srgb, var(--brand-ink) 28%, var(--es-border));
}

.es-note--strip {
  max-width: none; margin: 0 0 20px; padding: 10px 16px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.es-note--strip .es-note__label {
  margin: 0; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-ink) !important;
}
.es-note--strip p { margin: 0; }
