/* ── Skip navigation (WCAG 2.4.1) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--blue-700, #1d4ed8);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 0.375rem 0.375rem;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

:root {
  /* ── Color: Blue scale ── */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;

  /* ── Color: Slate scale ── */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* ── Color: Semantic accents ── */
  --green: #059669;
  --red: #dc2626;
  --purple: #7c3aed;
  --cyan: #06b6d4;
  --orange: #f97316;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-800: #92400e;

  /* ── Color: Sky (subscribe / light blue) ── */
  --sky-50: #f0f9ff;

  /* ── Color: Success / Error state ── */
  --success: #16a34a;
  --success-dark: #15803d;
  --success-darker: #166534;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --error: #dc2626;

  /* ── Aliases ── */
  --line: #e5e7eb;
  --soft: var(--slate-50);
  --soft-blue: var(--blue-50);

  /* ── Layout ── */
  --shell: min(1120px, calc(100vw - 40px));

  /* ── Shadows ── */
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12);

  /* ── Radii ── */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* ── Type scale ── */
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 22px;
  --text-4xl: 24px;
  --text-5xl: 28px;
  --text-6xl: 34px;
  --text-7xl: 36px;
  --text-8xl: 44px;
  --text-hero: clamp(40px, 4vw, 52px);
  --text-section: clamp(28px, 3vw, 34px);

  /* ── Spacing scale ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 16px;
  --space-7: 18px;
  --space-8: 20px;
  --space-9: 24px;
  --space-10: 28px;
  --space-11: 32px;
  --space-12: 40px;
  --space-13: 48px;
  --space-section: 64px;
  --space-section-mobile: 48px;
}

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

/* Ensure [hidden] always wins even when CSS sets display explicitly */
[hidden] {
  display: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--slate-900);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ── Focus visible (WCAG 2.4.7) ── */
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove focus ring for mouse users — only show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

.page-shell {
  min-height: 100vh;
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-9);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--slate-900);
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-9);
}

.nav-group {
  position: relative;
  padding: 10px 0 18px;
  margin: -10px 0 -18px;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-700);
  font-size: var(--text-lg);
  font-weight: 500;
}

.nav-link::after {
  content: "▼";
  font-size: 9px;
  opacity: 0.7;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--blue-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-4) var(--space-9);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--text-base);
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.5);
}

.button-secondary:hover {
  box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.3);
}

.button-primary {
  background: var(--blue-600);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}

.button-dark {
  background: var(--slate-900);
}

.button-light {
  background: #fff;
  border-color: #fff;
  color: var(--blue-600);
}

.mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(980px, 92vw);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-group:hover .mega-panel,
.nav-group.is-open .mega-panel,
.nav-group:focus-within .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Platform nav-group: panel anchored to trigger's left edge so its wider content does not clip */
/* .nav-group:first-child .mega-panel {
  left: 0;
  transform: translateX(0) translateY(10px);
}
.nav-group:first-child:hover .mega-panel,
.nav-group:first-child.is-open .mega-panel,
.nav-group:first-child:focus-within .mega-panel {
  transform: translateX(0) translateY(0);
} */

.mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: var(--space-6);
}

.mega-feature,
.mega-column {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.mega-feature {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-color: var(--blue-200);
}

.mega-feature h3 {
  margin: 14px 0 8px;
  font-size: var(--text-xl);
  line-height: 1.2;
}

.mega-column strong {
  margin: 0 0 2px;
  font-size: var(--text-base);
  line-height: 1.3;
}

.mega-feature p,
.mega-item span {
  margin: 0;
  color: var(--slate-600);
  font-size: var(--text-sm);
}

.mega-heading {
  margin-bottom: 12px;
  color: var(--slate-600);
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mega-heading-inline {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-bottom: 6px;
}

.mega-heading-inline + .mega-item {
  border-top: none;
}

.mega-item {
  display: block;
  padding: 14px 12px;
  margin: 0 -12px;
  border-top: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mega-item:hover,
.mega-item:focus-visible {
  background: var(--blue-50);
  transform: translateX(2px);
}

.mega-item:hover strong {
  color: var(--blue-700);
}

.mega-item strong,
.mega-item span {
  display: block;
}

.mega-item strong {
  margin-bottom: 4px;
}

.mega-item span {
  font-size: var(--text-xs);
  line-height: 1.45;
}

.mega-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue-600);
  font-size: var(--text-base);
  font-weight: 600;
}

.text-link::after {
  content: "→";
}

.mobile-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 72px;
  background: linear-gradient(180deg, var(--soft-blue), #fff);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent);
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-9);
  color: var(--slate-700);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.breadcrumbs a {
  color: var(--slate-600);
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs .sep {
  color: var(--slate-400);
  font-weight: 400;
}

.breadcrumbs > *:last-child {
  color: var(--slate-900);
  font-weight: 600;
}

.hero-grid,
.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--space-13);
  align-items: center;
}

.hero-copy h1,
.hero-center-copy h1,
.detail-hero-grid h1 {
  margin: 16px 0 16px;
  font-size: var(--text-hero);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: var(--text-2xl);
  font-weight: 500;
}

.hero-description,
.motiff-copy,
.section-head p,
.workflow-item p,
.detail-section p,
.sidebar-card p,
.footer-copy,
.resource-inline-meta span {
  color: var(--slate-600);
}

.hero-description {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: var(--text-lg);
  line-height: 1.7;
}

.hero-proof-line {
  max-width: 640px;
  margin: -12px 0 24px;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--slate-600);
}

.trust-industry-note {
  max-width: 720px;
  margin: -8px auto 24px;
  text-align: center;
  font-size: var(--text-sm);
  line-height: 1.65;
}

.trust-proof-grid {
  margin-top: 8px;
}

.split-copy .workflow-intro-extra {
  margin-top: 16px;
}

.section-narrow-note {
  max-width: 820px;
  margin: -8px auto 28px;
  text-align: center;
  line-height: 1.65;
}

.hero-center-copy .hero-crosslink {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: var(--text-sm);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-actions {
  justify-content: center;
}

.hero-visual img,
.split-image img,
.detail-hero-image img,
.resource-card img,
.featured-resource img,
.image-card img,
.team-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  object-position: left center;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* SVG diagrams: show full diagram, don't clip. */
.hero-visual img[src$=".svg"],
.split-image img[src$=".svg"],
.detail-hero-image img[src$=".svg"],
.detail-feature-image[src$=".svg"],
.featured-resource img[src$=".svg"] {
  object-fit: contain;
  background: var(--soft, #f8fafc);
  padding: 16px;
  box-sizing: border-box;
  min-height: 0 !important;
  height: auto !important;
  width: 100%;
  max-width: 100%;
  max-height: 520px;
  border-radius: 16px;
}

/* Product screenshots (PNG): anchor to top-left so nav sidebar + content area show at full scale.
.hero-visual img[src$=".png"],
.split-image img[src$=".png"],
.home-detail-image img[src$=".png"] {
  object-fit: cover;
  object-position: left top;
} */

.hero-stat-row,
.hero-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-9);
  margin-top: var(--space-8);
}

.hero-stat {
  min-width: 0;
}

.hero-stat strong,
.hero-chip strong {
  display: block;
  color: var(--slate-900);
  font-size: var(--text-5xl);
  font-weight: 800;
}

.hero-stat span,
.hero-chip {
  color: var(--slate-600);
  font-size: var(--text-base);
}

.hero-centered .breadcrumbs {
  justify-content: center;
}

.hero-centered .hero-center-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-centered .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.motiff-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.motiff-badge-blue {
  background: var(--blue-600);
  color: #fff;
}

.section,
.band-dark,
.subscribe-band,
.cta-strip {
  padding: var(--space-section) 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-13);
}

.section-head.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: var(--text-section);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  font-size: var(--text-lg);
}

.card-grid,
.resource-grid,
.image-card-grid,
.team-grid,
.topic-grid,
.pricing-grid,
.metric-band-grid {
  display: grid;
  gap: var(--space-9);
}

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

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

/* 5-child grid-3: center orphan row 2 by spanning 6-col underlay */
.resource-grid.grid-3:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.resource-grid.grid-3:has(> :nth-child(5):last-child) > * {
  grid-column: span 2;
}
.resource-grid.grid-3:has(> :nth-child(5):last-child) > :nth-child(4) {
  grid-column: 2 / span 2;
}
.resource-grid.grid-3:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 4 / span 2;
}

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

.info-card,
.resource-card,
.image-card,
.pricing-card,
.sidebar-card,
.form-card,
.form-info,
.team-card,
.topic-card,
.workflow-item,
.featured-resource {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.resource-card,
.image-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.resource-card:hover,
.image-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.info-card,
.pricing-card,
.sidebar-card,
.form-card,
.form-info,
.team-card,
.workflow-item {
  padding: var(--space-9);
}

.info-card,
.pricing-card,
.team-card,
.topic-card,
.workflow-item {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.info-card:hover,
.pricing-card:hover,
.team-card:hover,
.topic-card:hover,
.workflow-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.info-card.is-soft {
  background: #fff;
}

.regulation-cards .info-card { border-left: 4px solid var(--blue-600); }
.regulation-cards .info-card:nth-child(2) { border-left-color: var(--purple); }
.regulation-cards .info-card:nth-child(3) { border-left-color: var(--green); }
.regulation-cards .info-card:nth-child(4) { border-left-color: var(--orange); }
.regulation-cards .info-card:nth-child(5) { border-left-color: var(--cyan); }
.regulation-cards .info-card:nth-child(6) { border-left-color: var(--red); }

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--soft-blue);
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background: var(--blue-600);
}

.card-kicker,
.resource-meta {
  color: var(--blue-600);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card h3,
.resource-card h3,
.image-card h3,
.pricing-card h3,
.featured-resource h2,
.workflow-item h3,
.team-card h3,
.detail-section h2,
.sidebar-card h3 {
  margin: 10px 0 10px;
  font-size: var(--text-3xl);
  line-height: 1.25;
}

.motiff-copy {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.7;
}

.card-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--slate-700);
  font-size: var(--text-md);
}

.card-list li + li {
  margin-top: 8px;
}

.home-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-11);
}

.home-module-card,
.home-result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-11);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-module-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-600);
}

.home-module-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--blue-600);
}

.module-svg,
.hub-svg,
.compliance-svg,
.standard-svg,
.check-svg,
.check-circle-svg,
.hub-core-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-module-card h3,
.home-result-card h3,
.home-step h3 {
  margin: 0 0 12px;
  font-size: var(--text-4xl);
  line-height: 1.2;
}

.home-module-card p,
.home-result-card p,
.home-step p,
.home-compliance-shell p,
.quality-hub-panel p,
.home-detail-copy p {
  margin: 0;
  color: var(--slate-600);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.home-module-list,
.home-detail-list {
  margin: var(--space-8) 0 var(--space-9);
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.home-module-list li,
.home-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate-700);
  font-size: var(--text-base);
}

.check-svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  color: var(--blue-600);
}

.check-circle-svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: 0 0 20px;
  color: var(--blue-600);
}

.quality-hub-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 36px 36px;
  box-shadow: var(--shadow);
}

.quality-hub-grid {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hub-column {
  display: grid;
  gap: var(--space-9);
}

.hub-node {
  min-height: 120px;
  padding: 24px;
  border-radius: 16px;
  background: var(--soft-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hub-node span {
  display: block;
  margin-top: 10px;
  color: var(--slate-900);
  font-size: var(--text-base);
  font-weight: 600;
}

.hub-svg {
  width: 40px;
  height: 40px;
  color: var(--blue-600);
}

.hub-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-center::before,
.hub-center::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: var(--blue-600);
  opacity: 0.4;
}

.hub-center::before {
  right: 100%;
}

.hub-center::after {
  left: 100%;
}

.hub-core {
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 24px 40px rgba(37, 99, 235, 0.25);
}

.hub-core strong {
  display: block;
  margin-top: 10px;
  font-size: var(--text-3xl);
  font-weight: 700;
}

.hub-core-icon {
  width: 56px;
  height: 56px;
}

.hub-bottom-row {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-10);
}

.hub-bottom-row .hub-node {
  width: 180px;
}

.home-detail-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.home-detail-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.home-detail-tab {
  min-height: 62px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #fff;
  color: var(--slate-600);
  font-size: var(--text-sm);  /* was var(--text-md) = 15px → now 13px; all 7 labels fit 1 line */
  font-weight: 600;
}

.home-detail-tab.is-active {
  background: var(--soft-blue);
  border-bottom-color: var(--blue-600);
  color: var(--blue-600);
}

.home-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  padding: var(--space-12);
  align-items: start;
}

.home-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left center;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.home-detail-copy h3 {
  margin: 0 0 10px;
  font-size: var(--text-5xl);
  line-height: 1.2;
}

.home-detail-desc {
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: var(--text-md);
  line-height: 1.6;
}

.home-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.home-standard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--slate-700);
  font-size: var(--text-xs);
  font-weight: 600;
}

.standard-svg {
  width: 16px;
  height: 16px;
  color: var(--blue-600);
}

.home-compliance-shell {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.home-compliance-shell h2 {
  margin: 0 0 14px;
  font-size: var(--text-7xl);
  line-height: 1.15;
}

.home-compliance-shell p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  margin: 0 auto 36px;
}

.home-compliance-shell .text-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-compliance-shell .text-link:hover {
  color: #fff;
}

.home-compliance-grid,
.home-compliance-stats,
.home-results-grid,
.home-steps {
  display: grid;
  gap: var(--space-9);
}

.home-compliance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: var(--space-12);
}

.home-compliance-card {
  padding: 24px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.compliance-svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: #fff;
}

.home-compliance-card span {
  display: block;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
}

.home-compliance-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-compliance-stat strong,
.home-result-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: var(--text-8xl);
  font-weight: 800;
}

.home-compliance-stat strong {
  color: #fff;
}

.home-compliance-stat span {
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-lg);
  font-weight: 600;
}

.home-steps {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-steps::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line);
}

.home-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.home-step-circle {
  width: 94px;
  height: 94px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.home-step-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-600);
  font-size: var(--text-xs);
  font-weight: 700;
}

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

.home-result-card {
  text-align: center;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-13);
  align-items: center;
}

.split-image img {
  min-height: 360px;
  box-shadow: var(--shadow);
}

.workflow-list {
  display: grid;
  gap: var(--space-6);
}

.workflow-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-6);
}

.workflow-step {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff;
  font-size: var(--text-base);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.workflow-meta {
  display: inline-block;
  margin: 8px 0 0;
  padding: 4px 12px;
  background: var(--soft-blue);
  color: var(--blue-600);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 999px;
}

.band-dark {
  background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
  padding: 48px 0;
}

.band-amber {
  background: var(--amber-50);
  border-top: 1px solid var(--amber-100);
  border-bottom: 1px solid var(--amber-100);
}

.band-amber .metric-band-card {
  color: var(--slate-900);
}

.band-amber .metric-band-card strong {
  color: var(--amber-800);
}

.band-amber .metric-band-card small {
  color: var(--slate-600);
}

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

.metric-band-card {
  text-align: center;
  color: #fff;
}

.metric-band-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-6xl);
  font-weight: 800;
}

.metric-band-card span {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
}

.metric-band-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.image-card,
.resource-card {
  overflow: hidden;
}

.resource-card img {
  aspect-ratio: 16 / 10;
  object-position: left center;
}

.image-card img {
  aspect-ratio: 16 / 9;
  object-position: center center;
}

.image-card-body,
.resource-card-body {
  padding: 20px;
}

.featured-resource {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  overflow: hidden;
}

.featured-resource img {
  height: 100%;
  min-height: 320px;
  border-radius: 0;
}

.featured-resource-body {
  padding: var(--space-11);
}

.resource-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: var(--text-sm);
}

.resource-hero .search-shell,
.subscribe-form {
  max-width: 620px;
  margin: 24px auto 0;
}

.listing-filter-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.listing-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--slate-900);
  font-size: var(--text-lg);
  font-weight: 600;
}

.listing-sort {
  color: var(--slate-600);
  font-size: var(--text-base);
  font-weight: 500;
}

.featured-article-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.featured-article-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.featured-article-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.featured-flag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
}

.featured-article-overlay h2 {
  margin: 14px 0 10px;
  font-size: var(--text-6xl);
  line-height: 1.15;
}

.featured-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-base);
}

.featured-article-copy {
  margin-top: 20px;
}

.featured-article-copy p {
  margin: 0 0 8px;
  color: var(--slate-700);
  font-size: var(--text-lg);
}

.blog-card-grid,
.feature-mini-grid,
.template-card-grid {
  display: grid;
  gap: var(--space-9);
}

.blog-card-grid,
.feature-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Single-card listing: center + cap width so lone card doesn't span full row */
.blog-card-grid:has(> :only-child),
.feature-mini-grid:has(> :only-child),
.template-card-grid:has(> :only-child),
.resource-grid.grid-3:has(> :only-child) {
  grid-template-columns: minmax(0, 540px);
  justify-content: center;
}

.blog-card,
.template-card,
.mini-feature-card,
.glossary-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.blog-card {
  overflow: hidden;
}

.blog-card-image {
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: var(--text-2xs);
  font-weight: 700;
}

.blog-card-badge.badge-purple { background: var(--purple); }
.blog-card-badge.badge-cyan { background: var(--cyan); }
.blog-card-badge.badge-orange { background: var(--orange); }
.blog-card-badge.badge-green { background: var(--green); }
.blog-card-badge.badge-red { background: var(--red); }
.blog-card-badge.badge-amber { background: var(--amber); }

.blog-card-body,
.template-card-body,
.mini-feature-card,
.glossary-group-card {
  padding: 22px;
}

.blog-card-meta,
.blog-card-footer,
.article-meta-row,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.blog-card-meta,
.article-meta-row {
  color: var(--slate-600);
  font-size: var(--text-sm);
}

.blog-card-body h3,
.template-card-body h3,
.mini-feature-card h3 {
  margin: 12px 0 10px;
  font-size: var(--text-3xl);
  line-height: 1.25;
}

.blog-card-body p,
.template-card-body p,
.mini-feature-card p,
.glossary-term-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: var(--text-base);
  line-height: 1.7;
}

.blog-card-footer {
  justify-content: space-between;
  margin-top: 18px;
}

.blog-author,
.icon-meta,
.article-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.avatar-mini,
.inline-mini,
.action-mini,
.time-svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  color: currentColor;
}

.pagination-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate-700);
  font-size: var(--text-base);
  font-weight: 700;
}

.page-pill.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.template-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: var(--slate-700);
  font-size: var(--text-base);
  font-weight: 600;
}

.template-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.template-hero-pills span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.mini-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-svg {
  width: 22px;
  height: 22px;
  color: var(--blue-600);
}

.template-card {
  overflow: hidden;
}

.template-card-image {
  position: relative;
}

.template-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.template-download {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.template-feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--slate-700);
  font-size: var(--text-base);
}

.template-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.glossary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 280px;
  gap: var(--space-9);
  align-items: start;
}

.glossary-main {
  display: grid;
  gap: 20px;
}

.glossary-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.glossary-group-head h2 {
  margin: 0;
  font-size: var(--text-4xl);
  line-height: 1.2;
}

.glossary-group-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-600);
  font-size: var(--text-xs);
  font-weight: 700;
}

.glossary-term-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.glossary-term-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--soft);
  color: inherit;
  border-left: 4px solid transparent;
}

.glossary-term-card:first-child {
  border-left-color: var(--blue-600);
}

.glossary-term-card h3 {
  margin: 0 0 6px;
  color: var(--slate-900);
  font-size: var(--text-lg);
  line-height: 1.3;
}

.glossary-term-icon {
  color: var(--blue-600);
}

.search-shell {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.search-shell input,
.search-shell select,
.search-shell textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.filter-row.compact {
  justify-content: flex-start;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue-600);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  font-size: var(--text-sm);
  font-weight: 500;
}

.filter-chip.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.subscribe-band {
  background: linear-gradient(135deg, var(--sky-50), var(--blue-50));
}

.subscribe-inner,
.cta-strip-inner {
  max-width: 720px;
  text-align: center;
}

.subscribe-dot,
.cta-dot {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.subscribe-icon {
  width: 22px;
  height: 22px;
}

.subscribe-inner h2,
.cta-strip-inner h2 {
  margin: 0 0 10px;
  font-size: var(--text-6xl);
  line-height: 1.15;
}

.subscribe-inner p,
.cta-strip-inner p {
  margin: 0 0 20px;
  color: var(--slate-600);
}

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

.topic-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 16px;
  font-weight: 600;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: var(--space-12);
  align-items: start;
}

.detail-layout > aside {
  position: sticky;
  top: 96px;
}

.reading-progress {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  height: 4px;
  background: var(--line);
}

.reading-progress-bar {
  width: 36%;
  height: 100%;
  background: var(--blue-600);
}

.detail-main {
  display: grid;
  gap: var(--space-10);
}

.detail-feature-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.detail-section {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
}

.detail-section:last-child {
  border-bottom: 0;
}

.detail-section h2 {
  margin-top: 0;
}

.detail-section p {
  margin: 0;
  color: var(--slate-700);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.sidebar-card + .sidebar-card {
  margin-top: 16px;
}

.sidebar-links {
  display: grid;
  gap: 10px;
}

.sidebar-links a {
  color: var(--blue-600);
  font-weight: 600;
  padding-left: 14px;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sidebar-links a.is-active {
  border-left-color: var(--blue-600);
}

.sidebar-button {
  width: 100%;
  margin-top: 10px;
}

.callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--soft-blue);
  border: 1px solid var(--blue-200);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
}

.detail-actions {
  margin-top: 18px;
}

.detail-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate-700);
  font-size: var(--text-base);
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.detail-action:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-11);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-700);
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: 0;
}

.field textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.form-submit {
  margin-top: 18px;
}

/* Form validation states */
.field-error {
  display: block;
  font-size: var(--text-xs);
  color: var(--error);
  min-height: 18px;
  margin-top: var(--space-1);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--error);
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field.has-success input,
.field.has-success textarea,
.field.has-success select {
  border-color: var(--success);
}

.form-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-9);
  margin-bottom: var(--space-6);
}

.form-success strong {
  display: block;
  color: var(--success-dark);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.form-success p {
  color: var(--success-darker);
  font-size: var(--text-base);
  margin: 0;
}

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

.pricing-card.is-featured {
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}

.price {
  margin: 8px 0 12px;
  color: var(--blue-600);
  font-size: var(--text-5xl);
  font-weight: 800;
}

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

.team-card {
  text-align: center;
}

.team-card img {
  height: 280px;
  margin-bottom: 16px;
}

.team-card p {
  margin: 0;
  color: var(--slate-600);
}

.faq-list {
  display: grid;
  gap: var(--space-5);
}

.faq-item {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--slate-600);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--slate-400);
  border-radius: 50%;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-chevron::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--slate-500);
  border-bottom: 2px solid var(--slate-500);
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  border-color: var(--blue-600);
}

.faq-a {
  padding-bottom: 20px;
  color: var(--slate-600);
}

.faq-a p {
  margin: 0;
}

/* Outcomes grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-9);
  margin-top: var(--space-12);
}

.outcome-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid;
  gap: 8px;
}

.outcome-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.outcome-svg {
  width: 22px;
  height: 22px;
}

.outcome-value {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}

.outcome-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

.outcome-card p {
  font-size: var(--text-base);
  color: var(--slate-600);
  margin: 0;
  line-height: 1.55;
}

/* Comparison table */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin-top: var(--space-12);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
  background: #fff;
}

.comparison-table thead {
  background: var(--slate-50);
}

.comparison-table th {
  padding: 14px 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--slate-700);
}

.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}

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

.comparison-table tbody tr:hover {
  background: var(--slate-50);
}

.comp-head {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comp-head.comp-yes { color: var(--blue-600); }
.comp-head.comp-no { color: var(--slate-600); }
.comp-head.comp-partial { color: var(--amber); }

.comp-cell {
  text-align: center;
}

.comp-check {
  color: var(--blue-600);
  font-size: var(--text-xl);
  font-weight: 700;
}

.comp-x {
  color: var(--slate-300);
  font-size: var(--text-xl);
}

.comp-partial-dot {
  color: var(--amber);
  font-size: var(--text-xl);
}

/* ALCOA+ card grid */
.alcoa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.alcoa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.alcoa-letter {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.alcoa-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 8px;
}

.alcoa-card p {
  font-size: var(--text-base);
  color: var(--slate-600);
  margin: 0 0 12px;
  line-height: 1.55;
}

.alcoa-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--slate-600);
  font-size: var(--text-sm);
  display: grid;
  gap: 6px;
}

.alcoa-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.alcoa-check-icon {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Glossary tab strip */
.glossary-tab-strip {
  display: flex;
  gap: 0;
  height: 64px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 80px;
  z-index: 40;
  background: #fff;
}

.glossary-tab-strip::-webkit-scrollbar {
  display: none;
}

.glossary-tab-btn {
  padding: 0 22px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--slate-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.glossary-tab-btn:hover {
  color: var(--slate-800);
}

.glossary-tab-btn.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

.glossary-tab-panel {
  display: none;
}

.glossary-tab-panel.is-active {
  display: block;
}

.glossary-tab-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-12);
  align-items: start;
  padding-top: var(--space-2);
}

.glossary-tab-body h2 {
  font-size: var(--text-3xl);
  margin: 0 0 16px;
}

.glossary-tab-body p {
  color: var(--slate-600);
  line-height: 1.7;
}

.glossary-tab-aside {
  display: grid;
  gap: 16px;
}

/* Resource read-time badge */
.resource-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--slate-500);
  font-weight: 500;
}

.resource-time svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Industry crosslink grid */
.industry-crosslink-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.industry-crosslink-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.industry-crosslink-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-crosslink-img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.industry-crosslink-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.crosslink-svg {
  width: 22px;
  height: 22px;
}

.industry-crosslink-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.industry-crosslink-copy strong {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--slate-900);
}

.industry-crosslink-copy span {
  font-size: var(--text-sm);
  color: var(--slate-500);
}

.industry-crosslink-arrow {
  color: var(--slate-300);
  font-size: var(--text-xl);
  transition: color 0.15s ease, transform 0.15s ease;
}

.industry-crosslink-card:hover .industry-crosslink-arrow {
  color: var(--blue-600);
  transform: translateX(3px);
}

/* Certification / trust logos bar */
.cert-logo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: center;
  padding: 36px 0 24px;
}

.cert-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cert-logo-badge {
  width: 120px;
  height: 120px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  font-weight: 700;
  font-size: var(--text-sm);
  text-align: center;
  padding: 12px;
  line-height: 1.3;
}

.cert-logo-name {
  font-size: var(--text-sm);
  color: var(--slate-500);
  text-align: center;
  max-width: 140px;
}

.cta-strip {
  background: linear-gradient(180deg, var(--blue-600), var(--blue-900));
  position: relative;
  overflow: hidden;
  padding: 48px 0;
}

.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.05) 20px,
    rgba(255, 255, 255, 0.05) 40px
  );
  pointer-events: none;
}

.cta-strip-inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-strip-inner p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 64px 0 var(--space-10);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-copy {
  margin: 16px 0 0;
  font-size: var(--text-md);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--slate-600);
  font-size: var(--text-base);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--blue-600);
}

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  color: var(--slate-600);
  font-size: var(--text-base);
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0;
  }

  .mobile-toggle span,
  .mobile-toggle::before,
  .mobile-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--slate-900);
    position: absolute;
  }

  .mobile-toggle::before {
    transform: translateY(-6px);
  }

  .mobile-toggle::after {
    transform: translateY(6px);
  }

  .mobile-menu.is-open {
    display: block;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-inner {
    padding: 18px 0 24px;
  }

  .mobile-group {
    border-bottom: 1px solid var(--line);
  }

  .mobile-group summary {
    padding: 14px 0;
    list-style: none;
    font-weight: 600;
  }

  .mobile-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-links {
    display: grid;
    gap: 10px;
    padding: 0 0 14px;
  }

  .mobile-links a {
    color: var(--slate-600);
    font-size: var(--text-base);
  }

  .mobile-cta {
    margin-top: 16px;
  }

  .hero-grid,
  .detail-hero-grid,
  .split-panel,
  .featured-resource,
  .detail-layout,
  .form-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-2,
  .pricing-grid,
  .team-grid,
  .topic-grid,
  .home-modules-grid,
  .home-results-grid,
  .home-compliance-grid,
  .home-compliance-stats,
  .home-steps,
  .blog-card-grid,
  .template-card-grid,
  .feature-mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* grid-3 + metric-band stay 3-col at tablet — 3-card sections produce 3×1 not 2+1 orphan */
  .grid-3,
  .metric-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Bridge dead zone: grid stacks at 1100px but 360px min-height not reduced until 720px */
  .hero-visual img,
  .split-image img {
    min-height: 260px;
  }

  .quality-hub-grid,
  .home-detail-body,
  .glossary-layout {
    grid-template-columns: 1fr;
  }

  .home-detail-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hub-center::before,
  .hub-center::after,
  .home-steps::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100vw - 24px), 1120px);
  }

  .header-row {
    min-height: 72px;
  }

  .button-secondary {
    display: none;
  }

  /* Hide header CTA at mobile — CTA already present in mobile-cta inside mobile menu */
  .header-actions .button-primary {
    display: none;
  }

  /* Prevent h2 overflow in section heads at mobile */
  .section-head h2 {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-stat-row,
  .hero-chip-row {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .band-dark,
  .subscribe-band,
  .cta-strip {
    padding: var(--space-section-mobile) 0;
  }

  .hero-copy h1,
  .hero-center-copy h1,
  .detail-hero-grid h1 {
    font-size: var(--text-6xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .hero-actions,
  .cta-actions,
  .search-shell {
    flex-direction: column;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .metric-band-grid,
  .pricing-grid,
  .team-grid,
  .topic-grid,
  .form-grid,
  .home-modules-grid,
  .home-results-grid,
  .home-compliance-grid,
  .home-compliance-stats,
  .home-steps,
  .blog-card-grid,
  .template-card-grid,
  .feature-mini-grid {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }

  .home-detail-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .featured-resource img,
  .hero-visual img,
  .split-image img,
  .team-card img {
    min-height: 220px;
    height: 220px;
  }

  .quality-hub-panel,
  .home-detail-body,
  .home-module-card,
  .home-result-card {
    padding: 24px;
  }

  .hub-bottom-row {
    flex-direction: column;
    align-items: center;
  }

  .featured-article-card img,
  .detail-feature-image {
    height: 260px;
  }

  .listing-filter-head,
  .blog-card-footer,
  .article-meta-row,
  .detail-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: var(--text-base);
  }

  .glossary-tab-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .glossary-tab-content {
    grid-template-columns: 1fr;
  }

  .glossary-tab-aside {
    display: none;
  }

  .industry-crosslink-grid {
    grid-template-columns: 1fr;
  }

  .alcoa-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-landing-stack {
    --home-hero-visual-max-h: min(380px, 52vh);
  }

  .home-landing-visual img {
    max-height: var(--home-hero-visual-max-h);
  }

  .home-landing-trust-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .home-landing-trust-pills {
    justify-content: flex-start;
  }

  .home-landing-flow {
    font-size: var(--text-sm);
  }

  .home-landing-pilot-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-landing-pilot-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .home-landing-csv-mini {
    grid-template-columns: 1fr;
  }
}

/* ── Homepage: compliance intelligence landing (top stack) ── */
.home-landing-stack {
  --home-lp-navy: #0b192e;
  --home-lp-blue: #1d7bff;
  --home-lp-blue-soft: #e8f1ff;
  /* Keep hero visual from stretching the row taller than the copy block */
  --home-hero-visual-max-h: min(560px, 64vh);
}

.home-landing-hero {
  position: relative;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 55%);
  overflow: hidden;
}

.home-landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 123, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 123, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.home-landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--space-11);
  align-items: center;
}

.home-landing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--home-lp-blue-soft);
  color: #0b2a52;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-landing-badge-on-dark {
  background: rgba(29, 123, 255, 0.22);
  color: #e8f2ff;
}

.home-landing-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--home-lp-navy);
}

.home-landing-lede {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--slate-600);
}

.home-landing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.home-landing-pills-center {
  justify-content: center;
  margin-top: 28px;
  margin-bottom: 0;
}

.home-landing-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--home-lp-blue-soft);
  color: #143a66;
  font-size: var(--text-xs);
  font-weight: 600;
}

.home-landing-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin: 0 0 22px;
  font-size: var(--text-base);
  color: var(--slate-700);
}

.home-landing-flow strong {
  color: var(--home-lp-navy);
  font-weight: 700;
}

.home-landing-flow-sep {
  color: var(--slate-400);
  font-weight: 500;
  user-select: none;
}

.home-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.home-landing-btn-primary {
  background: var(--home-lp-blue);
  color: #fff;
  border-color: transparent;
  min-height: 46px;
  padding-inline: 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.home-landing-btn-primary:hover {
  background: #166bdf;
}

.home-landing-btn-outline {
  background: #fff;
  color: var(--home-lp-navy);
  border: 1px solid #c8d4e4;
  min-height: 46px;
  padding-inline: 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.home-landing-btn-outline:hover {
  border-color: var(--home-lp-navy);
}

.home-landing-footnote {
  margin: 0;
  max-width: 520px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--slate-500);
}

.home-landing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: var(--home-hero-visual-max-h);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 56px -20px rgba(15, 23, 42, 0.28), 0 4px 10px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
  background: #0f172a;
}

.home-landing-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: var(--home-hero-visual-max-h);
  height: auto;
  object-fit: contain;
  object-position: center top;
  margin-inline: auto;
}

.home-landing-trust {
  padding: 28px 0 40px;
  margin-top: 0;
}

.home-landing-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.home-landing-trust-lead {
  margin: 0;
  max-width: 420px;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--home-lp-navy);
  line-height: 1.45;
}

.home-landing-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}

.home-landing-trust-pills li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: var(--text-xs);
  font-weight: 600;
}

.home-go-live .home-landing-badge {
  display: table;
  margin: 0 auto 12px;
}

.home-go-live-head {
  margin-bottom: 28px;
}

.home-go-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-9);
  margin-bottom: 8px;
}

.home-go-live-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.home-go-live-card h3 {
  margin: 14px 0 4px;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
}

.home-go-live-when {
  margin: 0 0 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-500);
}

.home-go-live-desc {
  margin-bottom: 14px !important;
}

.home-go-live-includes-label {
  margin: 0 0 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-go-live-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-go-live-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.45;
}

.home-go-live-checklist li:last-child {
  margin-bottom: 0;
}

.home-go-live-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #3b82f6;
}

.home-go-live-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: var(--text-md);
}

.home-go-live-icon--1 {
  background: #3b82f6;
}

.home-go-live-icon--2 {
  background: #2563eb;
}

.home-go-live-icon--3 {
  background: #10b981;
}

.home-landing-pilot {
  padding: 48px 0 20px;
  background: #fff;
}

.home-landing-pilot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--home-lp-navy);
  color: #e2e8f0;
  box-shadow: var(--shadow-md);
}

.home-landing-pilot-copy h2 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  color: #fff;
  letter-spacing: -0.02em;
}

.home-landing-pilot-copy p {
  margin: 0;
  max-width: 480px;
  font-size: var(--text-md);
  color: #94a3b8;
  line-height: 1.55;
}

.home-landing-pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-landing-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  min-height: 46px;
  padding-inline: 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.home-landing-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-landing-pilot-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--slate-500);
}

.home-landing-csv .home-landing-badge {
  display: table;
  margin: 0 auto 12px;
}

.home-landing-csv-major {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-9);
  margin-bottom: var(--space-9);
}

.home-landing-csv-card h3 {
  margin-top: 6px;
}

.home-landing-csv-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-landing-mini-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.home-landing-mini-card h3 {
  margin: 0 0 6px;
  font-size: var(--text-md);
  color: var(--home-lp-navy);
}

.home-landing-mini-card .motiff-copy {
  margin: 0;
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .home-landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-landing-visual {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
  }

  .home-go-live-grid {
    grid-template-columns: 1fr;
  }

  .home-landing-csv-major {
    grid-template-columns: 1fr;
  }

  .home-landing-csv-mini {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Print styles (I-005) ── */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .reading-progress-bar,
  .detail-actions,
  .button,
  .breadcrumbs,
  .subscribe-form,
  .filter-row,
  nav {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555;
  }

  /* Suppress URL display for internal/hash links */
  a[href^="#"]::after,
  a[href^="index"]::after {
    content: "";
  }

  h1, h2, h3 {
    page-break-after: avoid;
    color: #000;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .section, .band-dark, .section-soft {
    padding: 24pt 0;
    background: #fff !important;
    color: #000 !important;
  }

  .card-grid, .home-detail-panel, .home-detail-tabs {
    display: block;
  }

  .home-detail-body[hidden] {
    display: none !important;
  }
}
