@charset "UTF-8";
/* ==========================================================================
   AutoFixia DMS — Design System
   Built on the DashTail token set (autofixia-theme.md)
   Primary #3B82F6 · Inter · white + ice-blue surfaces · WCAG 2.2 AA
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Primary scale */
  --primary:            #3B82F6;
  --primary-50:         #EFF6FF;
  --primary-100:        #DBEAFE;
  --primary-200:        #BFDBFE;
  --primary-300:        #93C5FD;
  --primary-400:        #60A5FA;
  --primary-500:        #3B82F6;
  --primary-600:        #2563EB;
  --primary-700:        #1D4ED8;
  --primary-800:        #1E40AF;
  --primary-900:        #1E3A8A;
  --primary-950:        #172554;
  --primary-foreground: #EFF6FF;

  /* Neutral / surface */
  --background:           #FFFFFF;
  --foreground:           #020817;
  --card:                 #FFFFFF;
  --card-foreground:      #020817;
  --popover:              #FFFFFF;
  --muted:                #F3F4F6;
  --muted-foreground:     #64748B;
  --accent:               #E2E8F0;
  --accent-foreground:    #0F172A;
  --secondary:            #E2E8F0;
  --secondary-foreground: #0F172A;
  --border:               #E2E8F0;
  --input:                #E2E8F0;
  --ring:                 #2563EB;

  /* Ice-blue surface layer (marketing) */
  --ice-50:  #F8FAFF;
  --ice-100: #F2F6FE;
  --ice-200: #EEF1F9;
  --ice-300: #E4EBFA;

  /* Semantic */
  --success:              #22C55E;
  --success-foreground:   #F0FDF4;
  --success-soft:         #ECFDF3;
  --warning:              #F97316;
  --warning-foreground:   #FFF7ED;
  --warning-soft:         #FFF4EC;
  --destructive:          #EF4444;
  --destructive-soft:     #FEF2F2;
  --info:                 #06B6D4;
  --info-foreground:      #ECFEFF;
  --info-soft:            #ECFEFF;

  /* Text scale */
  --text-strong: #0F172A;
  --text-heading:#1E293B;
  --text-sub:    #334155;
  --text-body:   #475569;
  --text-muted:  #64748B;

  /* Radius */
  --radius:     0.5rem;
  --radius-sm:  0.375rem;
  --radius-xl:  0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-pill:9999px;

  /* Shadow */
  --shadow-sm: rgba(15,22,36,0.06) 0 1px 2px, rgba(15,22,36,0.10) 0 1px 3px;
  --shadow-md: rgba(15,22,36,0.05) 0 4px 10px -2px, rgba(15,22,36,0.06) 0 2px 6px -2px;
  --shadow-lg: rgba(15,22,36,0.07) 0 18px 40px -12px, rgba(15,22,36,0.05) 0 6px 14px -6px;

  /* Typography */
  --font-sans: Inter, "Inter var", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Layout */
  --header-h: 72px;
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 24px;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: -0.021em;
  margin: 0 0 .6em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.033em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); letter-spacing: -0.028em; line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1.06rem + .5vw, 1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--primary-400); }
ul:last-child, ol:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--text-sub); }
small { font-size: .8125rem; }
code, kbd { font-family: var(--font-mono); font-size: .875em; background: var(--ice-200); padding: .12em .38em; border-radius: 5px; color: var(--primary-800); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

::selection { background: var(--primary-100); color: var(--primary-950); }

/* Focus visibility — WCAG 2.2 AA */
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px;
  z-index: 999; background: var(--primary-600); color: #fff;
  padding: 12px 20px; border-radius: var(--radius); font-weight: 600;
  font-size: .9375rem; transition: top .18s ease;
}
.skip-link:focus { top: 14px; text-decoration: none; color: #fff; }

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

/* ---------- 3. Layout primitives ---------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: 800px; }

.section { padding-block: clamp(56px, 6vw, 104px); position: relative; }
.section-sm { padding-block: clamp(40px, 4vw, 68px); }
.section-ice { background: var(--ice-200); }
.section-ice-soft { background: linear-gradient(180deg, var(--ice-50) 0%, #fff 100%); }
.section-line { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.split-wide { grid-template-columns: 1fr 1.15fr; }
.split-top { align-items: start; }

.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 32px; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:48px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}

/* ---------- 4. Type helpers --------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--primary-700);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  padding: 6px 13px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-500); }

.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text-body); }
.lede-lg { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.55; color: var(--text-body); }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; line-height: 1.55; }
.tiny { font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }
.measure { max-width: 68ch; }
.measure-sm { max-width: 56ch; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 3.5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-body); font-size: 1.0625rem; margin-bottom: 0; }

.gradient-text {
  background: linear-gradient(96deg, var(--primary-700) 0%, var(--primary-500) 55%, var(--info) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.2;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease,
              box-shadow .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--primary-600); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,.22), 0 6px 16px -6px rgba(37,99,235,.45); }
.btn-primary:hover { background: var(--primary-700); color: #fff; box-shadow: 0 2px 4px rgba(37,99,235,.24), 0 10px 22px -8px rgba(37,99,235,.5); }

.btn-secondary { background: #fff; color: var(--text-sub); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--ice-100); color: var(--primary-700); border-color: var(--primary-200); }

.btn-ghost { background: transparent; color: var(--text-body); }
.btn-ghost:hover { background: var(--ice-200); color: var(--primary-700); }

.btn-invert { background: #fff; color: var(--primary-700); }
.btn-invert:hover { background: var(--primary-50); color: var(--primary-800); }
.btn-outline-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-invert:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.65); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 15px; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-group.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9375rem; color: var(--primary-600);
}
.link-arrow::after { content: "\2192"; transition: transform .16s ease; }
.link-arrow:hover { text-decoration: none; color: var(--primary-700); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6. Header / navigation --------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; color: var(--text-strong); letter-spacing: -.028em; flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--primary-700); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(140deg, var(--primary-500), var(--primary-700));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px -1px rgba(37,99,235,.45);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-logo { height: 32px; width: auto; display: block; }
.footer-brand .brand-logo { height: 30px; }
.brand .sub { font-weight: 500; color: var(--text-muted); font-size: .8125rem; letter-spacing: 0; margin-left: -4px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; color: var(--text-body);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--ice-200); color: var(--primary-700); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--primary-700); font-weight: 600; }
.nav-link .chev { width: 13px; height: 13px; transition: transform .18s ease; opacity: .6; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(880px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); padding: 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .17s ease, transform .17s ease, visibility .17s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px 18px; }
.mega-col-head {
  font-size: .6875rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 10px 6px; margin: 0;
}
.mega-link {
  display: block; padding: 9px 10px; border-radius: var(--radius);
  color: var(--text-sub); font-size: .9063rem; font-weight: 500;
  transition: background-color .13s ease, color .13s ease;
}
.mega-link:hover { background: var(--ice-100); color: var(--primary-700); text-decoration: none; }
.mega-link .d { display: block; font-size: .8125rem; font-weight: 400; color: var(--text-muted); margin-top: 1px; }
.mega-link:hover .d { color: var(--text-body); }
.mega-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.mega-foot p { margin: 0; font-size: .875rem; color: var(--text-muted); }

/* Mobile nav */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; color: var(--text-sub);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

.mobile-nav {
  display: none; border-top: 1px solid var(--border); background: #fff;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 14px var(--gutter) 26px;
}
.mobile-nav.open { display: block; }
.m-group + .m-group { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 6px; }
.m-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; background: none; border: 0; font-family: inherit;
  font-size: 1rem; font-weight: 600; color: var(--text-strong); cursor: pointer; text-align: left;
}
.m-trigger .chev { width: 15px; height: 15px; color: var(--text-muted); transition: transform .18s ease; }
.m-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-panel { display: none; padding: 2px 0 12px 4px; }
.m-panel.open { display: block; }
.m-panel a { display: block; padding: 9px 0; font-size: .9375rem; color: var(--text-body); font-weight: 500; }
.m-solo { display: block; padding: 13px 4px; font-size: 1rem; font-weight: 600; color: var(--text-strong); }
.mobile-cta { margin-top: 18px; display: grid; gap: 10px; }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-block: clamp(52px, 5.5vw, 92px) clamp(48px, 5vw, 84px); background: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -6%, rgba(59,130,246,.13), transparent 62%),
    radial-gradient(620px 400px at 6% 4%, rgba(6,182,212,.09), transparent 60%),
    linear-gradient(180deg, var(--ice-50) 0%, rgba(255,255,255,0) 58%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--ice-300) 1px, transparent 1px), linear-gradient(90deg, var(--ice-300) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 78%);
          mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 78%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--text-strong); margin-bottom: 20px; }
.hero .lede-lg { max-width: 60ch; }

.hero-page { padding-block: clamp(40px, 4.5vw, 72px) clamp(36px, 3.5vw, 56px); }
.hero-page h1 { max-width: 24ch; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--text-sub); }
.trust-item svg { width: 16px; height: 16px; color: var(--primary-500); }

/* ---------- 8. Cards ----------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { font-size: 1.0938rem; margin-bottom: 8px; }
.card p { font-size: .9375rem; color: var(--text-body); margin-bottom: 0; line-height: 1.6; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }
.card-flat { box-shadow: none; }
.card-ice { background: var(--ice-100); border-color: var(--ice-300); box-shadow: none; }
.card-tight { padding: 20px; }
.card-pad-lg { padding: 32px; }

.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-xl);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  display: grid; place-items: center; color: var(--primary-600); margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; }
.card-icon.tone-cyan  { background: var(--info-soft);    border-color:#CFF5FB; color:#0E7490; }
.card-icon.tone-green { background: var(--success-soft); border-color:#D1FADF; color:#15803D; }
.card-icon.tone-amber { background: var(--warning-soft); border-color:#FFE4CE; color:#C2410C; }
.card-icon.tone-slate { background: var(--ice-200);      border-color: var(--border); color: var(--text-sub); }

.card-num {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  color: var(--primary-600); background: var(--primary-50);
  border: 1px solid var(--primary-100); border-radius: 6px;
  padding: 3px 8px; display: inline-block; margin-bottom: 14px;
}

.card-list { margin: 14px 0 0; padding: 0; list-style: none; }
.card-list li {
  position: relative; padding-left: 22px; font-size: .875rem;
  color: var(--text-body); margin-bottom: 7px; line-height: 1.55;
}
.card-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary-400);
}
.card-list li:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563EB'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid var(--primary-100);
}
.check-list.tight li { margin-bottom: 8px; font-size: .9375rem; }

/* ---------- 9. Product UI frame (mockups) -------------------------------- */
.ui-frame {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.ui-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; background: var(--ice-100); border-bottom: 1px solid var(--border);
}
.ui-dots { display: flex; gap: 6px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; display: block; }
.ui-dots i:first-child { background: #F2B8B5; }
.ui-dots i:nth-child(2) { background: #F7DFA5; }
.ui-dots i:nth-child(3) { background: #B6E3C6; }
.ui-title {
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
  margin-left: 6px; letter-spacing: .01em;
}
.ui-chip {
  margin-left: auto; font-size: .6875rem; font-weight: 600; color: var(--primary-700);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.ui-body { padding: 18px; background: var(--ice-200); }
.ui-body-plain { background: #fff; }

.ui-panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.ui-panel + .ui-panel { margin-top: 12px; }
.ui-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px;
}
.ui-panel-head h4 { font-size: .8125rem; font-weight: 600; color: var(--text-sub); margin: 0; }
.ui-panel-head .meta { font-size: .6875rem; color: var(--text-muted); font-weight: 500; }
.ui-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* KPI cards */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; }
.kpi .label { font-size: .6875rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.kpi .value { font-size: 1.375rem; font-weight: 700; color: var(--text-strong); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: .6875rem; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 3px; }
.kpi .delta.up { color: #15803D; }
.kpi .delta.down { color: #B91C1C; }
.kpi .delta.flat { color: var(--text-muted); }
.kpi.accent-blue  { box-shadow: inset 3px 0 0 var(--primary-500); }
.kpi.accent-cyan  { box-shadow: inset 3px 0 0 var(--info); }
.kpi.accent-green { box-shadow: inset 3px 0 0 var(--success); }
.kpi.accent-amber { box-shadow: inset 3px 0 0 var(--warning); }

.kpi-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-2xl); padding: 22px; box-shadow: var(--shadow-sm); }
.kpi-card .label { font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); margin-bottom:8px; }
.kpi-card .value { font-size:1.75rem; font-weight:700; color:var(--text-strong); letter-spacing:-.03em; line-height:1.1; font-variant-numeric: tabular-nums; }
.kpi-card .note { font-size:.8125rem; color:var(--text-muted); margin-top:6px; }

/* Bars & mini charts */
.bar-row { display: grid; grid-template-columns: 78px 1fr 46px; align-items: center; gap: 10px; margin-bottom: 9px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row .name { font-size: .75rem; font-weight: 500; color: var(--text-body); }
.bar-row .num { font-size: .75rem; font-weight: 600; color: var(--text-sub); text-align: right; font-variant-numeric: tabular-nums; }
.bar-track { height: 8px; border-radius: var(--radius-pill); background: var(--ice-200); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--radius-pill); background: var(--primary-500); }
.bar-fill.c2 { background: var(--info); }
.bar-fill.c3 { background: var(--success); }
.bar-fill.c4 { background: var(--warning); }
.bar-fill.c5 { background: var(--destructive); }
.bar-fill.c6 { background: #6366F1; }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 62px; }
.spark span { flex: 1; background: var(--primary-200); border-radius: 3px 3px 0 0; min-height: 5px; display: block; }
.spark span.hi { background: var(--primary-500); }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .012em;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--ice-200); color: var(--text-sub); border: 1px solid var(--border);
  white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-blue  { background: var(--primary-50);   color: var(--primary-700); border-color: var(--primary-100); }
.badge-green { background: var(--success-soft); color: #15803D; border-color: #D1FADF; }
.badge-amber { background: var(--warning-soft); color: #C2410C; border-color: #FFE4CE; }
.badge-red   { background: var(--destructive-soft); color: #B91C1C; border-color: #FEE2E2; }
.badge-cyan  { background: var(--info-soft);    color: #0E7490; border-color: #CFF5FB; }
.badge-plain::before { display: none; }

/* Availability flags (product-truth rule) */
.flag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .6875rem; font-weight: 600; padding: 2px 8px;
  border-radius: 5px; letter-spacing: .015em; white-space: nowrap;
}
.flag-live   { background: var(--success-soft); color: #15803D; }
.flag-config { background: var(--primary-50);   color: var(--primary-700); }
.flag-integ  { background: var(--info-soft);    color: #0E7490; }
.flag-road   { background: var(--ice-200);      color: var(--text-muted); }

/* ---------- 10. Tables --------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-2xl);
  background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch;
}
table.data { width: 100%; border-collapse: collapse; font-size: .9063rem; min-width: 620px; }
table.data caption { text-align: left; padding: 16px 20px 0; font-size: .8125rem; color: var(--text-muted); }
table.data th, table.data td { padding: 13px 18px; text-align: left; vertical-align: top; }
table.data thead th {
  font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); background: var(--ice-100); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.data tbody tr + tr { border-top: 1px solid var(--border); }
table.data tbody tr:hover { background: var(--ice-50); }
table.data td { color: var(--text-body); line-height: 1.55; }
table.data td strong { color: var(--text-sub); font-weight: 600; }
table.data th[scope="row"] { font-size: .9063rem; color: var(--text-sub); font-weight: 600; }
.table-note { font-size: .8125rem; color: var(--text-muted); margin-top: 12px; }

table.mini { width: 100%; border-collapse: collapse; font-size: .75rem; }
table.mini th {
  text-align: left; font-size: .625rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted); padding: 0 8px 8px; white-space: nowrap;
}
table.mini td { padding: 8px; border-top: 1px solid var(--border); color: var(--text-body); white-space: nowrap; }
table.mini td.vin { font-family: var(--font-mono); font-size: .6875rem; color: var(--text-sub); font-weight: 500; }
table.mini tbody tr:hover td { background: var(--ice-50); }

/* ---------- 11. Journey timeline / stepper -------------------------------- */
.journey-track {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.journey-track::-webkit-scrollbar { height: 6px; }
.journey-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.journey-step {
  flex: 1 0 auto; min-width: 122px; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 14px 14px 16px; cursor: pointer; font-family: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
  position: relative;
}
.journey-step:hover { border-color: var(--primary-300); box-shadow: var(--shadow-sm); }
.journey-step[aria-selected="true"] {
  border-color: var(--primary-500); background: var(--primary-50);
  box-shadow: 0 0 0 1px var(--primary-500), var(--shadow-sm);
}
.journey-step .n { font-family: var(--font-mono); font-size: .6875rem; font-weight: 700; color: var(--primary-600); display: block; margin-bottom: 6px; }
.journey-step .t { font-size: .875rem; font-weight: 600; color: var(--text-strong); display: block; line-height: 1.3; }
.journey-step .s { font-size: .6875rem; color: var(--text-muted); display: block; margin-top: 4px; line-height: 1.4; }

.journey-panel {
  margin-top: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-2xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm);
}
.journey-panel[hidden] { display: none; }
.journey-panel h3 { margin-bottom: 10px; }
.jp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }

.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 18px; background: var(--ice-100); border: 1px solid var(--ice-300); border-radius: var(--radius-2xl);
}
.flow .node {
  font-size: .8125rem; font-weight: 600; color: var(--text-sub);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 7px 14px; white-space: nowrap;
}
.flow .node.hl { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }
.flow .arr { color: var(--primary-400); font-weight: 700; font-size: .875rem; }

.stages { list-style: none; margin: 0; padding: 0; position: relative; }
.stages::before { content: ""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--primary-200), var(--ice-300)); }
.stages li { position: relative; padding-left: 46px; margin-bottom: 22px; }
.stages li:last-child { margin-bottom: 0; }
.stages li::before {
  content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 2px solid var(--primary-400); box-shadow: 0 0 0 3px #fff;
}
.stages li.done::before { background: var(--primary-500); border-color: var(--primary-500); }
.stages h4 { font-size: .9375rem; margin-bottom: 4px; }
.stages p { font-size: .875rem; margin-bottom: 0; }

/* ---------- 12. Tabs ------------------------------------------------------ */
.tablist {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 5px;
  background: var(--ice-200); border-radius: var(--radius-xl);
  border: 1px solid var(--ice-300); margin-bottom: 26px;
}
.tab {
  flex: 1; min-width: max-content; padding: 10px 18px; border: 0; border-radius: var(--radius);
  background: transparent; font-family: inherit; font-size: .9063rem; font-weight: 600;
  color: var(--text-body); cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.tab:hover { color: var(--primary-700); }
.tab[aria-selected="true"] { background: #fff; color: var(--primary-700); box-shadow: var(--shadow-sm); }
.tabpanel[hidden] { display: none; }

/* ---------- 13. FAQ accordion --------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 4px; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left;
  font-size: 1.0313rem; font-weight: 600; color: var(--text-strong); line-height: 1.4;
  transition: color .15s ease;
}
.faq-q:hover { color: var(--primary-700); }
.faq-q .ind {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ice-200); display: grid; place-items: center; position: relative; margin-top: 1px;
  transition: background-color .16s ease;
}
.faq-q[aria-expanded="true"] .ind { background: var(--primary-100); }
.faq-q .ind::before, .faq-q .ind::after {
  content: ""; position: absolute; background: var(--primary-600); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq-q .ind::before { width: 11px; height: 2px; }
.faq-q .ind::after  { width: 2px; height: 11px; }
.faq-q[aria-expanded="true"] .ind::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 46px 24px 4px; }
.faq-a[hidden] { display: none; }
.faq-a p { color: var(--text-body); }
.faq-a p:first-child { font-weight: 500; color: var(--text-sub); }

.answer-box {
  background: var(--primary-50); border: 1px solid var(--primary-100);
  border-left: 3px solid var(--primary-500);
  border-radius: var(--radius-xl); padding: 22px 26px;
}
.answer-box .k {
  font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--primary-700); display: block; margin-bottom: 8px;
}
.answer-box p { color: var(--primary-950); font-size: 1.0313rem; line-height: 1.6; margin-bottom: 0; }
.answer-box p + p { margin-top: 10px; }

/* ---------- 14. CTA banner ------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-3xl);
  background: linear-gradient(125deg, var(--primary-800) 0%, var(--primary-600) 52%, #1E88E5 100%);
  padding: clamp(36px, 4.5vw, 64px); color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 72%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.0625rem; max-width: 60ch; margin-inline: auto; margin-bottom: 26px; }
.cta-band .btn-group { justify-content: center; }
.cta-band .fine { font-size: .8125rem; color: rgba(255,255,255,.72); margin-top: 20px; margin-bottom: 0; }

.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--ice-100); border: 1px solid var(--ice-300); border-radius: var(--radius-2xl); padding: 26px 30px;
}
.cta-inline h3 { margin-bottom: 4px; font-size: 1.1875rem; }
.cta-inline p { margin: 0; font-size: .9375rem; color: var(--text-muted); }

/* ---------- 15. Breadcrumbs ---------------------------------------------- */
.crumbs { padding: 14px 0 0; font-size: .8125rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--accent); }
.crumbs a { color: var(--text-muted); font-weight: 500; }
.crumbs a:hover { color: var(--primary-600); }
.crumbs [aria-current="page"] { color: var(--text-sub); font-weight: 600; }

/* ---------- 16. Forms ----------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--text-sub); margin-bottom: 7px; }
.field .req { color: var(--destructive); margin-left: 2px; }
.field .hint { font-size: .8125rem; color: var(--text-muted); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: .9375rem; color: var(--foreground);
  background: #fff; border: 1px solid var(--input); border-radius: var(--radius);
  padding: 11px 14px; line-height: 1.45;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: #94A3B8; }
.input:hover, .select:hover, .textarea:hover { border-color: #CBD5E1; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(59,130,246,.16);
}
.textarea { min-height: 108px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748B'%3E%3Cpath fill-rule='evenodd' d='M5.2 7.2a1 1 0 011.4 0L10 10.6l3.4-3.4a1 1 0 111.4 1.4l-4.1 4.1a1 1 0 01-1.4 0L5.2 8.6a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--destructive); box-shadow: 0 0 0 3px rgba(239,68,68,.13);
}
.err { display: none; font-size: .8125rem; color: #B91C1C; margin-top: 6px; font-weight: 500; }
.err.show { display: block; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.consent input[type="checkbox"] { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--primary-600); flex-shrink: 0; }
.consent label { font-size: .8125rem; color: var(--text-muted); font-weight: 400; line-height: 1.55; margin: 0; }

.form-success {
  background: var(--success-soft); border: 1px solid #B7EBC9; border-radius: var(--radius-2xl);
  padding: 30px; text-align: center;
}
.form-success[hidden] { display: none; }
.form-success .tick {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid #B7EBC9;
  display: grid; place-items: center; margin: 0 auto 16px; color: #15803D;
}
.form-success .tick svg { width: 24px; height: 24px; }
.form-success h3 { color: #14532D; margin-bottom: 8px; }
.form-success p { color: #166534; margin-bottom: 0; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 17. Region cards ---------------------------------------------- */
.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.region-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 26px; box-shadow: var(--shadow-sm); }
.region-card .tag {
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-600); margin-bottom: 10px; display: block;
}
.region-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.region-card li { margin: 0; }
.region-card li span {
  display: inline-block; font-size: .75rem; font-weight: 500; color: var(--text-body);
  background: var(--ice-200); border-radius: 6px; padding: 3px 9px;
}

/* ---------- 18. Footer ---------------------------------------------------- */
.site-footer { background: var(--ice-200); border-top: 1px solid var(--border); padding-block: clamp(44px, 4.5vw, 68px) 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px 28px; }
.footer-brand p { font-size: .875rem; color: var(--text-muted); max-width: 34ch; margin-top: 14px; }
.footer-contact { list-style: none; padding: 0; margin: 16px 0 0; }
.footer-contact li { font-size: .875rem; color: var(--text-body); margin-bottom: 7px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: var(--primary-500); margin-top: 4px; flex-shrink: 0; }
.footer-col h3 { font-size: .75rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: .875rem; color: var(--text-body); font-weight: 500; }
.footer-col a:hover { color: var(--primary-700); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: .8125rem; color: var(--text-muted); margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { font-size: .8125rem; color: var(--text-muted); }
.footer-note { font-size: .75rem; color: #94A3B8; margin-top: 14px; max-width: 96ch; }

/* ---------- 19. Sticky mobile CTA ----------------------------------------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -4px 20px -8px rgba(15,22,36,.16);
}
.sticky-cta .btn { flex: 1; }

/* ---------- 20. Misc ------------------------------------------------------ */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: .8125rem; font-weight: 500; color: var(--text-body);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 14px;
}
.pill-ice { background: var(--ice-100); border-color: var(--ice-300); }

.divider-label {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.related a { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); transition: border-color .16s ease, box-shadow .16s ease; }
.related a:hover { border-color: var(--primary-300); box-shadow: var(--shadow-sm); text-decoration: none; }
.related .t { font-size: .9375rem; font-weight: 600; color: var(--text-strong); display: block; margin-bottom: 3px; }
.related .d { font-size: .8125rem; color: var(--text-muted); }

.note-box {
  background: var(--ice-100); border: 1px solid var(--ice-300); border-radius: var(--radius-xl);
  padding: 18px 22px; font-size: .9063rem; color: var(--text-body);
}
.note-box strong { color: var(--text-sub); }

.toc { background:#fff; border:1px solid var(--border); border-radius: var(--radius-2xl); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.toc h2 { font-size: .75rem; font-weight:700; letter-spacing:.085em; text-transform:uppercase; color:var(--text-muted); margin-bottom:14px; }
.toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 18px; font-size:.9063rem; }
.toc li { margin-bottom: 7px; break-inside: avoid; }

/* ---------- 21. Responsive ------------------------------------------------ */
@media (max-width: 1100px) {
  .g-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 981px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .split-wide { grid-template-columns: 1fr; gap: 34px; }
  .jp-grid { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .toc ol { columns: 1; }
  .ui-cols { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  .btn-group .btn { flex: 1 1 auto; min-width: 170px; }
  .tablist { flex-wrap: nowrap; overflow-x: auto; }
  .tab { flex: 0 0 auto; }
  .journey-panel { padding: 22px; }
  .faq-a { padding-right: 4px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-group .btn { width: 100%; min-width: 0; }
  .card { padding: 22px; }
  .bar-row { grid-template-columns: 66px 1fr 40px; }
}

/* ---------- 22. Motion & print ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .sticky-cta, .cta-band, .nav-toggle { display: none !important; }
  body { padding-bottom: 0; }
  .card, .ui-frame, .table-wrap { box-shadow: none; border-color: #ccc; }
  a { color: #000; text-decoration: underline; }
}

@media (forced-colors: active) {
  .btn, .card, .ui-frame, .table-wrap, .badge, .flag { border: 1px solid CanvasText; }
}
