/* Google Fonts loaded via HTML <link> for better performance - see base templates */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ══════════════════════════════════════════════════════════════════════
     i4i Professional Palette — Refined Enterprise Analytics
     ══════════════════════════════════════════════════════════════════════ */
  
  /* Core brand */
  --accent: #0f766e;                /* Teal — trustworthy, professional */
  --accent-hover: #0d9488;
  --accent-muted: rgba(15, 118, 110, 0.1);
  
  /* Figma Design Palette */
  --olive: #5c6b4a;
  --olive-dark: #4a5a3a;
  --olive-light: #7a8a68;
  --olive-muted: rgba(92, 107, 74, 0.1);
  --cream: #f5f3ee;
  --cream-dark: #e8e4db;
  --beige: #d4cfc4;
  
  /* Surfaces */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-hover: #f1f5f9;
  --bg-accent: #ffffff;
  
  /* Sidebar — dark, authoritative */
  --sidebar-bg: #0f172a;
  --sidebar-text: #f1f5f9;
  --sidebar-text-muted: #94a3b8;
  --sidebar-border: rgba(148, 163, 184, 0.1);
  --sidebar-hover: rgba(255, 255, 255, 0.05);
  --sidebar-active: rgba(255, 255, 255, 0.08);
  
  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  
  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  
  /* Legacy mappings for compatibility */
  --primary: #0f172a;
  --primary-light: var(--accent);
  --border-medium: var(--border);
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --ease-standard: ease;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Accessibility
   ───────────────────────────────────────────────────────────────────────── */

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only utility - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Content Pages (Wagtail)
   ───────────────────────────────────────────────────────────────────────── */

.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.preview-hero {
  padding: 5rem 2rem 3rem;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 35%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.preview-hero__inner,
.preview-section,
.preview-cta__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.preview-hero__inner,
.preview-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.preview-hero__content h1,
.preview-cta__inner h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.preview-hero__eyebrow,
.preview-section__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.preview-hero__lead,
.preview-section__copy p,
.preview-cta__inner p,
.preview-hero__card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.preview-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1.5rem;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.preview-meta__item {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.preview-hero__card,
.preview-cta {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.preview-hero__card {
  padding: 1.4rem;
}

.preview-hero__card h2,
.preview-section__copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.preview-hero__aside-note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.preview-section {
  padding: 3rem 2rem;
}

.preview-section--reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.preview-section--reverse .preview-section__copy {
  order: 2;
}

.preview-section--reverse .preview-section__viz {
  order: 1;
}

.preview-section__viz {
  min-height: 360px;
}

.preview-highlights {
  display: grid;
  gap: 1rem;
}

.preview-highlight-card,
.preview-process__step {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.preview-highlight-card {
  padding: 1.35rem;
}

.preview-highlight-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.preview-highlight-card p:last-child {
  margin-bottom: 0;
}

.preview-process {
  display: grid;
  gap: 1rem;
}

.preview-process__step {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.35rem;
}

.preview-process__step strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.preview-process__step span {
  color: var(--text-secondary);
  line-height: 1.6;
}

.preview-cta {
  margin: 0 2rem 4rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.08)),
    #ffffff;
}

.preview-cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.sample-access-shell {
  padding: 4rem 2rem 5rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), #ffffff 30%);
}

.sample-access-shell__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 2rem;
}

.sample-access-shell__inner--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.sample-access-shell__intro h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.sample-access-shell__intro p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.sample-access-shell__card {
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.sample-access-shell__card--success {
  text-align: center;
}

.sample-access-shell__card--success h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.sample-access-shell__card--success p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.conversion-shell {
  padding: 4.5rem 2rem 5rem;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), #ffffff 30%);
}

.conversion-shell__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.conversion-shell__inner--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.conversion-shell__intro h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.conversion-shell__intro p,
.conversion-shell__card-header p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.conversion-shell__list,
.public-bullet-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.conversion-shell__list {
  margin-bottom: 1.5rem;
}

.conversion-shell__list li,
.public-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.conversion-shell__list li::before,
.public-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}

.conversion-shell__meta,
.conversion-shell__actions,
.public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.conversion-shell__meta {
  margin-bottom: 1.5rem;
}

.conversion-shell__actions {
  margin-top: 1.25rem;
}

.conversion-shell__card,
.public-hero__card,
.public-sidecard,
.public-info-card,
.public-step,
.public-cta-panel,
.staff-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.conversion-shell__card {
  padding: 1.75rem;
}

.conversion-shell__card--success {
  text-align: center;
}

.conversion-shell__card-header {
  margin-bottom: 1.5rem;
}

.conversion-shell__card-header h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.conversion-shell__success-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: #059669;
}

.conversion-shell__success-icon svg {
  width: 2rem;
  height: 2rem;
}

.conversion-shell__submit {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.conversion-shell__actions--centered {
  justify-content: center;
}

.public-form {
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.public-form .form-label {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
}

.public-form .form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.public-form .form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-input--textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #b91c1c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-help {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-field--error .form-input {
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(254, 242, 242, 0.55);
}

.public-hero {
  padding: 5rem 2rem 3.5rem;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.95), #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.public-hero__inner,
.public-section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.public-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: start;
}

.public-hero__eyebrow,
.public-section__eyebrow,
.public-sidecard__eyebrow,
.public-info-card__eyebrow,
.public-hero__card-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.public-hero__content h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.public-hero__lead,
.public-section__header p,
.public-prose__section p,
.public-prose__section li,
.public-info-card p,
.public-step p,
.public-cta-panel p,
.staff-bio {
  color: var(--text-secondary);
  line-height: 1.75;
}

.public-hero__lead p + p {
  margin-top: 0.85rem;
}

.public-hero__actions {
  margin-top: 1.5rem;
}

.public-hero__card,
.public-sidecard,
.public-step,
.public-cta-panel {
  padding: 1.5rem;
}

.public-hero__card h2,
.public-sidecard h2,
.public-cta-panel h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.public-bullet-list--compact {
  gap: 0.65rem;
}

.public-section {
  padding: 4rem 2rem;
  background: var(--bg-primary);
}

.public-section--muted,
.public-section--team {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), #ffffff);
}

.public-section__inner--aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.public-section__header {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

.public-section__header--left {
  margin-left: 0;
  text-align: left;
}

.public-section__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.public-prose {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.public-prose__section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.public-prose__section:last-child,
.public-prose__block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.public-prose__section h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.public-prose__section h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.public-prose__section p {
  margin-bottom: 1rem;
}

.public-prose__section p:last-child {
  margin-bottom: 0;
}

.public-prose__section ul,
.public-prose__section ol {
  padding-left: 1.2rem;
  margin-top: 0.75rem;
}

.public-sidecard {
  position: sticky;
  top: 104px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-hover);
}

.public-card-grid,
.public-step-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.public-info-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.public-info-card h3,
.public-step h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.public-step__number {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.public-cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.08)),
    #ffffff;
}

.staff-grid {
  gap: 1.5rem;
}

.staff-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.staff-card__media {
  padding: 1rem 1rem 0;
}

.staff-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1rem 1.2rem;
}
.preview-cta--workspace {
  margin: 1.5rem 0 0;
}

@media (max-width: 900px) {
  .preview-hero__inner,
  .preview-section,
  .preview-section--reverse,
  .sample-access-shell__inner,
  .conversion-shell__inner,
  .public-hero__inner,
  .public-section__inner--aside {
    grid-template-columns: 1fr;
  }

  .preview-section,
  .preview-hero,
  .sample-access-shell,
  .conversion-shell,
  .public-hero,
  .public-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .preview-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .preview-cta__inner,
  .public-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-sidecard {
    position: static;
  }
}

.content-page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-page h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.content-page h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.content-page p,
.content-page li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-page p {
  margin-bottom: 1rem;
}

.content-page ul,
.content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.content-intro p:last-child {
  margin-bottom: 1.5rem;
}

/* Standard Page (About/Content) */
.standard-page__header {
  padding: 4rem 2rem 2.25rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 1));
  border-bottom: 1px solid var(--border-light);
}

.standard-page__header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.standard-page__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.standard-page__header h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.standard-page__intro {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 760px;
}

.standard-page__intro p:last-child {
  margin-bottom: 0;
}

.standard-page__richtext {
  padding: 3rem 2rem 2rem;
  background: var(--bg-primary);
}

.standard-page__richtext-inner {
  max-width: 860px;
  margin: 0 auto;
}

.standard-page__richtext-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.standard-page__richtext-inner p,
.standard-page__richtext-inner li {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.975rem;
}

.standard-page__richtext-inner p {
  margin-bottom: 1rem;
}

/* Staff Grid */
.staff-grid {
  margin-top: 2rem;
}

.staff-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
}

.staff-photo,
.staff-photo-placeholder {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 14px;
  margin-bottom: 0;
}

.staff-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: 1;
}

.staff-photo-placeholder {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(248, 250, 252, 0.98));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 10vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.staff-name {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.staff-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.staff-previous-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.staff-bio {
  font-size: 0.92rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Navigation (Public Pages)
   ───────────────────────────────────────────────────────────────────────── */

nav {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a[aria-current="page"]:not(.btn) {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

.nav-links a[aria-current="page"]:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-links .btn[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18);
}

/* ─────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────── */

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
}

a.btn-primary {
  color: white;
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.hero-metric {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-primary);
  text-align: left;
}

.hero-metric-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.hero-metric-hint {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────────────────────────────────── */

.features {
  background: var(--bg-secondary);
  padding: 3.5rem 2rem;
}

.section {
  background: var(--bg-primary);
  padding: 3.5rem 2rem;
}

.features-container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA Section
   ───────────────────────────────────────────────────────────────────────── */

.cta-section {
  padding: 3.5rem 2rem;
  background: var(--bg-primary);
}

.cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 3rem 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.cta-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.cta-container .btn-primary {
  background: var(--accent);
  color: white;
}

.cta-container .btn-primary:hover {
  background: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.45rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-menu-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--border);
}

/* ─────────────────────────────────────────────────────────────────────────
   What We Do Section
   ───────────────────────────────────────────────────────────────────────── */

.what-we-do,
.features,
#projects,
#impact,
#case-studies,
#partners,
#governance {
  scroll-margin-top: 80px;
}

.what-we-do {
  padding: 3.5rem 2rem;
  background: var(--bg-primary);
}

.what-we-do + .what-we-do {
  padding-top: 0;
  border-top: 1px solid var(--border);
}

.what-we-do + .cta-section {
  padding-top: 0;
}

.section + .cta-section {
  padding-top: 0;
}

.what-we-do-container {
  max-width: 1120px;
  margin: 0 auto;
}

.what-we-do-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.what-we-do .lead-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.what-we-do p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.what-we-do ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.what-we-do li {
  margin-bottom: 0.375rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  body {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .nav-container {
    position: relative;
    flex-wrap: wrap;
  }

  nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links {
    order: 3;
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .cta-container {
    padding: 2rem 1.5rem;
  }

  .cta-container h2 {
    font-size: 1.375rem;
  }

  .content-page {
    padding: 2rem 1.5rem;
  }

  .standard-page__header {
    padding: 2.4rem 1.5rem 1.5rem;
  }

  .standard-page__intro {
    font-size: 0.98rem;
  }

  .standard-page__richtext {
    padding: 2rem 1.5rem 1.5rem;
  }

  .standard-page__richtext-inner h2 {
    font-size: 1.45rem;
  }

  .conversion-shell__intro h1,
  .public-hero__content h1,
  .public-section__header h2,
  .public-hero__card h2,
  .public-sidecard h2,
  .public-cta-panel h2 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .conversion-shell__card,
  .public-hero__card,
  .public-sidecard,
  .public-info-card,
  .public-step,
  .public-cta-panel {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .conversion-shell__actions,
  .public-hero__actions {
    width: 100%;
  }

  .conversion-shell__actions .btn,
  .public-hero__actions .btn,
  .public-cta-panel .btn {
    width: 100%;
    text-align: center;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .what-we-do-panel {
    padding: 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Tables
   ───────────────────────────────────────────────────────────────────────── */

.table-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-primary);
  margin-bottom: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--bg-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Forms
   ───────────────────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   Badges
   ───────────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA DESIGN BLOCKS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   Full-Bleed Hero
   ───────────────────────────────────────────────────────────────────────── */

.hero-fullbleed {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-fullbleed__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullbleed__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.4) 100%
  );
  z-index: 1;
}

.hero-fullbleed__content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-fullbleed__headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-fullbleed__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-fullbleed__cta {
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-fullbleed__dashboard {
  position: relative;
  max-width: 900px;
  margin: 1.5rem auto 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-fullbleed__dashboard img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-fullbleed__viz {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
}

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

.hero-viz-map__title,
.hero-viz-memory__label {
  fill: #0f172a;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-viz-map__subtitle {
  fill: #475569;
  font-size: 14px;
  font-weight: 500;
}

.hero-viz-map__areas path {
  fill: rgba(15, 118, 110, 0.08);
  stroke: rgba(15, 118, 110, 0.22);
  stroke-width: 1.5;
}

.hero-viz-map__routes path {
  fill: none;
  stroke: url(#mapRoute);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 10;
  animation: hero-viz-route-flow 16s linear infinite;
}

.hero-viz-map__node {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
  animation: hero-viz-pulse 4s ease-in-out infinite;
}

.hero-viz-map__node--high {
  fill: #dc2626;
}

.hero-viz-map__node--mid {
  fill: #f59e0b;
}

.hero-viz-map__node--low {
  fill: #0f766e;
}

.hero-viz-map__trend rect {
  fill: rgba(255, 255, 255, 0.76);
  stroke: rgba(15, 23, 42, 0.12);
}

.hero-viz-map__trend path {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-viz-map__trend text,
.hero-viz-map__legend text {
  fill: #334155;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-map__axis {
  stroke: rgba(71, 85, 105, 0.5);
  stroke-width: 1.5;
}

.hero-viz-london__title {
  fill: #0f172a;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-viz-london--static {
  width: 100%;
}

.hero-viz-london__static-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.hero-viz-london__subtitle {
  fill: #475569;
  font-size: 14px;
  font-weight: 500;
}

.hero-viz-london__raster {
  fill: url(#londonRasterGrid);
  stroke: rgba(100, 116, 139, 0.18);
}

.hero-viz-london__borough {
  fill: rgba(226, 232, 240, 0.28);
  stroke: rgba(100, 116, 139, 0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-viz-london__hex {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.1;
  opacity: 0.84;
  vector-effect: non-scaling-stroke;
}

.hero-viz-london__borough-outline-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.hero-viz-london__borough-outline {
  fill: none;
  stroke: rgba(15, 23, 42, 0.88);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.hero-viz-london__borough--a {
  fill: rgba(236, 242, 248, 0.8);
}

.hero-viz-london__borough--b {
  fill: rgba(229, 238, 246, 0.84);
}

.hero-viz-london__borough--c {
  fill: rgba(221, 233, 242, 0.9);
}

.hero-viz-london__legend-card,
.hero-viz-london__insight-card {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(148, 163, 184, 0.55);
  stroke-width: 1.1;
}

.hero-viz-london__legend-ramp {
  fill: url(#londonLegendRamp);
  stroke: rgba(100, 116, 139, 0.32);
  stroke-width: 0.6;
}

.hero-viz-london__route {
  fill: none;
  stroke-width: 2.2;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  animation: hero-viz-route-flow 16s linear infinite;
}

.hero-viz-london__route--stable {
  stroke: rgba(14, 116, 144, 0.38);
}

.hero-viz-london__route--watch {
  stroke: rgba(217, 119, 6, 0.48);
}

.hero-viz-london__route--critical {
  stroke: rgba(220, 38, 38, 0.6);
}

.hero-viz-london__marker-shadow {
  fill: rgba(15, 23, 42, 0.18);
}

.hero-viz-london__marker-stem--critical {
  fill: rgba(220, 38, 38, 0.7);
}

.hero-viz-london__marker-stem--watch {
  fill: rgba(217, 119, 6, 0.62);
}

.hero-viz-london__marker-stem--stable {
  fill: rgba(15, 118, 110, 0.58);
}

.hero-viz-london__marker-glow--critical {
  fill: rgba(220, 38, 38, 0.18);
}

.hero-viz-london__marker-glow--watch {
  fill: rgba(245, 158, 11, 0.14);
}

.hero-viz-london__marker-glow--stable {
  fill: rgba(15, 118, 110, 0.12);
}

.hero-viz-london__marker-top {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.4;
}

.hero-viz-london__marker-top--critical {
  fill: #dc2626;
}

.hero-viz-london__marker-top--watch {
  fill: #f59e0b;
}

.hero-viz-london__marker-top--stable {
  fill: #0f766e;
}

.hero-viz-london__signal-dot {
  fill: #0f766e;
  opacity: 0.86;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 0.8;
}

.hero-viz-london__marker-key {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.4;
}

.hero-viz-london__marker-key--critical {
  fill: #dc2626;
}

.hero-viz-london__marker-key--watch {
  fill: #f59e0b;
}

.hero-viz-london__marker-key--stable {
  fill: #0f766e;
}

.hero-viz-london__legend text,
.hero-viz-london__insight text {
  fill: #334155;
  font-size: 11.5px;
  font-weight: 600;
}

.hero-viz-london__insight text:first-of-type {
  fill: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.hero-viz-london__status {
  fill: #475569;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-london--fallback .hero-viz-london__borough {
  fill: rgba(148, 163, 184, 0.22);
  stroke: rgba(100, 116, 139, 0.45);
}

.hero-viz-memory__ring path {
  animation: hero-viz-ring-spin 36s linear infinite;
  transform-origin: 550px 290px;
}

.hero-viz-memory__arrow {
  fill: none;
  stroke: rgba(37, 99, 235, 0.7);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  animation: hero-viz-route-flow 12s linear infinite;
}

.hero-viz-memory__node circle {
  fill: rgba(255, 255, 255, 0.95);
  stroke-width: 2;
}

.hero-viz-memory__node--listen circle {
  stroke: rgba(15, 118, 110, 0.55);
}

.hero-viz-memory__node--interpret circle {
  stroke: rgba(37, 99, 235, 0.55);
}

.hero-viz-memory__node--act circle {
  stroke: rgba(217, 119, 6, 0.55);
}

.hero-viz-memory__node--learn circle {
  stroke: rgba(92, 107, 74, 0.55);
}

.hero-viz-memory__node text {
  fill: #0f172a;
  text-anchor: middle;
  font-size: 13px;
  font-weight: 600;
}

.hero-viz-memory__rail rect {
  fill: rgba(15, 118, 110, 0.08);
  stroke: rgba(15, 118, 110, 0.25);
  animation: hero-viz-bar-breathe 5s ease-in-out infinite;
}

.hero-viz-memory__rail text,
.hero-viz-memory__baseline text {
  fill: #334155;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-memory__baseline path {
  fill: none;
  stroke: rgba(15, 118, 110, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-viz-memory__baseline .hero-viz-memory__axis {
  stroke: rgba(71, 85, 105, 0.5);
  stroke-width: 1.5;
}

@keyframes hero-viz-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes hero-viz-route-flow {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes hero-viz-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-viz-bar-breathe {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

.hero-fullbleed__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-fullbleed__logos img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.hero-fullbleed__logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.hero-fullbleed__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-fullbleed__stat {
  text-align: center;
}

.hero-fullbleed__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 0.25rem;
}

.hero-fullbleed__stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-fullbleed__cta {
  margin-top: 1.5rem;
}

.hero-tranches {
  margin-top: 2.75rem;
  display: grid;
  gap: 1rem;
  text-align: left;
}

.hero-tranches__header {
  padding: 1.25rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.88);
}

.hero-tranches__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-tranches__header h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
}

.hero-tranche {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.93);
  overflow: hidden;
}

.hero-tranche__viz-wrap {
  flex: 1.15;
  min-width: 0;
}

.hero-tranche__content {
  flex: 0.95;
  min-width: 0;
  padding: 1.2rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.hero-tranche__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 0.38rem;
}

.hero-tranche h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
}

.hero-tranche p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.hero-tranche--reverse {
  flex-direction: row-reverse;
}

.hero-tranche__viz {
  height: 288px;
  border-radius: 0;
  border: 0;
}

#feature-divergence .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(219, 234, 254, 0.7), rgba(255, 255, 255, 0.95));
}

#feature-capacity .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(224, 242, 254, 0.72), rgba(255, 255, 255, 0.95));
}

#feature-memory .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(236, 253, 245, 0.76), rgba(255, 255, 255, 0.95));
}

.hero-feature-pod__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.hero-feature-pod__cta:hover {
  color: #0d9488;
}

.hero-feature-pod__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.hero-feature-pod__cta:hover::after {
  transform: translateX(3px);
}

.hero-feature-pod__viz {
  position: relative;
  height: 100%;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
  overflow: hidden;
}

.hero-feature-pod__viz--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.75rem;
  text-align: center;
}

.hero-feature-pod__viz svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-viz-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.feature-viz-controls {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) minmax(120px, 1fr);
  gap: 0.4rem;
  align-items: end;
  padding: 0.5rem 0.55rem 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.86);
}

.feature-viz-controls--scenario {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-start;
}

.feature-viz-control {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.feature-viz-control span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.feature-viz-control input[type="range"] {
  width: 100%;
}

.feature-viz-control select {
  width: 100%;
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
  font-size: 0.74rem;
  padding: 0.18rem 0.4rem;
}

.feature-viz-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.5rem;
  min-width: 82px;
}

.feature-viz-pill {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #fff;
  color: #334155;
  font-size: 0.69rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.feature-viz-pill:hover {
  border-color: rgba(15, 118, 110, 0.45);
  color: #0f766e;
}

.feature-viz-pill--active {
  border-color: rgba(15, 118, 110, 0.5);
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.feature-viz-svg {
  flex: 1;
  min-height: 120px;
}

.feature-viz-svg--map {
  min-height: 132px;
}

.feature-viz-note {
  margin: 0;
  padding: 0.36rem 0.56rem 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.84);
}

.feature-viz-map__borough {
  fill: #eef2f7;
  stroke: #cbd5e1;
  stroke-width: 0.7;
}

.feature-viz-map__borough--active {
  fill: #f8fafc;
  stroke: #0f766e;
  stroke-width: 1.6;
}

.feature-viz-map__hex {
  stroke: rgba(30, 41, 59, 0.26);
  stroke-width: 0.8;
}

.feature-viz-scenario__borough {
  stroke: rgba(100, 116, 139, 0.42);
  stroke-width: 0.78;
}

.feature-viz-memory__line {
  fill: none;
  stroke: rgba(15, 118, 110, 0.78);
  stroke-width: 2.3;
}

.feature-viz-memory__stem {
  stroke: rgba(148, 163, 184, 0.4);
  stroke-width: 1.2;
}

.feature-viz-memory__node {
  fill: rgba(15, 118, 110, 0.92);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.6;
}

.feature-viz-memory__stage {
  fill: #475569;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature-viz-memory__value {
  fill: #0f172a;
  font-size: 10px;
  font-weight: 700;
}

.btn-olive {
  background: var(--olive);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease;
}

.btn-olive:hover {
  background: var(--olive-dark);
  color: white;
}

/* ─────────────────────────────────────────────────────────────────────────
   Split Media Section
   ───────────────────────────────────────────────────────────────────────── */

.split-media {
  padding: 5rem 2rem;
  background: var(--bg-primary);
  scroll-margin-top: 80px;
}

.split-media__container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-media--reversed .split-media__container {
  direction: rtl;
}

.split-media--reversed .split-media__container > * {
  direction: ltr;
}

.split-media__images {
  position: relative;
}

.split-media__image-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.split-media__image-main img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media__image-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 45%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.split-media--reversed .split-media__image-secondary {
  right: auto;
  left: -2rem;
}

.split-media__image-secondary img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media__content {
  padding: 1rem 0;
}

.split-media__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.split-media__body {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.split-media__body p {
  margin-bottom: 1rem;
}

.split-media__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.split-media__checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.split-media__checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────
   Testimonial Section
   ───────────────────────────────────────────────────────────────────────── */

.testimonial {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
}

.testimonial--olive {
  background: var(--olive);
  color: white;
}

.testimonial--cream {
  background: var(--cream);
  color: var(--text-primary);
}

.testimonial--white {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.testimonial__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonial__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.testimonial__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testimonial--olive .testimonial__quote {
  color: white;
}

.testimonial__quote::before {
  content: "\201C";
  display: block;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.testimonial__author {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial--olive .testimonial__author {
  color: white;
}

.testimonial__role {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Numbered Steps Section
   ───────────────────────────────────────────────────────────────────────── */

.numbered-steps {
  padding: 5rem 2rem;
  background: var(--bg-primary);
  scroll-margin-top: 80px;
}

.numbered-steps__container {
  max-width: 1120px;
  margin: 0 auto;
}

.numbered-steps__header {
  text-align: center;
  margin-bottom: 3rem;
}

.numbered-steps__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.numbered-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.numbered-steps__step {
  text-align: center;
  padding: 1rem;
}

.numbered-steps__number {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 1rem;
}

.numbered-steps__step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.numbered-steps__step-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Contact Form Section
   ───────────────────────────────────────────────────────────────────────── */

.contact-form-section {
  padding: 5rem 2rem;
}

.contact-form-section--olive {
  background: var(--olive);
  color: white;
}

.contact-form-section--dark {
  background: var(--sidebar-bg);
  color: white;
}

.contact-form-section__container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-section__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.contact-form-section__subtitle {
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form-section__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.contact-form-section__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  background: white;
  color: var(--text-primary);
}

.contact-form-section__input::placeholder {
  color: var(--text-muted);
}

.contact-form-section__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form-section__submit {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-form-section--olive .contact-form-section__submit {
  background: var(--olive-dark);
  color: white;
}

.contact-form-section--olive .contact-form-section__submit:hover {
  background: #3d4a2f;
}

.contact-form-section--dark .contact-form-section__submit {
  background: var(--accent);
  color: white;
}

.contact-form-section--dark .contact-form-section__submit:hover {
  background: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Figma Blocks — Responsive
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .split-media__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-media--reversed .split-media__container {
    direction: ltr;
  }

  .split-media__image-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    width: 60%;
    margin-top: -3rem;
    margin-left: auto;
  }

  .split-media--reversed .split-media__image-secondary {
    left: auto;
    margin-left: auto;
  }

  .hero-fullbleed__stats {
    gap: 1.5rem;
  }

  .hero-tranche,
  .hero-tranche--reverse {
    flex-direction: column;
  }

  .hero-tranche__viz {
    height: 248px;
  }
}

@media (max-width: 768px) {
  .hero-fullbleed {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-fullbleed__content {
    padding: 2rem 1.5rem;
  }

  .hero-fullbleed__headline {
    font-size: 2rem;
  }

  .hero-fullbleed__viz {
    margin-bottom: 1.75rem;
    border-radius: 10px;
  }

  .hero-fullbleed__logos {
    gap: 1.5rem;
  }

  .hero-fullbleed__logos img {
    height: 22px;
  }

  .hero-fullbleed__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-tranches {
    margin-top: 2rem;
  }

  .hero-tranches__header {
    padding: 1rem;
  }

  .hero-tranches__header h2 {
    font-size: 1.0625rem;
  }

  .hero-tranche__content {
    padding: 1rem;
  }

  .hero-tranche__viz {
    height: 232px;
  }

  .feature-viz-controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .feature-viz-control--range {
    grid-column: 1 / -1;
  }

  .feature-viz-chip {
    justify-self: start;
  }

  .feature-viz-note {
    font-size: 0.66rem;
  }

  .split-media {
    padding: 3rem 1.5rem;
  }

  .split-media__title {
    font-size: 1.5rem;
  }

  .testimonial {
    padding: 3rem 1.5rem;
  }

  .numbered-steps {
    padding: 3rem 1.5rem;
  }

  .numbered-steps__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .numbered-steps__number {
    font-size: 2.5rem;
  }

  .contact-form-section {
    padding: 3rem 1.5rem;
  }

  .contact-form-section__form {
    flex-direction: column;
  }

  .contact-form-section__submit {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Memory Timeline — Annotated longitudinal chart section (dark bg)
   ───────────────────────────────────────────────────────────────────────── */

.memory-timeline {
  padding: 5rem 2rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.memory-timeline__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.memory-timeline__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 620px;
}

.memory-timeline__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2dd4bf;
  padding: 0.25rem 0.75rem;
  background: rgba(45, 212, 191, 0.1);
  border-radius: 100px;
  width: fit-content;
}

.memory-timeline__headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #f8fafc;
  line-height: 1.2;
  margin: 0;
}

.memory-timeline__subtext {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 54ch;
  margin: 0;
}

.memory-timeline__chart-wrap {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem 1rem 0.5rem;
}

.memory-timeline__chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.memory-timeline__caption {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
}

.memory-timeline__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

.memory-timeline__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.memory-timeline__stat-value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  line-height: 1;
}

.memory-timeline__stat-label {
  font-size: 0.75rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .memory-timeline__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .memory-timeline {
    padding: 3rem 1.25rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Product Showcase — Landing page product-area sections
   ───────────────────────────────────────────────────────────────────────── */

.product-showcase {
  border-top: 1px solid var(--border);
}

.product-showcase__section {
  padding: 5rem 2rem;
  background: var(--bg-primary);
}

.product-showcase__section--tinted {
  background: var(--bg-secondary);
}

.product-showcase__container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
}

.product-showcase__section--reversed .product-showcase__container {
  direction: rtl;
  grid-template-columns: 3fr 2fr;
}

.product-showcase__section--reversed .product-showcase__content,
.product-showcase__section--reversed .product-showcase__viz-wrap {
  direction: ltr;
}

.product-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-showcase__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  background: var(--accent-muted);
  border-radius: 100px;
  width: fit-content;
}

.product-showcase__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.25;
}

.product-showcase__description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.product-showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  width: fit-content;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.product-showcase__cta:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.product-showcase__viz-wrap {
  min-height: 300px;
  position: relative;
}

.product-showcase__viz-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.product-showcase__viz-wrap .hero-feature-pod__viz {
  width: 100%;
  min-height: 300px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
}

.product-showcase__viz-wrap .hero-feature-pod__viz--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Product showcase screenshots ─────────────────────────────────────── */

.product-showcase__aside {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
  font-style: italic;
}

.product-showcase__screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

/* ── Sentiment trend chart SVG styles ─────────────────────────────────── */

.product-viz-sentiment__grid line {
  stroke: var(--border);
  stroke-width: 1;
}

.product-viz-sentiment__grid path {
  display: none;
}

.product-viz-sentiment__axis text {
  fill: var(--text-muted);
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-sentiment__axis path,
.product-viz-sentiment__axis line {
  stroke: var(--border);
}

.product-viz-sentiment__signal-band {
  fill: var(--accent);
  opacity: 0.05;
}

.product-viz-sentiment__line--baseline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-viz-sentiment__line--disabled {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-viz-sentiment__line--lgbtq {
  fill: none;
  stroke: #dc2626;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 3;
}

.product-viz-sentiment__line--carers {
  fill: none;
  stroke: #d97706;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 4;
}

.product-viz-sentiment__dot--baseline {
  fill: var(--accent);
}

.product-viz-sentiment__dot--disabled {
  fill: #7c3aed;
}

.product-viz-sentiment__dot--lgbtq {
  fill: #dc2626;
}

.product-viz-sentiment__dot--carers {
  fill: #d97706;
}

.product-viz-sentiment__dot {
  animation: sentimentDotPulse 2.8s ease-in-out infinite;
}

.product-viz-sentiment__dot:nth-child(2) { animation-delay: 0.7s; }
.product-viz-sentiment__dot:nth-child(3) { animation-delay: 1.4s; }
.product-viz-sentiment__dot:nth-child(4) { animation-delay: 2.1s; }

@keyframes sentimentDotPulse {
  0%, 100% { r: 4; opacity: 1; }
  50% { r: 6; opacity: 0.7; }
}

.product-viz-sentiment__legend-pill {
  fill: var(--bg-secondary);
  stroke: var(--border);
  stroke-width: 1;
  rx: 4;
}

.product-viz-sentiment__legend-text {
  fill: var(--text-secondary);
  font-size: 9.5px;
  font-family: "DM Sans", sans-serif;
}

/* ── Strategy balance chart SVG styles ────────────────────────────────── */

.product-viz-strategy__grid line {
  stroke: var(--border-light);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.product-viz-strategy__grid path {
  display: none;
}

.product-viz-strategy__axis text {
  fill: var(--text-muted);
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__axis path,
.product-viz-strategy__axis line {
  stroke: var(--border);
}

.product-viz-strategy__center-line {
  stroke: var(--text-primary);
  stroke-width: 1.5;
}

.product-viz-strategy__bar--positive {
  fill: var(--accent);
  opacity: 0.82;
}

.product-viz-strategy__bar--concern {
  fill: #dc2626;
  opacity: 0.75;
}

.product-viz-strategy__bar--positive:hover,
.product-viz-strategy__bar--concern:hover {
  opacity: 1;
}

.product-viz-strategy__cohort-label {
  fill: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__value-label {
  fill: white;
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__concern-dot {
  fill: #dc2626;
  stroke: white;
  stroke-width: 1.5;
}

.product-viz-strategy__legend-text {
  fill: var(--text-muted);
  font-size: 9.5px;
  font-family: "DM Sans", sans-serif;
}

/* ── Product showcase responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .product-showcase__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-showcase__section--reversed .product-showcase__container {
    direction: ltr;
  }

  .product-showcase__viz-wrap {
    min-height: 260px;
  }

  .product-showcase__viz-wrap .hero-feature-pod__viz {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .product-showcase__section {
    padding: 3.5rem 1.5rem;
  }

  .product-showcase__container {
    gap: 2rem;
  }

  .product-showcase__viz-wrap {
    min-height: 220px;
  }

  .product-showcase__viz-wrap .hero-feature-pod__viz {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-viz-map__routes path,
  .hero-viz-london__route,
  .hero-viz-map__node,
  .hero-viz-memory__ring path,
  .hero-viz-memory__arrow,
  .hero-viz-memory__rail rect,
  .feature-viz-capacity__pressure-dot,
  .product-viz-sentiment__dot {
    animation: none !important;
  }
}
