/* ADAComply visual system
 * Loaded after the legacy layer. Components retain their behavior and content;
 * this file owns the shared palette, hierarchy, layout, and responsive rules.
 * Sections: foundations, controls, navigation, page shells, home, page families,
 * articles, forms, footer, responsive adaptations, reduced motion.
 */

:root {
  --brand: #233ac4;
  --brand-dark: #182c9b;
  --brand-light: #eef1fc;
  --ink: #101b37;
  --ink-soft: #49556d;
  --muted: #5f6b80;
  --bg: #f6f8fc;
  --card: #fff;
  --border: #dce2ed;
  --accent: #ffc247;
  --success: #16764d;
  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;
  --reading: 760px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(48px, 5.5vw, 80px);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif: var(--font);
  --shadow-sm: 0 2px 6px rgb(16 27 55 / 3%);
  --shadow-md: 0 12px 36px rgb(16 27 55 / 7%);
  --navy-surface: radial-gradient(ellipse at 90% 10%, #203574 0%, transparent 60%), #0d1836;
}

html { background: #0d1836; scroll-padding-top: 96px; overflow-x: clip; overflow-y: visible; }
body { background: #fff; line-height: 1.7; overflow-x: clip; overflow-y: visible; }
html.audit-modal-open, body.audit-modal-open, body.industry-modal-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; text-shadow: none; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.13; letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 1.2rem; line-height: 1.4; letter-spacing: -.015em; }
p { text-wrap: pretty; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:is(section, h2, h3)[id] { scroll-margin-top: 100px; }
:is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--brand); outline-offset: 4px; box-shadow: 0 0 0 3px #fff;
}
.compare-table-wrap:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
:is(.section-eyebrow, .home-intro-kicker, .education-kicker, .banking-eyebrow, .blog-kicker) {
  font-family: var(--font); font-size: .75rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .12em; text-transform: uppercase;
}
.claim-note { font-size: .875rem; line-height: 1.65; color: var(--muted); }
.design-refresh :is([data-reveal], [data-site-reveal]) {
  opacity: 1; transform: none; transition: none;
}

/* One primary action, consistent secondary controls. */
:is(.btn-primary, .cta-btn, .header-cta, .editor-button, .download-btn, .audit-submit-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; height: auto; min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--ink); box-shadow: none;
  font-family: var(--font); font-size: .9rem; font-weight: 700; line-height: 1.5;
  letter-spacing: 0; text-align: center; text-decoration: none;
  transition: background .16s, box-shadow .16s;
}
:is(.btn-primary, .cta-btn, .header-cta, .editor-button, .download-btn, .audit-submit-btn):hover {
  background: #ffd477; color: var(--ink); transform: none;
  box-shadow: 0 4px 12px rgb(16 27 55 / 8%); text-decoration: none;
}
:is(.btn-ghost, .secondary-btn, .download-btn-secondary, .header-signin) {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; height: auto; min-height: 48px; padding: 12px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); box-shadow: none;
  font-size: .9rem; font-weight: 700; line-height: 1.5; text-decoration: none;
}
:is(.btn-ghost, .secondary-btn, .download-btn-secondary, .header-signin):hover {
  background: var(--brand-light); color: var(--brand-dark); transform: none;
  border-color: #b8c3e5; box-shadow: none; text-decoration: none;
}
.context-cta-row > :is(a,button) + :is(a,button) {
  border: 1px solid var(--border); background: transparent; color: var(--brand);
}
:is(.cinematic-hero, .topic-hero, .education-hero, .banking-hero, .education-final-cta, .editorial-cta) :is(.btn-ghost, .secondary-btn) {
  color: #fff; border-color: #7383a5; background: rgb(255 255 255 / 4%);
}
:is(.cinematic-hero, .topic-hero, .education-hero, .banking-hero, .education-final-cta, .editorial-cta) :is(.btn-ghost, .secondary-btn):hover {
  color: #fff; background: rgb(255 255 255 / 12%); border-color: #abb8d0;
}

/* Header and navigation share dimensions and button priority on every page. */
.site-header { border-bottom: 1px solid var(--border); box-shadow: none; background: #fff; }
.header-inner { max-width: 1320px; min-height: 80px; padding: 14px var(--gutter); gap: 28px; }
.logo-img { width: 155px; height: auto; }
nav.main-nav > ul { gap: 24px; }
nav.main-nav :is(a, summary) { font-size: .875rem; }
.header-actions { gap: 12px; }
.header-signin { border-color: transparent; padding-inline: 12px; }
.site-header.transparent-mode:not(.scrolled) { background: #0d1836; border-bottom-color: rgb(255 255 255 / 12%); }
.site-header.transparent-mode:not(.scrolled) :is(.header-signin, .main-nav > ul > li > a, .nav-dropdown summary) { color: #e3e9f5; }
.site-header.transparent-mode .header-cta, .site-header .header-cta { background: var(--accent); color: var(--ink); box-shadow: none; }
.site-header .header-cta:hover { background: #ffd477; }
.nav-dropdown-menu { border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; }
.nav-dropdown-menu a { padding: 11px 14px; border-radius: 6px; line-height: 1.45; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current=page] { background: var(--brand-light); color: var(--brand); }
.menu-toggle { border-radius: 8px; min-width: 44px; min-height: 44px; }

/* Common shells: marketing content, narrow editorial content, and full-width pages. */
main { width: min(var(--container), calc(100% - 2 * var(--gutter))); padding: 48px 0 72px; }
.education-main { width: 100%; max-width: none; padding: 0; margin: 0; }
.topic-hero, .topic-hero.audit-hero { padding: 56px var(--gutter); border: 0; background: var(--navy-surface); }
.topic-hero::after, .cinematic-hero::before, .cinematic-hero::after { display: none; }
.topic-hero::before { opacity: .35; }
.topic-hero-inner { width: min(var(--container), 100%); max-width: var(--container); margin: auto; }
.topic-hero h1 { max-width: 920px; margin: 0 0 20px; color: #fff; }
.topic-hero .subhead { max-width: var(--reading); margin: 0; font-size: 1.125rem; line-height: 1.7; color: #d7dfef; }
.topic-hero .breadcrumb, .topic-hero .breadcrumb a { color: #bdcae2; }
.breadcrumb { font-size: .8125rem; margin-bottom: 22px; }
.hero-action-group { margin-top: 24px; }
.hero-action-group .dashboard-live-demo-actions { justify-content: flex-start; margin: 0; }
.editorial-byline { max-width: var(--container); margin: 0 auto; padding: 18px 0; font-size: .8125rem; line-height: 1.7; border-bottom: 1px solid var(--border); }
.content-block { padding: 36px 0; margin: 0; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; overflow: visible; }
.content-block::before { display: none; }
.content-block > :is(p, ul, ol) { max-width: 80ch; }
.content-block > h2 { margin-bottom: 20px; }
.content-block:first-child { padding-top: 0; }
.answer-panel, .quick-answer { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 0 0 28px; box-shadow: none; }
.answer-panel h2, .quick-answer h2 { font-size: 1.25rem; line-height: 1.4; }
.answer-panel p, .quick-answer p, .quick-answer li { font-size: 1rem; line-height: 1.7; }
.answer-label, .quick-answer .label { font-size: .6875rem; letter-spacing: .1em; }
.proof-tile, .persona-card, .related-card, .source-list a {
  border-color: var(--border); border-radius: 12px; background: var(--bg); box-shadow: none;
}
.split-proof .proof-visual { border-radius: var(--radius); background: var(--navy-surface); box-shadow: none; }
.proof-visual .proof-number { font-family: var(--font); font-size: clamp(2.5rem,5vw,4rem); line-height: 1.1; letter-spacing: -.04em; }
.related-card .related-title { font-family: var(--font); font-size: 1rem; line-height: 1.5; }
.topic-hero:has(.quick-answer) .topic-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 64px; align-content: center; }
.topic-hero:has(.quick-answer) :is(.breadcrumb, h1, .subhead) { grid-column: 1; }
.topic-hero .quick-answer { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; background: #fff; border: 0; padding: 28px; }
.editorial-cta { margin-top: 40px; border: 0; border-radius: var(--radius); padding: 40px; background: var(--navy-surface); box-shadow: none; }
.editorial-cta :is(h2,p) { color: #fff; max-width: var(--reading); }
.editorial-cta p { color: #d7dfef; }
.editorial-cta h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.editorial-cta .disclosure-tag { color: #ffdb90; border-color: #788398; background: transparent; }
.editorial-cta .context-cta-row > a + a { color: #fff; border-color: #7383a5; }

/* Homepage: demonstration first, with a compact progression into pricing. */
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }
.hero-motion-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 12px; border: 1px solid rgb(134 187 218 / 24%); border-radius: 7px;
  background: rgb(3 11 27 / 70%); color: #aabed1; font-size: .6875rem; cursor: pointer;
}
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:hover { background: #132a40; color: #fff; }
.before-after { gap: 24px; }
.before-after-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: none; display: flex; flex-direction: column; }
.before-after-card::before { display: none; }
.before-after-label { font-size: .75rem; line-height: 1.5; margin-bottom: 16px; }
.image-caption { font-size: .875rem; line-height: 1.65; color: var(--ink-soft); }
.before-after-card .image-caption { margin: 16px 0 0; }
.before-after-download { margin-top: auto; align-self: flex-start; }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--border); box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
.faq-item summary { padding: 20px 0; font-size: 1rem; line-height: 1.5; }
.faq-item summary h3 { font-size: 1rem; line-height: 1.5; margin: 0; }
.faq-item > p { margin: 0; padding: 0 24px 22px 0; color: var(--ink-soft); font-size: .9375rem; }

/* Product, industry, proof, and company page families. */
.dashboard-feature-page { max-width: var(--container); }
.dashboard-live-demo-actions { justify-content: flex-start; }
.dashboard-live-demo-actions a { width: auto; height: auto; min-height: 48px; }
.education-hero { padding: 64px var(--gutter); background: var(--navy-surface); }
.education-hero-inner { width: min(var(--container),100%); grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 56px; }
.education-hero h1 { font-size: clamp(2.3rem,3.8vw,3.5rem); line-height: 1.13; letter-spacing: -.04em; }
.education-hero-lede { font-size: 1.0625rem; line-height: 1.7; }
.education-hero-media { transform: none; padding: 6px; border-radius: var(--radius); box-shadow: none; }
.education-hero-media img { min-height: 0; height: 420px; object-fit: cover; border-radius: 12px; }
.education-hero-media::before, .education-hero-media::after { display: none; }
.education-page { --education-navy: var(--ink); --education-blue: var(--brand); --education-gold: var(--accent); --education-line: var(--border); }
.page-case-studies .before-after-card img { height: 400px; object-fit: contain; background: #fff; }
.page-case-studies .before-after-card .image-caption { margin-bottom: 20px; }
.case-study-stats { gap: 16px; margin: 28px 0 16px; }
.case-study-stats .stat-card { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: none; padding: 24px; }
.case-study-stats .stat-num { color: var(--brand); font-family: var(--font); font-size: 2rem; }
.document-compare { max-width: 560px; margin: 36px auto; }
.document-compare-stage { border-radius: 12px; border: 1px solid var(--border); }
.first-pass-callout { background: var(--brand-light); border: 0; border-radius: 12px; padding: 24px; }
.team-section-heading { text-align: left; margin: 48px 0 28px; padding: 0; }
.team-section-heading h2 { font-size: 2rem; }
.team-profile { grid-template-columns: 220px minmax(0,1fr); gap: 40px; }
.team-profile-copy { max-width: 760px; }
.team-member-name { font-size: 1.75rem; }
.team-profile-image img { border-radius: 12px; box-shadow: none; }
.editor-details { width: 100%; padding-block: 48px; }

/* Guides and blog: readable prose, restrained navigation and callouts. */
.guide-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 64px; padding-top: 36px; }
.guide-layout .toc { position: sticky; top: 104px; margin: 0; padding: 0 24px 0 0; border: 0; border-right: 1px solid var(--border); background: transparent; border-radius: 0; box-shadow: none; max-height: calc(100svh - 128px); overflow: auto; }
.toc h2 { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.toc ol { padding-left: 20px; margin: 0; }
.toc li { margin-bottom: 12px; padding-left: 4px; font-size: .875rem; line-height: 1.6; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.guide-content { min-width: 0; max-width: var(--reading); }
.guide-content > .content-block { padding: 36px 0; }
.guide-content > .content-block:first-child { padding-top: 0; }
.guide-content h2 { font-size: clamp(1.65rem,2.3vw,2rem); }
.guide-content p, .guide-content li { font-size: 1rem; line-height: 1.8; }
.guide-content :is(p,li) a { text-decoration: underline; text-underline-offset: 3px; }
.guide-content .related-card { padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: none; }
.guide-content .related-card h3 { font-size: 1rem; }
.guide-content .related-card p { font-size: .875rem; }
.guide-content .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.compare-table-wrap, .table-wrap { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.table-wrap table { margin: 0; }
.table-wrap caption { padding: 16px; margin: 0; }
table th { color: var(--ink); }
.decision-box { padding: 20px; border: 1px solid var(--border); background: var(--bg); border-radius: 12px; }
.blog-index-hero { width: 100%; max-width: none; margin: 0; padding: 56px 40px; border-radius: var(--radius); background: var(--navy-surface); }
.blog-index-hero .blog-shell { width: 100%; text-align: left; }
.blog-index-hero .section-eyebrow, .editor-details > .section-eyebrow { text-align: left; }
.blog-index-hero h1 { max-width: 900px; margin: 12px 0 20px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.13; text-align: left; }
.blog-index-hero .blog-shell .blog-index-intro { margin: 0; max-width: 760px; text-align: left; font-size: 1.0625rem; }
.blog-shell { width: min(var(--container),100%); }
.blog-listing { padding: 48px 0 24px; }
.blog-listing-heading h2 { font-size: 2rem; }
.blog-card-featured { grid-template-columns: 1fr 1fr; border-radius: var(--radius); box-shadow: none; }
.blog-card-image { min-height: 340px; }
.blog-card-copy { padding: 36px; }
.blog-card-copy h3 { font-size: clamp(1.5rem,2.6vw,2.2rem); line-height: 1.25; }
.blog-article-hero, .blog-article-hero > img { min-height: 480px; }
.blog-article-hero { border-radius: var(--radius); }
.blog-article-hero > img { position: absolute; inset: 0; height: 100%; min-height: 0; }
.blog-article-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(3 16 29 / 94%) 0%, rgb(3 16 29 / 85%) 55%, rgb(3 16 29 / 35%) 100%); }
.blog-article-hero-copy { z-index: 2; width: min(var(--container),calc(100% - 2 * var(--gutter))); padding-block: 56px; }
.blog-breadcrumb { margin-bottom: 32px; }
.blog-article-hero-copy h1 { font-size: clamp(2rem,4vw,3.5rem); line-height: 1.13; }
.blog-article-layout { grid-template-columns: minmax(0,760px) minmax(0,300px); gap: 64px; padding-top: 48px; padding-bottom: 64px; }
.blog-article-body .blog-lede { font-family: var(--font); font-size: 1.25rem; line-height: 1.7; }
.blog-article-body h2 { font-size: 2rem; line-height: 1.25; }
.blog-callout { background: var(--bg); border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; }
.blog-callout p:last-child { font-family: var(--font); font-size: 1.125rem; line-height: 1.7; }
.blog-article-aside { position: sticky; top: 104px; }
.blog-sticky-card { position: static; background: var(--bg); box-shadow: none; border-radius: 12px; padding: 24px; }
.blog-sticky-card h2 { font-size: 1.5rem; line-height: 1.3; }
.blog-kicker { color: #80601f; }
.blog-article-hero-copy .blog-kicker { color: #ffcf6d; }

/* Forms and audit tools remain native and keep their existing submission flows. */
.contact-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 64px; align-items: start; }
.contact-layout .content-block { border: 0; padding: 0; }
.contact-layout > .content-block + .content-block { padding: 28px; border-radius: var(--radius); background: var(--bg); }
.contact-layout h2 { font-size: 1.75rem; }
.contact-layout h3 { font-size: 1.05rem; }
.contact-layout .decision-box { padding: 20px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.contact-layout .decision-box:last-child { margin-bottom: 0; padding-bottom: 0; }
.contact-form-block > .section-lede { font-size: 1rem; margin: 0 0 24px; }
.placeholder-contact-form { max-width: none; margin: 0; }
.placeholder-contact-form :is(input,select,textarea), .audit-modal :is(input,select,textarea) { border: 1px solid #a6b2c8; background: #fff; border-radius: 8px; color: var(--ink); padding: 12px 14px; min-height: 48px; font-size: 1rem; }
.placeholder-contact-form textarea { min-height: 150px; }
.placeholder-contact-form label { font-size: .875rem; font-weight: 600; margin-bottom: 7px; }
.placeholder-contact-form .form-grid { gap: 16px; }
.form-status { color: var(--muted); font-size: .875rem; }
.audit-modal-panel { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 80px rgb(0 0 0 / 20%); max-height: calc(100dvh - 40px); overflow-y: auto; }
.audit-modal-panel h2 { font-size: 1.75rem; }
.audit-hero h1 { max-width: 800px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.13; }
.audit-hero .subhead { max-width: 720px; margin: 0; }
.audit-hero-actions { justify-content: flex-start; }

/* A quieter footer, with a scan-friendly mobile link grid. */
.site-footer { padding: 48px var(--gutter) 24px; background: #0d1836; border-top: 1px solid #35415d; }
.footer-grid { max-width: var(--container); gap: 36px; grid-template-columns: 1.2fr repeat(4,1fr); }
.footer-brand strong { font-family: var(--font); font-size: 1.25rem; }
.footer-col > strong { color: #fff; font-size: .8125rem; margin-bottom: 16px; }
.footer-col a { color: #c5cfe1; font-size: .8125rem; line-height: 1.65; margin-bottom: 12px; }
.footer-col a:hover { color: #ffcf6d; }
.footer-bottom { max-width: var(--container); font-size: .75rem; color: #a6b4cf; margin-top: 28px; }

/* Tablet and mobile: reorganize content, do not shrink it to fit desktop grids. */
@media (max-width: 1180px) {
  .header-inner { min-height: 72px; padding-block: 12px; }
  .site-header nav.main-nav.open { max-height: calc(100svh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 24px 20px; }
  .site-header nav.main-nav > ul { width: 100%; align-items: stretch; text-align: left; padding: 0; gap: 0; }
  .site-header nav.main-nav > ul > li { width: 100%; padding: 0; border-bottom: 1px solid var(--border); }
  .site-header nav.main-nav > ul > li > a, .site-header nav.main-nav summary { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 12px 0; text-align: left; }
  .site-header .nav-dropdown-menu { position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: var(--bg); }
  .site-header .nav-dropdown-menu a { text-align: left; min-height: 44px; }
  .site-header.transparent-mode:not(.scrolled) nav.main-nav.open :is(summary, a:not(.header-cta)) { color: var(--ink); }
  .site-header .mobile-cta-row { margin-top: 16px; padding: 0; gap: 12px; justify-content: flex-start; }
  .site-header .mobile-cta-row a { min-height: 48px; }
  .guide-layout { gap: 36px; grid-template-columns: 220px minmax(0,1fr); }
  .education-hero-inner { gap: 36px; }
  .blog-article-layout { gap: 36px; grid-template-columns: minmax(0,1fr) 270px; }
}
@media (max-width: 900px) {
  .hero-circuit { opacity: .45; }
  .education-hero-inner, .contact-layout, .topic-hero:has(.quick-answer) .topic-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .topic-hero .quick-answer { grid-column: 1; grid-row: auto; max-width: 760px; }
  .topic-hero:has(.quick-answer) .topic-hero-inner { row-gap: 0; }
  .topic-hero .quick-answer { margin-top: 28px; }
  .guide-layout { display: block; }
  .guide-layout .toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 32px; background: var(--bg); }
  .guide-layout .toc ol { columns: 2; column-gap: 32px; }
  .guide-layout .toc li { break-inside: avoid; }
  .guide-content { max-width: none; }
  .education-hero-media { max-width: 620px; margin: 0; }
  .education-hero-media img { width: 100%; height: 360px; }
  .contact-layout > .content-block + .content-block { margin-top: 8px; }
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-article-hero-overlay { background: rgb(3 16 29 / 78%); }
  .blog-article-aside { position: static; order: 0; }
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-image { min-height: 0; height: 320px; }
  .footer-grid { grid-template-columns: repeat(4,1fr); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --section-space: 48px; }
  html { scroll-padding-top: 84px; }
  main { padding-top: 32px; padding-bottom: 48px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .header-inner { padding-inline: 20px; min-height: 68px; }
  .logo-img { width: 145px; }
  .site-header nav.main-nav.open { max-height: calc(100svh - 68px); padding-inline: 20px; }
  .topic-hero, .topic-hero.audit-hero { padding: 36px var(--gutter); }
  .topic-hero h1 { font-size: 2rem; line-height: 1.18; }
  .topic-hero .subhead { font-size: 1rem; line-height: 1.7; }
  .topic-hero .quick-answer { padding: 22px; }
  .breadcrumb { margin-bottom: 18px; font-size: .75rem; }
  .editorial-byline { margin-inline: var(--gutter); padding-block: 16px; }
  .content-block { padding-block: 28px; }
  .content-block > h2 { font-size: 1.65rem; }
  .editorial-cta { padding: 28px 24px; }
  .editorial-cta h2 { font-size: 1.65rem; }
  .before-after { grid-template-columns: 1fr; gap: 20px; }
  .before-after-card { padding: 18px; }
  .faq-item summary { padding-block: 18px; }
  .dashboard-live-demo-actions { align-items: stretch; flex-direction: column; }
  .dashboard-live-demo-actions a { width: 100%; }
  .education-hero { padding: 40px var(--gutter); }
  .education-hero h1 { font-size: 2rem; }
  .education-hero-lede { font-size: 1rem; }
  .education-hero-media img { height: 300px; }
  .page-case-studies .before-after-card img { height: 330px; }
  .case-study-stats { grid-template-columns: 1fr; gap: 10px; }
  .case-study-stats .stat-card { padding: 18px 20px; text-align: left; }
  .case-study-stats .stat-num { font-size: 1.65rem; }
  .team-profile { grid-template-columns: 1fr; gap: 24px; }
  .team-profile-image { width: 180px; margin: 0; }
  .team-member-name { font-size: 1.5rem; }
  .guide-layout .toc { padding: 20px; }
  .guide-layout .toc ol { columns: auto; }
  .guide-layout .toc li { margin-bottom: 8px; }
  .guide-content .related-grid { grid-template-columns: 1fr; }
  .guide-content p, .guide-content li { line-height: 1.75; }
  .blog-index-hero { padding: 36px 24px; }
  .blog-index-hero h1 { font-size: 2rem; }
  .blog-listing-heading h2 { font-size: 1.75rem; }
  .blog-card-copy { padding: 28px 24px; }
  .blog-card-image { height: 250px; }
  .blog-article-hero, .blog-article-hero > img { min-height: 500px; }
  .blog-article-hero-copy { padding-block: 40px; }
  .blog-article-hero-copy h1 { font-size: 2rem; }
  .blog-article-body h2 { font-size: 1.75rem; }
  .blog-article-body .blog-lede { font-size: 1.125rem; }
  .contact-layout { gap: 32px; }
  .placeholder-contact-form .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .footer-col a { min-height: 32px; padding-block: 4px; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
