/* ═══ SELF-HOSTED FONTS ═══ */

@font-face {
  font-display: swap;
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/dm-serif-display-v17-latin-italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/figtree-v9-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/figtree-v9-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/figtree-v9-latin-600.woff2') format('woff2');
}

/* ═══ BASE: Variables, Reset, Nav, Footer ═══ */

:root {
  /* ─── Base palette ─── */
  --ink: #1a1d23;
  --ink-light: #3d4250;
  /* --ink-muted darkened from #6b7080/#6b6b6b to #5a5a5a (5/5/2026 a11y pass)
     for ≥4.5:1 on cream backgrounds (was 4.30:1 — failed WCAG 2.2 AA). */
  --ink-muted: #5a5a5a;
  --warm-white: #faf8f5;
  /* --cream lightened from #f2efe9 → #f5f2ed (5/6/2026) to widen
     contrast margins on cream-background sections. --accent-text rose
     from 4.87:1 to 5.01:1; --ink-muted from 6.01:1 to 6.18:1. Still
     visually distinct from --warm-white (1.053:1 distinction). */
  --cream: #f5f2ed;
  --footer-muted: #8a8a8a;

  /* ─── Borders / structural ─── */
  --rule: #d8d4cc;
  /* --rule-strong added 5/5/2026 for interactive card borders—
     #d8d4cc fails the 3:1 non-text contrast minimum (1.39:1).
     Use --rule-strong on .insight-card, .related-card, .featured-card,
     .insights-tool-card, form inputs. */
  --rule-strong: #8a857c;

  /* ─── Accent palette ─── */
  --accent: #b5861e;
  /* Use --accent for non-text UI (borders, dividers, decorative) where
     3:1 is sufficient. Use --accent-text for text or for button
     backgrounds carrying white text (5.28:1 on warm-white). */
  --accent-text: #856214;
  /* --accent-hover darkened from #9a7218 (4.13:1 with white) to
     #704f0f (7.04:1) — proper darker hover state when --accent-text
     is the button base. */
  --accent-hover: #704f0f;
  --accent-light: rgba(181,134,30,0.08);
  /* --accent-on-dark added 5/5/2026 for accent text/links on dark
     backgrounds (book card, footer accents). #856214 on #1a1d23 was
     3.02:1 — failed body-text 4.5:1. */
  --accent-on-dark: #d4a647;

  /* ─── Type ─── */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Figtree', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans); color: var(--ink);
  background: var(--warm-white); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 28px; width: auto; }
.footer-brand img { height: 22px; width: auto; margin-bottom: 0.75rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-muted);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.8125rem !important; font-weight: 600 !important;
  color: var(--warm-white) !important; background: var(--ink);
  padding: 0.5rem 1.25rem; border-radius: 4px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--ink-light) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.2s; }

footer {
  border-top: 1px solid #2a2d35; background: var(--ink); padding: 2rem 2rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem;
}
.footer-legal {
  font-size: 0.75rem; color: var(--footer-muted); line-height: 1.7; max-width: 520px;
}
.footer-right { text-align: right; }
.footer-address {
  font-size: 0.75rem; color: var(--footer-muted); line-height: 1.7; margin-bottom: 0.75rem;
}
.footer-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.footer-links a {
  font-size: 0.75rem; color: var(--footer-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: #b0b3bb; }


/* ═══ HOMEPAGE ═══ */
  /* ─── HERO ─── */
  .hero { padding: 10rem 2rem 6rem; max-width: 1120px; margin: 0 auto; }
  .hero-eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15; max-width: 740px; color: var(--ink);
  }
  .hero-sub {
    margin-top: 1.75rem; font-size: 1.125rem;
    color: var(--ink-light); max-width: 580px; line-height: 1.7;
  }
  .hero-cta {
    display: inline-block; margin-top: 2.25rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    border-radius: 4px; text-decoration: none;
    transition: background 0.2s;
  }
  .hero-cta:hover { background: var(--ink-light); }

  /* ─── SECTION SYSTEM ─── */
  section { padding: 5rem 2rem; }
  .section-inner { max-width: 1120px; margin: 0 auto; }
  .section-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem;
  }
  .section-heading {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2; margin-bottom: 1.25rem;
  }
  .section-body {
    font-size: 1rem; color: var(--ink-light);
    max-width: 640px; line-height: 1.75;
  }

  /* ─── DIAGNOSTIC ─── */
  .diagnostic-section { background: var(--cream); }
  .diagnostic-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; margin-top: 2.5rem; align-items: start;
  }
  .diagnostic-text p {
    font-size: 1rem; color: var(--ink-light);
    line-height: 1.75; margin-bottom: 1.25rem;
  }
  .diagnostic-steps {
    counter-reset: steps;
    list-style: none;
  }
  .diagnostic-steps li {
    counter-increment: steps;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rule);
    display: grid; grid-template-columns: 2.5rem 1fr;
    gap: 0.5rem; align-items: baseline;
  }
  .diagnostic-steps li:last-child { border-bottom: none; }
  .diagnostic-steps li:first-child { padding-top: 0; }
  .diagnostic-steps li::before {
    content: counter(steps, decimal-leading-zero);
    font-family: var(--serif); font-size: 1.125rem;
    color: var(--accent-text);
  }
  .diagnostic-steps li strong {
    font-weight: 600; color: var(--ink); display: block;
    font-size: 0.9375rem; margin-bottom: 0.2rem;
  }
  .diagnostic-steps li span {
    font-size: 0.875rem; color: var(--ink-light); line-height: 1.6;
    grid-column: 2;
  }

  /* ─── CAPABILITIES ─── */
  .capabilities-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; margin-top: 3rem;
  }
  .capability-card {
    background: var(--cream); border-radius: 6px;
    padding: 2rem; transition: box-shadow 0.3s;
  }
  .capability-card:hover {
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  }
  .capability-icon {
    width: 36px; height: 36px; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; background: var(--warm-white); border: 1px solid var(--rule);
  }
  .capability-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
  .capability-card h3 {
    font-family: var(--sans); font-weight: 600;
    font-size: 1rem; margin-bottom: 0.6rem;
  }
  .capability-card p {
    font-size: 0.9rem; color: var(--ink-light); line-height: 1.7;
  }

  /* ─── PAIN SIGNALS ─── */
  .signals-section { background: var(--cream); }
  .signals-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; margin-top: 3rem; align-items: start;
  }
  .signals-list { list-style: none; }
  .signals-list li {
    padding: 0.85rem 0; border-bottom: 1px solid var(--rule);
    font-size: 0.9375rem; color: var(--ink-light); line-height: 1.6;
  }
  .signals-list li:last-child { border-bottom: none; }
  .signals-aside {
    background: var(--warm-white); border-radius: 6px; padding: 2rem;
  }
  .signals-aside p {
    font-size: 0.9375rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 1rem;
  }
  .signals-aside p:last-child { margin-bottom: 0; }
  .signals-aside .signals-aside-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.75rem;
  }

  /* ─── APPROACH ─── */
  .approach-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; margin-top: 3rem;
  }
  .approach-item { padding: 1.75rem 0; border-top: 2px solid var(--ink); }
  .approach-item h3 {
    font-family: var(--sans); font-weight: 600;
    font-size: 0.9375rem; margin-bottom: 0.75rem;
  }
  .approach-item p { font-size: 0.875rem; color: var(--ink-light); line-height: 1.7; }

  /* ─── ABOUT ─── */
  .about-section { background: var(--cream); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 4rem; align-items: start; margin-top: 2.5rem;
  }
  .about-aside { border-top: 2px solid var(--accent); padding-top: 1.5rem; }
  .about-aside p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; }
  .about-aside .about-name {
    font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 0.25rem;
  }
  .about-aside .about-title {
    font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.25rem;
  }
  .about-main p {
    font-size: 1rem; color: var(--ink-light); line-height: 1.75; margin-bottom: 1.25rem;
  }

  /* ─── CONTACT ─── */
  .contact-section { border-top: 1px solid var(--rule); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 4rem; margin-top: 2.5rem;
  }
  .contact-intro p {
    font-size: 1rem; color: var(--ink-light); line-height: 1.75; margin-bottom: 1rem;
  }
  .form-group { margin-bottom: 1.25rem; }
  .form-group label {
    display: block; font-size: 0.8125rem; font-weight: 600;
    letter-spacing: 0.03em; margin-bottom: 0.4rem; color: var(--ink);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%; padding: 0.7rem 0.85rem;
    font-family: var(--sans); font-size: 0.9375rem;
    border: 1px solid var(--rule); border-radius: 4px;
    background: var(--warm-white); color: var(--ink); transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { outline: none; border-color: var(--accent); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .btn-submit {
    display: inline-block; padding: 0.75rem 2rem;
    font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    border: none; border-radius: 4px; cursor: pointer;
    transition: background 0.2s; letter-spacing: 0.01em;
  }
  .btn-submit:hover { background: var(--ink-light); }

  /* ─── FAQ ─── */
  .faq-section { border-top: 1px solid var(--rule); }
  .faq-list { max-width: 720px; margin-top: 2.5rem; }
  .faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
  .faq-item:last-child { border-bottom: none; }
  .faq-item h3 {
    font-family: var(--sans); font-weight: 600;
    font-size: 0.9375rem; line-height: 1.4;
    margin-bottom: 0.6rem; color: var(--ink);
  }
  .faq-item p {
    font-size: 0.9rem; color: var(--ink-light);
    line-height: 1.7;
  }

  /* ─── FOR OWNERS ─── */
  .owners-section {
    background: var(--ink); color: var(--warm-white); padding: 4.5rem 2rem;
  }
  .owners-inner { max-width: 720px; margin: 0 auto; }
  .owners-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 1rem;
  }
  .owners-inner h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    line-height: 1.3; margin-bottom: 1.5rem; color: var(--warm-white);
  }
  .owners-inner p {
    font-size: 0.9375rem; color: #b0b3bb; line-height: 1.75; margin-bottom: 1rem;
  }
  .owners-inner p:last-of-type { margin-bottom: 1.75rem; }
  .owners-cta {
    display: inline-block; font-size: 0.875rem; font-weight: 600;
    color: var(--accent-on-dark); text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
  }
  .owners-cta:hover { border-bottom-color: var(--accent-on-dark); }
  .owners-cta::after { content: ' →'; }

  /* ─── FOOTER ─── */  /* ─── ANIMATIONS ─── */
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--warm-white);
      border-bottom: 1px solid var(--rule);
      padding: 1.5rem 2rem; gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .hero { padding: 8rem 1.5rem 4rem; }
    .hero h1 { font-size: 2rem; }
    section { padding: 3.5rem 1.5rem; }
    .diagnostic-layout { grid-template-columns: 1fr; gap: 2rem; }
    .capabilities-grid { grid-template-columns: 1fr; }
    .signals-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
  }


/* ═══ SERVICE PAGES ═══ */

  .svc-header { padding: 8rem 2rem 2.5rem; max-width: 780px; margin: 0 auto; }
  .svc-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
  .svc-eyebrow a { color: var(--accent-text); text-decoration: none; }
  .svc-header h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; color: var(--ink); margin-bottom: 1rem; }
  .svc-intro { font-size: 1.05rem; color: var(--ink-light); line-height: 1.8; max-width: 640px; }
  .svc-divider { width: 48px; height: 2px; background: var(--accent); margin-top: 2rem; }
  .svc-body { max-width: 780px; margin: 0 auto; padding: 0 2rem; }
  .svc-body h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; color: var(--ink); margin: 3rem 0 1rem; }
  .svc-body h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.35; color: var(--ink); margin: 1.75rem 0 0.5rem; }
  .svc-body p { font-size: 1rem; color: var(--ink-light); line-height: 1.8; margin-bottom: 1.25rem; }
  .svc-body strong { color: var(--ink); }
  .svc-body a { color: var(--accent-text); text-decoration: none; border-bottom: 1px solid var(--accent); }
  .svc-body a:hover { border-color: transparent; }

  /* ─── Pricing ─── */
  .pricing-box { margin: 2.5rem 0; padding: 2rem 2rem 1.75rem; background: var(--cream); border-radius: 6px; border-left: 3px solid var(--accent); }
  .pricing-box h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); margin: 0 0 0.75rem 0; }
  .pricing-box p { font-size: 0.95rem; color: var(--ink-light); line-height: 1.75; margin-bottom: 0.75rem; }
  .pricing-box p:last-child { margin-bottom: 0; }
  .pricing-price { font-family: var(--serif); font-size: 2rem; color: var(--accent); margin-bottom: 0.5rem; }

  /* ─── Feature list ─── */
  .feature-list { list-style: none; margin: 0 0 1.5rem 0; padding: 0; }
  .feature-list li { padding: 0.65rem 0 0.65rem 1.5rem; position: relative; font-size: 0.95rem; color: var(--ink-light); line-height: 1.6; border-bottom: 1px solid var(--rule); }
  .feature-list li:last-child { border-bottom: none; }
  .feature-list li::before { content: ''; position: absolute; left: 0; top: 1rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .feature-list li strong { color: var(--ink); }

  /* ─── Live example ─── */
  .live-example { margin: 2rem 0; padding: 1.5rem 2rem; background: var(--warm-white); border: 1px solid var(--rule); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .live-example p { font-size: 0.9375rem; color: var(--ink-light); line-height: 1.5; margin: 0; }
  .live-example a.btn-example { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.15rem; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--warm-white); background: var(--accent-text); border-radius: 4px; text-decoration: none; border: none; transition: background 0.2s; white-space: nowrap; }
  .live-example a.btn-example:hover { background: var(--accent-hover); }

  /* ─── Platform section ─── */
  .platform-section { margin: 3rem 0 2rem; padding: 2rem; background: var(--cream); border-radius: 6px; }
  .platform-section h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; color: var(--ink); margin: 0 0 0.75rem; }
  .platform-intro { font-size: 0.9375rem; color: var(--ink-light); line-height: 1.75; margin-bottom: 1.5rem; }
  .platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .platform-card { padding: 1.25rem 1.25rem 1rem; background: var(--warm-white); border-radius: 5px; border-top: 2px solid var(--accent); }
  .platform-card h3 { font-family: var(--sans); font-weight: 600; font-size: 0.875rem; color: var(--ink); margin: 0 0 0.4rem; line-height: 1.3; }
  .platform-card p { font-size: 0.8125rem; color: var(--ink-light); line-height: 1.6; margin: 0; }

  /* ─── Service FAQ ─── */
  .svc-faq { margin: 3rem 0; }
  .svc-faq-item { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .svc-faq-item:last-child { border-bottom: none; }
  .svc-faq-item h3 { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin: 0 0 0.5rem 0; line-height: 1.4; }
  .svc-faq-item p { font-size: 0.9375rem; color: var(--ink-light); line-height: 1.7; margin: 0; }

  /* ─── Related & CTA ─── */
  .svc-related { margin: 3rem 0 2rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
  .svc-related h2 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 1rem; }
  .svc-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .svc-related-card { padding: 1.25rem; background: var(--warm-white); border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; transition: border-color 0.2s; display: block; }
  .svc-related-card:hover { border-color: var(--accent); }
  .svc-related-card .svc-rel-type { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.3rem; }
  .svc-related-card h3 { font-size: 0.875rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin: 0 0 0.2rem 0; }
  .svc-related-card p { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }
  .svc-cta { max-width: 780px; margin: 0 auto 3rem; padding: 2.5rem; background: var(--cream); border-radius: 6px; border-left: 3px solid var(--accent); }
  .svc-cta h2 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.75rem; }
  .svc-cta p { font-size: 0.9375rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 1.25rem; }
  .svc-cta a.btn { display: inline-block; padding: 0.65rem 1.5rem; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--warm-white); background: var(--ink); border-radius: 4px; text-decoration: none; border: none; transition: background 0.2s; }
  .svc-cta a.btn:hover { background: var(--ink-light); }

  /* ─── Other services ─── */
  .svc-other-services { max-width: 780px; margin: 0 auto 3rem; padding: 0 2rem; }
  .svc-other-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.75rem; }
  .svc-other-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .svc-other-card { padding: 1.25rem; border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; transition: border-color 0.2s; display: block; }
  .svc-other-card:hover { border-color: var(--accent); }
  .svc-other-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin: 0 0 0.25rem 0; }
  .svc-other-card p { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }

  /* ─── Service page responsive ─── */
  @media (max-width: 768px) {
    .svc-header { padding: 7rem 1.5rem 2rem; }
    .svc-body { padding: 0 1.5rem; }
    .svc-cta { margin-left: 1.5rem; margin-right: 1.5rem; }
    .svc-other-services { padding: 0 1.5rem; }
    .svc-related-grid { grid-template-columns: 1fr; }
    .svc-other-grid { grid-template-columns: 1fr; }
    .live-example { flex-direction: column; align-items: flex-start; }
    .ba-grid { grid-template-columns: 1fr !important; }
    .platform-grid { grid-template-columns: 1fr; }
    .platform-section { margin-left: -0.5rem; margin-right: -0.5rem; padding: 1.5rem; }
  }

/* ═══ ARTICLES ═══ */
  /* ─── READING PROGRESS BAR ─── */
  .progress-bar {
    position: fixed; top: 64px; left: 0; right: 0;
    height: 3px; z-index: 99;
    background: transparent;
  }
  .progress-bar-fill {
    height: 100%; width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
  }

  /* ─── KEY TAKEAWAYS ─── */
  .takeaways {
    max-width: 740px; margin: 0 auto 2rem;
    padding: 2rem 2rem 1.75rem;
    background: var(--cream); border-radius: 6px;
    border-left: 3px solid var(--accent);
  }
  .takeaways-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.85rem;
  }
  .takeaways ul { list-style: none; }
  .takeaways li {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.65; padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
  }
  .takeaways li::before {
    content: ''; position: absolute; left: 0; top: 0.7rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
  }
  /* Resource-link paragraph at the bottom of the takeaways box.
     Replaces the inline style="font-size:0.8125rem;color:var(--ink-muted);
     margin-top:0.75rem;padding-top:0.6rem;border-top:1px solid var(--rule);"
     pattern stripped during the Insights canary refactor. */
  .companion-resource {
    font-size: 0.8125rem; color: var(--ink-muted);
    margin-top: 0.75rem; padding-top: 0.6rem;
    border-top: 1px solid var(--rule);
  }
  .companion-resource a {
    color: var(--accent-text); text-decoration: none;
    border-bottom: 1px solid var(--accent);
  }

  /* ─── TABLE OF CONTENTS ─── */
  .toc {
    max-width: 740px; margin: 0 auto 3rem;
    padding: 0 2rem;
  }
  .toc-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.6rem;
  }
  .toc ul { list-style: none; }
  .toc li { padding: 0.3rem 0; }
  .toc a {
    font-size: 0.875rem; color: var(--ink-muted);
    text-decoration: none; transition: color 0.2s;
  }
  .toc a:hover { color: var(--accent-text); }
  /* TOC tail item linking to the relevant service page. Replaces the
     inline style="margin-top:0.5rem;padding-top:0.5rem;
     border-top:1px solid var(--rule);" wrapper pattern. */
  .toc li.toc-service-link {
    margin-top: 0.5rem; padding-top: 0.5rem;
    border-top: 1px solid var(--rule);
  }
  .toc li.toc-service-link a {
    color: var(--accent-text); font-weight: 600;
  }

  /* ─── ARTICLE ─── */
  .article-header {
    padding: 8rem 2rem 3rem;
    max-width: 740px; margin: 0 auto;
  }
  .article-eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem;
  }
  .article-eyebrow a {
    color: var(--accent-text); text-decoration: none;
  }
  .article-eyebrow a:hover { text-decoration: underline; }
  .article-header h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15; color: var(--ink); margin-bottom: 1.25rem;
  }
  .article-meta {
    font-size: 0.8125rem; color: var(--ink-muted);
  }
  .article-divider {
    width: 48px; height: 2px; background: var(--accent); margin-top: 2rem;
  }

  .article-body {
    max-width: 740px; margin: 0 auto;
    padding: 0 2rem 4rem;
  }
  /* --wide modifier (5/5/2026): used by /about/ — same article styling
     at 780px instead of the 740px article default. */
  .article-body.article-body--wide { max-width: 780px; }
  .article-body p {
    font-size: 1.05rem; color: var(--ink-light);
    line-height: 1.8; margin-bottom: 1.5rem;
  }
  .article-body h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.6rem; line-height: 1.25;
    color: var(--ink); margin: 2.5rem 0 1rem;
  }
  .article-body h3 {
    font-family: var(--sans); font-weight: 600;
    font-size: 1.1rem; line-height: 1.35;
    color: var(--ink); margin: 2rem 0 0.75rem;
  }
  .article-body strong { color: var(--ink); }
  /* Body-paragraph and list links default to accent color. Replaces
     per-link inline style="color:var(--accent-text);" pattern that was
     stripped from every article during the canary conversion. */
  .article-body p a,
  .article-body li a {
    color: var(--accent-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .article-body p a:hover,
  .article-body li a:hover {
    border-bottom-color: var(--accent);
  }
  /* In-body service callout box. Replaces the inline-styled wrapper
     div + paragraph pattern (cream background, accent left border)
     used to drop a "This is what Operational Enablement solves..."
     style call-to-service block inside article body content. */
  .svc-inline-callout {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
  }
  .svc-inline-callout p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-light);
    line-height: 1.7;
  }
  .svc-inline-callout strong { color: var(--ink); }
  .svc-inline-callout a {
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
  }

  /* ─── PULL QUOTES ─── */
  .pull-quote {
    margin: 2.5rem 0 2.5rem -1.5rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 3px solid var(--accent);
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; line-height: 1.4;
    color: var(--ink);
  }

  /* ─── RESOURCE BANNER ─── */
  .resource-banner {
    max-width: 740px; margin: 0 auto 2rem;
    padding: 1.5rem 2rem;
    background: var(--warm-white);
    border: 1px solid var(--rule);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
  }
  .resource-banner-label {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.35rem;
  }
  .resource-banner-title {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.1rem; color: var(--ink); margin-bottom: 0.25rem;
  }
  .resource-banner-desc {
    font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.5;
  }
  .resource-banner > a {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
    color: var(--warm-white); background: var(--accent-text);
    border-radius: 4px; text-decoration: none; transition: background 0.2s;
    white-space: nowrap;
  }
  .resource-banner > a:hover { background: var(--accent-hover); }
  .resource-banner > a svg {
    width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2;
  }
  /* Article-style resource banner content (used by the Insights article
     template): inline links delimited by middle-dots inside a wrapping
     <div>. The .resource-banner > a button rule above continues to
     apply to direct-child anchor variants used elsewhere; this rule
     targets only the nested-paragraph pattern. */
  .resource-banner > div {
    font-size: 0.875rem; color: var(--ink-light); line-height: 1.65;
  }
  .resource-banner > div strong { color: var(--ink); }
  .resource-banner > div a {
    color: var(--accent-text);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
  }

  /* ─── AUTHOR BIO ─── */
  .author-bio {
    max-width: 740px; margin: 0 auto 3rem;
    padding: 2rem;
    border-top: 1px solid var(--rule);
    display: flex; gap: 1.5rem; align-items: flex-start;
  }
  .author-bio-icon {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 50%; background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.25rem;
    color: var(--accent-text);
  }
  .author-bio-name {
    font-weight: 600; font-size: 0.9375rem;
    color: var(--ink); margin-bottom: 0.25rem;
  }
  .author-bio-role {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.5rem;
  }
  .author-bio-desc {
    font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.65;
  }

  /* ─── ARTICLE FRESHNESS NOTE ─── */
  .article-freshness {
    max-width: 740px; margin: 2rem auto 0;
    padding: 0.75rem 0;
    font-size: 0.8125rem; color: var(--ink-muted);
    font-style: italic;
    border-top: 1px solid var(--rule);
  }

  /* ─── ARTICLE AUTHOR BIO (alt) ─── */
  .article-author-bio {
    max-width: 740px; margin: 2rem auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--rule);
  }
  .author-bio-content {}
  .author-name {
    font-weight: 600; font-size: 0.9375rem;
    color: var(--ink); margin-bottom: 0.15rem;
  }
  .author-title {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.5rem;
  }
  .article-author-bio p {
    font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.65;
    margin: 0;
  }

  /* ─── RELATED ARTICLES ─── */
  .related-articles {
    max-width: 740px; margin: 0 auto 2.5rem;
  }
  .related-label {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink-muted);
    margin-bottom: 0.75rem;
  }
  .related-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .related-card {
    display: block; padding: 1.25rem;
    border: 1px solid var(--rule-strong); border-radius: 6px;
    text-decoration: none; transition: border-color 0.2s;
  }
  .related-card:hover { border-color: var(--accent); }
  .related-card h3 {
    font-size: 0.9375rem; font-weight: 600;
    color: var(--ink); margin: 0 0 0.25rem 0;
    line-height: 1.3;
  }
  .related-card p {
    font-size: 0.8125rem; color: var(--ink-muted);
    line-height: 1.5; margin: 0;
  }

  /* ─── CTA BANNER ─── */
  .article-cta {
    max-width: 740px; margin: 0 auto 4rem;
    padding: 2.5rem;
    background: var(--cream); border-radius: 6px;
    border-left: 3px solid var(--accent);
  }
  .article-cta h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; margin-bottom: 0.75rem;
  }
  .article-cta p {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.7; margin-bottom: 1.25rem;
  }
  .article-cta a {
    display: inline-block; padding: 0.65rem 1.5rem;
    font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    border-radius: 4px; text-decoration: none; transition: background 0.2s;
  }
  .article-cta a + a {
    background: var(--accent); color: var(--ink); padding: 0.65rem 1.5rem;
    margin-left: 0.75rem; border-bottom: none;
  }
  .article-cta a + a:hover { background: #c4921f; }
  .article-cta a:hover { background: var(--ink-light); }
  /* --wide modifier (5/5/2026): used by /about/ — same CTA styling at
     780px instead of the 740px article default. */
  .article-cta.article-cta--wide { max-width: 780px; }

  /* ─── FOOTER ─── */  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--warm-white);
      border-bottom: 1px solid var(--rule);
      padding: 1.5rem 2rem; gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .article-header { padding: 7rem 1.5rem 2rem; }
    .article-body { padding: 0 1.5rem 3rem; }
    .article-cta { margin: 0 1.5rem 3rem; }
    .takeaways { margin-left: 1.5rem; margin-right: 1.5rem; }
    .toc { padding: 0 1.5rem; }
    .author-bio { margin-left: 1.5rem; margin-right: 1.5rem; }
    .resource-banner { flex-direction: column; align-items: flex-start; margin-left: 1.5rem; margin-right: 1.5rem; }
    .pull-quote { margin-left: 0; font-size: 1.15rem; }
    .article-freshness { margin-left: 1.5rem; margin-right: 1.5rem; }
    .article-author-bio { margin-left: 1.5rem; margin-right: 1.5rem; }
    .related-articles { margin-left: 1.5rem; margin-right: 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
  }

/* ═══ ARTICLE: Turnover extras (blockquote, video) ═══ */
  .article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.25rem 0 0.25rem 1.5rem;
    margin: 2rem 0;
  }
  .article-body blockquote p {
    font-size: 1.1rem; color: var(--ink);
    font-style: italic; line-height: 1.7;
  }
  .article-body .source {
    font-size: 0.8125rem; color: var(--ink-muted);
    font-style: normal; margin-top: 0.25rem;
  }

  /* ─── VIDEO PLACEHOLDER ─── */
  .video-embed {
    max-width: 740px; margin: 0 auto 2.5rem;
    padding: 0 2rem;
  }
  .video-placeholder {
    background: var(--cream); border-radius: 6px;
    aspect-ratio: 16/9;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.75rem;
  }
  .video-placeholder svg {
    width: 48px; height: 48px;
    stroke: var(--rule); fill: none; stroke-width: 1.5;
  }
  .video-placeholder span {
    font-size: 0.8125rem; color: var(--ink-muted);
  }
  .video-embed iframe {
    width: 100%; aspect-ratio: 16/9;
    border: none; border-radius: 6px;
  }


  /* ─── RESOURCE BANNER ─── */  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--warm-white);
      border-bottom: 1px solid var(--rule);
      padding: 1.5rem 2rem; gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .article-header { padding: 7rem 1.5rem 2rem; }
    .article-body { padding: 0 1.5rem 3rem; }
    .article-cta { margin: 0 1.5rem 3rem; }
    .takeaways { margin-left: 1.5rem; margin-right: 1.5rem; }
    .toc { padding: 0 1.5rem; }
    .video-embed { padding: 0 1.5rem; }
    .author-bio { margin-left: 1.5rem; margin-right: 1.5rem; }
    .pull-quote { margin-left: 0; font-size: 1.15rem; }
    .resource-banner { flex-direction: column; align-items: flex-start; margin-left: 1.5rem; margin-right: 1.5rem; }
    .article-freshness { margin-left: 1.5rem; margin-right: 1.5rem; }
    .article-author-bio { margin-left: 1.5rem; margin-right: 1.5rem; }
    .related-articles { margin-left: 1.5rem; margin-right: 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
  }

/* ═══ ABOUT (canary refactor — 5/5/2026) ═══
   /about/ reuses .article-body and .article-cta from the article
   pages (with the --wide modifier) — so almost all the body styling
   is inherited. The credentials box is the only About-specific bit. */

  .about-credentials {
    display: block;
    max-width: 780px; margin: 2rem auto 3rem;
    padding: 2rem;
    background: var(--cream); border-radius: 6px;
  }
  .about-credentials-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  }
  .about-credentials-label {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin-bottom: 0.5rem;
  }
  .about-credentials-grid p {
    font-size: 0.875rem; color: var(--ink-light); line-height: 1.7;
    margin: 0;
  }
  .about-credentials-loc {
    margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    font-size: 0.875rem; color: var(--ink-light);
  }

  @media (max-width: 768px) {
    .about-credentials { margin: 1.5rem 1.5rem 2rem; padding: 1.5rem; }
    .about-credentials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  }

/* ═══ INSIGHTS INDEX ═══ */
  /* ─── PAGE ─── */
  .page-header {
    /* max-width aligned to 780px (5/5/2026) to match .insights-book,
       .insights-featured, .insight-section, .insights-tools-grid below.
       Was 1120px, which left the header content offset ~170px to the
       left of the body sections at viewports ≥1120px. */
    padding: 8rem 2rem 3rem;
    max-width: 780px; margin: 0 auto;
  }
  .page-eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem;
  }
  .page-header h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15; max-width: 640px; margin-bottom: 1rem;
  }
  .page-header p {
    /* max-width 640px (5/5/2026, Option B) — matches .page-header h1's
       640px cap so headline and paragraph share the same right edge
       when either wraps. ~76 characters per line at 1.05rem, comfortable
       for body reading. */
    font-size: 1.05rem; color: var(--ink-light);
    max-width: 640px; line-height: 1.7;
  }
  .page-divider {
    width: 48px; height: 2px; background: var(--accent); margin-top: 2rem;
  }

  /* ─── ARTICLE LIST ─── */
  .articles {
    max-width: 1120px; margin: 0 auto;
    padding: 2rem 2rem 5rem;
  }
  .article-card {
    display: block; text-decoration: none; color: inherit;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left 0.2s;
  }
  .article-card:first-child { border-top: 1px solid var(--rule); }
  .article-card:hover { padding-left: 0.5rem; }
  .article-card h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.5rem; line-height: 1.25;
    margin-bottom: 0.5rem; color: var(--ink);
  }
  .article-card p {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.65; max-width: 640px; margin-bottom: 0.5rem;
  }
  .article-card .meta {
    font-size: 0.8125rem; color: var(--ink-muted);
  }

  /* ─── INSIGHTS INDEX (canary refactor — 5/5/2026) ───
     New class structure for the PHP-rendered Insights index. The
     legacy .article-card / .articles classes above remain in case
     anything else still references them; the new index uses the
     classes below. After full cleanup, the legacy block can be
     removed. */

  /* Book cross-link card (Built to Run) */
  .insights-book {
    max-width: 780px; margin: 0 auto; padding: 0 2rem 1.5rem;
  }
  .insights-book-eyebrow,
  .insights-featured-eyebrow {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.75rem;
  }
  .book-card {
    display: block; padding: 2rem;
    background: var(--ink); border-radius: 6px;
    text-decoration: none; color: inherit;
    transition: opacity 0.2s;
    border-left: 3px solid var(--accent);
  }
  .book-card h2 {
    font-family: var(--serif); font-weight: 400; font-style: italic;
    font-size: 1.5rem; color: var(--warm-white);
    margin: 0 0 0.5rem 0; line-height: 1.25;
  }
  .book-card p {
    font-size: 1rem; color: #a0a4b0; line-height: 1.7;
    margin: 0 0 0.5rem 0; max-width: 640px;
  }
  .book-card-cta {
    font-size: 0.8125rem; color: var(--accent-on-dark); font-weight: 600;
  }
  .featured-card-cta {
    font-size: 0.8125rem; color: var(--accent-text); font-weight: 600;
  }
  /* Visited state—keep the dark card legible for repeat visitors */
  .book-card:visited,
  .book-card:visited h2     { color: var(--warm-white); }
  .book-card:visited p       { color: #a0a4b0; }
  .book-card:visited span    { color: var(--accent-on-dark); }

  /* "Start Here" hub feature card */
  .insights-featured {
    max-width: 780px; margin: 0 auto; padding: 0 2rem 1rem;
  }
  .featured-card {
    display: block; padding: 2rem;
    background: var(--cream); border: 1px solid var(--rule-strong);
    border-radius: 6px; text-decoration: none; color: inherit;
    transition: border-color 0.2s;
    border-left: 3px solid var(--accent);
  }
  .featured-card:hover { border-color: var(--accent); }
  .featured-card h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.5rem; color: var(--ink);
    margin: 0 0 0.5rem 0; line-height: 1.25;
  }
  .featured-card p {
    font-size: 1rem; color: var(--ink-light); line-height: 1.7;
    margin: 0 0 0.5rem 0; max-width: 640px;
  }
  @media (max-width: 768px) {
    .featured-card,
    .book-card        { padding: 1.5rem; }
    .featured-card h2,
    .book-card h2      { font-size: 1.25rem; }
  }

  /* Section-header strip with eyebrow + service link(s) on the right */
  .insights-section-strip,
  .insights-tools-strip {
    max-width: 780px; margin: 0 auto;
    padding: 2rem 2rem 0.5rem;
  }
  .insights-tools-strip { padding-bottom: 0.75rem; }
  .insights-strip-inner {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  .insights-strip-label {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink-muted);
  }
  .insights-strip-links {
    display: flex; gap: 1rem;
  }
  .insights-strip-links a {
    font-size: 0.75rem; color: var(--accent-text);
    text-decoration: none; font-weight: 500;
  }

  /* Phase-grouped article-card grid (Assess/Build/Sustain) */
  .insight-section {
    max-width: 780px; margin: 0 auto; padding: 0 2rem 1rem;
  }
  .phase-label {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin: 1.5rem 0 0.75rem; padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule);
  }
  .phase-label:first-child { margin-top: 0.5rem; }
  .card-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-bottom: 0.5rem;
  }
  .insight-card {
    display: block; padding: 1.25rem;
    text-decoration: none; color: inherit;
    border: 1px solid var(--rule-strong); border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .insight-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .insight-card h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.1rem; line-height: 1.3; color: var(--ink);
    margin: 0 0 0.4rem 0;
  }
  .insight-card p {
    font-size: 0.8125rem; color: var(--ink-light);
    line-height: 1.55; margin: 0 0 0.5rem 0;
  }
  .card-meta {
    font-size: 0.75rem; color: var(--ink-muted);
  }
  @media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
  }

  /* Interactive tools 2-up grid */
  .insights-tools-grid {
    max-width: 780px; margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  }
  @media (max-width: 768px) {
    .insights-tools-grid { grid-template-columns: 1fr; }
  }
  .insights-tool-card {
    display: block; padding: 1.25rem;
    border: 1px solid var(--rule-strong); border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s;
  }
  .insights-tool-card:hover { border-color: var(--accent); }
  .insights-tool-eyebrow {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin-bottom: 0.3rem;
  }
  .insights-tool-card h3 {
    font-size: 0.9375rem; font-weight: 600; color: var(--ink);
    margin: 0 0 0.25rem 0;
  }
  .insights-tool-card p {
    font-size: 0.8125rem; color: var(--ink-muted);
    line-height: 1.5; margin: 0;
  }

  /* Email signup wrapper for the Insights index. The .signup-* descendant
     rules in the RESOURCES section apply unchanged—this just gives the
     index its own width-constrained padding. */
  .insights-signup {
    max-width: 780px; margin: 0 auto; padding: 0 2rem 4rem;
  }

  /* ─── FOOTER ─── */  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--warm-white);
      border-bottom: 1px solid var(--rule);
      padding: 1.5rem 2rem; gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .page-header { padding: 7rem 1.5rem 2rem; }
    .articles { padding: 1.5rem 1.5rem 3rem; }
    .footer-inner { flex-direction: column; }
  }

/* ═══ RESOURCES ═══ */
  /* ─── PAGE ─── */
  /* ─── RESOURCE CARDS ─── */
  .resources {
    max-width: 780px; margin: 0 auto;
    padding: 2rem 2rem 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  }
  .resource-card {
    background: var(--warm-white);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 2rem;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .resource-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .resource-type {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.75rem;
  }
  .resource-card h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; line-height: 1.25;
    margin-bottom: 0.75rem; color: var(--ink);
  }
  .resource-card p {
    font-size: 0.875rem; color: var(--ink-light);
    line-height: 1.65; flex-grow: 1;
    margin-bottom: 1.25rem;
  }
  .resource-card .related {
    font-size: 0.8125rem; color: var(--ink-muted);
    margin-bottom: 1rem;
  }
  .resource-card .related a {
    color: var(--accent-text); text-decoration: none;
  }
  .resource-card .related a:hover { text-decoration: underline; }
  .resource-download {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    border-radius: 4px; text-decoration: none; transition: background 0.2s;
    align-self: flex-start;
  }
  .resource-download:hover { background: var(--ink-light); }
  .resource-download svg {
    width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2;
  }

  /* Section labels above each .resources grid (Operations & Process,
     Cost Optimization, etc.) — replaces the inline-styled <div> wrappers
     the legacy resources page used. (5/5/2026 refactor) */
  .resources-section-header {
    max-width: 780px; margin: 0 auto;
    padding: 1.5rem 2rem 0.5rem;
  }
  .resources-section-header:first-of-type {
    padding-top: 0;
  }
  .resources-section-label {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin-bottom: 0.5rem;
  }
  /* Tool cards (Interactive Tool type) get a gold left accent — same
     pattern as .featured-card. (5/5/2026 refactor — replaces inline
     style="border-left:3px solid var(--accent);") */
  .resource-card.resource-card--tool {
    border-left: 3px solid var(--accent);
  }

  /* ─── SIGNUP ─── */
  .signup-section {
    max-width: 780px; margin: 0 auto;
    padding: 0 2rem 4rem;
  }
  .signup-box {
    background: var(--cream); border-radius: 6px;
    padding: 2.5rem;
    display: flex; align-items: center; gap: 3rem;
  }
  .signup-text { flex: 1; }
  .signup-text h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; margin-bottom: 0.5rem;
  }
  .signup-text p {
    font-size: 0.9375rem; color: var(--ink-light); line-height: 1.7;
  }
  .signup-form {
    display: flex; gap: 0.75rem; align-items: center;
    flex-shrink: 0;
  }
  .signup-form input {
    font-family: var(--sans); font-size: 0.875rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--rule-strong); border-radius: 4px;
    background: var(--warm-white); color: var(--ink);
    width: 240px;
    outline: none; transition: border-color 0.2s;
  }
  .signup-form input:focus { border-color: var(--accent); }
  .signup-form input::placeholder { color: var(--ink-muted); }
  .signup-form button {
    font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    padding: 0.65rem 1.25rem;
    border: none; border-radius: 4px; cursor: pointer;
    transition: background 0.2s;
  }
  .signup-form button:hover { background: var(--ink-light); }
  .signup-status {
    /* Default-shown so the .is-hidden utility class can control visibility
       cleanly. Site.js section 10 toggles .is-hidden / .is-error / .is-success. */
    font-size: 0.8125rem; margin-top: 0.5rem;
  }
  .signup-status.is-error    { color: #b54a1e; }
  .signup-status.is-success  { color: var(--accent-text); }

  /* ─── FOOTER ─── */  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--warm-white);
      border-bottom: 1px solid var(--rule);
      padding: 1.5rem 2rem; gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .page-header { padding: 7rem 1.5rem 2rem; }
    .resources { grid-template-columns: 1fr; padding: 1.5rem 1.5rem 2rem; }
    .signup-section { padding: 0 1.5rem 3rem; }
    .signup-box { flex-direction: column; gap: 1.5rem; }
    .signup-form { width: 100%; }
    .signup-form input { flex: 1; width: auto; }
    .footer-inner { flex-direction: column; }
  }

/* ═══ DISCOVERY PAGE (canary refactor — 5/5/2026) ═══
   Conversion endpoint of the BD funnel. Form structure reuses the
   shared .form-row / .form-group / .btn-submit / .form-status / .honeypot
   classes from the homepage contact section above — only the page-level
   layout (header → form+expect grid → resources grid) is unique.

   All sections share the site-wide 780px content rail. The two-column
   layout uses an asymmetric 1.2fr/1fr split so the form column gets
   enough room for two-up fields while the narrower expect column
   (pure text) stays comfortable. */

  /* ─── Form + "What to expect" two-column layout ─── */
  .discovery-section {
    max-width: 780px; margin: 0 auto; padding: 0 2rem 3rem;
  }
  .discovery-layout {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem; align-items: start;
  }
  .discovery-form-col h2,
  .discovery-expect-col h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; line-height: 1.3;
    margin: 0 0 1.25rem 0; color: var(--ink);
  }

  /* ─── "What to expect" items ─── */
  .expect-item { margin-bottom: 1.25rem; }
  .expect-item h3 {
    font-family: var(--sans); font-size: 0.9375rem; font-weight: 600;
    color: var(--ink); margin: 0 0 0.25rem 0;
  }
  .expect-item p {
    font-size: 0.9rem; color: var(--ink-light); line-height: 1.65;
    margin: 0;
  }
  .expect-time {
    display: inline-block; margin-top: 1.5rem;
    padding: 0.65rem 1rem;
    background: var(--cream); border-radius: 4px;
    font-size: 0.8125rem; color: var(--ink-muted);
  }
  .expect-time strong { color: var(--ink); }

  /* ─── "While you're here" resources block ─── */
  .discovery-resources {
    max-width: 780px; margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
    border-top: 1px solid var(--rule);
  }
  .discovery-resources h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.2rem; line-height: 1.3;
    margin: 0 0 1rem 0; color: var(--ink);
  }
  .discovery-resources > p {
    font-size: 0.875rem; color: var(--ink-muted); line-height: 1.65;
    margin: 0 0 0.5rem 0;
  }
  .discovery-res-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.25rem; margin-top: 1rem;
  }
  /* Card border uses --rule-strong (#8a857c → 3.46:1) for AA-clean
     non-text contrast. Hover swaps to --accent — matches the
     .related-card / .featured-card idiom established 5/5/2026. */
  .discovery-res-card {
    display: block; padding: 1.25rem;
    background: var(--warm-white);
    border: 1px solid var(--rule-strong); border-radius: 6px;
    text-decoration: none; transition: border-color 0.2s;
  }
  .discovery-res-card:hover { border-color: var(--accent); }
  .discovery-res-type {
    /* color: --accent-text (#856214 → 5.28:1) replaces legacy --accent
       (#b5861e → 3.10:1, fails AA). 5/5/2026 contrast pass standard. */
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin-bottom: 0.35rem;
  }
  .discovery-res-card h3 {
    font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
    color: var(--ink); line-height: 1.35; margin: 0 0 0.25rem 0;
  }
  .discovery-res-card p {
    font-size: 0.78rem; color: var(--ink-muted); line-height: 1.5;
    margin: 0;
  }

  @media (max-width: 768px) {
    .discovery-section { padding: 0 1.5rem 2rem; }
    .discovery-layout { grid-template-columns: 1fr; gap: 2rem; }
    .discovery-resources { padding: 2rem 1.5rem 2.5rem; }
    .discovery-res-grid { grid-template-columns: 1fr; }
  }

/* ═══ TOOLS / CALCULATORS (canary refactor — 5/5/2026) ═══
   Shared by /tools/turnover-cost-calculator/ and
   /tools/telecom-savings-estimator/. The two tools have identical
   header/calculator/results/context/CTA chrome — only the input
   fields and result rendering differ (handled in site.js sections 14
   and 15).

   Notes on contrast:
   - .tool-eyebrow, .results-label, .result-row.total .result-value
     use --accent-text (5.28:1) instead of legacy --accent (3.10:1).
     The accent-color stripe (.results-box border-left, .result-row.total
     border-top) stays gold — decorative non-text. */

  .tool-header {
    padding: 8rem 2rem 2rem;
    max-width: 800px; margin: 0 auto;
  }
  .tool-eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem;
  }
  .tool-header h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15; color: var(--ink); margin-bottom: 0.75rem;
  }
  .tool-header p {
    font-size: 1rem; color: var(--ink-light); line-height: 1.7; max-width: 600px;
  }
  .tool-divider {
    width: 48px; height: 2px; background: var(--accent); margin-top: 1.5rem;
  }

  .calculator {
    max-width: 800px; margin: 0 auto;
    padding: 2rem 2rem 1rem;
  }
  .calc-section { margin-bottom: 2rem; }
  .calc-section h2 {
    font-family: var(--sans); font-weight: 600;
    font-size: 1rem; color: var(--ink); margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule);
  }
  .calc-row {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 0.75rem;
  }
  .calc-row label {
    flex: 1; font-size: 0.9375rem; color: var(--ink-light); line-height: 1.4;
  }
  .calc-row .sublabel {
    display: block; font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.15rem;
  }
  .calc-row input,
  .calc-row select {
    width: 140px; padding: 0.55rem 0.75rem;
    font-family: var(--sans); font-size: 0.9375rem;
    border: 1px solid var(--rule-strong); border-radius: 4px;
    background: var(--warm-white); color: var(--ink);
    outline: none; transition: border-color 0.2s;
  }
  .calc-row input { text-align: right; }
  .calc-row select { font-size: 0.875rem; cursor: pointer; }
  .calc-row input:focus,
  .calc-row select:focus { border-color: var(--accent); }
  .calc-row input::placeholder { color: var(--ink-muted); }

  /* Turnover-only: small badge attached to a label. (Currently unused
     but reserved — legacy file declared the rule.) */
  .calc-badge {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    padding: 0.15rem 0.45rem; border-radius: 3px;
    background: var(--cream); color: var(--ink-muted);
    margin-left: 0.5rem; vertical-align: middle;
  }

  .results {
    max-width: 800px; margin: 0 auto 2rem;
    padding: 0 2rem;
  }
  .results-box {
    background: var(--cream); border-radius: 6px;
    border-left: 3px solid var(--accent);
    padding: 2rem;
  }
  .results-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem;
  }
  .result-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 0.5rem 0; border-bottom: 1px solid var(--rule);
    font-size: 0.9375rem;
  }
  .result-row:last-of-type { border-bottom: none; }
  .result-row .result-label { color: var(--ink-light); }
  .result-row .result-value { font-weight: 600; color: var(--ink); font-size: 1rem; }
  .result-row.total {
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 2px solid var(--accent); border-bottom: none;
  }
  .result-row.total .result-label {
    font-weight: 600; color: var(--ink); font-size: 1.05rem;
  }
  .result-row.total .result-value {
    font-family: var(--serif); font-size: 1.5rem; color: var(--accent-text);
  }
  .result-row.range .result-value,
  .result-row.savings .result-value { color: var(--accent-text); }
  .results-note {
    font-size: 0.8125rem; color: var(--ink-muted); margin-top: 1.25rem; line-height: 1.6;
  }
  .results-empty {
    font-size: 0.9375rem; color: var(--ink-muted); font-style: italic;
  }

  /* Telecom-only: visual % bar under the result rows. Width is set
     via CSSOM in site.js (CSP-safe — element.style is scriptable;
     inline style="" attributes via innerHTML would violate
     style-src 'self'). */
  .savings-bar-container {
    margin-top: 1.25rem; margin-bottom: 0.5rem;
  }
  .savings-bar-bg {
    height: 12px; background: var(--rule); border-radius: 6px;
    overflow: hidden; position: relative;
  }
  .savings-bar-fill {
    height: 100%; border-radius: 6px;
    background: var(--accent);
    width: 0;
    transition: width 0.5s ease;
  }
  .savings-bar-labels {
    display: flex; justify-content: space-between;
    font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.35rem;
  }

  .context-box {
    max-width: 800px; margin: 0 auto 2rem;
    padding: 0 2rem;
  }
  .context-inner {
    padding: 1.5rem 2rem;
    background: var(--warm-white);
    border: 1px solid var(--rule); border-radius: 6px;
    font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7;
  }
  .context-inner strong { color: var(--ink-light); }
  .context-inner a { color: var(--accent-text); text-decoration: none; }
  .context-inner a:hover { text-decoration: underline; }

  .tool-cta {
    max-width: 800px; margin: 0 auto 3rem;
    padding: 2.5rem;
    background: var(--cream); border-radius: 6px;
    border-left: 3px solid var(--accent);
  }
  .tool-cta h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; margin-bottom: 0.75rem;
  }
  .tool-cta p {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.7; margin-bottom: 1.25rem;
  }
  .tool-cta a {
    display: inline-block; padding: 0.65rem 1.5rem;
    font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    border-radius: 4px; text-decoration: none;
    transition: background 0.2s;
  }
  .tool-cta a:hover { background: var(--ink-light); }

  /* Telecom-only: send-estimate form inside the .tool-cta. Uses the
     standard .btn-submit / .form-status / .honeypot classes. */
  .estimate-form { margin-top: 0.5rem; }
  .estimate-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-bottom: 1rem;
  }
  .estimate-form-group label {
    display: block; font-size: 0.8125rem; font-weight: 600;
    letter-spacing: 0.03em; margin-bottom: 0.4rem; color: var(--ink);
  }
  .estimate-form-group input {
    width: 100%; padding: 0.7rem 0.85rem;
    font-family: var(--sans); font-size: 0.9375rem;
    border: 1px solid var(--rule-strong); border-radius: 4px;
    background: var(--warm-white); color: var(--ink);
    outline: none; transition: border-color 0.2s;
  }
  .estimate-form-group input:focus { border-color: var(--accent); }

  /* SEO content section at the bottom of each tool page (long-form
     copy for search visibility). Reuses .context-box wrapper for
     width alignment. */
  .tool-seo h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.35rem; color: var(--ink);
    margin: 2rem 0 0.75rem 0;
  }
  .tool-seo h2:first-child { margin-top: 0; }
  .tool-seo p {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.75; margin-bottom: 0.75rem;
  }
  .tool-seo a {
    color: var(--accent-text); text-decoration: none;
  }
  .tool-seo a:hover { text-decoration: underline; }
  .tool-seo strong { color: var(--ink); }

  @media (max-width: 768px) {
    .tool-header { padding: 7rem 1.5rem 1.5rem; }
    .calculator { padding: 1.5rem 1.5rem 0.5rem; }
    .calc-row { flex-direction: column; align-items: stretch; gap: 0.5rem; }
    .calc-row input, .calc-row select { width: 100%; }
    .results { padding: 0 1.5rem; }
    .results-box { padding: 1.5rem; }
    .context-box { padding: 0 1.5rem; }
    .tool-cta { margin: 0 1.5rem 2rem; padding: 1.5rem; }
    .estimate-form-row { grid-template-columns: 1fr; gap: 0.5rem; }
  }


/* ═══ LEGAL DOCS (canary refactor — 5/5/2026) ═══
   /privacy/ (and any future /terms/, /cookies/, etc.). Replaces the
   inline-styled <h2> blocks the legacy privacy.html used. */

  .legal-doc {
    max-width: 780px; margin: 0 auto;
    padding: 0 2rem 3rem;
    font-size: 1rem; color: var(--ink-light); line-height: 1.8;
  }
  .legal-doc-meta {
    font-size: 0.875rem; color: var(--ink-muted);
    margin-bottom: 2rem;
  }
  .legal-doc h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.25rem; color: var(--ink);
    margin: 2rem 0 0.75rem 0;
  }
  .legal-doc p { margin: 0 0 1rem 0; }
  .legal-doc ul {
    margin: 0.5rem 0 1rem 1.5rem;
  }
  .legal-doc li { margin-bottom: 0.25rem; }
  .legal-doc a {
    color: var(--accent-text); text-decoration: none;
  }
  .legal-doc a:hover { text-decoration: underline; }
  .legal-doc strong { color: var(--ink); }

  @media (max-width: 768px) {
    .legal-doc { padding: 0 1.5rem 2rem; }
  }


/* ═══ ERROR PAGES (canary refactor — 5/5/2026) ═══
   /403/ + /404/. Replaces the legacy ═══ 404 ═══ section with new
   .error-* class names (the old .content / .subtitle / .btn-home
   names were too generic and only used here). 403 adds an access-card
   list of redirects to useful destinations.

   Both pages render in centered narrow column with .error-* chrome. */

  .error-page {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    max-width: 680px; margin: 0 auto;
    padding: 7rem 2rem 3rem;
    text-align: center;
  }
  .error-code {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.5rem;
  }
  .error-page h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2; margin-bottom: 1rem;
  }
  .error-subtitle {
    font-size: 1rem; color: var(--ink-light);
    line-height: 1.7; max-width: 480px; margin-bottom: 1.5rem;
  }
  .error-home-btn {
    display: inline-block;
    font-size: 0.875rem; font-weight: 600;
    color: var(--warm-white); background: var(--ink);
    padding: 0.7rem 1.5rem; border-radius: 4px;
    text-decoration: none; transition: background 0.2s;
    margin-top: 2rem;
  }
  .error-home-btn:hover { background: var(--ink-light); }

  /* 403: the "what you DO have access to" card list. */
  .error-access-list {
    width: 100%;
    text-align: left;
    display: grid; gap: 0.6rem;
  }
  .error-access-card {
    display: block;
    padding: 1.1rem 1.25rem;
    background: var(--cream);
    border: 1px solid var(--rule-strong); border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
  }
  .error-access-card:hover {
    background: #ebe8e1;
    border-color: var(--accent);
    transform: translateX(3px);
  }
  .error-access-title {
    font-size: 0.9375rem; font-weight: 600;
    color: var(--ink); margin-bottom: 0.1rem;
  }
  .error-access-desc {
    font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.45;
  }

  /* 404: facts widget. */
  .fact-box {
    max-width: 500px; width: 100%;
    background: var(--cream);
    border-radius: 6px;
    padding: 1.75rem 2rem;
    text-align: left;
    position: relative;
    transition: opacity 0.35s ease;
  }
  .fact-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-text);
    margin-bottom: 0.65rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .fact-label svg {
    width: 14px; height: 14px;
    stroke: var(--accent-text); fill: none; stroke-width: 2;
  }
  .fact-text {
    font-size: 0.9375rem; color: var(--ink-light);
    line-height: 1.7;
    margin: 0;
  }
  .fact-shuffle {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: none; cursor: pointer;
    color: var(--ink-muted); font-size: 0.75rem;
    font-family: var(--sans); font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    display: flex; align-items: center; gap: 0.35rem;
  }
  .fact-shuffle:hover { color: var(--accent-text); }
  .fact-shuffle svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2;
  }

  @media (max-width: 768px) {
    .error-page { padding: 6rem 1.5rem 2rem; }
    .fact-box { padding: 1.5rem; }
  }


/* ═══ STICKY TOC SIDEBAR (wide screens, JS-positioned) ═══ */
.toc-sidebar {
  display: none;
}
@media (min-width: 1200px) {
  .toc-sidebar {
    display: block;
    position: fixed;
    top: 90px;
    width: 170px;
    z-index: 10;
  }
  .toc-sidebar .toc-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
  }
  .toc-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .toc-sidebar li {
    padding: 0.2rem 0;
  }
  .toc-sidebar a {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
  }
  .toc-sidebar a:hover { color: var(--ink); }
  .toc-sidebar a.toc-active {
    color: var(--accent-text);
    font-weight: 500;
  }
  .toc-sidebar.toc-hidden { opacity: 0; pointer-events: none; }
  .toc-sidebar.toc-visible { opacity: 1; pointer-events: auto; transition: opacity 0.3s; }
}

/* ═══ BACK TO TOP ─── */
.back-to-top {
  max-width: 740px; margin: 0 auto 2rem;
  padding: 0 2rem; text-align: right;
}
.back-to-top a,
.back-to-top a:link,
.back-to-top a:visited {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.back-to-top a:hover { color: var(--accent-text); }

/* ═══ FRESHNESS NOTE ═══ */
.freshness-note {
  font-size: 0.8125rem; color: var(--ink-muted);
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* ═══ ANCHOR SCROLL OFFSET (compensate for fixed nav) ═══ */
.article-body h2[id] {
  scroll-margin-top: 80px;
}

/* ═══ RESOURCE CARD ANCHOR OFFSET ═══ */
.resource-card[id] {
  scroll-margin-top: 80px;
}

/* ═══ NAV DROPDOWN ═══ */
.nav-inner .nav-dropdown {
  position: relative;
}
.nav-inner .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  background: var(--warm-white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 200;
}
.nav-inner .nav-dropdown-menu a {
  display: block !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--ink-light) !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.nav-inner .nav-dropdown-menu a:hover {
  background: var(--cream) !important;
  color: var(--ink) !important;
}

/* Mobile: flatten dropdown */
@media (max-width: 768px) {
  .nav-inner .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 1rem !important;
    min-width: auto !important;
    display: none !important;
    background: transparent !important;
  }
  .nav-inner .nav-dropdown-trigger svg { display: none; }
  .nav-links.open .nav-dropdown-menu {
    display: block !important;
  }
  .nav-inner .nav-dropdown-menu a {
    padding: 0.35rem 0 !important;
    font-size: 0.8125rem !important;
    color: var(--ink-muted) !important;
  }
}

/* ═══ MOBILE NAV ALIGNMENT (definitive override) ═══ */
@media (max-width: 768px) {
  .nav-links.open {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .nav-links.open > a,
  .nav-links.open > .nav-dropdown,
  .nav-links.open > .nav-dropdown > a,
  .nav-links.open > .nav-cta {
    text-align: left !important;
  }
  .nav-dropdown-menu a {
    padding-left: 0.75rem !important;
  }
}


  @media (max-width: 768px) {
    .article-cta a { display: block; text-align: center; }
    .article-cta a + a { display: block; margin-left: 0; margin-top: 1rem; text-align: center; }
  }

/* ═══ ACCESSIBILITY ═══ */

/* Skip navigation */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* Focus-visible for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Remove default outline since we use focus-visible */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .progress-bar-fill { transition: none !important; }
}


/* ─── Target size (WCAG 2.2 SC 2.5.8 — added 5/5/2026) ───────────────
   Minimum 24×24 CSS px for interactive elements. The eyebrow back-link
   and footer links were 12-14px text with default line-height,
   yielding ~18px height — below the 24px floor. */
.article-eyebrow a {
  display: inline-block;
  padding: 0.35rem 0;
  min-height: 24px;
  line-height: 1.4;
}
.footer-links a {
  display: inline-block;
  padding: 0.35rem 0;
  min-height: 24px;
  line-height: 1.5;
}
.toc a {
  display: inline-block;
  min-height: 24px;
  padding: 0.15rem 0;
  line-height: 1.55;
}


/* ═══════════════════════════════════════════════════════════════════
   Bridging Main—Canary refactor: utility-class additions
   Append these blocks to /styles.css (or fold them into the appropriate
   sections—they're grouped here for review, not distribution).

   These classes replace the inline style="" attributes removed from
   index.php during the canary refactor. CSP target is style-src 'self'
   with no 'unsafe-inline', so every cosmetic and state style now has a
   class.
   ═══════════════════════════════════════════════════════════════════ */


/* ─── Inline link (gold accent, small, in-flow text) ──────────────────
   Used inside paragraphs and list items in:
   - Diagnostic steps (How We Work)
   - Capability cards
   - Signals list
   - FAQ "Where do I start?"
   Replaces: style="color:var(--accent-text);font-size:0.8125rem;
                    text-decoration:none;font-weight:500;"
   ─────────────────────────────────────────────────────────────────── */
.inline-link {
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
}
.inline-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-hover);
}

/* Standalone CTA variant of inline-link — "Learn more →", "See the
   framework →", etc. Displayed as a block on its own line below body
   text. Keeps the accent-text color and subtle underline from
   .inline-link; adds block display, explicit size, and top spacing. */
.cta-link {
  display: block;
  width: fit-content;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
/* Inside diagnostic A/B/S steps: cta-link sits in grid-column 2
   alongside the <span> text, not under the counter. */
.diagnostic-steps .cta-link { grid-column: 2; margin-top: 0.25rem; }


/* ─── About "More about Rob" link ───────────────────────────────────
   Block-display variant of inline-link, with explicit underline.
   Replaces: style="display:inline-block;margin-top:0.75rem;font-size:0.875rem;
                    font-weight:600;color:var(--accent-text);text-decoration:none;
                    border-bottom:1px solid var(--accent);"
   ─────────────────────────────────────────────────────────────────── */
.about-more-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.about-more-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}


/* ─── Form label hint ("(optional)") ────────────────────────────────
   Replaces: style="font-weight:400;color:var(--ink-muted)"
   ─────────────────────────────────────────────────────────────────── */
.label-hint {
  font-weight: 400;
  color: var(--ink-muted);
}


/* ─── Form status message ───────────────────────────────────────────
   Replaces inline: style="margin-top:1rem;font-size:0.875rem;
                           color:var(--accent-text);display:none;"
   plus runtime-injected status.style.color = '#b54a1e' / 'var(--accent-text)'.

   Hidden by default via .is-hidden; success/error variants set state.
   ─────────────────────────────────────────────────────────────────── */
.form-status {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent-text);
}
.form-status.is-error    { color: #b54a1e; }
.form-status.is-success  { color: var(--accent-text); }


/* ─── Honeypot (spam-bot trap) ──────────────────────────────────────
   Hidden from sighted users and screen readers; bots that fill every
   field will fill this one too, and the form handler silently drops
   the submission. Visually hidden via accessibility-safe pattern that
   still preserves form-data submission.

   Goes into the canonical form template—every form site-wide will
   inherit this once the pattern propagates.
   ─────────────────────────────────────────────────────────────────── */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ─── State utilities ───────────────────────────────────────────────
   Toggled by JS. CSP-safe alternative to style="display:none".
   ─────────────────────────────────────────────────────────────────── */
.is-hidden  { display: none !important; }
.is-visible { display: block !important; }

/* Accessibility-only visible text (for <label> elements paired with
   placeholder-only inputs, and similar patterns). Visible to screen
   readers, hidden from sighted users without disabling the element. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─── Dropdown open state (Services menu) ───────────────────────────
   The previous JS pattern toggled inline style.display = 'block'/'none'.
   Now JS toggles .is-open on the .nav-dropdown wrapper; CSS does the rest.

   Default state: menu hidden via opacity/visibility (allows transition).
   Open state: menu visible.
   Mobile (<=768): the existing rules in styles.css already handle the
   open state via .nav-links.open .nav-dropdown-menu—no change needed.

   Override: styles.css has `.nav-inner .nav-dropdown-menu` that doesn't
   set a default display value; the previous inline style="display:none"
   was hiding it. Replace that with this rule. The mobile media query
   in the existing styles.css uses `display: none !important` which
   continues to work—that block needs no change.
   ─────────────────────────────────────────────────────────────────── */
.nav-inner .nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.nav-inner .nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
/* Active section indicator on the dropdown trigger when on a Services page */
.nav-inner .nav-dropdown.nav-dropdown--active > .nav-dropdown-trigger {
  color: var(--ink);
}


/* ─── Nav chevron on the Services dropdown trigger ──────────────────
   Replaces the inline style on the inline SVG element in the previous
   JS-injected nav.
   ─────────────────────────────────────────────────────────────────── */
.nav-chevron {
  width: 10px;
  height: 7px;
  margin-left: 3px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
}


/* ─── Nav-dropdown wrapper layout ───────────────────────────────────
   The previous JS injected style="display:inline-flex;align-items:center"
   on the wrapper. Move to CSS so server-rendered nav lays out correctly
   without JS having to set inline styles.
   ─────────────────────────────────────────────────────────────────── */
.nav-inner .nav-dropdown {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 768px) {
  /* Mobile: dropdown wrapper stacks; the existing
     "MOBILE NAV ALIGNMENT" media query in styles.css already handles
     alignment of the trigger and menu items. */
  .nav-inner .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ─── Form wrapper id-as-target (no styling change) ─────────────────
   #discovery-form gets no new styles; the id is just used as a JS hook
   for the externalized form handler in /js/site.js. No rule needed.
   ─────────────────────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════════════════
   Bridging Main—Service pages (overview + detail pattern)

   Used by:
   - services.php (overview at /services/)
   - services-{slug}.php (detail pages at /services/{slug}/)

   Naming:
   - .svc-index-*  → overview-page-only
   - .svc-*        → detail-page patterns (some shared with overview)
   - .ba-*         → before/after comparison grid (detail pages)
   - .guarantee-*  → telecom guarantee box (extends to other guarantees)
   ═══════════════════════════════════════════════════════════════════ */


/* ─── Overview page (/services/) ────────────────────────────────── */

.svc-index-header {
  padding: 8rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.svc-index-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.svc-index-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.svc-index-header p {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 600px;
}
.svc-index-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-top: 1.5rem;
}

.svc-cards {
  max-width: 800px;
  margin: 2rem auto 3rem;
  padding: 0 2rem;
  display: grid;
  gap: 1.5rem;
}
.svc-card {
  padding: 2rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.svc-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.5rem;
}
.svc-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.svc-card p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.svc-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
}

.svc-index-cta {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  text-align: center;
}
.svc-index-cta p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.svc-index-cta a {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--warm-white);
  background: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.svc-index-cta a:hover { background: var(--ink-light); }


/* ─── Detail pages (/services/{slug}/) ──────────────────────────── *//* Bullet list with accent dot (used for waste buckets, similar enumerations) */
.svc-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}
.svc-list li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.6;
  border-bottom: 1px solid var(--rule);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.svc-list li strong { color: var(--ink); }

/* Tool / resource callout (used for the Telecom Estimator inline promo) */
.svc-callout {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--warm-white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.svc-callout p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}
.svc-callout a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--warm-white);
  background: var(--accent-text);
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.svc-callout a:hover { background: var(--accent-hover); }

/* Guarantee box (Telecom; pattern reusable for any guarantee content) */
.guarantee-box {
  margin: 2.5rem 0;
  padding: 2rem 2rem 1.75rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.guarantee-box h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.75rem 0;
}
.guarantee-box p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.guarantee-box p:last-child { margin-bottom: 0; }
.guarantee-box .guarantee-fine {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.guarantee-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Before/after comparison grid */
.ba-container {
  margin: 1.5rem 0 2.5rem;
  display: grid;
  gap: 1rem;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.ba-header {
  padding: 0.6rem 1rem;
  color: var(--warm-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-header--before { background: var(--ink); }
.ba-header--after  { background: var(--accent); }
.ba-cell {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.6;
}
.ba-cell--before { border-right: 1px solid var(--rule); }

/* FAQ block *//* Related cards grid *//* Bottom CTA block *//* "Other services" grid at the bottom of detail pages *//* Mobile breakpoints for service pages */
@media (max-width: 768px) {
  .svc-index-header { padding: 7rem 1.5rem 1.5rem; }
  .svc-cards { padding: 0 1.5rem; }
  .svc-index-cta { margin-left: 1.5rem; margin-right: 1.5rem; }

  .svc-header { padding: 7rem 1.5rem 2rem; }
  .svc-body { padding: 0 1.5rem; }
  .svc-cta { margin-left: 1.5rem; margin-right: 1.5rem; }
  .svc-other-services { padding: 0 1.5rem; }
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-other-grid { grid-template-columns: 1fr; }
  .svc-callout { flex-direction: column; align-items: flex-start; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-cell--before { border-right: none; border-bottom: 1px solid var(--rule); }
}


/* ═══════════════════════════════════════════════════════════════════
   Bridging Main—Service detail extras
   (operational-enablement + ai page-specific patterns)
   ═══════════════════════════════════════════════════════════════════ */


/* ─── Operational Enablement page ───────────────────────────────── */

/* Component list (bordered, no bullets) — used for "What we include" */
.component-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}
.component-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.component-list li:last-child { border-bottom: none; }
.component-list h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.35rem 0;
}
.component-list p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0;
}

/* Find-box callout — "What we typically find" */
.find-box {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.find-box h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.75rem 0;
}
.find-box p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.find-box p:last-child { margin-bottom: 0; }

/* Numbered process steps with circle counters */
.process-steps {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  counter-reset: step;
}
.process-steps li {
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  counter-increment: step;
}
.process-steps li:last-child { border-bottom: none; }
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-steps h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  margin: 0 0 0.25rem 0;
}
.process-steps p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0;
}

/* Document type hierarchy table (Operational Enablement) */
.doc-stack {
  margin: 2rem 0;
  display: grid;
  gap: 0.5rem;
}
.doc-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.doc-row-label {
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--warm-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.doc-row-desc {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-light);
}

/* Sample document cards — three side-by-side */
.sample-cards {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.sample-card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 6px;
  font-family: var(--sans);
}
.sample-card-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
  margin-bottom: 0.5rem;
}
.sample-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.sample-card-body {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.sample-card-body strong { color: var(--ink); }
.sample-card-body--detail { line-height: 1.8; }
.sample-card-step {
  padding-left: 0.75rem;
  border-left: 2px solid var(--rule);
}
.sample-card-step-header { margin-bottom: 0.5rem; }

/* Subtle italic disclaimer paragraph */
.svc-disclaimer {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-style: italic;
}


/* ─── AI Enablement page ────────────────────────────────────────── */

/* AI offerings list (similar to component-list but with example callouts) */
.ai-offerings {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}
.ai-offerings li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.ai-offerings li:last-child { border-bottom: none; }
.ai-offerings h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}
.ai-offerings p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0;
}
.ai-example {
  font-size: 0.8125rem;
  color: var(--accent);
  font-style: italic;
  margin: 0 0 0.75rem 0;
  padding: 0.5rem 0.75rem;
  background: var(--cream);
  border-radius: 4px;
}

/* Truth-box and Readiness-box content blocks */
.truth-box,
.readiness-box {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.truth-box h3,
.readiness-box h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.75rem 0;
}
.truth-box p,
.readiness-box p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.truth-box p:last-child,
.readiness-box p:last-child { margin-bottom: 0; }
.readiness-delivers {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}
.readiness-delivers li {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

/* Device frame for the Opsurant tablet demo */
.device-frame {
  max-width: 800px;
  margin: 2rem auto;
}
.device-bezel {
  background: #1a1d23;
  border-radius: 20px;
  padding: 14px 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}
.device-notch {
  width: 80px;
  height: 5px;
  background: #2a2d35;
  border-radius: 3px;
  margin: 2px auto 10px;
}
.device-screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  /* Tablet portrait: ~4:3 aspect ratio */
  height: min(900px, 56vw);
}
.device-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.device-home {
  width: 40px;
  height: 5px;
  background: #2a2d35;
  border-radius: 3px;
  margin: 10px auto 2px;
}
.device-caption {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  text-align: center;
}

@media (max-width: 768px) {
  .device-bezel { border-radius: 28px; padding: 12px; }
  .device-notch { width: 50px; height: 4px; margin: 4px auto 10px; }
  .device-screen {
    border-radius: 6px;
    /* Phone portrait: ~9:16 aspect ratio */
    height: min(680px, 140vw);
  }
  .device-home { width: 90px; height: 4px; margin: 10px auto 4px; }

  .sample-cards { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 1fr; }
}
