/* ============================================================
   smedigital.ai — Main Stylesheet
   Mobile-first. WCAG 2.1 AA. No frameworks.
   Premium editorial redesign: transparent nav, full-height hero,
   editorial pain list, position statement, service blocks, GSAP.
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* === DESIGN TOKENS === */
:root {
  /* Colours — brand palette */
  --navy:        #0A1F2E;
  --navy-dark:   #060D17;
  --navy-mid:    #0E2A3E;
  --navy-light:  #1A3348;
  --accent:      #39C39A;
  --accent-dark: #0E6B54;
  --accent-light: #7DDECB;
  --bg:          #F5F7F6;
  --white:       #ffffff;
  --text:        #111827;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --bone:        #E8ECEA;
  --success:     #0B4D3F;
  --error:       #dc2626;

  /* Typography */
  --font-display: 'Inter Tight', Inter, system-ui, -apple-system, sans-serif;
  --font-serif:   'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-7:  1.75rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container-max:     1100px;
  --container-padding: var(--sp-6);
  --nav-height:        64px;

  /* Shape */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 14px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  /* Motion */
  --t:      0.18s ease;
  --t-slow: 0.35s ease;
}

/* === BASE === */
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section      { padding: var(--sp-16) 0; }
.section--lg  { padding: var(--sp-24) 0; }
.section--sm  { padding: var(--sp-10) 0; }

.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--tinted { background: #eeecea; }

/* === SKIP LINK (a11y) === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-4);
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: var(--sp-4); }

/* === FOCUS === */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,46,0.95);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}


.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav__logo {
  font-family: 'Inter Tight', Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.035em;
  transition: color var(--t);
}
.nav__logo .ai {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  transition: color var(--t);
}
.nav__link:hover,
.nav__link--active { color: var(--white); }

/* CTA: copper on dark nav = high-contrast, premium */
.nav__cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t);
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(57,195,154,0.25);
}
.nav__cta:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(57,195,154,0.35);
  transform: translateY(-1px);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-3) 0 var(--sp-4);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile .nav__link {
  padding: var(--sp-3) var(--container-padding);
  font-size: 1rem;
}
.nav__mobile .nav__cta {
  margin: var(--sp-3) var(--container-padding) 0;
  text-align: center;
  padding: var(--sp-3);
}

@media (min-width: 768px) {
  .nav__menu   { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* === NAV DROPDOWN === */
.nav__item {
  position: relative;
}
.nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}
.nav__dropdown-btn:hover,
.nav__dropdown-btn--active { color: var(--white); }

.nav__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--t);
  align-self: center;
}
.nav__dropdown-btn[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 192px;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: var(--sp-2) 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav__dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: block;
  padding: var(--sp-3) var(--sp-5);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav__dropdown-link:hover,
.nav__dropdown-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav__dropdown-link[aria-current="page"] {
  color: var(--accent);
}

/* Mobile nav services group */
.nav__mobile-group { display: flex; flex-direction: column; }
.nav__mobile-label {
  padding: var(--sp-2) var(--container-padding);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}
.nav__link--indent {
  padding-left: calc(var(--container-padding) + var(--sp-4));
  font-size: 0.9375rem;
}

/* === HERO (homepage) — full-height, video background === */
/* Grid stacking: video / overlay / content all share one cell */
.hero {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(75vh - 64px);
}
.hero__video,
.hero__overlay,
.hero__content { /* legacy grid-area removed */ }

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,14,26,0.78);
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-16);
}

/* Copper accent line */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 55%);
  z-index: 3;
  pointer-events: none;
}

/* Hide video for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* Header row: tag label left, year right */
.hero__header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e28a58;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero__tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: #e28a58;
}
.hero__year {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero point-of-difference block */
.hero__pod {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  border-left: 3px solid var(--accent);
  padding: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-6);
  max-width: 540px;
  background: rgba(255,255,255,0.05);
  border-radius: 0 6px 6px 0;
}
.hero__pod-headline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero__pod-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Hero H1 — significantly larger than general h1 */
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  max-width: 900px;
  margin-bottom: var(--sp-8);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: var(--sp-8);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.hero__actions .btn {
  width: 220px !important;
  height: 48px !important;
  flex: 0 0 220px !important;
  padding: 0 var(--sp-5) !important;
}

@media (max-width: 599px) {
  .hero__actions .btn {
    width: 100% !important;
    flex-basis: 100% !important;
  }
}

/* Credentials strip — stat-style items at bottom of hero */
.hero__creds-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: 0;
  padding: var(--sp-6) 0;
}
.hero__cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__cred-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-light);
  line-height: 1;
}
.hero__cred-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.84);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.hero__cred-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.hero-cred-bar {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 599px) {
  .hero__cred-divider { display: none; }
  .hero__creds-strip  { gap: var(--sp-6); }
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: var(--sp-16) 0 var(--sp-12);
}
.page-hero .breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--t); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin-top: var(--sp-4);
  margin-bottom: 0;
  line-height: 1.75;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(57,195,154,0.30);
}
.btn--primary::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--t);
  margin-left: var(--sp-2);
  line-height: 1;
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(57,195,154,0.42);
  transform: translateY(-1px);
}
.btn--primary:hover::after { transform: translateX(4px); }

.btn--outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--navy      { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,27,46,0.25); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(13,27,46,0.05); }

/* === CARDS (inner pages) === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card--accent-top { border-top: 3px solid var(--accent); }
.card h3 { margin-bottom: var(--sp-3); }
.card p  { color: var(--text-muted); font-size: 0.9375rem; }

/* === POSITION STATEMENT (pull quote + text) === */
.position-pull {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--navy);
  line-height: 1.45;
  font-style: italic;
  border: none;
  padding: 0;
  margin-top: var(--sp-5);
}
.position-pull p { color: var(--navy); margin: 0; line-height: 1.45; }

/* === PAIN LIST (editorial numbered) === */
.pain-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.pain-list__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.pain-list__item:last-child { border-bottom: 1px solid var(--border); }

.pain-list__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--accent-dark);
  opacity: 0.65;
  line-height: 1.1;
  user-select: none;
  padding-top: 2px;
}
.pain-list__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
  font-family: var(--font-sans);
}
.pain-list__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .pain-list__item {
    grid-template-columns: 80px 1fr;
    gap: var(--sp-10);
    padding: var(--sp-10) 0;
  }
  .pain-list__num { font-size: 3.75rem; }
}

/* Pain list on dark background */
.section--dark .pain-list__item { border-color: rgba(255,255,255,0.10); }
.section--dark .pain-list__item:last-child { border-color: rgba(255,255,255,0.10); }
.section--dark .pain-list__num { color: var(--accent-light); opacity: 0.75; }
.section--dark .pain-list__heading { color: var(--white); }
.section--dark .pain-list__body { color: rgba(255,255,255,0.60); }
.section--dark .section-header p { color: rgba(255,255,255,0.65); }

/* === QUOTE BLOCK (dark section) === */
.quote-section { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%); }
.quote-block {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}
.quote-block::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 12rem;
  line-height: 0.6;
  color: rgba(255,255,255,0.045);
  position: absolute;
  top: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.quote-block p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  position: relative;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

/* === GRIDS === */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }

@media (min-width: 580px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* === SPLIT LAYOUT === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}
@media (min-width: 768px) {
  .split           { grid-template-columns: 1fr 1fr; }
  .split--60-40    { grid-template-columns: 3fr 2fr; }
  .split--40-60    { grid-template-columns: 2fr 3fr; }
}

/* === ABOUT AVATAR === */
.about-avatar {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 4px 24px rgba(13,27,46,0.14);
}
.about-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

/* === SECTION LABEL & HEADER === */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--sp-3);
}
/* Mint passes contrast on dark backgrounds only; emerald is for light ones */
.hero .label,
.page-hero .label,
.section--dark .label,
.quote-section .label,
.stat-strip .label,
.featured-guide .label,
.footer .label {
  color: var(--accent);
}
.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-header { margin-bottom: var(--sp-10); }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* === SERVICE BLOCKS (stacked, 2-col at desktop) === */
.service-blocks {
  display: flex;
  flex-direction: column;
}
.service-block {
  border-top: 1px solid var(--border);
  padding: var(--sp-10) 0;
}
.service-block:last-child { border-bottom: 1px solid var(--border); }

.service-block__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
@media (min-width: 768px) {
  .service-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
  }
}

.service-block__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  display: block;
}
.service-block__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.service-block__price {
  display: block;
  margin-top: var(--sp-3);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  font-family: var(--font-ui);
  line-height: 1.5;
}
.service-block--featured .service-block__inner {
  border-left: 3px solid var(--accent);
}
.service-block__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.service-block__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.service-block__link::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--t);
}
.service-block__link:hover { color: var(--accent); border-color: var(--accent); }
.service-block__link:hover::after { transform: translateX(4px); }

/* === CHECKLIST === */
.checklist { display: flex; flex-direction: column; gap: var(--sp-3); }
.checklist li {
  position: relative;
  padding-left: calc(20px + var(--sp-3));
  font-size: 0.9375rem;
  line-height: 1.6;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%2339C39A' stroke-width='1.5'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%2339C39A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* === CROSS LIST === */
.crosslist { display: flex; flex-direction: column; gap: var(--sp-3); }
.crosslist li {
  position: relative;
  padding-left: calc(20px + var(--sp-3));
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.crosslist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%235c6470' stroke-width='1.5'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%235c6470' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
/* Slate fails contrast on navy; lift crosslist text and icon on dark sections */
.section--dark .crosslist li { color: rgba(255,255,255,0.78); }
.section--dark .crosslist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%239AA7B4' stroke-width='1.5'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%239AA7B4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* === CALLOUT === */
.callout {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-6) var(--sp-8);
  box-shadow: var(--shadow-sm);
}
.callout p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* === TESTIMONIALS === */
.testimonials-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
@media (min-width: 640px) {
  .testimonials-section { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .testimonials-section { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote {
  flex: 1;
}
.testimonial-card blockquote p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote p::before { content: open-quote; }
.testimonial-card blockquote p::after  { content: close-quote; }
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.testimonial-card footer strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
}
.testimonial-card footer span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === STAT GRID === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
  font-feature-settings: 'tnum';
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* === GRADIENT DIVIDER === */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 25%, var(--border) 75%, transparent 100%);
  border: none;
  margin: 0;
}

/* === FORMS === */
.form-group   { margin-bottom: var(--sp-5); }
.form-label   { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: var(--sp-2); }
.form-label .req { color: var(--accent-dark); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,46,0.10);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #a0a6b0; }
.form-textarea { resize: vertical; min-height: 140px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-check a { color: var(--navy); text-decoration: underline; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-5);
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Contact page two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
.contact-sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 560px) {
  .contact-sidebar { grid-template-columns: 1fr; }
}

.form-submit {
  width: 100%;
  padding: var(--sp-4);
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t);
}
.form-submit:hover    { background: var(--navy-mid); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin-top: var(--sp-4);
  display: none;
}
.form-message--success { background: #edf7f4; border: 1px solid #a8dfd3; color: #0E6B54; }
.form-message--error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* === BLOG FAQ (details/summary pattern — matches accordion visually) === */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--t);
  user-select: none;
}
/* Remove browser disclosure triangle */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }
.faq-question:hover { background: var(--bg); }
/* + icon that rotates when open */
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: transform var(--t);
}
.faq-item[open] > .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 var(--sp-6) var(--sp-6);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: var(--sp-3); }
.faq-answer p:last-child { margin-bottom: 0; }

/* === ACCORDION === */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: var(--sp-4);
  transition: background var(--t);
}
.accordion__trigger:hover { background: var(--bg); }
.accordion__icon {
  width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t);
  font-size: 1rem; color: var(--text-muted); font-weight: 400;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__body {
  display: none;
  padding: 0 var(--sp-6) var(--sp-6);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.accordion__item.is-open .accordion__body { display: block; }

/* === TOOL CARD === */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.tool-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}
.tool-badge--live { background: #edf7f4; color: #0E6B54; border: 1px solid #a8dfd3; }
.tool-badge--soon { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer__logo {
  font-family: 'Inter Tight', Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.035em;
}
.footer__logo .ai {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.footer__brand p { font-size: 0.9375rem; line-height: 1.7; margin-top: var(--sp-3); max-width: 280px; }
.footer__col-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__links a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { font-size: 0.875rem; margin-bottom: 0; max-width: 680px; }
.cookie-banner p a { color: rgba(255,255,255,0.82); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.cookie-btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t);
}
.cookie-btn--accept { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }
.cookie-btn--accept:hover { background: var(--success); border-color: var(--success); }
.cookie-btn--decline { background: transparent; color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.25); }
.cookie-btn--decline:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

/* === UTILITIES === */
.text-muted   { color: var(--text-muted); }
.text-accent  { color: var(--accent); }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.875rem; }
.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-10 { margin-bottom: var(--sp-10); }
hr.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-10) 0; }

/* === BLOG INDEX — article card grid === */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-top-color var(--t);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(57,195,154,0.12), var(--shadow-lg);
  border-top-color: var(--accent-dark);
}

.blog-card__topic {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--sp-3);
}
.blog-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 2.5vw, 1.3125rem);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--sp-5);
}
.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  border-bottom: 1.5px solid rgba(14,107,84,0.35);
  padding-bottom: 3px;
  padding-top: var(--sp-5);
  transition: color var(--t), border-color var(--t);
  width: fit-content;
  margin-top: auto;
}
.blog-card__link::after { content: '\2192'; transition: transform var(--t); }
.blog-card__link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.blog-card__link:hover::after { transform: translateX(4px); }

/* === ARTICLE — individual post === */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-5);
}
.article-meta__divider { opacity: 0.3; }
.article-meta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
}
.article-body h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  color: var(--navy);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.125rem;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.article-body p { margin-bottom: var(--sp-5); }
.article-body ul, .article-body ol {
  margin: 0 0 var(--sp-5) var(--sp-6);
}
.article-body li { margin-bottom: var(--sp-2); line-height: 1.7; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body a:hover { color: var(--accent-dark); }

/* === LINK-ARROW (styled inline links with arrow indicator) === */
.link-arrow {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(14, 107, 84, 0.35);
  text-underline-offset: 3px;
  font-weight: 500;
}
.link-arrow::after {
  content: " →";
  font-style: normal;
}
.link-arrow:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}

/* === INLINE TEXT LINKS (plain <a> tags in body copy, no class) === */
p a:not([class]),
li a:not([class]) {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(14, 107, 84, 0.35);
  text-underline-offset: 3px;
  font-weight: 500;
}
p a:not([class]):hover,
li a:not([class]):hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}
.section--dark p a:not([class]),
.section--dark li a:not([class]),
.page-hero p a:not([class]),
.page-hero li a:not([class]) {
  color: var(--accent-light);
  text-decoration-color: rgba(57, 195, 154, 0.35);
}
.section--dark p a:not([class]):hover,
.section--dark li a:not([class]):hover,
.page-hero p a:not([class]):hover,
.page-hero li a:not([class]):hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.6);
}
.callout p a:not([class]) {
  color: var(--navy);
  text-decoration-color: rgba(13, 27, 46, 0.35);
}
.callout p a:not([class]):hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}
.article-body strong { font-weight: 600; color: var(--navy); }

.article-body .callout {
  margin: var(--sp-8) 0;
}

/* Resource article layout blocks */
.article-section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
  box-shadow: var(--shadow-sm);
}
.article-section-card h3 {
  margin-top: 0;
}
.article-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin: var(--sp-8) 0;
}
@media (min-width: 640px) {
  .article-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
.article-kpi {
  background: #f4f5f7;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.article-kpi__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--accent-dark);
  margin-bottom: var(--sp-2);
}
.article-kpi__label {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.article-figure-placeholder {
  margin: var(--sp-8) 0;
}
.article-figure-placeholder__box {
  border: 1.5px dashed #9ca3af;
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  color: #4b5563;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  font-size: 0.9375rem;
}
.article-figure-placeholder figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--sp-3);
}
.source-list {
  margin: var(--sp-6) 0 0 var(--sp-6);
}
.source-list li {
  margin-bottom: var(--sp-3);
}

/* Placeholder block — visible to Ant for content he needs to add */
.placeholder {
  background: #fffbeb;
  border: 1.5px dashed #d97706;
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-8) 0;
  font-size: 0.9375rem;
  color: #92400e;
}
.placeholder strong { color: #92400e; }

/* Featured guide card — full-width, visually prominent */
.featured-guide {
  display: block;
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  text-decoration: none;
  transition: opacity var(--t), transform var(--t);
  margin-bottom: var(--sp-4);
  position: relative;
  overflow: hidden;
}
.featured-guide::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: var(--radius) 0 0 var(--radius);
}
.featured-guide:hover { opacity: 0.92; transform: translateY(-2px); }
.featured-guide__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-3);
}
.featured-guide__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--white);
  line-height: 1.25;
  display: block;
  margin-bottom: var(--sp-3);
}
.featured-guide__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  display: block;
  max-width: 640px;
  margin-bottom: var(--sp-4);
}
.featured-guide__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.featured-guide__cta::after {
  content: "→";
}

/* Related articles strip */
.related-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (min-width: 640px) { .related-articles { grid-template-columns: 1fr 1fr; } }

.related-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  transition: border-color var(--t);
}
.related-article:hover { border-color: var(--navy); }
.related-article__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: var(--sp-2); }
.related-article__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); line-height: 1.3; }

/* === PAGE-HERO VARIANTS === */

/* Taller hero for pages with more content (hook list + CTA) */
.page-hero--tall {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

/* Three-point hook list in page-hero */
.page-hero__hook {
  list-style: none;
  padding: 0;
  margin: var(--sp-8) 0 var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.page-hero__hook li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.page-hero__hook li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 0 3px rgba(57,195,154,0.20);
}

/* === BUSINESS FRAMEWORK PAGE === */

.framework-container { max-width: 900px; }

.framework-svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .framework-svg {
    animation: diagram-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes diagram-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

.pillar-node { transition: opacity 0.2s ease; cursor: default; }
.pillar-node:hover { opacity: 0.82; }

/* Pillar grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-2);
}
@media (min-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

/* Pillar card */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.pillar-card__num {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-1);
}

.pillar-card h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--navy);
  margin-top: var(--sp-1);
  margin-bottom: 0;
}

.pillar-card__intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

/* Two-column inner grid (loses / improves) */
.pillar-card__sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
@media (max-width: 540px) {
  .pillar-card__sections { grid-template-columns: 1fr; }
}

.pillar-section h4 {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.pillar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.pillar-section ul li {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  padding-left: var(--sp-4);
  position: relative;
}

.pillar-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.pillar-section--improve ul li::before { background: var(--navy); }

/* Impact strip */
.pillar-impact {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
}

.pillar-impact h4 {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.pillar-impact__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.pillar-impact__tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px var(--sp-3);
  white-space: nowrap;
}

/* Pillar financial framing stat */
.pillar-card__stat {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

/* "Where we help" step grid */
.help-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
@media (min-width: 720px) {
  .help-steps { grid-template-columns: repeat(4, 1fr); }
}

.help-step { text-align: center; }

.help-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: var(--sp-4);
}

.help-step h4 {
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.help-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Outcomes / credibility grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
@media (min-width: 640px) {
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .outcomes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
.benefit-item {
  padding: var(--sp-7);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.benefit-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(57,195,154,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.benefit-item__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--white);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}
.benefit-item__body {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.outcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.outcome-card__sector {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.outcome-card__result {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
}

.outcome-card__context {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* === TIME SPLIT CHARTS === */
.time-charts-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  margin: var(--sp-10) auto 0;
  max-width: 760px;
  align-items: start;
}
@media (max-width: 600px) {
  .time-charts-wrap { grid-template-columns: 1fr; gap: var(--sp-8); }
}
.time-chart-block { text-align: center; }
.time-chart-block__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}
.time-chart-block__sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.time-chart-canvas-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.time-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-8);
}
.time-legend__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.time-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.time-finding {
  margin: var(--sp-8) auto 0;
  max-width: 680px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5) var(--sp-6);
}
.time-finding p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.time-source {
  text-align: center;
  margin-top: var(--sp-5);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === PRINT === */
@media print {
  .nav, .footer, .cookie-banner { display: none; }
  .hero, .page-hero { background: none; color: var(--text); }
  .hero h1, .page-hero h1, .hero__sub, .page-hero p { color: var(--text); }
}

/* === ARTICLE STAT STRIP === */
/* Full-bleed dark stat strip — cite key data inline with visual impact */
.stat-strip {
  background: var(--navy);
  padding: var(--sp-12) var(--sp-8);
  margin: var(--sp-10) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
/* Grid wrapper for stat items — allows proper column layout with dividers */
.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  max-width: 780px;
  margin: 0 auto;
}
/* Fallback: articles without grid wrapper still flex nicely */
.stat-strip > .stat-strip__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 160px;
}
.stat-strip__item {
  text-align: center;
  padding: var(--sp-4);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-strip__item:last-of-type { border-right: none; }
/* stat-strip__number (new) and stat-strip__value (legacy) render identically */
.stat-strip__number,
.stat-strip__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-strip__label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-top: var(--sp-3);
  line-height: 1.4;
}
.stat-strip__source {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: var(--sp-3);
  font-style: italic;
}
/* Per-item source (when inside an item rather than trailing) */
.stat-strip__item .stat-strip__source {
  width: auto;
  text-align: center;
  margin-top: var(--sp-2);
}
@media (max-width: 600px) {
  .stat-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .stat-strip__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: var(--sp-6);
  }
  .stat-strip__item:last-of-type { border-bottom: none; padding-bottom: 0; }
}

/* === INLINE STAT CALLOUT === */
/* Single standout stat with green left border — matches report page standard */
.article-stat {
  background: var(--white);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-10) 0;
  box-shadow: var(--shadow);
}
.article-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.article-stat__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--sp-2);
  display: block;
  line-height: 1.4;
}
.article-stat__source {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--sp-1);
  display: block;
}

/* === SHARE BAR === */
.share-bar {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.share-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--white);
  transition: opacity var(--t), transform var(--t);
  white-space: nowrap;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); color: var(--white); }
.share-btn--linkedin { background: #0A66C2; }
.share-btn--twitter  { background: #000000; }
.share-btn--email    { background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.15); }
