/* Copied from the live eslpod.com page shell. Do not edit here. */

@media (max-width: 700px){
  #ep-hero .ep-hero-cta-row{ justify-content:center; }
  #ep-hero .ep-hero-cta-col{ width:100%; }
  #ep-hero .ep-btn-large{ background:var(--ep-orange)!important; display:block; width:100%; max-width:460px; margin-left:auto; margin-right:auto; text-align:center; }
}


/* ─── Article pages (/method/, /research/, /research/all/) ───── */
#ep-article-page { padding: 36px 0 0; }
.ep-art-wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* The nav is sticky, so a deep link would otherwise land the heading
   underneath it. Derived from --ep-nav-h so it follows the logo size. */
html { scroll-padding-top: calc(var(--ep-nav-h) + 14px); }
.ep-art [id], .ep-cluster[id], .ep-art h2[id], .ep-art h3[id] {
  scroll-margin-top: calc(var(--ep-nav-h) + 14px);
}

.ep-breadcrumb { font-size: .86rem; color: var(--ep-muted); margin: 0 0 22px; }
.ep-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ep-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.ep-breadcrumb li + li::before { content: "/"; color: var(--ep-border); }
.ep-breadcrumb a { color: var(--ep-muted); text-decoration: none; }
.ep-breadcrumb a:hover { color: var(--ep-dark); text-decoration: underline; }

.ep-art h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem); font-weight: 900; line-height: 1.14;
  letter-spacing: -.015em; color: var(--ep-dark); margin: 0 0 .45em; text-wrap: pretty;
}
.ep-art .ep-art-byline {
  font-size: .95rem; color: var(--ep-muted); margin: 0 0 30px;
  padding-bottom: 22px; border-bottom: 1px solid var(--ep-border);
}
.ep-art h2 {
  font-size: clamp(1.28rem, 2.6vw, 1.65rem); font-weight: 900; line-height: 1.22;
  letter-spacing: -.01em; color: var(--ep-dark); margin: 2.1em 0 .6em; text-wrap: pretty;
}
.ep-art h3 {
  font-size: clamp(1.02rem, 2vw, 1.15rem); font-weight: 800; line-height: 1.3;
  color: var(--ep-dark); margin: 1.7em 0 .45em;
}
.ep-art p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 1.15em; color: #333; text-wrap: pretty; }
.ep-art strong { color: var(--ep-dark); font-weight: 800; }
.ep-art a { color: #1f7a12; text-decoration: underline; text-underline-offset: 2px; }
.ep-art a:hover { color: var(--ep-orange); }
.ep-art ul, .ep-art ol { font-size: 1.06rem; line-height: 1.7; color: #333; padding-left: 1.4em; margin: 0 0 1.3em; }
.ep-art li { margin: 0 0 .6em; }
.ep-art ol.ep-principles { counter-reset: none; }
.ep-art ol.ep-principles > li { margin-bottom: .9em; }

.ep-art .ep-lede { font-size: 1.16rem; line-height: 1.66; color: var(--ep-dark); }

.ep-art figure.viz {
  margin: 30px 0 34px; padding: 22px 18px 16px;
  background: var(--ep-bg); border: 1px solid var(--ep-border); border-radius: var(--ep-r);
}
.ep-art figure.viz svg { display: block; width: 100%; height: auto; }
.ep-art figure.viz img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ep-art figure.viz figcaption { margin-top: 10px; font-size: .84rem; color: var(--ep-muted); text-align: center; }

.ep-art .ep-readmore {
  margin: 0 0 1.6em; padding: 13px 18px; border-left: 4px solid var(--ep-green);
  background: var(--ep-bg); border-radius: 0 8px 8px 0; font-size: 1rem; line-height: 1.55;
}
.ep-art .ep-readmore p { margin: 0; font-size: 1rem; }

.ep-art .ep-action {
  margin: 34px 0 26px; padding: 20px 22px; background: var(--ep-bg);
  border: 1px solid var(--ep-border); border-radius: var(--ep-r);
}
.ep-art .ep-action h2 { margin-top: 0; }
.ep-art .ep-action p:last-child { margin-bottom: 0; }

.ep-art .ep-signoff { font-style: normal; color: var(--ep-muted); font-size: .98rem; margin: 30px 0 0; }

.ep-art .ep-refs { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--ep-border); }
.ep-art .ep-refs h2 { margin-top: 0; font-size: 1.15rem; }
.ep-art .ep-refs ol { list-style: none; padding-left: 0; font-size: .92rem; line-height: 1.6; color: var(--ep-muted); }
.ep-art .ep-refs li { margin: 0 0 .85em; padding-left: 1.6em; text-indent: -1.6em; }
.ep-art .ep-refs cite { font-style: italic; }

/* An image figure that should not run the full column width */
.ep-art figure.viz img.half { max-width: 460px; margin: 0 auto; }

/* Comparison tables. The wrapper scrolls on a narrow screen rather than
   forcing the whole page wider, which is what a bare table does at 390px. */
.ep-art .ep-table-wrap { margin: 26px 0 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ep-art table.ep-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
.ep-art table.ep-table th, .ep-art table.ep-table td {
  border: 1px solid var(--ep-border); padding: 11px 13px; vertical-align: top;
  line-height: 1.55; color: #333; text-align: left;
}
.ep-art table.ep-table thead th { background: var(--ep-bg); color: var(--ep-dark); font-weight: 800; }
.ep-art table.ep-table tbody th { background: #fbfbfb; color: var(--ep-dark); font-weight: 700; width: 24%; }

/* Related articles, from the same cluster only */
.ep-art .ep-related {
  margin: 40px 0 30px; padding: 20px 22px 16px; background: #fff;
  border: 1px solid var(--ep-border); border-radius: var(--ep-r);
}
.ep-art .ep-related h2 { margin: 0 0 .55em; font-size: 1.12rem; }
.ep-art .ep-related ul { list-style: none; padding-left: 0; margin: 0; }
.ep-art .ep-related li { margin: 0 0 .5em; font-size: 1.02rem; line-height: 1.5; }

/* Cluster index (/research/all/) */
.ep-cluster { margin: 0 0 34px; padding: 22px 22px 8px; background: #fff; border: 1px solid var(--ep-border); border-radius: var(--ep-r); }
.ep-cluster h2 { margin: 0 0 .35em; font-size: 1.22rem; }
.ep-cluster .ep-cluster-blurb { font-size: 1rem; color: var(--ep-muted); margin: 0 0 1em; line-height: 1.6; }
.ep-cluster ul { list-style: none; padding-left: 0; margin: 0 0 1em; }
.ep-cluster li { margin: 0 0 .55em; font-size: 1.02rem; }
.ep-cluster .ep-soon { color: var(--ep-muted); font-size: .9rem; }

@media (max-width: 700px) {
  #ep-article-page { padding-top: 24px; }
  .ep-art figure.viz { padding: 14px 10px 10px; }
}


/* ─── Brand tokens (Foundation §3.1) ───────────────────────── */
:root {
  --ep-dark:    #1e1c26;
  --ep-darker:  #15131b;
  --ep-green:   #413b66;
  --ep-green2:  #d9d3ee;
  --ep-pill-bg: #1e1c26;
  --ep-pill-text: #d9d3ee;
  --ep-orange:  #6a3fb5;
  --ep-green-cta: #6a3fb5;
  --ep-blue:    #413b66;
  --ep-red:     #a8392f;
  --ep-muted:   #666070;
  --ep-bg:      #f6f5f9;
  --ep-border:  #e3e0ea;
  --ep-r:       12px;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ep-dark); background: #fff;
  -webkit-font-smoothing: antialiased;
}
#ep-page * { box-sizing: border-box; }

/* ─── Type ─────────────────────────────────────────────────── */
.ep-h1 { font-size: clamp(2rem,4.6vw,3rem); font-weight: 900; line-height: 1.12; color: var(--ep-dark); margin: 0 0 .55em; letter-spacing: -.015em; text-wrap: pretty; }
.ep-h1-light { color: #fff; }
.ep-h2 { font-size: clamp(1.5rem,3.2vw,2.2rem); font-weight: 900; line-height: 1.18; color: var(--ep-dark); margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: pretty; }
.ep-h2-light { color: #fff; }
.ep-h3 { font-size: clamp(1.05rem,2vw,1.25rem); font-weight: 800; line-height: 1.3; color: var(--ep-dark); margin: 0 0 .4em; }
.ep-lead { font-size: clamp(1rem,2vw,1.12rem); line-height: 1.65; margin: 0 0 1em; color: #333; text-wrap: pretty; }
.ep-lead-light { color: rgba(255,255,255,.86); }
.ep-eyebrow {
  display: inline-block;
  background: var(--ep-pill-bg);
  color: var(--ep-pill-text);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.1em;
  line-height: 1.1;
}
/* Translucent pill for dark hero bg */
#ep-hero .ep-eyebrow {
  background: color-mix(in srgb, var(--ep-green2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ep-green2) 35%, transparent);
  color: var(--ep-pill-text);
}
[data-hero-bg="light"] #ep-hero .ep-eyebrow {
  background: var(--ep-pill-bg);
  border: 0;
  color: var(--ep-pill-text);
}
/* v13: Founder is now on light bg, use default solid pill */
#ep-founder .ep-eyebrow {
  background: var(--ep-pill-bg);
  color: var(--ep-pill-text);
  border: 0;
}
/* Legacy muted variant — kept so existing markup still renders, no-op now */
.ep-eyebrow-muted { /* override the old muted text-only variant */ }
.ep-center { text-align: center; }

.ep-wrap      { max-width: 900px;  margin: 0 auto; padding: 0 20px; }
.ep-wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.ep-sec       { padding: clamp(48px, 7vw, 80px) 0; }

/* ─── Buttons ──────────────────────────────────────────────── */
.ep-btn {
  display: inline-block; box-sizing: border-box;
  background: var(--ep-orange); color: #fff !important;
  font-size: 1.02rem; font-weight: 800;
  padding: 16px 26px; border: 0; border-radius: 32px;
  text-align: center; cursor: pointer; line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ep-orange) 35%, transparent);
  transition: filter .15s ease, transform .1s ease;
  font-family: inherit;
}
.ep-btn:hover { filter: brightness(.94); transform: translateY(-2px); }
.ep-btn-green { background: var(--ep-green) !important; box-shadow: none; }
/* Flat hero CTA — no glow, no fuzz */
#ep-hero .ep-btn { box-shadow: none !important; text-shadow: none; }
.ep-btn-large { font-size: 1.12rem; padding: 20px 32px; }
.ep-btn-block { display: block; width: 100%; max-width: 460px; margin: 0 auto; }
.ep-btn-ghost { background: transparent !important; color: #fff !important; box-shadow: none; border: 2px solid rgba(255,255,255,.32); padding: 14px 24px; }
.ep-btn-ghost:hover { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.5); }

.ep-textlink { color: var(--ep-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ep-green); padding-bottom: 1px; }
.ep-textlink:hover { color: var(--ep-darker); border-bottom-color: var(--ep-green2); }
.ep-textlink-light { color: #fff; border-bottom-color: var(--ep-green2); }
.ep-textlink-light:hover { color: #fff; border-bottom-color: #fff; }

.ep-fine { font-size: 13px; color: rgba(255,255,255,.7); text-align: center; line-height: 1.5; }
.ep-fine-dark { font-size: 13px; color: var(--ep-muted); text-align: center; line-height: 1.5; }

/* ─── Sticky top nav (Foundation §4) ───────────────────────── */
#ep-nav {
  position: sticky; top: 0; z-index: 90;
  background: var(--ep-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ep-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px;
}
.ep-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ep-logo svg { display: block; height: 34px; width: auto; }
:root { --ep-logo-h: 32px; --ep-nav-h: calc(var(--ep-logo-h) + 25px); }  /* 56px -> 32px, site-wide logo standard (see note below). --ep-nav-h is
     derived from it, so the nav bar follows automatically. */
.ep-logo img { display: block; height: var(--ep-logo-h); width: auto; }
.ep-nav-spacer { flex: 1 1 auto; }
.ep-nav-list {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.ep-nav-list > li { position: relative; }
.ep-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: .95rem; font-weight: 500;
  text-decoration: none; padding: 10px 12px; border-radius: 8px;
  cursor: pointer; background: transparent; border: 0; font-family: inherit;
}
.ep-nav-link:hover { font-weight: 700; background: rgba(255,255,255,.04); }
.ep-nav-caret { color: var(--ep-green2); font-size: .7rem; line-height: 1; transform: translateY(1px); }
.ep-nav-drop {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: #353535; border-radius: 10px; padding: 6px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
  display: none; flex-direction: column; gap: 1px;
  z-index: 100;
}
.ep-nav-drop.open { display: flex; }
.ep-nav-drop a {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; padding: 10px 12px;
  font-size: .92rem; border-radius: 6px;
}
.ep-nav-drop a:hover { background: rgba(255,255,255,.08); }
.ep-nav-drop a::before {
  content: "▸"; color: var(--ep-green2); font-size: .7rem; flex-shrink: 0;
}
.ep-nav-cta {
  display: inline-block; background: var(--ep-orange); color: #fff !important;
  font-weight: 800; font-size: .92rem;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  margin-left: 6px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ep-orange) 35%, transparent);
  /* v22 item 4: reset native button chrome — .ep-nav-cta is applied to a
     <button>, and without this reset Safari paints its default button
     background/border behind the rounded orange pill (the white bg/shadow
     ring artifact). border-box clip stops any background bleed at corners. */
  -webkit-appearance: none; appearance: none;
  border: 0; background-clip: padding-box;
}
.ep-nav-cta:hover { filter: brightness(.94); }
/* v13: login as plain text link, not a pill */
.ep-nav-loginlink {
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 500;
  text-decoration: none; padding: 8px 10px; border-radius: 6px;
  margin-right: 6px;
}
.ep-nav-loginlink:hover { color: #fff; background: rgba(255,255,255,.04); }

/* Mobile nav */
.ep-nav-burger {
  display: none; background: transparent; border: 0; color: #fff;
  font-size: 1.4rem; cursor: pointer; padding: 8px 10px; border-radius: 8px;
}
.ep-nav-burger:hover { background: rgba(255,255,255,.06); }
.ep-mobile-drawer {
  display: none;
  position: fixed; inset: var(--ep-nav-h) 0 0 0;
  background: var(--ep-dark);
  padding: 24px 20px; overflow-y: auto;
  z-index: 89;
  flex-direction: column; gap: 4px;
}
.ep-mobile-drawer.open { display: flex; }
.ep-mobile-drawer a, .ep-mobile-drawer button {
  display: block; color: #fff; text-decoration: none;
  padding: 14px 12px; font-size: 1.05rem; font-weight: 600;
  border: 0; background: transparent; text-align: left; font-family: inherit;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer; width: 100%;
}
.ep-mobile-drawer .ep-mobile-section {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ep-green2); padding: 18px 12px 6px; border: 0;
}
.ep-mobile-drawer .ep-nav-cta { margin: 16px 12px 0; text-align: center; }

@media (max-width: 960px) {
  .ep-nav-list, .ep-nav-cta-desk { display: none; }
  .ep-nav-burger { display: inline-flex; align-items: center; }
}
@media (min-width: 961px) {
  .ep-nav-burger { display: none; }
  .ep-mobile-drawer { display: none !important; }
}

/* Language pill (in nav) — matches Trial Thank You page */
.ep-lang-wrap { position: relative; flex-shrink: 0; }
.ep-lang-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #1d5c1d;
  font-family: inherit;
  border: 1px solid #b2dcb2; border-radius: 20px;
  padding: 6px 12px; font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.ep-lang-pill:hover { background: #f4fbf3; border-color: var(--ep-green); }
.ep-lang-pill .ep-globe { color: var(--ep-green); display: inline-flex; }
.ep-lang-pill .ep-globe svg { width: 14px; height: 14px; display: block; }
.ep-lang-pill .ep-caret { font-size: .72rem; opacity: .65; }
.ep-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--ep-border);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  display: none; flex-direction: column; gap: 1px;
  min-width: 220px; max-height: 380px; overflow-y: auto;
  z-index: 100;
}
.ep-lang-menu.open { display: flex; }
html[dir="rtl"] .ep-lang-menu { right: auto; left: 0; }
@media (max-width: 560px) { .ep-lang-menu { right: 12px; left: auto; min-width: 240px; } }
.ep-lang-menu button,
.ep-lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; border: 0; padding: 10px 12px;
  font-family: inherit; font-size: 13px; color: var(--ep-dark);
  text-align: left; cursor: pointer; border-radius: 8px;
  width: 100%; font-weight: 600; text-decoration: none;
}
html[dir="rtl"] .ep-lang-menu button,
html[dir="rtl"] .ep-lang-menu a { text-align: right; }
.ep-lang-menu button:hover,
.ep-lang-menu a:hover { background: #f0f7f0; }
.ep-lang-menu button.active,
.ep-lang-menu a.active,
.ep-lang-menu button[aria-selected="true"],
.ep-lang-menu a[aria-selected="true"] { background: #eafbea; color: #1d5c1d; font-weight: 800; }
.ep-lang-opt-code {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: var(--ep-muted); text-transform: uppercase;
}

/* ─── Hero (#ep-hero) ──────────────────────────────────────── */
#ep-hero {
  background: var(--ep-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#ep-hero::before {
  content: ""; position: absolute;
  top: -30%; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ep-green-cta) 10%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.ep-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "eyebrow ."
    "copy    portrait";
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 18px;
  align-items: stretch; /* v19: portrait matches h1-top → trust-bottom */
  padding: clamp(56px, 8vw, 88px) 0 clamp(44px, 6vw, 64px);
  position: relative;
}
.ep-hero-grid > .ep-eyebrow { grid-area: eyebrow; align-self: start; margin: 0; }
.ep-hero-copy { grid-area: copy; }
.ep-hero-portrait { grid-area: portrait; }
.ep-hero-copy { min-width: 0; }
.ep-hero-portrait {
  position: relative;
  width: 100%;
  justify-self: stretch;
  align-self: stretch;
  /* v18: padding removed so photo fills the rounded holder edge-to-edge */
}
.ep-hero-copy { min-width: 0; }
.ep-hero-portrait {
  position: relative;
  /* v24: reverted to stretch — container height matches copy column (h1 → trust); user supplying photo at matching ratio */
  align-self: stretch;
  max-width: 480px; width: 100%;
  margin-left: auto; margin-right: 0;
  border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse at center, #1f2d4a 0%, #0a1426 90%); /* v21: matches photo backdrop */
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 6px 16px rgba(0,0,0,.2);
}
.ep-hero-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; } /* v24: cover so new (matching-ratio) photo fills edge-to-edge */
.ep-hero-portrait-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .82rem; letter-spacing: .04em; text-align: center; padding: 20px;
}
.ep-hero-portrait-fallback::before {
  content: ""; display: block; width: 96px; height: 96px;
  border-radius: 50%; background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.18);
  margin-bottom: 18px;
}
.ep-hero-portrait-tag {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--ep-dark);
  color: #fff;
  color: #fff; font-size: .8rem; font-weight: 700;
  padding: 7px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
}
.ep-hero-portrait-tag b { color: #fff; font-weight: 800; }
.ep-hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; align-items: flex-start; }
.ep-hero-cta-row .ep-btn { padding: 18px 28px; font-size: 1.05rem; }
/* v12: wrap orange CTA + "Having trouble?" link together so the link
   horizontally centers on the orange button only, not the whole row. */
.ep-hero-cta-col { display: flex; flex-direction: column; align-items: stretch; }
.ep-hero-cta-col .ep-hero-trouble { width: 100%; text-align: center; }
.ep-hero-trust {
  font-size: .92rem; color: rgba(255,255,255,.72);
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
  margin-top: 8px;
}
.ep-hero-trust b { color: #fff; font-weight: 700; }
.ep-hero-trust .ep-stars { color: var(--ep-orange); letter-spacing: .04em; }
.ep-hero-trust .ep-dot { color: rgba(255,255,255,.3); }

@media (max-width: 860px) {
  /* v9 fix: H1/subhead/CTA stack ABOVE portrait on mobile + small tablet.
     Copy block (.ep-hero-copy) is first in DOM; portrait (.ep-hero-portrait) is second.
     order:0 on copy + order:1 on portrait keeps source order on grid items below 860px. */
  .ep-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "copy"
      "portrait";
    gap: 28px; padding: 44px 0;
  }
  .ep-hero-copy { order: 0; }
  .ep-hero-portrait { max-width: 360px; margin: 0 auto; aspect-ratio: 4/5; order: 1; }
  .ep-hero-cta-row .ep-btn { width: 100%; max-width: 420px; margin: 0 auto; }
  .ep-hero-cta-row { flex-direction: column; align-items: stretch; }
  /* v12: on mobile, the orange CTA + trouble link column matches the
     green button's width so they stack cleanly and the trouble link
     stays directly under the orange CTA. */
  .ep-hero-cta-col { width: 100%; max-width: 420px; margin: 0 auto; }
  .ep-hero-trust { justify-content: center; text-align: center; }
}

/* Hero bg tweak: light variant */
[data-hero-bg="light"] #ep-hero { background: #fff; color: var(--ep-dark); }
[data-hero-bg="light"] #ep-hero .ep-h1-light { color: var(--ep-dark); }
[data-hero-bg="light"] #ep-hero .ep-lead-light { color: #444; }
[data-hero-bg="light"] #ep-hero .ep-hero-trust { color: #555; }
[data-hero-bg="light"] #ep-hero .ep-hero-trust b { color: var(--ep-dark); }
[data-hero-bg="light"] #ep-hero .ep-hero-trust .ep-dot { color: rgba(0,0,0,.25); }
[data-hero-bg="light"] #ep-hero .ep-hero-microcopy { color: rgba(0,0,0,.55) !important; }
[data-hero-bg="light"] #ep-hero .ep-hero-portrait-tag { background: rgba(255,255,255,.92); color: var(--ep-dark); border-color: rgba(0,0,0,.08); }
[data-hero-bg="light"] #ep-hero .ep-hero-portrait-tag b { color: var(--ep-dark); }

/* Tweak: hero layout=stacked */
[data-hero-layout="stacked"] .ep-hero-grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; text-align: center; }
[data-hero-layout="stacked"] .ep-hero-copy { order: 0; }
[data-hero-layout="stacked"] .ep-hero-portrait { max-width: 380px; margin: 0 auto; order: 1; }
[data-hero-layout="stacked"] .ep-hero-cta-row { justify-content: center; }
[data-hero-layout="stacked"] .ep-hero-trust { justify-content: center; }

/* ─── Big idea band (#ep-bigidea) ──────────────────────────── */
#ep-bigidea { background: #fff; }
.ep-bigidea-intro { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.ep-bigidea-method-tag {
  display: inline-block;
  background: #eafbea; color: #1d5c1d;
  font-size: .78rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid #c8e3a3;
  letter-spacing: .02em;
}
.ep-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.ep-pillar {
  background: var(--ep-bg);
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
}
.ep-pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff; border: 1px solid var(--ep-border);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ep-pillar-icon svg { width: 28px; height: 28px; }
.ep-pillar-icon[data-tone="green"] { background: #eafbea; border-color: #c8e3a3; color: var(--ep-green); }
.ep-pillar-icon[data-tone="orange"] { background: #fff2e6; border-color: #f3c595; color: #b85f10; }
.ep-pillar-icon[data-tone="dark"] { background: var(--ep-dark); border-color: var(--ep-dark); color: var(--ep-green2); }
.ep-pillar h3 { font-size: 1.32rem; font-weight: 900; margin: 0; line-height: 1.25; }
.ep-pillar p { margin: 0; color: #333; line-height: 1.65; font-size: 1.05rem; }
.ep-pillar-mech {
  margin-top: auto;
  background: #fff; border: 1px solid var(--ep-border);
  border-radius: 10px; padding: 12px 14px;
  font-size: .85rem; line-height: 1.5;
}
.ep-pillar-mech b { display: block; color: var(--ep-dark); font-weight: 800; margin-bottom: 2px; font-size: .98rem; }
.ep-pillar-mech { font-size: .92rem; line-height: 1.55; }
.ep-pillar-mech span { color: var(--ep-muted); }

.ep-bigidea-cta { text-align: center; margin-top: 40px; }

@media (max-width: 860px) { .ep-pillars { grid-template-columns: 1fr; } }

/* Tweak: bigidea style=alternating */
[data-bigidea-style="alternating"] .ep-pillars { grid-template-columns: 1fr; gap: 18px; }
[data-bigidea-style="alternating"] .ep-pillar { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; }
[data-bigidea-style="alternating"] .ep-pillar-icon { width: 64px; height: 64px; }
[data-bigidea-style="alternating"] .ep-pillar-icon svg { width: 32px; height: 32px; }
[data-bigidea-style="alternating"] .ep-pillar-mech { grid-column: 2; }
[data-bigidea-style="alternating"] .ep-pillar h3,
[data-bigidea-style="alternating"] .ep-pillar p { grid-column: 2; }

/* ─── AudioSample (#ep-audio) ──────────────────────────────── */
#ep-audio { background: var(--ep-bg); }
/* v9 fix: tighten gap between audio sample and "The main course" (#ep-ue).
   Default .ep-sec padding is clamp(48px, 7vw, 80px) top + bottom.
   Reduce the audio section's bottom padding and the next section's top padding
   to ~half of default. Combined gap drops from ~96–160px to ~48–80px. */
#ep-audio.ep-sec { padding-bottom: clamp(22px, 3.2vw, 38px); }
#ep-ue.ep-sec    { padding-top:    clamp(22px, 3.2vw, 38px); }
.tl-audio-inner { max-width: 820px; margin: 0 auto; }
.tl-audio-intro { text-align: center; margin-bottom: 32px; }
.tl-audio-card {
  position: relative;
  background: var(--ep-dark);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.tl-audio-card::before {
  content: none;
}
.tl-audio-tag {
  display: inline-block; position: relative;
  background: var(--ep-orange); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.tl-audio-card h3 {
  position: relative;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 900; margin: 14px 0 6px; color: #fff; line-height: 1.25;
}
.tl-audio-meta { position: relative; font-size: .88rem; color: rgba(255,255,255,.65); margin: 0 0 22px; }
.tl-audio-player {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 16px;
}
.tl-audio-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ep-orange); color: #fff;
  border: 0; cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ep-orange) 50%, transparent);
  transition: filter .15s ease, transform .1s ease;
}
.tl-audio-play:hover { filter: brightness(1.06); transform: scale(1.04); }
.tl-audio-play svg { width: 22px; height: 22px; }
/* v14: play/pause icon swap based on .playing class */
.tl-audio-play .ic-play  { display: inline-block; transform: translateX(2px); }
.tl-audio-play .ic-pause { display: none; }
.tl-audio-play.playing .ic-play  { display: none; }
.tl-audio-play.playing .ic-pause { display: inline-block; transform: translateX(0); }
.tl-audio-track { flex: 1; min-width: 0; }
.tl-audio-bar { height: 6px; background: rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; }
.tl-audio-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--ep-orange), #ffc28b); border-radius: 4px; transition: width .12s linear; }
.tl-audio-time { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 6px; font-variant-numeric: tabular-nums; }
.tl-audio-transcript {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: .98rem; line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.tl-audio-transcript b { color: #fff; font-weight: 800; background: color-mix(in srgb, var(--ep-orange) 18%, transparent); padding: 1px 5px; border-radius: 4px; }
.tl-audio-after { text-align: center; margin-top: 24px; font-size: .98rem; color: var(--ep-muted); }
.tl-audio-after a { color: var(--ep-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ep-green); padding-bottom: 1px; }
.tl-audio-after a:hover { border-bottom-color: var(--ep-green2); }

/* ─── UE feature card (#ep-ue) ─────────────────────────────── */
#ep-ue { background: #fff; }
.ep-ue-card {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
[data-ue-layout="mockup-right"] .ep-ue-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
[data-ue-layout="mockup-right"] .ep-ue-mockups { order: 2; }
[data-ue-layout="mockup-right"] .ep-ue-body { order: 1; }
@media (max-width: 860px) {
  /* v25 bugfix: must out-specify [data-ue-layout="mockup-right"] .ep-ue-card
     (0,2,0), which otherwise keeps the card a 2-column grid on mobile. With
     data-ue-layout hardcoded on #ep-page (v22) the plain .ep-ue-card (0,1,0)
     override lost, so the body sat in one column and the hidden mockup track
     left a blank column on the right. #ep-ue .ep-ue-card is (1,1,0) and wins. */
  #ep-ue .ep-ue-card { grid-template-columns: 1fr; gap: 28px; }
  .ep-ue-mockups { order: -1; }
}
.ep-ue-mockups {
  position: relative;
  aspect-ratio: 5 / 4;
  display: flex; align-items: center; justify-content: center;
}
.ep-ue-desktop {
  position: absolute; inset: 0 6% 18% 0;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--ep-border);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  overflow: hidden;
}
.ep-ue-desktop-bar {
  height: 26px; background: var(--ep-dark);
  display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.ep-ue-desktop-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.ep-ue-desktop-body { padding: 14px 14px 0; }
.ep-ue-desktop-body .ep-ue-row { height: 8px; background: var(--ep-bg); border-radius: 4px; margin-bottom: 6px; }
.ep-ue-desktop-body .ep-ue-row:nth-child(1) { width: 40%; height: 14px; background: var(--ep-dark); margin-bottom: 12px; }
.ep-ue-desktop-body .ep-ue-row:nth-child(2) { width: 75%; }
.ep-ue-desktop-body .ep-ue-row:nth-child(3) { width: 92%; }
.ep-ue-desktop-body .ep-ue-row:nth-child(4) { width: 86%; }
.ep-ue-desktop-body .ep-ue-row:nth-child(5) { width: 60%; }
.ep-ue-desktop-player {
  margin-top: 14px; padding: 10px 12px;
  background: var(--ep-dark); border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
}
.ep-ue-desktop-player::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ep-orange); flex-shrink: 0;
}
.ep-ue-desktop-player::after {
  content: ""; flex: 1; height: 4px; background: rgba(255,255,255,.16); border-radius: 2px;
  position: relative;
}
.ep-ue-phone {
  position: absolute; right: 0; bottom: 0;
  width: 38%; aspect-ratio: 9 / 18;
  background: #1a1a1a;
  border-radius: 22px;
  border: 8px solid #1a1a1a;
  box-shadow: 0 22px 50px rgba(0,0,0,.32), 0 0 0 1px rgba(0,0,0,.5);
  overflow: hidden;
  transform: rotate(4deg);
}
.ep-ue-phone-screen {
  width: 100%; height: 100%;
  background: var(--ep-dark);
  display: flex; flex-direction: column;
  padding: 8px 8px 12px;
  position: relative;
}
.ep-ue-phone-screen::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 36%; height: 14px;
  background: #000; border-radius: 0 0 10px 10px;
}
.ep-ue-phone-tag {
  margin-top: 18px;
  background: var(--ep-orange); color: #fff;
  font-size: .42rem; font-weight: 800; letter-spacing: .12em;
  padding: 2px 6px; border-radius: 10px; align-self: flex-start;
  text-transform: uppercase;
}
.ep-ue-phone-title {
  color: #fff; font-size: .58rem; font-weight: 800;
  margin-top: 6px; line-height: 1.2;
}
.ep-ue-phone-meta { color: rgba(255,255,255,.5); font-size: .42rem; margin-top: 2px; }
.ep-ue-phone-trans {
  flex: 1; margin-top: 8px;
  background: rgba(255,255,255,.06); border-radius: 4px;
  padding: 5px;
}
.ep-ue-phone-trans span {
  display: block; height: 2px; background: rgba(255,255,255,.18);
  border-radius: 1px; margin-bottom: 3px;
}
.ep-ue-phone-trans span:nth-child(2) { width: 80%; }
.ep-ue-phone-trans span:nth-child(3) { width: 92%; }
.ep-ue-phone-trans span:nth-child(4) { width: 70%; }
.ep-ue-phone-trans span:nth-child(5) { width: 88%; background: color-mix(in srgb, var(--ep-orange) 60%, transparent); }
.ep-ue-phone-trans span:nth-child(6) { width: 78%; }
.ep-ue-phone-trans span:nth-child(7) { width: 60%; }
.ep-ue-phone-player {
  margin-top: 4px; height: 16px;
  background: rgba(0,0,0,.3); border-radius: 4px;
  display: flex; align-items: center; padding: 0 5px; gap: 4px;
}
.ep-ue-phone-player::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ep-orange);
}
.ep-ue-phone-player::after {
  content: ""; flex: 1; height: 2px; background: rgba(255,255,255,.18); border-radius: 1px;
}
.ep-ue-mockup-label {
  position: absolute; bottom: -2px; left: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .68rem; color: var(--ep-muted);
  letter-spacing: .04em;
}

.ep-ue-bullets { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ep-ue-bullets li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  font-size: 1rem; line-height: 1.55; color: #1d2e2e;
}
.ep-ue-bullets li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: #eafbea; border: 1px solid #c8e3a3;
  position: relative; margin-top: 1px;
}
.ep-ue-bullets li svg { display: none; }
.ep-ue-bullets li b { font-weight: 700; }
.ep-ue-check { position: relative; }
.ep-ue-check::after {
  content: "✓"; color: var(--ep-green); font-weight: 900; font-size: .9rem;
  position: absolute; left: 6px; top: -1px;
}
.ep-ue-price { font-size: 1.6rem; font-weight: 900; color: var(--ep-dark); }
.ep-ue-price small { font-size: .82rem; font-weight: 600; color: var(--ep-muted); }
.ep-ue-price-or { color: var(--ep-muted); }
.ep-ue-cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 8px; }
.ep-ue-cta-row .ep-btn-green { white-space: nowrap; }

/* v16: UE feature card — split H2 + dedicated lead + dedicated price line.
   Mobile fixes: shrink H2, block-stack bullet bold lead-in, hide mockups,
   tighten card padding. */
.ep-ue-lead { font-size: 1.15rem; line-height: 1.5; color: var(--ep-muted); margin: 4px 0 14px; }
.ep-ue-price-line { font-size: 1.05rem; color: var(--ep-muted); margin: 0 0 20px; line-height: 1.3; }
.ep-ue-price-line b { color: var(--ep-green); font-size: 2rem; font-weight: 900; letter-spacing: -.01em; }
.ep-ue-price-line .ep-ue-price-per { font-size: 1rem; color: var(--ep-muted); font-weight: 600; letter-spacing: 0; }
.ep-ue-price-line .ep-ue-price-billed { font-size: 1rem; color: var(--ep-muted); font-weight: 600; letter-spacing: 0; white-space: nowrap; } /* v26: billing-total disclosure — kept at the same size/weight/color as the /mo text so the annual total is at least as legible as the per-month figure (FTC/CA-ARL prominence rule). */
@media (max-width: 640px) {
  #ep-ue .ep-h2, #ep-ue .ep-ue-lead { text-wrap: auto; }
  #ep-ue .ep-h2 { font-size: 1.55rem; line-height: 1.15; }
  .ep-ue-lead { font-size: 1rem; margin: 4px 0 10px; }
  .ep-ue-price-line b { font-size: 1.7rem; }
  .ep-ue-bullets li b { display: block; margin-bottom: 2px; }
  .ep-ue-bullets li span { display: block; width: 100%; }
  .ep-ue-mockups { display: none; }
  .ep-ue-card { padding: 22px 18px; }
  /* v24: UE Main Course card on mobile. Fully centered + symmetrical. Heading,
     lead, and price line center as text. Bullets switch from the grid row
     (checkmark-left + text-right) to a centered vertical stack: the green
     check badge sits centered ON TOP of each bullet, with the bold heading and
     description centered below it. This avoids the left-anchor imbalance of v22
     (center-around-checkmark) and v23 (centered block) — a multi-line bullet
     list can't be visually centered while staying a left-aligned row, so the
     check moves above the text instead. The ✓ glyph (li::after, normally
     absolute at left:6px over the left circle) is re-centered over the now-
     centered circle via left:50% + translateX(-50%). */
  #ep-ue .ep-h2,
  #ep-ue .ep-ue-lead,
  #ep-ue .ep-ue-price-line { text-align: center; }
  #ep-ue .ep-ue-bullets { width: auto; max-width: 100%; margin: 18px 0; }
  #ep-ue .ep-ue-bullets li {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 4px;
  }
  #ep-ue .ep-ue-bullets li::before { margin: 0 0 4px; }
  #ep-ue .ep-ue-bullets li.ep-ue-check::after {
    left: 50%; top: 0; transform: translateX(-50%);
    height: 22px; line-height: 22px;
  }
  #ep-ue .ep-ue-bullets li span { width: auto; max-width: 100%; }
}

/* ─── Free-course capture (#ep-magnet) ─────────────────────── */
/* v17 Option A: lighter dark shelf (warm charcoal) + floating WHITE card with
   strong shadow. White card on dark = maximum contrast and the strongest CTA
   pattern for capture sections. Card text reverts to standard dark on white. */
#ep-magnet { background: #2b3a3a; }
.ep-magnet-card {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 8px 20px rgba(0,0,0,.18);
}
.ep-magnet-card .ep-h2 { margin-bottom: 8px; }
.ep-magnet-card .ep-magnet-sub { font-weight: 600; color: var(--ep-dark); font-size: 1.02rem; margin: 0 0 10px; }
.ep-magnet-card .ep-magnet-body { color: #444; font-size: .98rem; line-height: 1.65; max-width: 520px; margin: 0 auto 26px; }
.ep-magnet-card .popup-trigger {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ep-orange); color: #fff;
  border: 0; border-radius: 999px;
  padding: 18px 32px; font-weight: 800; font-size: 1.08rem;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ep-orange) 35%, transparent);
  transition: filter .15s ease, transform .1s ease;
}
.ep-magnet-card .popup-trigger:hover { filter: brightness(.94); transform: translateY(-2px); }
.ep-magnet-microcopy { font-size: 1.05rem; font-weight: 700; color: var(--ep-dark); margin-top: 18px; }

/* ─── Other products grid (#ep-products) ───────────────────── */
#ep-products { background: #fff; }
.ep-products-head { text-align: center; margin-bottom: 36px; }
.ep-products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
@media (max-width: 860px) { .ep-products-grid { grid-template-columns: 1fr; } }
.ep-product {
  background: var(--ep-bg);
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ep-dark);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ep-product:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.08); border-color: var(--ep-green2); }
.ep-product-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; border: 1px solid var(--ep-border);
  display: inline-flex; align-items: center; justify-content: center;
}
.ep-product h3 { font-size: 1.08rem; font-weight: 800; margin: 0; }
.ep-product p { font-size: .94rem; line-height: 1.55; color: #444; margin: 0; flex: 1; }
.ep-product-link {
  font-size: .9rem; font-weight: 800; color: var(--ep-dark);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid var(--ep-green);
  padding-bottom: 1px; align-self: flex-start;
}

/* ─── Founder credibility (#ep-founder) ────────────────────── */
/* v13: switched from dark to cream bg (HomePage-Analysis visual rec #1) */
#ep-founder { background: var(--ep-bg); color: var(--ep-dark); }
.ep-founder-grid {
  display: grid; grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) {
  .ep-founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .ep-founder-portrait { max-width: 320px; margin: 0 auto; }
}
.ep-founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(155deg, #2b3636 0%, #0f1a1a 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.ep-founder-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-founder-portrait-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem; letter-spacing: .04em; text-align: center; padding: 20px;
}
.ep-founder-portrait-fallback::before {
  content: ""; display: block; width: 88px; height: 88px;
  border-radius: 50%; background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.18);
  margin-bottom: 16px;
}
.ep-founder-body p { color: #333; font-size: 1.02rem; line-height: 1.7; margin: 0 0 1em; }
.ep-founder-body p:last-of-type { margin-bottom: 22px; }
.ep-founder-credlist {
  list-style: none; padding: 0; margin: 18px 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.ep-founder-credlist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  font-size: .96rem; line-height: 1.55; color: #333;
}
.ep-founder-credlist li::before {
  content: ""; width: 8px; height: 8px; background: var(--ep-green2); border-radius: 50%;
  margin-top: 8px; margin-left: 7px;
}

/* ─── Testimonials (#ep-celebrate) ─────────────────────────── */
/* v14: warm sand/beige bg breaks identical-cream stack with founder section above */
#ep-celebrate { background: #f0ebe1; }
.ep-celebrate-head { text-align: center; margin-bottom: 32px; }
.ep-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px;
  margin-bottom: 36px;
}
.ep-stat { text-align: center; }
.ep-stat b { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--ep-dark); line-height: 1; }
.ep-stat span { display: block; font-size: .82rem; color: var(--ep-muted); margin-top: 6px; letter-spacing: .04em; }

.ep-carousel { position: relative; }
.ep-carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 16px; padding: 4px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ep-carousel-track::-webkit-scrollbar { height: 6px; }
.ep-carousel-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,.16); border-radius: 3px; }
.ep-tcard {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 14px;
  padding: 22px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
}
.ep-tcard-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-size: 1rem; line-height: 1.6;
  color: var(--ep-dark); margin: 0; flex: 1;
}
.ep-tcard-stars { color: var(--ep-orange); font-size: .9rem; letter-spacing: .04em; }
.ep-tcard-meta {
  font-size: .82rem; color: var(--ep-muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ep-tcard-meta b { color: var(--ep-dark); font-weight: 800; }
.ep-tcard-flag { font-size: 1.05rem; }
.ep-tcard.ep-tcard-placeholder .ep-tcard-quote { color: #888; }

.ep-carousel-controls {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin-top: 14px;
}
.ep-carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--ep-border);
  color: var(--ep-dark); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background .15s ease, border-color .15s ease;
}
.ep-carousel-btn:hover { background: var(--ep-bg); border-color: var(--ep-green); }
.ep-carousel-dots { display: flex; gap: 6px; }
.ep-carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.18); }
.ep-carousel-dots span.active { background: var(--ep-green); width: 22px; border-radius: 4px; }

/* ─── FAQ (#ep-faq) ────────────────────────────────────────── */
#ep-faq { background: #fff; }
.ep-faq-list { max-width: 780px; margin: 0 auto; }
.ep-faq-item {
  border-top: 1px solid var(--ep-border);
  padding: 4px 0;
}
.ep-faq-item:last-child { border-bottom: 1px solid var(--ep-border); }
.ep-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 36px 22px 0;
  font-size: 1.05rem; font-weight: 700; color: var(--ep-dark);
  position: relative;
  line-height: 1.4;
}
.ep-faq-item summary::-webkit-details-marker { display: none; }
.ep-faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--ep-green); line-height: 1;
  transition: transform .15s ease;
}
.ep-faq-item[open] summary::after { content: "−"; }
.ep-faq-item[open] summary { color: var(--ep-darker); }
.ep-faq-item-body {
  padding: 0 0 22px;
  color: #444; line-height: 1.65; font-size: 1rem; max-width: 720px;
}
.ep-faq-cta { text-align: center; margin-top: 32px; }

/* ─── Footer (#ep-footer) ──────────────────────────────────── */
#ep-footer {
  background: var(--ep-darker);
  color: rgba(255,255,255,.72);
  padding: 64px 0 32px;
}
/* v10 fix: footer = 4 columns on desktop (Brand / Product / Learn / Connect). */
.ep-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: 48px;
}
@media (max-width: 960px) {
  .ep-footer-grid { grid-template-columns: 1fr 1fr; }
  .ep-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .ep-footer-grid { grid-template-columns: 1fr; }
}
.ep-footer-brand { font-size: .9rem; line-height: 1.65; }
.ep-footer-brand .ep-logo svg { height: 30px; }
.ep-footer-brand small:first-of-type { margin-top: 14px; }
.ep-footer-brand small { display: block; color: rgba(255,255,255,.54); font-size: .82rem; margin-top: 8px; line-height: 1.55; }
.ep-footer-col h4 {
  font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ep-green2); margin: 0 0 16px;
}
.ep-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-footer-col a, .ep-footer-col .lm-link {
  color: rgba(255,255,255,.72); text-decoration: none; font-size: .92rem;
  background: transparent; border: 0; padding: 0; font-family: inherit; cursor: pointer;
  text-align: left;
}
.ep-footer-col a:hover, .ep-footer-col .lm-link:hover { color: #fff; }

.ep-footer-trust {
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.66);
}
.ep-footer-trust span { display: inline-flex; align-items: center; gap: 8px; }
.ep-footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.ep-footer-legal-links { display: flex; flex-wrap: wrap; gap: 14px; }
.ep-footer-legal a { color: rgba(255,255,255,.5); text-decoration: none; }
.ep-footer-legal a:hover { color: #fff; }

/* ─── Curriculum / What is inside UE (#ep-curriculum) ─── */
#ep-curriculum { background: var(--ep-bg); padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.ep-curriculum-intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.ep-curriculum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1080px; margin: 0 auto; }
.ep-curriculum-coltitle { font-size: 1.35rem; font-weight: 900; color: var(--ep-dark); margin: 0 0 4px; letter-spacing: -.01em; }
.ep-curriculum-colmeta { color: var(--ep-muted); font-size: .95rem; margin: 0 0 22px; font-weight: 600; }
.ep-curriculum-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ep-curriculum-cats li { display: block; padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--ep-border); }
.ep-curriculum-cats li b { color: var(--ep-dark); font-weight: 800; font-size: 1.02rem; }
.ep-cat-count { color: var(--ep-green); font-weight: 700; font-size: .9rem; margin-left: 6px; }
.ep-cat-ex { display: block; color: #444; font-size: .9rem; line-height: 1.5; margin-top: 4px; }
.ep-curriculum-foot { text-align: center; color: var(--ep-muted); font-size: 1rem; margin-top: 36px; font-weight: 600; }
@media (max-width: 860px) {
  .ep-curriculum-grid { grid-template-columns: 1fr; gap: 32px; }
}
.ep-curriculum-more { margin: 14px 2px 0; font-size: .95rem; }
.ep-curriculum-more a { color: var(--ep-green); font-weight: 700; text-decoration: none; }
.ep-curriculum-more a:hover { text-decoration: underline; }

/* ─── How it works strip (#ep-howitworks) ─── */
#ep-howitworks { background: var(--ep-bg); padding-top: clamp(22px, 3vw, 38px); padding-bottom: clamp(22px, 3vw, 38px); }
.ep-howitworks-intro { margin: 0 auto 22px; }
.ep-howitworks-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.ep-howitworks-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px; background: #fff; border: 1px solid var(--ep-border); border-radius: 12px; }
.ep-howitworks-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ep-green); color: #fff; font-weight: 900; font-size: 1.1rem; margin-bottom: 12px; }
.ep-howitworks-text { color: var(--ep-dark); font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
@media (max-width: 720px) {
  .ep-howitworks-steps { grid-template-columns: 1fr; gap: 12px; }
}

/* ─── Sticky bottom mobile CTA ─────────────────────────────── */
.ep-mobile-stickycta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--ep-border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 80;
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.ep-mobile-stickycta.ep-sticky-revealed { opacity: 1; pointer-events: auto; transform: none; }
.ep-mobile-stickycta a {
  display: block; width: 100%;
  background: var(--ep-green-cta); color: #fff !important;
  font-weight: 800; font-size: 1.02rem; text-align: center;
  padding: 16px 20px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--ep-green-cta) 32%, transparent);
}
[data-mobile-cta="orange"] .ep-mobile-stickycta a { background: var(--ep-orange); box-shadow: 0 6px 16px color-mix(in srgb, var(--ep-orange) 32%, transparent); }
[data-mobile-cta="off"] .ep-mobile-stickycta { display: none !important; }
@media (max-width: 720px) {
  .ep-mobile-stickycta { display: block; }
  body { padding-bottom: 108px; }
}

/* ─── Tweak: hero CTA color swap ──────────────────────────── */
[data-hero-cta="green-primary"] .ep-hero-cta-row .ep-btn:first-child { background: var(--ep-green); box-shadow: 0 8px 24px color-mix(in srgb, var(--ep-green-cta) 32%, transparent); }
[data-hero-cta="green-primary"] .ep-hero-cta-row .ep-btn-green { background: var(--ep-orange) !important; box-shadow: 0 8px 24px color-mix(in srgb, var(--ep-orange) 35%, transparent); }

/* ─── Tweak: testimonial style=grid ──────────────────────── */
[data-test-style="grid"] .ep-carousel-track { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 4px; gap: 20px; }
[data-test-style="grid"] .ep-carousel-controls { display: none; }
[data-test-style="grid"] .ep-tcard { scroll-snap-align: none; }
@media (max-width: 980px) {
  [data-test-style="grid"] .ep-carousel-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  [data-test-style="grid"] .ep-carousel-track { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  [data-test-style="grid"] .ep-carousel-track { grid-template-columns: 1fr; }
}

/* Prevent drawer scroll lock issues */
html.nav-locked, body.nav-locked { overflow: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0s !important; transition-duration: 0s !important; } }

.tl-audio-line { font-style: italic; color: rgba(255,255,255,.72); margin: 0 0 .8em; font-size: .98rem; text-align: left; }
.tl-audio-quote { border-left: 3px solid var(--ep-green); padding: 4px 16px; margin: 0 0 1em; }
.tl-audio-quote p { margin: 0; color: #fff; }
.tl-audio-quote strong { color: #fff; font-weight: 700; }
.tl-audio-divider { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 18px 0 18px; }
.tl-audio-toggle { margin: 0 0 1em; }
.tl-audio-toggle > summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; display: inline-block; color: rgba(255,255,255,.9); font-weight: 600; font-size: .94rem; user-select: none; }
.tl-audio-toggle > summary::-webkit-details-marker { display: none; }
.tl-audio-toggle .tl-audio-hide { display: none; }
.tl-audio-toggle[open] .tl-audio-show { display: none; }
.tl-audio-toggle[open] .tl-audio-hide { display: inline; }
/* v15 Path A: proof bar on dark — stats and logos sit on var(--ep-dark) so they
   read as a trust strip continuing from the hero. Stats numbers go white,
   labels muted-white, logos inverted to white with reduced opacity. */
#ep-press { background: var(--ep-dark); padding: 36px 0; color: #fff; }
#ep-press .ep-stat b { color: #fff; }
#ep-press .ep-stat span { color: rgba(255,255,255,.62); }
.ep-press-divider { max-width: 480px; margin: 4px auto 20px; border: 0; border-top: 1px solid rgba(255,255,255,.12); }
.ep-press-eyebrow { text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; }
.ep-press-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 3.4vw, 40px); }
/* v16: removed brightness(0) invert(1) — was killing brand color recognition
   on the press logos. On dark bg, color logos at .85 opacity read fine and
   preserve the trust signal of recognizable brand marks. */
.ep-press-row img { height: 22px; width: auto; max-width: 130px; object-fit: contain; opacity: .75; transition: opacity .15s ease; }
.ep-press-row img:hover { opacity: 1; }
@media (max-width: 700px) {
  .ep-press-row { gap: 14px 22px; }
  .ep-press-row img { height: 18px; max-width: 95px; }
}
/* UE feature card screenshots */
.ep-ue-desktop img, .ep-ue-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-ue-desktop { padding: 0 !important; }
.ep-ue-phone { padding: 0 !important; }
/* Carousel auto-rotate hint */
.ep-carousel-track.is-paused { /* visual cue not required */ }


/* --- Modal shell --- */
.lm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;z-index:9999;overflow-y:auto}
.lm-modal{position:relative;margin:4vh auto;background:#fff;max-width:880px;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.lm-grid{display:block}
.lm-body{padding:28px 26px 22px}
.lm-x{position:absolute;top:10px;right:12px;border:none;background:#0000;font-size:28px;line-height:1;cursor:pointer;padding:6px;color:#666}
.lm-x:hover{color:#000}

/* --- Trust badge (no icon) --- */
.lm-badge{display:flex;align-items:center;justify-content:center;background:#eaf6da;color:#3d6e10;border:1px solid #c8e3a3;border-radius:999px;padding:6px 16px;font-size:13px;font-weight:600;margin:0 auto 14px;width:fit-content;max-width:95%;line-height:1.3;letter-spacing:.01em;text-align:center}

/* --- Typography & CTA (modal) --- */
.popup-title{font-size:32px;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-weight:700;text-align:center;margin:0 auto 14px;line-height:1.14;max-width:620px;display:block;box-sizing:border-box;padding:0 10px;color:#222}
.popup-body{font-size:18px;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;text-align:center;margin:0 auto 14px;line-height:1.34;max-width:520px;color:#222;padding:0 8px}
.popup-disclaimer{font-size:14px;color:#555;text-align:center;margin-top:10px;margin-bottom:0;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;max-width:95%;margin-left:auto;margin-right:auto;box-sizing:border-box;padding:0 6px;font-style:italic}

.lm-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.lm-form .full{grid-column:1/-1}
.lm-form label{display:block;font-size:13px;font-weight:600;margin-bottom:4px;color:#333}
.lm-input,.lm-select{width:100%;font-size:16px;padding:12px;border:1px solid #cfd3d7;border-radius:10px;box-sizing:border-box;font-family:inherit}
.lm-input:focus,.lm-select:focus{border-color:#7a8bff;box-shadow:0 0 0 3px rgba(122,139,255,.18);outline:none}

/* Padlock + secure microcopy under email */
.lm-secure{font-size:12px;color:#555;margin-top:6px;display:flex;align-items:center;gap:5px;line-height:1.3}
.lm-secure-icon{font-size:13px}

.popup-cta{font-size:22px;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-weight:700;text-align:center;padding:16px 26px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#8bd43b;color:#fff;border:0;cursor:pointer;width:100%}
.popup-cta:hover{background:#7bc232}
.popup-cta[disabled]{opacity:.6;cursor:wait}

/* --- Mobile tweaks --- */
.lm-modal{max-width:520px}
@media (max-width:480px){.popup-title{font-size:26px}.popup-body{font-size:16px}.lm-badge{font-size:12px}}

/* --- RTL support (applied dynamically when language=ar is selected) --- */
.lm-body[dir="rtl"]{text-align:right}
.lm-body[dir="rtl"] .lm-secure{flex-direction:row-reverse;justify-content:flex-end}

/* --- Language-specific font stacks (applied dynamically) --- */
.lm-body[lang="ja"]{font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Meiryo",Arial,sans-serif}
.lm-body[lang="ko"]{font-family:"Apple SD Gothic Neo","Malgun Gothic","Nanum Gothic",Arial,sans-serif}
.lm-body[lang="zh-hans"]{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif}
.lm-body[lang="zh-hant"]{font-family:"PingFang TC","Hiragino Sans CNS","Microsoft JhengHei",Arial,sans-serif}
.lm-body[lang="ar"]{font-family:"Geeza Pro","Simplified Arabic","Traditional Arabic",Arial,sans-serif}

/* ── v13: inline signup card ───────────────────────────────────── */
.ep-inline-signup { padding: 8px 20px 56px; background: var(--ep-bg); }
.ep-inline-signup .ep-magnet-card { text-align: center; }
.ep-inline-signup .lm-badge {
  display: inline-block; background: var(--ep-green2); color: var(--ep-green);
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.ep-inline-signup .lm-form { text-align: left; max-width: 520px; margin: 22px auto 0; }
.ep-inline-signup .popup-cta {
  width: 100%; background: var(--ep-green-cta); color: #fff;
  border: 0; border-radius: 999px; padding: 16px 24px;
  font-weight: 800; font-size: 1.04rem; cursor: pointer;
}
.ep-inline-signup .popup-cta:hover { filter: brightness(.94); }
.ep-inline-signup .popup-disclaimer { text-align: center; color: var(--ep-muted); font-size: .84rem; margin: 10px 0 0; }
@media (max-width: 720px) { .ep-inline-signup { padding-bottom: 96px; } }
