/* =========================================================
   Holonic core stylesheet
   =========================================================

   This file intentionally covers only the shared page system:
   typography, spacing, header/footer, sections, grids, cards,
   forms, and page-specific content blocks.

   Complex visual diagrams and code-like panels live in:
   css/diagrams.css
   ========================================================= */

/* =========================================================
   1. Editable site config
   =========================================================

   Most routine visual edits should happen here.

   Typography naming is intentionally plain:
   - --text-home-title: the large homepage hero title
   - --text-title: page-level titles and final CTA titles
   - --text-section-title: main section headings
   - --text-subtitle: ledes, page summaries, and larger intro text
   - --text-body: normal body copy
   - --text-body-small: dense cards, proof details, and helper copy
   - --text-button: buttons
   - --text-label: small uppercase labels

   Tablet and mobile values are set in the two media blocks below.
   ========================================================= */
:root {
  /* Brand colors */
  --ink: #0E1B1B;
  --navy: #1A2B2B;
  --navy-soft: #233838;
  --green: #00A67E;
  --green-dark: #007F61;
  --green-glow: rgba(0, 166, 126, 0.18);
  --mint: #E8F7F2;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --rule: #D8DDDD;
  --rule-dark: rgba(255, 255, 255, 0.10);
  --text: #1A2B2B;
  --text-dim: #5C6B6B;
  --text-dim-dark: #9FB2B2;
  --crimson: #B23A48;

  /* Typefaces */
  --serif: 'IBM Plex Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Easy typography controls */
  --text-home-title: 50px;
  --text-title: 50px;
  --text-section-title: 50px;
  --text-card-title: 24px;
  --text-small-title: 20px;
  --text-subtitle: 20px;
  --text-body-large: 18px;
  --text-body: 16px;
  --text-body-small: 15px;
  --text-button: 15px;
  --text-link: 13px;
  --text-label: 11px;
  --text-brand: 17px;
  --text-nav: 16px;
  --text-metric: 44px;
  --text-proof-stat: 48px;
  --text-case-number: 38px;
  --text-callout: 42px;
  --text-large-callout: 28px;
  --text-quote: 28px;
  --text-giant-number: 64px;

  /* Easy spacing controls */
  --site-width: 1240px;
  --site-gutter: 56px;
  --space-section: 30px;
  --space-section-tight: 96px;
  --space-page-head: 40px;
  --space-card: 32px;
  --space-panel-y: 48px;
  --space-panel-x: 52px;


  /* Effects */
  --shadow-soft: 0 18px 40px -24px rgba(14, 27, 27, 0.20);
  --shadow-panel: 0 30px 80px -40px rgba(14, 27, 27, 0.30);
}

@media (max-width: 980px) {
  :root {
    --site-gutter: 36px;
    --space-section: 24px;
    --space-section-tight: 72px;
    --space-page-head: 36px;
    --space-card: 30px;
    --space-panel-y: 40px;
    --space-panel-x: 40px;

    /* Tablet typography scale */
    --text-home-title: 46px;
    --text-title: 46px;
    --text-section-title: 44px;
    --text-card-title: 23px;
    --text-small-title: 20px;
    --text-subtitle: 19px;
    --text-body-large: 18px;
    --text-body: 16px;
    --text-body-small: 15px;
    --text-button: 15px;
    --text-link: 13px;
    --text-label: 11px;
    --text-brand: 16px;
    --text-nav: 15px;
    --text-metric: 40px;
    --text-proof-stat: 42px;
    --text-case-number: 34px;
    --text-callout: 36px;
    --text-large-callout: 26px;
    --text-quote: 26px;
    --text-giant-number: 56px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-gutter: 22px;
    --space-section: 20px;
    --space-section-tight: 56px;
    --space-page-head: 32px;
    --space-card: 26px;
    --space-panel-y: 32px;
    --space-panel-x: 28px;

    /* Mobile typography scale */
    --text-home-title: 38px;
    --text-title: 38px;
    --text-section-title: 34px;
    --text-card-title: 22px;
    --text-small-title: 20px;
    --text-subtitle: 18px;
    --text-body-large: 17px;
    --text-body: 16px;
    --text-body-small: 15px;
    --text-button: 15px;
    --text-link: 13px;
    --text-label: 11px;
    --text-brand: 15px;
    --text-nav: 15px;
    --text-metric: 34px;
    --text-proof-stat: 36px;
    --text-case-number: 30px;
    --text-callout: 30px;
    --text-large-callout: 24px;
    --text-quote: 22px;
    --text-giant-number: 48px;
  }
}

/* =========================================================
   2. Base elements
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
}

::selection { background: var(--green); color: var(--white); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-title); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: var(--text-section-title); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: var(--text-card-title); line-height: 1.25; font-weight: 500; }
h4 { font-family: var(--sans); font-size: var(--text-link); line-height: 1.3; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
em.accent { font-family: var(--serif); font-style: italic; color: var(--green); }

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}
.section { padding: var(--space-section) 0; }
.section--tight { padding: var(--space-section-tight) 0; }



/* Search/LLM answer blocks: concise visible definitions for each route. */
.answer-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.answer-card {
  max-width: 920px;
  padding: var(--space-card);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
}

.answer-card h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: var(--text-card-title);
}

.answer-card p {
  max-width: 70ch;
  color: var(--text-dim);
  font-size: var(--text-body);
  line-height: 1.65;
}

/* =========================================================
   3. Reusable content patterns
   ========================================================= */
.eyebrow,
.card-num,
.pillar-num,
.who-for-label,
.buyer-label,
.case-id,
.case-client,
.case-conv,
.client-quote-label,
.langs-label,
.loc-label,
.field label,
.stat-label,
.metric-label,
.proof-strip-sub,
.flow-label,
.stage-num,
.property .label {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: var(--text-label);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--green);
}
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 { margin-top: 20px; }

.lede {
  max-width: 60ch;
  color: var(--text-dim);
  font-size: var(--text-subtitle);
  line-height: 1.55;
}
.on-dark .lede { color: var(--text-dim-dark); }
.on-dark .eyebrow { color: var(--green); }

.section-head,
.problem-head,
.product-head,
.proof-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2,
.problem-head h2,
.product-head h2,
.proof-head h2 { max-width: 18ch; }
.section-head .lede,
.problem-head .lede,
.product-head .lede,
.proof-head .lede { padding-bottom: 6px; }

@media (max-width: 820px) {
  .section-head,
  .problem-head,
  .product-head,
  .proof-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }
}

.card-row,
.metric-row,
.proof-stats-inner,
.who-for-grid,
.pillar-grid,
.proof-row,
.buyer-grid,
.module-grid,
.case-grid,
.loc-grid,
.langs-grid,
.properties,
.failure-layout,
.pattern-callout,
.cta-final-inner,
.hero-grid {
  display: grid;
}

.who-for-grid,
.pillar-grid,
.proof-row,
.buyer-grid,
.module-grid,
.case-grid,
.loc-grid {
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  background: var(--white);
}

.who-for-card,
.pillar,
.proof-card,
.buyer,
.module,
.case,
.loc,
.card {
  background: var(--white);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.who-for-card:hover,
.pillar:hover,
.proof-card:hover,
.case:hover,
.card:hover { background: var(--mint); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.card {
  position: relative;
  padding: 32px 28px 36px;
  border: 1px solid var(--rule);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green);
}
.card h3,
.proof-card h3,
.case h3,
.buyer h3,
.who-for-card h3,
.pillar h3,
.loc h3,
.property h3,
.module h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
}
.card p,
.proof-card p,
.case-detail,
.buyer p,
.who-for-card p,
.pillar p,
.loc p,
.property p,
.module p {
  color: var(--text-dim);
  font-size: var(--text-body-small);
  line-height: 1.6;
}

/* =========================================================
   4. Header, buttons, footer
   ========================================================= */
body.nav-open { overflow: hidden; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 239, 0.94);
  border-bottom: 1px solid rgba(215, 223, 220, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand,
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
}
.brand-wordmark {
  font-family: var(--sans);
  font-size: var(--text-brand);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--text-nav);
}
.nav-links a {
  padding: 8px 0;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  border-color: var(--green);
}
.nav-links .nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--green);
  border: 2px solid var(--green);
  color: var(--white);
  font-weight: 650;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.menu-button {
  display: none;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 700 var(--text-button) var(--sans);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 2px;
  font: 500 var(--text-button) var(--sans);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: var(--white); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.04); }
.btn-ghost { border: 1px solid var(--rule); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0, 166, 126, 0.4);
  color: var(--green);
  font: var(--text-link) var(--mono);
  letter-spacing: 0.04em;
}
.text-link:hover { border-color: var(--green); color: var(--green-dark); }
.on-dark .text-link { color: rgba(255, 255, 255, 0.78); border-color: rgba(255, 255, 255, 0.22); }
.on-dark .text-link:hover { color: var(--green); border-color: var(--green); }

.footer {
  padding: 56px 0 40px;
  background: var(--ink);
  border-top: 1px solid var(--rule-dark);
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-link);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-mark { color: var(--white); font: var(--text-subtitle) var(--serif); }
.footer-mark img.logo-mark {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  flex: 0 0 30px;
}
.footer-tagline { max-width: 32ch; color: rgba(255, 255, 255, 0.55); line-height: 1.55; }
.footer-col h4 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
  font: 500 var(--text-label) var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: var(--text-link); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.42);
  font: var(--text-label) var(--mono);
  letter-spacing: 0.04em;
}

/* =========================================================
   5. Shared dark surfaces and page heads
   ========================================================= */
.hero,
.page-head,
.turn,
.cta-final,
.proof-stats,
.cold-open {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero::before,
.page-head::before,
.turn::before,
.cold-open::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero::after,
.page-head::after,
.cta-final::before,
.proof-stats::after,
.cold-open::after,
.llm-fit-callout::after,
.client-quote::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
}
.hero::after { top: -20%; right: -10%; width: 60vw; height: 60vw; }
.page-head::after { top: -30%; right: -10%; width: 55vw; height: 55vw; }
.cold-open::after { top: -25%; right: -10%; width: 55vw; height: 55vw; }
.cta-final::before { bottom: -30%; left: -10%; width: 60vw; height: 60vw; }
.proof-stats::after { top: -20%; right: -10%; width: 45vw; height: 45vw; }
.llm-fit-callout::after,
.client-quote::after { top: -30%; right: -10%; width: 40vw; height: 40vw; }

.page-head { padding: var(--space-page-head) 0; }
.page-head-inner { position: relative; z-index: 1; max-width: 880px; }
.page-head h1 {
  max-width: 22ch;
  margin-bottom: 22px;
  color: var(--white);
  font-size: var(--text-title);
  line-height: 1.04;
}
.page-head h1 em { color: var(--green); font-style: italic; }
.page-head p { max-width: 62ch; color: rgba(255, 255, 255, 0.78); font-size: var(--text-subtitle); line-height: 1.6; }
.page-head p strong { color: var(--white); font-weight: 500; }

/* =========================================================
   6. Homepage
   ========================================================= */
.hero { padding: 20px 0 0; }
.hero-grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 88px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 18ch;
  margin: 22px 0 28px;
  color: var(--white);
  font-size: var(--text-home-title);
  line-height: 1.05;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub {
  max-width: 56ch;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-subtitle);
  line-height: 1.55;
}
.hero-sub strong { color: var(--white); font-weight: 500; }
.hero-ctas,
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero-anchor { display: none; }
.cta-caption { margin: 0 0 56px; color: rgba(255, 255, 255, 0.52); font: var(--text-label) var(--mono); letter-spacing: 0.04em; }

.proof-strip { position: relative; z-index: 1; padding: 36px 0 48px; border-top: 1px solid var(--rule-dark); }
.metric-row { grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 28px; }
.metric-num,
.stat-num {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: var(--text-metric);
  font-weight: 500;
  line-height: 1;
}
.metric-num span { color: var(--green); }
.metric-label,
.proof-strip-sub { color: rgba(255, 255, 255, 0.55); font-size: var(--text-label); line-height: 1.4; }
.proof-strip-sub { padding-top: 24px; border-top: 1px solid var(--rule-dark); }

.problem,
.llm-fit,
.pillars,
.proof-teaser,
.buyers,
.who-for,
.alternatives,
.form-section,
.locations,
.proof-section,
.pipeline-section,
.failure-section,
.intent-section,
.product {
  border-top: 1px solid var(--rule);
}
.problem,
.pillars,
.proof-section,
.locations,
.alternatives,
.pipeline-section { background: var(--paper); }
.llm-fit,
.proof-teaser,
.who-for,
.form-section,
.intent-section { background: var(--white); }
.buyers,
.product,
.failure-section { background: var(--mint); }

.villain {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.villain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.villain-label,
.villain h3,
.villain p { position: relative; }
.villain-label { display: block; margin-bottom: 18px; color: var(--crimson); font: var(--text-label) var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.villain h3 { max-width: 15ch; color: var(--white); font-size: var(--text-case-number); line-height: 1.1; }
.villain p { max-width: 50ch; color: rgba(255, 255, 255, 0.78); font-size: var(--text-body); line-height: 1.6; }

.card-row { grid-template-columns: 1fr 1fr; gap: 24px; }
.turn { padding: var(--space-section) 0; }
.turn-inner { position: relative; z-index: 1; max-width: 1080px; }
.turn h2 { max-width: 22ch; margin-bottom: 36px; color: var(--white); font-size: var(--text-title); line-height: 1.05; }
.turn p { max-width: 62ch; margin-bottom: 24px; color: rgba(255, 255, 255, 0.78); font-size: var(--text-subtitle); }
.turn-question {
  max-width: 36ch;
  margin: 36px 0 48px;
  padding-left: 32px;
  border-left: 3px solid var(--green);
  color: var(--green);
  font: italic var(--text-callout) var(--serif);
  line-height: 1.2;
}
.turn-callout {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  text-align: center;
}
.turn-callout-item { font: 500 var(--text-large-callout)/1.2 var(--serif); }
.turn-callout-item span { display: block; margin-bottom: 14px; color: var(--green); font: var(--text-label) var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }

.llm-fit-head,
.who-for-head,
.pillars-head,
.proof-teaser-head,
.buyers-head,
.alternatives-head,
.locations-head { max-width: 760px; margin-bottom: 56px; }
.llm-fit-head h2,
.who-for-head h2,
.pillars-head h2,
.proof-teaser-head h2,
.buyers-head h2,
.alternatives-head h2,
.locations-head h2 { max-width: 22ch; }

.llm-fit-table { margin-bottom: 40px; border: 1px solid var(--rule); background: var(--white); }
.llm-fit-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.llm-fit-row:last-child { border-bottom: 0; }
.llm-fit-row > div { padding: 22px 28px; color: var(--text); font-size: var(--text-body-small); line-height: 1.5; }
.llm-fit-row > div:first-child { border-right: 1px solid var(--rule); color: var(--text-dim); }
.llm-fit-row > div:nth-child(2) { font-weight: 500; }
.llm-fit-header > div { background: var(--mint); font: 600 var(--text-label) var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.llm-fit-header > div:nth-child(2) { color: var(--green); }
.llm-fit-callout,
.client-quote {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-left: 3px solid var(--green);
}
.llm-fit-callout { padding: 44px 52px; }
.llm-fit-callout p { position: relative; z-index: 1; max-width: 64ch; font: var(--text-card-title)/1.45 var(--serif); }
.llm-fit-callout p em { color: var(--green); font-style: italic; }

.who-for-grid,
.pillar-grid,
.proof-row { grid-template-columns: repeat(3, 1fr); }
.who-for-card { padding: 40px 32px 44px; }
.who-for-label { display: block; margin-bottom: 18px; color: var(--green); font-size: var(--text-label); }
.who-for-card h3 { max-width: 18ch; margin-bottom: 14px; font-size: var(--text-card-title); }

.pillar { display: flex; flex-direction: column; padding: 48px 40px 56px; }
.pillar-num { display: block; margin-bottom: 24px; color: var(--green); font-size: var(--text-label); }
.pillar h3 { max-width: 22ch; margin-bottom: 20px; font-size: var(--text-large-callout); }
.pillar p { flex: 1; margin-bottom: 24px; font-size: var(--text-body-small); }
.pillar-take { padding-top: 20px; border-top: 1px solid var(--rule); color: var(--text); font-size: var(--text-body-small); font-weight: 500; }
.pillar-take span { display: block; margin-bottom: 8px; color: var(--green); font: 500 var(--text-label) var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pillars-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 56px; }
.pillars-foot p { max-width: 56ch; color: var(--text); font: italic var(--text-card-title)/1.4 var(--serif); }

.proof-row { margin-bottom: 40px; }
.proof-card { padding: 36px 32px; }
.proof-card .case-id { display: block; margin-bottom: 18px; color: var(--green); font-size: var(--text-label); }
.proof-card .case-client { margin-bottom: 10px; color: var(--text-dim); font-size: var(--text-label); }
.proof-card h3 { margin-bottom: 18px; font-size: var(--text-small-title); }
.proof-card .case-headline { display: block; margin-bottom: 8px; color: var(--green); font: 500 var(--text-case-number)/1 var(--serif); }
.proof-card .case-headline-sub { color: var(--text); font-size: var(--text-link); line-height: 1.4; }
.proof-teaser-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

.buyer-grid { grid-template-columns: repeat(3, 1fr); }
.buyer { padding: 40px 36px 44px; }
.buyer-label { display: block; margin-bottom: 18px; color: var(--green); font-size: var(--text-label); }
.buyer h3 { max-width: 22ch; margin-bottom: 14px; font-size: var(--text-card-title); }
.buyer p { margin-bottom: 18px; }

/* =========================================================
   7. CodeIntent page
   ========================================================= */
.product { border-bottom: 1px solid var(--rule); }
.product-head { grid-template-columns: 1fr 1fr; gap: 80px; }
.product-head h2 { max-width: 14ch; }
.product-mockup { margin-bottom: 64px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow-panel); }
.product-mockup-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--rule); background: #F4F8F7; color: var(--text-dim); font: var(--text-label) var(--mono); letter-spacing: 0.04em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.dot:nth-child(1) { background: #E0817B; }
.dot:nth-child(2) { background: #E0BD7B; }
.dot:nth-child(3) { background: #7BC4A4; }
.mock-path { margin-left: 16px; }

.module-grid { grid-template-columns: repeat(3, 1fr); }
.module { padding: 36px 32px 40px; }
.module-icon { width: 32px; height: 32px; margin-bottom: 22px; color: var(--green); }
.module h4 { margin-bottom: 12px; font-size: var(--text-subtitle); text-transform: none; letter-spacing: -0.005em; }
.module p { font-size: var(--text-body-small); }

.alternatives-head p { max-width: 62ch; color: var(--text-dim); font-size: var(--text-body-large); line-height: 1.6; }
.eighty-twenty { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-bottom: 56px; padding: 36px 40px; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--green); }
.eighty-twenty-num { display: flex; align-items: baseline; gap: 4px; color: var(--ink); font: 500 var(--text-giant-number)/1 var(--serif); letter-spacing: -0.02em; }
.eighty-twenty-num .of { color: var(--text-dim); font-size: 0.45em; }
.eighty-twenty-num .pct { color: var(--green); font-size: 0.55em; }
.eighty-twenty p { max-width: 60ch; color: var(--text); font: var(--text-subtitle)/1.45 var(--serif); }
.eighty-twenty p strong { color: var(--ink); font-weight: 500; }

.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); font-size: var(--text-body-small); }
.compare thead { background: var(--ink); color: var(--white); }
.compare th { padding: 18px 22px; text-align: left; color: rgba(255, 255, 255, 0.86); font: 500 var(--text-label) var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.compare td { padding: 22px; border-top: 1px solid var(--rule); color: var(--text-dim); line-height: 1.55; vertical-align: top; }
.compare td:first-child { width: 26%; color: var(--text); font: 500 var(--text-body-large) var(--serif); }
.compare tr.us td { background: var(--mint); color: var(--text); }
.compare tr.us td:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.alternatives-close { max-width: 56ch; margin-top: 48px; padding-left: 24px; border-left: 2px solid var(--green); color: var(--text); font: italic var(--text-card-title)/1.4 var(--serif); }

/* =========================================================
   8. How It Works page
   ========================================================= */
.cold-open { padding: var(--space-section) 0; }
.cold-open .container { position: relative; z-index: 1; }
.cold-open .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr); gap: 88px; }
.hero-copy { max-width: 760px; }
.cold-h1 { max-width: 22ch; margin-top: 24px; color: var(--white); font-size: var(--text-title); line-height: 1.05; }
.cold-h1 .accent2 { color: var(--green); font-style: italic; }
.cold-open .hero-sub { max-width: 64ch; margin-top: 28px; color: rgba(255, 255, 255, 0.82); line-height: 1.62; }
.cold-open .hero-sub em { color: var(--green); font-family: var(--serif); font-style: italic; }

/* Restore breathing room around the cold-open action button. */
.cold-open .hero-actions {
  margin-top: 28px;
}
.hero-secondary { padding-bottom: 3px; border-bottom: 1px solid var(--rule); color: var(--text-dim); font: var(--text-label) var(--mono); letter-spacing: 0.07em; }
.hero-secondary:hover { color: var(--green); border-color: var(--green); }
.hero-proof-line { margin-top: 30px; padding: 18px 20px; border-left: 3px solid var(--green); background: rgba(255, 255, 255, 0.04); color: var(--white); font-size: var(--text-body-small); line-height: 1.55; box-shadow: none; }
.hero-proof-line strong { font-weight: 600; }

.failure-section { border-bottom: 1px solid var(--rule); }
.failure-layout { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; margin-top: 48px; }
.failure-prose { display: flex; flex-direction: column; justify-content: center; padding: 36px 32px; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--green); }
.failure-prose p { margin-bottom: 14px; color: var(--text-dim); font-size: var(--text-body-small); line-height: 1.65; }
.failure-prose p:last-child { margin-bottom: 0; }
.failure-prose strong { color: var(--text); font-weight: 500; }
.failure-prose em { color: var(--navy); font-style: italic; }
.failure-after { max-width: 64ch; margin-top: 40px; padding-left: 24px; border-left: 2px solid var(--green); color: var(--text); font: italic var(--text-small-title)/1.4 var(--serif); }

.intent-prose { max-width: 62ch; margin-bottom: 24px; color: var(--text); font-size: var(--text-body-large); line-height: 1.65; }
.intent-prose strong { font-weight: 500; }
.intent-prose em { color: var(--navy); font-style: italic; }
.properties { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule); }
.property h3 { margin-bottom: 10px; font-size: var(--text-body-large); }
.property .label { display: block; margin-bottom: 14px; color: var(--green); font-size: var(--text-label); font-weight: 500; }

/* =========================================================
   9. Proof page
   ========================================================= */
.proof-stats { padding: var(--space-section-tight) 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.proof-stats-inner { position: relative; z-index: 1; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { padding: 4px 0 4px 18px; border-left: 2px solid var(--green); }
.stat-num { font-size: var(--text-proof-stat); letter-spacing: -0.02em; }
.stat-label { max-width: 28ch; color: rgba(255, 255, 255, 0.72); font: var(--text-link)/1.45 var(--sans); letter-spacing: 0; text-transform: none; }

.case-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 64px; }
.case { display: flex; flex-direction: column; padding: 36px 32px; }
.case-id { display: block; margin-bottom: 18px; color: var(--green); font-size: var(--text-label); }
.case-client { margin-bottom: 10px; color: var(--text-dim); font-size: var(--text-label); text-transform: none; letter-spacing: 0.04em; }
.case h3 { margin-bottom: 18px; font-size: var(--text-small-title); }
.case-conv { align-self: flex-start; display: inline-block; margin-bottom: 20px; padding: 6px 10px; background: var(--mint); color: var(--text); font-size: var(--text-label); letter-spacing: 0.02em; text-transform: none; }
.case-headline { display: block; margin-bottom: 4px; color: var(--green); font: 500 var(--text-case-number)/1 var(--serif); letter-spacing: -0.02em; }
.case-headline-sub { margin-bottom: 18px; color: var(--text); font-size: var(--text-link); line-height: 1.4; }
.case-detail { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); font-size: var(--text-link); }

.client-quote { margin-bottom: 64px; padding: 56px 64px; }
.client-quote-label { position: relative; z-index: 1; display: block; margin-bottom: 20px; color: var(--green); font-size: var(--text-label); }
.client-quote blockquote { position: relative; z-index: 1; max-width: 64ch; margin: 0 0 24px; color: var(--white); font: 400 var(--text-quote)/1.4 var(--serif); }
.client-quote figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--text-body-small); }
.client-quote figcaption strong { color: var(--white); font-weight: 500; }
.client-quote figcaption span { color: rgba(255, 255, 255, 0.65); font: var(--text-label) var(--mono); letter-spacing: 0.04em; }

/* Third-party validation quote on the homepage. */
.validation {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.validation-quote {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-panel-y) var(--space-panel-x);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
}

.validation-label {
  display: block;
  margin-bottom: 24px;
  color: var(--green);
  font: var(--text-label) var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.validation-quote blockquote {
  margin: 0 0 28px;
  color: var(--text);
  font: 400 var(--text-quote)/1.45 var(--serif);
}

.validation-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.validation-role {
  color: var(--text);
  font: 500 var(--text-label) var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.validation-org {
  color: var(--text-dim);
  font: var(--text-label) var(--mono);
  letter-spacing: 0.06em;
}


.langs { padding: var(--space-panel-y) var(--space-panel-x); background: var(--white); border: 1px solid var(--rule); }
.langs-label { display: block; margin-bottom: 28px; color: var(--green); font-size: var(--text-label); }
.langs-grid { grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.langs-grid h3 { max-width: 22ch; font-size: var(--text-large-callout); }
.langs-grid h3 em { color: var(--green); font-style: italic; }
.langs-count { color: var(--green); font-size: 1.15em; font-weight: 500; }
.langs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chip { padding: 8px 14px; background: var(--mint); border: 1px solid rgba(0, 166, 126, 0.18); color: var(--text); font: var(--text-link) var(--mono); letter-spacing: 0.02em; }
.lang-chip-target { background: var(--white); border-color: var(--green); color: var(--green); font-weight: 500; }

.pattern-callout { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; margin-top: 64px; padding: 44px 48px; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--green); }
.pattern-callout h3 { max-width: 18ch; font-size: var(--text-large-callout); }
.pattern-callout p { max-width: 56ch; color: var(--text-dim); font-size: var(--text-body-small); line-height: 1.6; }
.pattern-callout p + p { margin-top: 14px; }

/* =========================================================
   10. Contact page
   ========================================================= */
.contact-form-single { max-width: 720px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field-full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: var(--text-label);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  color: var(--text);
  font: var(--text-button) var(--sans);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.form-submit .note { color: var(--text-dim); font: var(--text-link) var(--mono); letter-spacing: 0.02em; }

.loc-grid { grid-template-columns: repeat(3, 1fr); }
.loc { padding: 36px 32px; }
.loc-label { display: block; margin-bottom: 18px; color: var(--green); font-size: var(--text-label); }
.loc h3 { margin-bottom: 8px; font-size: var(--text-card-title); }
.loc p + p { margin-top: 8px; }
.loc-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--text); font: var(--text-label) var(--mono); letter-spacing: 0.02em; }

/* =========================================================
   11. Responsive layout
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid,
  .cold-open .hero-grid,
  .product-head { grid-template-columns: 1fr; }
  .buyer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .who-for-grid,
  .pillar-grid,
  .proof-row,
  .module-grid,
  .failure-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-button { display: inline-flex; align-items: center; }
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(11, 27, 27, 0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-cta { margin-top: 10px; border: 0; text-align: center; }
}

@media (max-width: 820px) {
  .cta-final-inner,
  .langs-grid,
  .loc-grid,
  .pattern-callout,
  .properties { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proof-stats-inner,
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .turn-callout { grid-template-columns: 1fr; text-align: left; }
  .villain { grid-template-columns: 1fr; padding: 40px 32px; }
  .client-quote { padding: 40px 36px; }
}

@media (max-width: 760px) {
  .llm-fit-row { grid-template-columns: 1fr; }
  .llm-fit-row > div:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
  .compare,
  .compare thead,
  .compare tbody,
  .compare tr,
  .compare td,
  .compare th { display: block; }
  .compare thead { display: none; }
  .compare tr { padding: 14px 0; border-top: 1px solid var(--rule); }
  .compare td { padding: 6px 22px; border: 0; }
  .compare td:first-child { padding-top: 22px; }
}

@media (max-width: 700px) {
  .card-row,
  .buyer-grid,
  .case-grid,
  .form-grid,
  .eighty-twenty { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-head { padding: 40px 0; }
  .page-head h1 { margin-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Small compatibility helpers used across existing markup. */
.accent { color: var(--green); font-family: var(--serif); font-style: italic; }
.logo-mark { object-fit: contain; flex: 0 0 auto; }
.metric-item { min-width: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-actions .btn { padding: 18px 28px; font-size: var(--text-body); }

/* =========================================================
   12. Visual repair pass
   Restores spacing and CTA treatment from the pre-standardized layout.
   ========================================================= */
.hero-ctas {
  margin-bottom: 16px;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-final h2 {
  max-width: 18ch;
  margin-bottom: 24px;
  color: var(--white);
  font-size: var(--text-title);
  line-height: 1.05;
}

.cta-final h2 em {
  color: var(--green);
  font-family: var(--serif);
  font-style: italic;
}

.cta-final p {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-body-large);
  line-height: 1.55;
}

.cta-actions .text-link {
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: var(--text-body-small);
  letter-spacing: 0.04em;
}

.cta-actions .text-link:hover {
  color: var(--green);
}

@media (max-width: 820px) {
  .cta-final-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   Visual repair: restored emphasis/color treatments
   =========================================================

   The cleanup pass consolidated several section-specific rules. These rules
   intentionally restore the original visual emphasis used by headline italics,
   the homepage turn callout, and the LLM positioning section.
   ========================================================= */

/* Green serif emphasis inside section headlines. */
h1 em,
h2 em,
.page-head h1 em,
.problem-head h2 em,
.llm-fit-head h2 em,
.who-for-head h2 em,
.pillars-head h2 em,
.proof-teaser-head h2 em,
.buyers-head h2 em,
.product-head h2 em,
.alternatives-head h2 em,
.proof-head h2 em,
.locations-head h2 em,
.cta-final h2 em {
  color: var(--green);
  font-family: var(--serif);
  font-style: italic;
}

/* The homepage hero uses green emphasis, but not italic, per the original design. */
.hero h1 em {
  color: var(--green);
  font-style: normal;
}

/* Restore the homepage three-part turn block. */
.turn-callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  text-align: center;
}

.turn-callout-item {
  color: var(--white);
  font-family: var(--serif);
  font-size: var(--text-large-callout);
  font-weight: 400;
  line-height: 1.2;
}

.turn-callout-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Restore the LLM section's original paper surface and heading rhythm. */
.llm-fit {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.llm-fit-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.llm-fit-head h2 {
  max-width: 22ch;
  margin: 22px 0 24px;
}

.llm-fit-head .lede {
  max-width: 60ch;
}

.llm-fit-callout p em {
  color: var(--green);
  font-family: var(--serif);
  font-style: italic;
}

@media (max-width: 760px) {
  .turn-callout {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .turn-callout-item {
    font-size: var(--text-card-title);
  }
}

/* Error pages */
.error-head {
  padding-top: var(--space-page-head);
  padding-bottom: var(--space-page-head);
}

.error-code {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.error-section {
  background: var(--paper);
}

.error-card {
  max-width: 760px;
  padding: var(--space-panel-y) var(--space-panel-x);
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  box-shadow: 0 20px 50px -36px rgba(14, 27, 27, 0.35);
}

.error-card h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: var(--text-section-title);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.error-card p {
  margin: 0 0 18px;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-dim);
}

.error-card strong {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.error-links {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.error-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.error-link-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-size: var(--text-body-small);
  color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.error-link-grid a:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--mint);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (max-width: 640px) {
  .error-link-grid {
    grid-template-columns: 1fr;
  }

  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* Contact form verification and status messages */
.form-alert {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  background: var(--white);
  color: var(--text);
  font-size: var(--text-body-small);
  line-height: 1.5;
}

.form-alert-success {
  border-left-color: var(--green);
  background: var(--mint);
}

.form-alert-error {
  border-left-color: var(--crimson);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-field {
  margin-top: 24px;
  min-height: 78px;
}

@media (max-width: 420px) {
  .captcha-field {
    transform: scale(0.88);
    transform-origin: left top;
    margin-bottom: -8px;
  }
}


/* Contact form debug output. Disable HOLONIC_CONTACT_DEBUG before launch. */
.form-alert-debug {
  border-color: var(--amber);
  background: #fff8ea;
  color: var(--text);
}

.form-alert-debug pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: var(--text-body-small);
  line-height: 1.5;
}


/* =========================================================
   15. About and legal pages
   ========================================================= */
.leadership-section,
.legal-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.leadership-head h2 {
  max-width: 18ch;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
}

.leader-photo {
  margin: 0;
  background: var(--ink);
}

.leader-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
}

.leader-photo figcaption {
  padding: 20px 22px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.leader-photo figcaption strong,
.leader-photo figcaption span {
  display: block;
}

.leader-photo figcaption strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--text-card-title);
  font-weight: 500;
  line-height: 1.2;
}

.leader-photo figcaption span {
  margin-top: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.leader-card p {
  padding: 24px 24px 28px;
  color: var(--text-dim);
  font-size: var(--text-body-small);
  line-height: 1.7;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-panel-y) var(--space-panel-x);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-soft);
}

.legal-updated {
  margin: 0 0 30px;
  color: var(--green);
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: var(--text-dim);
  font-size: var(--text-body);
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content a {
  color: var(--green);
  border-bottom: 1px solid rgba(0, 166, 126, 0.35);
}

.legal-content a:hover {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 12px;
}

.privacy__heading,
.legal-content h2,
.legal-terms-list h2 {
  margin: 34px 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--text-card-title);
  font-weight: 500;
  line-height: 1.25;
}

.privacy__heading--normal {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: var(--text-body-large);
  font-weight: 600;
}

.legal-terms-list {
  margin-left: 0;
  list-style-position: outside;
  padding-left: 28px;
}

.legal-terms-list li {
  margin-bottom: 28px;
  padding-left: 6px;
}

.legal-terms-list li::marker {
  color: var(--green);
  font-family: var(--mono);
  font-weight: 600;
}

.legal-terms-list h2 {
  margin-top: 0;
}

.legal-terms-list p {
  margin-bottom: 0;
}


@media (max-width: 640px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 32px 24px;
  }
}
