@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Manrope:wght@400;500;600;700&family=Prata&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --paper: oklch(0.965 0.012 82);
  --paper-deep: oklch(0.925 0.018 82);
  --ink: oklch(0.205 0.018 255);
  --muted: oklch(0.46 0.025 255);
  --soft: oklch(0.34 0.025 255);
  --navy: oklch(0.24 0.045 255);
  --signal: oklch(0.49 0.095 47);
  --line: color-mix(in oklch, var(--navy) 20%, transparent);
  --line-strong: color-mix(in oklch, var(--signal) 58%, transparent);
  --text: var(--ink);
  --surface: var(--paper-deep);
  --surface-strong: oklch(0.89 0.024 82);
  --green: var(--signal);
  --blue: var(--navy);
  --gold: var(--signal);
  --max: 1180px;
  --serif: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.exec-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

::selection {
  color: var(--paper);
  background: var(--signal);
}

.exec-shell {
  width: min(var(--max), calc(100vw - 64px));
  margin: 0 auto;
}

.exec-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.exec-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.exec-brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

.exec-brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  font: 600 0.68rem/1 var(--mono);
  letter-spacing: 0.04em;
}

.exec-nav-links,
.exec-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}

.exec-nav-links {
  color: var(--muted);
  font-size: 0.82rem;
}

.exec-nav-links a,
.exec-footer-links a,
.exec-link {
  text-decoration: none;
}

.exec-nav-links a,
.exec-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.exec-nav-links a:hover,
.exec-footer-links a:hover,
.exec-link:hover {
  color: var(--signal);
}

.exec-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(54px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.exec-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: end;
}

.exec-kicker {
  width: fit-content;
  margin: 0 0 22px;
  color: var(--signal);
  font: 600 0.68rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exec-hero h1,
.exec-section h2,
.exec-card h2,
.exec-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.exec-hero h1 {
  max-width: 1000px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 1.02;
}

.exec-gradient {
  color: var(--signal);
}

.exec-lead {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
}

.exec-updated,
.exec-small {
  color: var(--muted);
  font-size: 0.82rem;
}

.exec-updated {
  margin-top: 24px;
  font-family: var(--mono);
}

.exec-portrait {
  justify-self: end;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.exec-portrait img {
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
}

.exec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.exec-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.exec-button.primary,
.exec-button:hover {
  color: var(--paper);
  background: var(--navy);
}

.exec-button.primary:hover {
  background: var(--signal);
  border-color: var(--signal);
}

.exec-main {
  padding: 24px 0 clamp(76px, 10vw, 132px);
}

.exec-section {
  padding: clamp(36px, 6vw, 76px) 0;
}

.exec-section + .exec-section {
  border-top: 1px solid var(--line);
}

.exec-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.exec-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.exec-section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.exec-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exec-card {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 42px);
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exec-card.accent {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.exec-card h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.12;
}

.exec-card.accent h2,
.exec-card.accent h3 {
  color: var(--paper);
}

.exec-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.exec-card p {
  margin: 0;
  color: var(--soft);
}

.exec-card.accent p,
.exec-card.accent li {
  color: color-mix(in oklch, var(--paper) 74%, var(--navy));
}

.exec-card p + p {
  margin-top: 14px;
}

.exec-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.exec-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.exec-list li::before {
  position: absolute;
  left: 0;
  color: var(--signal);
  content: "→";
}

.exec-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.exec-metric {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exec-metric strong {
  display: block;
  color: var(--navy);
  font: 400 clamp(1.7rem, 3vw, 2.75rem)/1.05 var(--serif);
  letter-spacing: -0.035em;
}

.exec-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.exec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.exec-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--soft);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.exec-proof {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.exec-proof a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.exec-proof a::after {
  margin-left: auto;
  color: var(--signal);
  content: "↗";
}

.exec-proof a:hover {
  color: var(--signal);
}

.exec-footer {
  padding: 32px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font: 500 0.68rem/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.exec-footer-inner,
.site-meta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-meta-strip {
  color: var(--paper-deep);
  background: var(--navy);
  border-top: 1px solid color-mix(in oklch, var(--paper) 18%, transparent);
  font-family: var(--sans);
  font-size: 13px;
}

.site-meta-strip-inner {
  width: min(var(--max), calc(100vw - 64px));
  min-height: 48px;
  margin: 0 auto;
}

.site-meta-strip a {
  color: var(--paper);
  text-decoration: none;
}

.site-meta-strip a:hover {
  color: oklch(0.78 0.11 64);
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .exec-shell,
  .site-meta-strip-inner {
    width: min(100vw - 40px, var(--max));
  }

  .exec-nav-inner,
  .exec-section-header,
  .exec-footer-inner,
  .site-meta-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .exec-nav-inner {
    padding-block: 12px;
  }

  .exec-nav-links {
    width: 100%;
    gap: 0 16px;
  }

  .exec-hero-grid,
  .exec-grid,
  .exec-grid.three,
  .exec-metric-row {
    grid-template-columns: 1fr;
  }

  .exec-portrait {
    justify-self: start;
  }

  .exec-hero {
    padding-top: 56px;
  }

  .site-meta-strip-inner {
    padding-block: 12px;
  }
}

@media (max-width: 520px) {
  .exec-shell,
  .site-meta-strip-inner {
    width: calc(100vw - 28px);
  }

  .exec-hero h1 {
    font-size: clamp(2.65rem, 13.8vw, 4rem);
  }

  .exec-card {
    padding: 22px 18px;
  }

  .exec-actions {
    flex-direction: column;
  }

  .exec-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Unified editorial templates: visual source is the concise home page. */
:root {
  --internal-title-max: 16ch;
  --reading-width: 760px;
}

body.exec-page {
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.55;
}

.exec-shell {
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.exec-hero {
  padding-block: clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--border);
}

.exec-kicker {
  margin-bottom: 16px;
  color: var(--accent);
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: .08em;
}

.exec-hero h1,
.exec-section h2,
.exec-card h2,
.exec-card h3 {
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 590;
  letter-spacing: -.025em;
}

.exec-hero h1 {
  max-width: var(--internal-title-max);
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  line-height: 1.02;
}

.exec-gradient { color: inherit; }

body.detail-page .exec-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.65rem, 4.6vw, 4.65rem);
}

.exec-lead {
  max-width: 72ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.exec-updated,
.exec-small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.exec-updated { margin-top: 20px; }

.exec-meta {
  margin-top: 24px;
  border-color: var(--border);
}

.exec-pill {
  min-height: 36px;
  color: var(--muted);
  border-color: var(--border);
  font-size: 12px;
}

.exec-main { padding: 0 0 clamp(72px, 8vw, 112px); }

.exec-section {
  padding-block: clamp(48px, 6vw, 82px);
}

.exec-section + .exec-section {
  border-top-color: var(--border);
}

.exec-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(32px, 6vw, 84px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.exec-section h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.06;
}

.exec-section-note {
  max-width: 56ch;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--fg);
  font-size: 14px;
}

.exec-grid,
.exec-grid.three {
  border-color: var(--border);
}

.exec-card {
  padding: clamp(24px, 3vw, 38px);
  border-color: var(--border);
}

.exec-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}

.exec-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.18;
}

.exec-card p,
.exec-list li {
  color: var(--muted);
}

.exec-card.accent {
  color: var(--deep-fg);
  background: var(--deep);
  border-color: var(--deep);
}

.exec-card.accent h2,
.exec-card.accent h3 {
  color: var(--deep-fg);
}

.exec-card.accent p,
.exec-card.accent li {
  color: var(--deep-muted);
}

.exec-list li {
  border-top-color: var(--border);
}

.exec-list li::before { color: var(--accent); }

.exec-metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  border-top: 1px solid var(--fg);
  border-right: 0;
  border-bottom: 1px solid var(--fg);
  border-left: 0;
}

.exec-metric-row + .exec-metric-row { border-top: 0; }

.exec-metric {
  min-height: 128px;
  gap: 14px;
  padding: 20px clamp(16px, 2.2vw, 28px);
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.exec-metric:first-child { padding-left: 0; }
.exec-metric:last-child { padding-right: 0; border-right: 0; }

.exec-metric strong {
  color: var(--fg);
  font: 590 clamp(1.65rem, 2.7vw, 2.55rem)/1.05 var(--font-display);
  letter-spacing: -.025em;
}

.exec-metric span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.exec-actions { margin-top: 24px; }

.exec-button {
  min-height: 46px;
  padding: 11px 17px;
  color: var(--fg);
  border-color: var(--fg);
  font-size: 13px;
  font-weight: 590;
}

.exec-button.primary,
.exec-button:hover {
  color: var(--bg);
  background: var(--fg);
}

.exec-button.primary:hover {
  color: var(--surface);
  background: oklch(0.28 0.024 255);
  border-color: oklch(0.28 0.024 255);
}

.exec-link:hover,
.exec-proof a:hover { color: var(--accent); }

body.insight-page .exec-hero .exec-shell,
body.insight-page .exec-main > .exec-section > .exec-shell:not(.exec-grid),
body.privacy-page .exec-hero .exec-shell {
  max-width: calc(var(--reading-width) + 2 * var(--gutter));
}

body.insight-page .exec-main .exec-card p,
body.privacy-page .exec-main .exec-card p {
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .exec-section-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .exec-grid,
  .exec-grid.three,
  .exec-metric-row {
    grid-template-columns: 1fr;
  }

  .exec-metric,
  .exec-metric:first-child,
  .exec-metric:last-child {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .exec-metric:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .exec-hero { padding-block: 38px 44px; }
  .exec-hero h1 { max-width: 100%; font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .exec-lead { margin-top: 18px; font-size: .98rem; }
  .exec-section { padding-block: 46px; }
  .exec-card { padding: 24px 0; border-right: 0; }
  .exec-card.accent { padding-inline: 22px; }
  .exec-actions { display: grid; grid-template-columns: 1fr; }
  .exec-button { width: 100%; }
}
