/* =========================================================
   Medical Solution Company — shared stylesheet
   Order: tokens → base → layout → components → pages →
          utilities → media queries
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #03329d;
  --brand-2: #e8e8e8;
  --accent: var(--brand-2);           /* no accent supplied: falls back to secondary */
  --ink: #000000;
  --muted: color-mix(in srgb, var(--ink) 65%, white);
  --line: color-mix(in srgb, var(--brand) 14%, white);
  --tint: color-mix(in srgb, var(--brand) 5%, white);
  --on-brand: #fff;
  --brand-dark: color-mix(in srgb, var(--brand) 82%, black);
  --focus: var(--brand);              /* focus ring on light surfaces (accent is too pale on white) */

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .06);
  --shadow: 0 8px 24px -12px rgb(0 0 0 / .18);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(56px, 8vw, 104px);
  --header-h: 96px;
  --subnav-h: 56px;
  --ease: 200ms ease;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 var(--s-4); }
p, li { max-width: 68ch; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
ul { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .cta-block :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.has-subnav [id] { scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 16px); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); background: #fff; }
.section-tint { background: var(--tint); }
.section-heading { margin-bottom: var(--s-6); max-width: 820px; }
.section-heading h2::before,
.cta-inner h2::before {
  content: ""; display: block; width: 40px; height: 4px; border-radius: 2px;
  background: var(--brand); margin-bottom: var(--s-4);
}
.cta-inner h2::before { background: var(--on-brand); }
.section-heading p { color: var(--muted); font-size: 1.125rem; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.prose > :last-child { margin-bottom: 0; }
.prose .lead { font-size: 1.25rem; line-height: 1.5; font-family: var(--font-head); font-weight: 500; color: var(--brand); }
.block-intro { color: var(--muted); margin-bottom: var(--s-6); }
.sub-group + .sub-group { margin-top: var(--s-7); }
.group-intro { color: var(--muted); margin-bottom: var(--s-5); }
.section-outro { margin-top: var(--s-6); }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; outline-color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgb(0 0 0 / .25); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand img { height: 56px; width: auto; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill);
  font: 600 .95rem var(--font-body); color: var(--brand); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav > ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.main-nav li { max-width: none; }
.main-nav a, .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font: 500 1rem var(--font-body);
  border-radius: var(--radius-pill); background: none; border: 0; cursor: pointer;
  transition: color var(--ease), background-color var(--ease);
}
.main-nav a:hover, .dropdown-toggle:hover { color: var(--brand); background: var(--tint); }
.main-nav a[aria-current="page"], .dropdown-toggle.is-current { color: var(--brand); font-weight: 700; }
.main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.dropdown-toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--ease);
}
.dropdown-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: var(--s-2);
  list-style: none; margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.dropdown-panel[hidden] { display: none; }
.dropdown-panel a { display: flex; width: 100%; border-radius: var(--radius-sm); }
.main-nav .nav-contact a {
  background: var(--brand); color: var(--on-brand); font-weight: 600; padding: 0 22px; margin-left: var(--s-2);
}
.main-nav .nav-contact a:hover { background: var(--brand-dark); color: #fff; }
.main-nav .nav-contact a[aria-current="page"] { box-shadow: 0 0 0 3px var(--line); border-radius: var(--radius-pill); color: #fff; }

/* ---------- 4. Components ---------- */

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 24px; border-radius: var(--radius-pill);
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: var(--on-brand); }
.button-primary:hover { background: var(--brand-dark); color: #fff; }
.button-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.button-outline:hover { background: var(--tint); color: var(--brand-dark); }
.button-light { background: #fff; color: var(--brand); }
.button-light:hover { background: var(--brand-2); color: var(--brand-dark); }
.button-outline-light { border-color: #fff; color: #fff; background: transparent; }
.button-outline-light:hover { background: rgb(255 255 255 / .12); color: #fff; }

/* Hero */
.hero {
  position: relative; color: var(--on-brand);
  background-color: var(--brand);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 92%, transparent) 0%, color-mix(in srgb, var(--brand) 55%, transparent) 100%),
    var(--hero-image, none),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  background-size: cover; background-position: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.home-hero { padding-block: clamp(88px, 13vw, 180px); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero-eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: var(--s-4); }
.hero-lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 56ch; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* In-page menu */
.subnav {
  position: sticky; top: var(--header-h); z-index: 90; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.subnav ul {
  display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 6px 0;
  overflow-x: auto; scrollbar-width: thin; white-space: nowrap;
}
.subnav li { max-width: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius-pill); text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color var(--ease), background-color var(--ease);
}
.subnav a:hover { color: var(--brand); background: var(--tint); }
.subnav a.is-active, .subnav a[aria-current="true"] { color: var(--on-brand); background: var(--brand); }

/* Cards and grids */
.card-grid { display: grid; gap: var(--s-5); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card, .item, .statement, .cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card > :last-child, .item > :last-child, .statement > :last-child { margin-bottom: 0; }
.card { display: flex; flex-direction: column; position: relative; transition: transform var(--ease), box-shadow var(--ease); }
.card p { color: var(--muted); }
.card-meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--s-3); }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform var(--ease); }
.card-link-stretch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover, .card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow); }
.card:hover .card-link::after, .card:focus-within .card-link::after { transform: translateX(4px); }
.card-icon { width: 44px; height: 44px; margin-bottom: var(--s-4); color: var(--brand); }

.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.items.wide { grid-template-columns: repeat(2, 1fr); }
.item { max-width: none; }
.item h3, .item h4 { color: var(--brand); }
.item p { color: #222; }

.statement { border-top: 4px solid var(--brand); }
.statement .card-meta { margin-bottom: var(--s-2); }
.statement-quote { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.cert-name { font-weight: 600; }

.card-feature { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--s-6); }
.card-feature .card-icon { margin: 0; flex-shrink: 0; }
.card-feature h3 { margin-bottom: var(--s-2); }
.card-feature p { margin: 0; }
.card-feature .card-link { margin: 0 0 0 auto; flex-shrink: 0; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.tags li {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; max-width: none;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill);
  font-size: .95rem; color: var(--ink);
}
.section-tint .tags li { background: #fff; }
.tags a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--brand); border-radius: var(--radius-pill); text-decoration: none; font-weight: 600;
  transition: background-color var(--ease), color var(--ease);
}
.tags.tag-links li { border: 0; padding: 0; background: none; }
.tags a:hover { background: var(--brand); color: #fff; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  font: 700 1rem var(--font-head); margin-bottom: var(--s-4);
}
.steps h3, .steps h4 { margin-bottom: var(--s-2); }
.steps p { margin: 0; color: #222; }

/* Proof strip and client names */
.proof { background: #fff; border-bottom: 1px solid var(--line); padding-block: var(--s-6); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.proof-grid strong { display: block; font: 700 2rem var(--font-head); color: var(--brand); }
.client-names { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; color: var(--muted); font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap caption { text-align: left; padding: 16px 20px; font-weight: 600; }
.table-wrap th, .table-wrap td { padding: 12px 20px; text-align: left; border-top: 1px solid var(--line); }
.table-wrap th { background: var(--tint); }

/* Fact list */
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-4); margin: 0 0 var(--s-6); padding: var(--s-5); background: var(--tint); border-radius: var(--radius); }
.fact-list dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.fact-list dd { margin: 0; }

/* Image banners */
.image-banner {
  height: clamp(180px, 26vw, 360px);
  background-color: var(--brand);
  background-image: var(--banner, none), linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  background-size: cover; background-position: center;
}

/* CTA */
.cta-block { background: var(--brand); color: var(--on-brand); padding-block: clamp(56px, 7vw, 88px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 30ch; margin-bottom: var(--s-3); }
.cta-inner p { margin: 0; max-width: 56ch; }

/* Case studies */
.case-card { text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.case-card h3 { color: var(--ink); }
.case-modal {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0;
  border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .45);
}
.case-modal::backdrop { background: rgb(5 20 60 / .6); }
.case-modal[open] { display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); padding: 28px 32px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.modal-close {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.modal-close:hover { background: var(--tint); }
.modal-body { padding: 24px 32px 32px; overflow-y: auto; }
.modal-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* Footer */
.footer { background: var(--brand); color: var(--on-brand); padding-top: var(--s-8); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr; gap: var(--s-6); padding-bottom: var(--s-7); }
.footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: var(--s-4); }
.footer-brand p { color: #fff; max-width: 32ch; }
.footer address { font-style: normal; }
.footer address p { margin-bottom: var(--s-3); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .25); padding-block: var(--s-5); font-size: .9rem; }
.footer-bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); align-items: center; }
.footer-bottom-row a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-legal { margin-top: var(--s-3); color: #fff; opacity: .92; }
.footer-legal p { margin-bottom: var(--s-2); max-width: none; }

/* ---------- 5. Pages ---------- */

/* Home intro */
.intro-statement { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--brand); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: start; }
.big-phone {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: var(--s-2) 0 var(--s-6);
  font: 700 clamp(1.6rem, 3vw, 2.2rem) var(--font-head); text-decoration: none; color: var(--brand);
}
.big-phone svg { width: 32px; height: 32px; }
.contact-panel { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.contact-panel h2 { font-size: 1.4rem; }
.contact-panel dl { margin: 0 0 var(--s-5); display: grid; gap: var(--s-4); }
.contact-panel dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.contact-panel dd { margin: 0; }
.contact-panel dd a { display: inline-flex; align-items: center; min-height: 32px; }
.contact-form { display: grid; gap: var(--s-4); }

/* 404 */
.notfound-links { margin-top: var(--s-5); }

/* ---------- 6. Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }

/* ---------- 7. Media queries ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: #fff; overflow-y: auto; padding: var(--s-4) var(--gutter) var(--s-7);
    border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--ease), transform var(--ease), visibility 0s linear 200ms;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity var(--ease), transform var(--ease); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .dropdown-toggle { width: 100%; justify-content: space-between; min-height: 52px; font-size: 1.1rem; border-radius: var(--radius-sm); }
  .main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0; }
  .dropdown-panel { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 var(--s-2) var(--s-3); min-width: 0; padding: 0; }
  .main-nav .nav-contact { margin-top: var(--s-4); }
  .main-nav .nav-contact a { justify-content: center; margin: 0; border-radius: var(--radius-pill); }
}

@media (max-width: 960px) {
  .card-grid.three, .card-grid.four, .items, .steps, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .two-columns, .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .card-grid.two, .card-grid.three, .card-grid.four, .items, .items.wide, .steps, .proof-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 64px; }
  .home-hero { padding-block: 72px 80px; }
  .hero-actions .button { width: 100%; }
  .card, .item, .statement, .cert, .steps li, .contact-panel { padding: 22px; }
  .cta-inner .button { width: 100%; }
  .modal-head, .modal-body { padding-inline: 20px; }
  .card-feature { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .card-feature .card-link { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .button:hover, .card:hover, .card:focus-within { transform: none; }
  .card:hover .card-link::after { transform: none; }
}
