/* The Executive Summary — lead-magnet landing pages.
   Editorial system aligned with TES home (e-* tokens). */
:root {
  --e-dark: #0B0B0B;
  --e-dark-soft: #1A1A1A;
  --e-beige: #FFFFFF;
  --e-beige-deep: #E10600;      /* Wired red — accent */
  --e-cream: #F9F8F4;
  --e-grid: rgba(255, 255, 255, 0.04);
  --e-muted-on-dark: #C8C8C8;
  --e-muted-on-beige: #3F3F3F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--e-beige);
  background: var(--e-dark);
  line-height: 1.55;
  font-size: 18px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.e-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── Header ── */
.e-header {
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.e-brand {
  display: inline-flex; align-items: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--e-beige);
}
.e-brand img {
  height: 56px; width: auto; display: block;
}
.e-brand em { font-style: normal; color: var(--e-beige-deep); margin: 0 4px; }
.e-cta {
  padding: 10px 20px;
  font-weight: 600; font-size: 14px;
  background: var(--e-beige); color: var(--e-dark);
  border-radius: 999px;
}
.e-cta:hover { background: var(--e-cream); }

/* ── Dark / beige bands ── */
.e-dark-bg {
  background: var(--e-dark); color: var(--e-beige);
  background-image:
    linear-gradient(var(--e-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--e-grid) 1px, transparent 1px);
  background-size: 96px 96px;
}
.e-beige-bg { background: var(--e-beige); color: var(--e-dark); }

/* ── Section helpers ── */
.e-section { padding: 96px 0; }
.e-section--tight { padding: 64px 0; }
.e-section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--e-muted-on-dark);
  margin-bottom: 18px;
}
.e-section-eyebrow .e-pix {
  display: inline-block; width: 8px; height: 8px;
  background: var(--e-beige-deep);
}
.e-beige-bg .e-section-eyebrow { color: var(--e-muted-on-beige); }
.e-section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--e-beige);
  max-width: 18ch;
}
.e-beige-bg .e-section-title { color: var(--e-dark); }
.e-section-title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--e-beige-deep);
}

/* ── Hero ── */
.e-hero { padding: 88px 0 96px; position: relative; }
.e-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-bottom: 28px;
}
.e-hero h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--e-beige-deep);
}
.e-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--e-muted-on-dark);
  margin-bottom: 22px;
}
.e-hero-eyebrow span { color: var(--e-beige-deep); }
.e-hero-lede {
  font-size: 21px; line-height: 1.5;
  color: var(--e-muted-on-dark);
  max-width: 58ch;
  margin-bottom: 36px;
}
.e-hero-lede strong { color: var(--e-beige); font-weight: 500; }

/* ── Email opt-in form (used in hero + final CTA) ── */
.e-form {
  max-width: 560px;
  display: flex; flex-direction: column; gap: 12px;
}
.e-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) { .e-form-row { grid-template-columns: 1fr; } }
.e-form input[type=text], .e-form input[type=email] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--e-beige);
  outline: none;
  transition: border-color 0.15s;
}
.e-form input::placeholder { color: rgba(255,255,255,0.4); }
.e-form input:focus { border-color: var(--e-beige); }
.e-form button {
  align-self: flex-start;
  background: var(--e-beige); color: var(--e-dark);
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.e-form button:hover { background: var(--e-cream); transform: translateY(-1px); }
.e-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.e-form-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--e-muted-on-dark);
  margin-top: 6px;
}
.e-form-err {
  margin-top: 10px;
  background: rgba(225, 6, 0, 0.12);
  border: 1px solid rgba(225, 6, 0, 0.35);
  color: #FFB4B0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.e-form-err.is-on { display: block; }
.e-form-success {
  max-width: 560px;
  margin-top: 28px;
  border-left: 3px solid var(--e-beige-deep);
  padding: 6px 0 6px 18px;
  display: none;
}
.e-form-success.is-on { display: block; }
.e-form-success h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 6px;
}
.e-form-success p {
  color: var(--e-muted-on-dark);
  font-size: 15px;
}

/* ── Logos strip ── */
.e-logos {
  border-top: 1px solid var(--e-dark-soft);
  border-bottom: 1px solid var(--e-dark-soft);
  padding: 36px 0;
  background: var(--e-dark);
}
.e-logos-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--e-muted-on-dark);
  text-align: center; margin-bottom: 24px;
}
.e-logos-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 980px; margin: 0 auto;
}
.e-logos-row img {
  height: 32px;
  width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}
@media (max-width: 720px) {
  .e-logos-row { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .e-logos-row img { height: 26px; }
}

/* ── Inside the document — the value proposition ── */
.e-inside { padding: 96px 0; }
.e-inside-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  max-width: 1080px;
}
@media (max-width: 800px) { .e-inside-grid { grid-template-columns: 1fr; gap: 32px; } }
.e-inside-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--e-muted-on-beige);
  margin-bottom: 12px;
}
.e-beige-bg .e-inside-meta { color: var(--e-muted-on-beige); }
.e-inside h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: var(--e-dark);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.e-inside h3 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--e-beige-deep);
}
.e-inside-lede {
  color: var(--e-muted-on-beige);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.e-inside-bullets {
  list-style: none;
  padding: 0; margin: 0;
}
.e-inside-bullets li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
  color: var(--e-dark);
  font-size: 17px;
  line-height: 1.5;
}
.e-inside-bullets li:first-child { border-top: 0; }
.e-inside-bullets li::before {
  content: "→";
  position: absolute; left: 0; top: 10px;
  color: var(--e-beige-deep);
  font-weight: 700;
}

/* ── Quote / testimonial ── */
.e-quote { padding: 96px 0; }
.e-quote-block {
  max-width: 840px; margin: 0 auto;
}
.e-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 88px;
  color: var(--e-beige-deep);
  line-height: 0.5;
  margin-bottom: 28px;
}
.e-quote-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--e-beige);
  margin-bottom: 28px;
}
.e-quote-text em { color: var(--e-beige-deep); }
.e-quote-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--e-muted-on-dark);
}
.e-quote-name {
  color: var(--e-beige);
  font-weight: 600;
  margin-right: 8px;
}

/* ── FAQ ── */
.e-faq { padding: 96px 0; }
.e-faq-list {
  max-width: 780px;
  margin-top: 48px;
  border-top: 1px solid var(--e-dark-soft);
}
details.e-faq-item {
  border-bottom: 1px solid var(--e-dark-soft);
}
details.e-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--e-beige);
}
details.e-faq-item summary::-webkit-details-marker { display: none; }
details.e-faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 400;
  color: var(--e-beige-deep);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
details.e-faq-item[open] summary::after { content: "−"; }
details.e-faq-item p {
  padding: 0 0 24px 0;
  color: var(--e-beige);
  opacity: 0.85;
  font-size: 17px;
  line-height: 1.6;
  max-width: 64ch;
}

/* ── Final CTA ── */
.e-final { padding: 120px 0; }
.e-final h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 22ch;
}
.e-final h2 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--e-beige-deep);
}
.e-final-lede {
  font-size: 21px;
  color: var(--e-muted-on-dark);
  max-width: 56ch;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* ── Footer ── */
.e-footer {
  background: var(--e-dark-soft);
  padding: 36px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--e-muted-on-dark);
}
.e-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.e-footer a {
  color: var(--e-muted-on-dark);
  border-bottom: 1px solid transparent;
}
.e-footer a:hover { color: var(--e-beige); border-bottom-color: var(--e-beige-deep); }


/* Disambiguating font for names with ambiguous I/l (e.g. 'Ilett') */
.e-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
