/* ==========================================================================
   Ungated "Everyone has AI" ebook at /resources/everyone-has-ai-but-who-can-use-it/.
   Loaded only by that page (metadata "page_stylesheet"); every class is eh- prefixed.
   Ported from the approved single-file design. Same system as the AI fluency guide and
   the 3 risks ebook: Satoshi display, Geist Mono eyebrows/labels/CTAs, black/white/
   brand-red bands; orange, magenta and catalyst only for labels, stats and charts.
   Side navigation, reading progress and anchors use setupEbook() in site.js.
   See docs/INTERACTIONS.md.
   ========================================================================== */

/* Site header for this page: Platform, Why CoderPad?, Resources, Pricing, then
   Request demo and Go back to resources. For Candidates, Sign up and Login are hidden
   in both the bar and the menu drawer. */
.page--everyone-has-ai .site-header .top-level:has(> a[href="/resources/docs/for-candidates/"]),
.page--everyone-has-ai .site-header .nav-ctas--drawer .button--secondary:not(.header-back-link),
.page--everyone-has-ai .site-header .nav-ctas--drawer .login-link {
  display: none;
}

/* Tokens and resets, scoped to the page root. */
.eh-ebook {
  --red: var(--color-red-500, #d91629);
  --orange: var(--color-orange-400, #fb5e38);
  --ink: var(--color-black-950, #121112);
  --paper: #ffffff;
  --soft: #efefef;
  --muted: #5b5b5b;
  --display: "Satoshi", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.eh-ebook *,
.eh-ebook *::before,
.eh-ebook *::after {
  box-sizing: border-box;
}
.eh-ebook :where(img, svg) {
  max-width: 100%;
  display: block;
}
.eh-ebook :where(a) {
  color: inherit;
}
.eh-ebook :is(a, button, summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.eh-ebook :is(.eh-dark, .eh-wc, .eh-brandcard) a:focus-visible {
  outline-color: #fff;
}
.eh-ebook :where(h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote) {
  margin: 0;
}
.eh-ebook :where(h1, h2) {
  text-wrap: balance;
}
.eh-ebook :where([id]) {
  scroll-margin-top: calc(var(--ebook-header-h, 80px) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.eh-ebook) {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eh-ebook *,
  .eh-ebook *::before,
  .eh-ebook *::after {
    transition: none !important;
  }
}
.eh-wrap {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 52px);
}
.eh-eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}
.eh-page {
  padding-block: clamp(24px, 3vw, 40px);
}
.eh-page.eh-flush-top {
  padding-top: 0;
}
.eh-page.eh-flush-bottom {
  padding-bottom: 0;
}
.eh-h2 {
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-top: 16px;
}
.eh-mt-16 {
  margin-top: 16px;
}
.eh-mt-18 {
  margin-top: 18px;
}
.eh-mt-20 {
  margin-top: 20px;
}
.eh-mt-lede {
  margin-top: clamp(20px, 3vw, 30px);
}
.eh-mt-block {
  margin-top: clamp(20px, 2.8vw, 32px);
}
.eh-mt-section {
  margin-top: clamp(24px, 3.4vw, 40px);
}
.eh-contents {
  display: contents;
}

/* Reading progress: a thin bar along the bottom of the sticky site header. */
.eh-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ebook-progress-top, 0px);
  z-index: 55;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red-500, #d91629), var(--color-orange-400, #fb5e38));
  transform: scaleX(var(--ebook-progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Side navigation: fixed and collapsed to section codes; expands on hover or focus. */
.eh-sidenav {
  position: fixed;
  left: 14px;
  top: calc(50% + 40px);
  transform: translateY(-50%);
  z-index: 40;
  width: 52px;
  max-height: calc(100vh - 126px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  padding: 8px;
  transition: width .18s ease;
}
.eh-sidenav:hover,
.eh-sidenav:focus-within {
  width: 250px;
}
.eh-sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.eh-sidenav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 12px;
  color: #3a3a3a;
  padding: 7px 4px;
}
.eh-sidenav a:hover {
  background: #f3f3f3;
}
.eh-sidenav .eh-k {
  flex: none;
  width: 34px;
  text-align: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  color: #6b6b6b;
}
.eh-sidenav .eh-t {
  font-weight: 500;
  font-size: 14.5px;
}
.eh-sidenav li[data-active] > a {
  background: var(--soft);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--red);
}
.eh-sidenav li[data-active] > a .eh-k {
  color: var(--ink);
}
@media (min-width: 1620px) {
  .eh-sidenav {
    width: 250px;
  }
}
@media (max-width: 1000px) {
  .eh-sidenav {
    display: none;
  }
}
.eh-jump {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.eh-ebook .eh-jump {
  color: #fff;
}
.eh-jump:hover {
  background: var(--red);
}
/* Keep text clear of the fixed side navigation. */
@media (min-width: 1001px) {
  .eh-jump {
    display: none;
  }
  .eh-ebook {
    --navclear: 96px;
  }
  .eh-wrap {
    padding-left: max(clamp(20px, 4.5vw, 52px), calc(var(--navclear) - max(0px, (100vw - 1100px) / 2)));
  }
}
@media (min-width: 1620px) {
  .eh-ebook {
    --navclear: 290px;
  }
}

/* Cover */
.eh-cover {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.eh-cover-top {
  display: flex;
  justify-content: flex-end;
  padding-top: 22px;
}
.eh-cover-top .eh-eyebrow {
  color: #fff;
  font-weight: 500;
  font-size: 12px;
}
.eh-cover-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(16px, 2.4vw, 28px) clamp(36px, 4.4vw, 56px);
}
.eh-cover .eh-o {
  color: var(--orange);
}
.eh-cover h1 {
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 100px);
  line-height: 1;
  letter-spacing: 0;
  margin-top: 18px;
  color: #fff;
}
.eh-q {
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  margin-top: 22px;
  max-width: 520px;
}
.eh-sub {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.5;
  color: var(--orange);
  margin-top: 24px;
  max-width: 520px;
}
.eh-art {
  position: relative;
  padding: 0 clamp(28px, 4vw, 56px) clamp(56px, 7vw, 90px) 0;
}
.eh-art img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}
.eh-gridblock {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .55) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, .55) 1.5px, transparent 1.5px),
    linear-gradient(160deg, var(--red) 0%, var(--orange) 100%);
  background-size: 25% 16.66%, 25% 16.66%, 100% 100%;
  background-position: -1px -1px, -1px -1px, 0 0;
}

/* Shared type and blocks */
.eh-lede {
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.4;
  margin-top: clamp(12px, 1.8vw, 20px);
  max-width: 820px;
}
.eh-prose {
  display: grid;
  gap: 18px;
  font-size: 17.5px;
  line-height: 1.65;
  max-width: 860px;
}
.eh-prose b {
  font-weight: 700;
}
.eh-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(20px, 2.6vw, 32px);
}
.eh-split.eh-split-flush {
  margin-top: 0;
}
.eh-rule-top {
  border-top: 1px dashed #bdbdbd;
  margin-top: clamp(20px, 2.6vw, 32px);
  padding-top: clamp(20px, 2.6vw, 32px);
}
.eh-stat .eh-num {
  font-weight: 700;
  font-size: clamp(88px, 13vw, 150px);
  line-height: .9;
  letter-spacing: -2px;
}
.eh-stat .eh-num.eh-o {
  color: var(--orange);
}
.eh-cap {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.4;
  margin-top: 10px;
  max-width: 280px;
}
.eh-dark {
  background: var(--ink);
  color: #fff;
}
.eh-dark .eh-prose {
  color: #e6e6e6;
}
.eh-dark .eh-prose b {
  color: #fff;
}
.eh-band {
  padding-block: clamp(28px, 3.6vw, 48px);
}
.eh-shot {
  border-radius: 20px;
  overflow: hidden;
}
.eh-shot img {
  width: 100%;
  height: auto;
}
.eh-shot.eh-framed {
  border: 10px solid #e4e4e4;
  border-radius: 32px;
}
.eh-band .eh-split .eh-shot {
  max-width: 380px;
  justify-self: end;
  width: 100%;
}
/* Red callouts stay 24px+ so white text meets large-text contrast at the orange end. */
.eh-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
  background: linear-gradient(100deg, #d91629 0%, #e8262b 55%, #f0412f 100%);
  color: #fff;
  border-radius: 20px;
  padding: clamp(26px, 4vw, 52px);
  margin-top: clamp(20px, 2.8vw, 32px);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.3;
}
.eh-callout svg {
  width: clamp(40px, 4.4vw, 56px);
  height: auto;
  flex: none;
  margin-top: 4px;
}
.eh-callout b {
  font-weight: 700;
}
.eh-redhead {
  color: var(--red);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  margin-top: clamp(24px, 3.6vw, 40px);
  max-width: 860px;
}
.eh-logos {
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 640px;
}
.eh-logos img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
}
.eh-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-top: clamp(20px, 2.6vw, 30px);
}

/* Contents */
.eh-toc {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid #8c8c8c;
}
.eh-toc li {
  border-bottom: 1px solid #c9c9c9;
}
.eh-toc a {
  display: grid;
  grid-template-columns: clamp(56px, 9vw, 110px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
}
.eh-n {
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1;
  color: var(--red);
}
.eh-n svg {
  width: clamp(30px, 4vw, 44px);
  height: auto;
}
.eh-toc h3 {
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
}
.eh-d {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.eh-pg {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.eh-toc a:hover h3 {
  color: var(--red);
}

/* 02 Five parts */
.eh-pill-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 9px 18px;
  margin-top: clamp(24px, 3.4vw, 36px);
  line-height: 1.45;
}
.eh-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(20px, 3vw, 32px);
  border-top: 1px dashed #bdbdbd;
}
.eh-pillar {
  padding: clamp(20px, 3vw, 32px) clamp(14px, 2.6vw, 32px) clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px dashed #bdbdbd;
}
.eh-pillar:nth-child(odd) {
  border-right: 1px dashed #bdbdbd;
}
.eh-pillar:nth-child(even) {
  padding-left: clamp(14px, 2.6vw, 32px);
}
.eh-pillar h3 {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.eh-pillar p {
  font-size: 17px;
  line-height: 1.6;
}
.eh-tell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(24px, 3.4vw, 40px);
}

/* 03 By-function chart: a real table; bars scale against 200%. */
.eh-chart {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
  border-radius: 20px;
  padding: clamp(22px, 3.6vw, 44px);
  margin-top: 16px;
}
.eh-chart table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: 0;
}
.eh-chart :is(th, td) {
  background: none;
  border: 0;
  color: inherit;
}
.eh-chart thead th {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  text-align: left;
  padding: 0 0 14px;
}
.eh-chart tbody th {
  text-align: left;
  font-family: var(--display);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.2;
  padding: 18px 16px 18px 0;
  width: 42%;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.eh-chart small {
  text-transform: none;
  letter-spacing: 0;
}
.eh-i {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--orange);
  margin-right: 10px;
}
.eh-chart small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  margin-top: 4px;
}
.eh-chart td {
  padding: 18px 0;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.eh-chart tbody tr:first-child :is(th, td) {
  border-top: 0;
}
.eh-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.eh-track {
  flex: 1;
  height: 28px;
  border-radius: 8px;
  background: #a9a6a2;
  overflow: hidden;
}
.eh-fill {
  height: 100%;
  background: #e8262b;
  border-radius: 8px 0 0 8px;
}
.eh-w100 { width: 100%; }
.eh-w33 { width: 33%; }
.eh-w25 { width: 25%; }
.eh-w20 { width: 20%; }
.eh-val {
  flex: none;
  width: 84px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--orange);
}

/* 04 Old signal vs new signal */
.eh-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.eh-hd {
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 26px;
}
.eh-hd.eh-old {
  background: #fff;
  color: var(--ink);
}
.eh-hd.eh-new {
  background: linear-gradient(90deg, #d91629, #df1d2a);
  color: #fff;
}
.eh-sig {
  border-radius: 12px;
  padding: 16px 18px;
}
.eh-sig b {
  display: block;
  font-weight: 500;
  font-size: 18px;
}
.eh-sig span {
  display: block;
  font-size: 14.5px;
  margin-top: 4px;
}
.eh-sig.eh-old {
  background: #efefef;
  color: var(--ink);
}
.eh-sig.eh-old span {
  color: #555;
}
.eh-sig.eh-new {
  background: #fde0d4;
  color: var(--ink);
}
.eh-sig.eh-new span {
  color: #5a3a30;
}
.eh-sig .eh-tag {
  display: none;
}

/* 05 Three ways */
.eh-ways {
  display: grid;
  gap: clamp(20px, 2.8vw, 30px);
  margin-top: clamp(26px, 3.6vw, 40px);
}
.eh-way {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 28px);
}
.eh-way h3 {
  color: var(--red);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  text-align: right;
}
.eh-way p {
  font-size: 17px;
  line-height: 1.6;
}
.eh-oneline {
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  margin-top: clamp(24px, 3.4vw, 40px);
}
.eh-oneline + .eh-label {
  margin-top: 10px;
}
.eh-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.eh-cmp {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.eh-cmp h4 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  background: #2b2a2b;
  color: #fff;
}
.eh-cmp.eh-win h4 {
  background: linear-gradient(90deg, #d91629, #df1d2a);
}
.eh-cmp dl {
  margin: 0;
  padding: 18px 20px 6px;
  display: grid;
  gap: 4px;
  flex: 1;
}
.eh-cmp dt {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}
.eh-cmp dd {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.45;
}
.eh-cmp dd + dt {
  border-top: 1px solid #e2e2e2;
  padding-top: 12px;
}
.eh-verdict {
  margin: 0 20px 20px;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #e9e9e9;
  border-radius: 8px;
  padding: 10px;
}
.eh-cmp.eh-win .eh-verdict {
  background: var(--red);
  color: #fff;
}
.eh-examples {
  display: grid;
  margin-top: 8px;
}
.eh-ex {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px dashed #bdbdbd;
}
.eh-ex:last-child {
  border-bottom: 0;
}
.eh-ex img {
  width: 110px;
  height: auto;
  margin-top: 2px;
  filter: grayscale(1);
}
.eh-ex .eh-prose {
  max-width: none;
}
.eh-quote {
  color: var(--red);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 860px;
}
.eh-light {
  font-size: 17px;
  line-height: 1.65;
  margin-top: clamp(18px, 2.6vw, 26px);
  max-width: 860px;
}
.eh-shift {
  background: #1c1b1c;
  color: #e6e6e6;
  border-radius: 20px;
  padding: clamp(24px, 3.6vw, 44px);
  margin-top: clamp(20px, 2.8vw, 32px);
  font-size: 18px;
  line-height: 1.6;
}

/* 06 The moving bar */
.eh-barhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.eh-paras {
  display: grid;
  max-width: 900px;
}
.eh-paras p {
  padding: clamp(18px, 2.6vw, 26px) 0 clamp(18px, 2.6vw, 26px) clamp(16px, 2.4vw, 26px);
  border-bottom: 1px dashed rgba(255, 255, 255, .3);
  border-left: 1px dashed rgba(255, 255, 255, .3);
  font-size: 17.5px;
  line-height: 1.65;
  color: #e6e6e6;
}
.eh-paras p:last-child {
  border-bottom: 0;
}
.eh-paras b {
  color: #fff;
}
.eh-bigstat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  border: 1px solid #bdbdbd;
  border-radius: 32px;
  padding: clamp(22px, 3.4vw, 40px);
  margin-top: clamp(8px, 1.4vw, 16px);
}
.eh-bigstat p {
  font-size: 17px;
  line-height: 1.6;
}
.eh-bigstat .eh-num {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  font-size: clamp(84px, 12vw, 140px);
  line-height: .85;
  letter-spacing: -3px;
}
.eh-bigstat .eh-num svg {
  width: clamp(30px, 3.6vw, 44px);
  height: auto;
  margin-top: 4px;
}
.eh-pull {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  margin-top: clamp(20px, 2.8vw, 32px);
  max-width: 900px;
}
.eh-pull svg {
  width: clamp(56px, 7vw, 84px);
  height: auto;
  color: #a6a6a6;
}
.eh-pull p {
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
}
.eh-ceo {
  color: var(--red);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.6;
  margin-top: clamp(22px, 3vw, 30px);
  max-width: 760px;
}
.eh-orangeband {
  margin-top: clamp(24px, 3.4vw, 40px);
  border-radius: 20px;
  overflow: hidden;
}
.eh-orangeband img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
}

/* 07 Checklist */
.eh-checks {
  list-style: none;
  padding: 0;
  margin: clamp(20px, 3vw, 30px) 0 0;
  display: grid;
  gap: 14px;
  max-width: 900px;
}
.eh-checks li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
  margin: 0;
}
.eh-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red);
  display: grid;
  place-items: center;
  margin-top: 12px;
}
.eh-box svg {
  width: 20px;
  height: 20px;
}
.eh-card {
  background: #1f1e1f;
  color: #fff;
  border-radius: 12px;
  padding: clamp(18px, 2.6vw, 26px);
}
.eh-card h3 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 17px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.4;
  color: #fff;
}
.eh-card p {
  font-size: 17px;
  line-height: 1.55;
  margin-top: 8px;
  color: #e6e6e6;
}
.eh-dip {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
  margin-top: clamp(24px, 3.6vw, 36px);
  max-width: 900px;
}
.eh-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fde3e5;
  display: grid;
  place-items: center;
}
.eh-ic svg {
  width: 28px;
  height: 28px;
}
.eh-dip p {
  font-size: 17px;
  line-height: 1.65;
}

/* Sources */
.eh-src-label {
  font-weight: 700;
  margin-top: 18px;
}
.eh-sources {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
  font-size: 16.5px;
  line-height: 1.5;
}
.eh-sources li {
  padding-left: 18px;
  position: relative;
  margin: 0;
}
.eh-sources li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--red);
}
.eh-sources a {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.eh-sources a:hover {
  color: var(--red);
}

/* Wrap up */
.eh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 24px;
  line-height: 1.3;
}
.eh-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eh-wrapcards {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  margin-top: clamp(26px, 3.6vw, 40px);
}
.eh-wc {
  border-radius: 20px;
  padding: clamp(24px, 3.4vw, 40px);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.eh-wc.eh-web {
  background: linear-gradient(150deg, #d91629 0%, #c8131f 100%);
}
.eh-wc.eh-session {
  background: var(--ink);
}
.eh-tagpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 14px;
}
.eh-session .eh-tagpill {
  background: #fff;
  color: var(--ink);
}
.eh-tagpill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.eh-session .eh-tagpill::before {
  background: var(--red);
}
.eh-wc h3 {
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  color: #fff;
}
.eh-wc p {
  font-size: 16.5px;
  line-height: 1.6;
}
.eh-wc .eh-btn {
  margin-top: auto;
  background: #fff;
  color: var(--ink);
}
.eh-wc .eh-btn svg {
  width: 18px;
  height: 18px;
}
.eh-wrapimgs {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 16px;
  margin-top: 16px;
}
.eh-wrapimgs .eh-shot {
  height: 100%;
}
.eh-wrapimgs .eh-shot img {
  height: 100%;
  object-fit: cover;
}
.eh-stack {
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto;
}
.eh-brandcard {
  background: var(--red);
  border-radius: 20px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 26px;
  text-align: center;
}
.eh-brandcard img {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}
.eh-brandcard a {
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* FAQ */
.eh-faq {
  margin-top: 22px;
  border-top: 1px solid #c9c9c9;
}
.eh-faq details {
  border-bottom: 1px solid #c9c9c9;
}
.eh-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
}
.eh-faq summary::-webkit-details-marker {
  display: none;
}
.eh-faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}
.eh-faq details[open] summary::after {
  content: "–";
}
.eh-faq details p {
  padding: 0 0 18px;
  font-size: 16.5px;
  max-width: 820px;
}

/* Responsive */
@media (max-width: 860px) {
  .eh-cover-in,
  .eh-split,
  .eh-tell,
  .eh-barhead,
  .eh-wrapcards,
  .eh-wrapimgs {
    grid-template-columns: 1fr;
  }
  .eh-art {
    order: -1;
  }
  .eh-compare {
    grid-template-columns: 1fr;
  }
  .eh-way {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .eh-way h3 {
    text-align: left;
  }
  .eh-chart tbody th {
    width: auto;
  }
  .eh-band .eh-split .eh-shot {
    justify-self: start;
  }
}
@media (max-width: 620px) {
  .eh-ebook {
    font-size: 16px;
  }
  .eh-pillars {
    grid-template-columns: 1fr;
  }
  .eh-pillar,
  .eh-pillar:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .eh-signals {
    grid-template-columns: 1fr;
  }
  .eh-hd {
    display: none;
  }
  .eh-sig .eh-tag {
    display: block;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 6px;
  }
  .eh-sig.eh-old .eh-tag {
    color: #555;
  }
  .eh-sig.eh-new .eh-tag {
    color: #b0101f;
  }
  .eh-sig.eh-new {
    margin-bottom: 12px;
  }
  .eh-chart :is(table, tbody, tr, th, td) {
    display: block;
    width: auto;
  }
  .eh-chart thead {
    display: none;
  }
  .eh-chart tbody th {
    padding: 16px 0 8px;
  }
  .eh-chart td {
    border-top: 0;
    padding: 0 0 16px;
  }
  .eh-bigstat {
    grid-template-columns: 1fr;
  }
  .eh-bigstat .eh-num {
    order: -1;
  }
  .eh-ex {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .eh-toc a {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .eh-pg {
    display: none;
  }
  .eh-pull {
    grid-template-columns: 1fr;
  }
}
