/* =========================================================
   600 задач з хімії — modern refresh prototype
   Design system + components
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (chemistry blue + cyan, amber accent) */
  --navy-900: #07173a;
  --navy-800: #0b234f;
  --navy-700: #103a7a;
  --blue-600: #1f5fd1;
  --blue-500: #2f6fe4;
  --cyan-400: #22c1d6;
  --cyan-300: #5fdde9;
  --amber-400: #f7a13b;
  --amber-500: #f08a1d;

  /* Neutrals */
  --ink: #0f1b2d;
  --ink-soft: #44546b;
  --muted: #6b7a90;
  --line: #e4eaf2;
  --surface: #ffffff;
  --bg: #f5f8fc;
  --bg-tint: #eef4fb;

  /* Effects */
  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-400) 100%);
  --grad-cta: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 100%);
  --grad-deep: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, #154b96 100%);

  --shadow-sm: 0 1px 2px rgba(16, 38, 76, .08), 0 2px 6px rgba(16, 38, 76, .06);
  --shadow-md: 0 8px 24px rgba(16, 38, 76, .10);
  --shadow-lg: 0 24px 60px rgba(11, 35, 79, .18);
  --shadow-cta: 0 10px 24px rgba(240, 138, 29, .35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

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

  --t-fast: .18s ease;
  --t: .3s cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tint { background: var(--bg-tint); }
.section--deep { background: var(--grad-deep); color: #eaf2ff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #c3d4f0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-600); margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.section--deep .kicker { color: var(--cyan-300); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--cta { background: var(--grad-cta); color: #3a1d00; box-shadow: var(--shadow-cta); }
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(240,138,29,.45); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue-500); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-fast);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand .atom { width: 34px; height: 34px; color: var(--blue-600); }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav.is-mobile { display: none; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .55rem .8rem; border-radius: var(--radius-pill); color: var(--ink-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--blue-600); background: var(--bg-tint); }
.nav a.is-active { color: var(--blue-600); background: var(--bg-tint); }

.header-tools { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; background: var(--bg-tint); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch button { font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: .3rem .6rem; border-radius: var(--radius-pill); color: var(--muted); }
.lang-switch button.is-active { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: var(--t-fast); }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-deep); color: #fff; overflow: hidden; }
.hero::after { /* soft glow */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 10%, rgba(95,221,233,.22), transparent 60%),
              radial-gradient(50% 50% at 10% 90%, rgba(47,111,228,.30), transparent 60%);
  pointer-events: none;
}
.hero-molecules { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 9vw, 120px); }
.hero .badge {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: .45rem .9rem; border-radius: var(--radius-pill); color: #d7e6ff; margin-bottom: 1.3rem;
}
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(120deg, #7ee3ef, #b8d3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #cfe0fb; max-width: 46ch; margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 40px); margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1; }
.hero-stats .lbl { font-size: .82rem; color: #a9c1e8; margin-top: .3rem; }

.hero-card { position: relative; justify-self: center; }
.hero-card .book {
  width: clamp(220px, 26vw, 320px); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5); transform: rotate(3deg);
  border: 4px solid rgba(255,255,255,.85);
}
.hero-card .ring { position: absolute; inset: -10% -14%; z-index: -1; }
.float-badge {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: .7rem 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
}
.float-badge small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); }
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.float-badge.fb-1 { top: 6%; left: -10%; animation: floaty 6s ease-in-out infinite; }
.float-badge.fb-2 { bottom: 8%; right: -8%; animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Feature / value cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0f6; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue-600); margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }

/* ---------- About book split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev { grid-template-columns: 1.1fr .9fr; }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-frame.tilt img { transform: rotate(-2.5deg); }
.media-frame .blob { position: absolute; inset: -8% -8% auto auto; width: 60%; aspect-ratio: 1; background: var(--grad-brand); filter: blur(40px); opacity: .25; z-index: -1; border-radius: 50%; }

.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .4rem 0; color: var(--ink-soft); }
.checklist .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,193,214,.14); color: var(--cyan-400); display: grid; place-items: center; margin-top: .15rem; }
.checklist .tick svg { width: 14px; height: 14px; }

.spec-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.spec { background: var(--bg-tint); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .9rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.spec b { color: var(--blue-600); }

/* ---------- Category chips + fact cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(26px, 4vw, 40px); }
.chip {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; padding: .55rem 1.1rem;
  border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft); transition: var(--t-fast); display: inline-flex; align-items: center; gap: .5rem;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .8; }

.facts { columns: 3; column-gap: clamp(16px, 2.5vw, 28px); }
.fact {
  break-inside: avoid; margin-bottom: clamp(16px, 2.5vw, 28px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fact .cat { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.fact h3 { font-size: 1.08rem; margin: .35rem 0 .5rem; }
.fact p { font-size: .94rem; }
.fact.is-hidden { display: none; }

/* ---------- Resources ---------- */
.resource {
  display: flex; align-items: center; gap: 1.1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.resource:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0f6; }
.resource .file-ic { flex: 0 0 auto; width: 52px; height: 64px; border-radius: 10px; background: linear-gradient(160deg,#fff,#eef4fb); border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-600); font-family: var(--font-head); font-weight: 800; font-size: .72rem; position: relative; }
.resource .file-ic::after { content: "PDF"; }
.resource .meta { flex: 1; min-width: 0; }
.resource .meta h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.resource .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.resource .tag { font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--bg-tint); padding: .2rem .6rem; border-radius: var(--radius-pill); }
.resource .status { color: #18a558; }

/* ---------- Author ---------- */
.author-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.author-photo { position: relative; }
.author-photo img { border-radius: var(--radius-lg); background: var(--bg-tint); box-shadow: var(--shadow-lg); }
.author-photo .ring { position: absolute; inset: -8%; z-index: -1; opacity: .5; }
.awards { display: grid; gap: .7rem; margin-top: 1.4rem; }
.award { display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.award .yr { flex: 0 0 auto; font-family: var(--font-head); font-weight: 800; color: var(--blue-600); }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-list { display: grid; gap: .9rem; margin: 1.4rem 0; }
.contact-item { display: flex; gap: .9rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); transition: var(--t); }
.contact-item:hover { transform: translateX(4px); border-color: #cfe0f6; }
.contact-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center; flex: 0 0 auto; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; }
.contact-item b { font-family: var(--font-head); font-size: 1rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); font: inherit; color: var(--ink); transition: var(--t-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,111,228,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band .hero-molecules { opacity: .35; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c3d4f0; padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #88a4d6; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #b7c9ea; transition: color var(--t-fast); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: .6rem; }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .85rem; color: #88a4d6; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,23,58,.55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__dialog { position: relative; z-index: 2; width: min(440px, 100%); background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg); text-align: center; animation: pop .3s cubic-bezier(.22,.61,.36,1); }
.modal__dialog img { width: 130px; margin: 0 auto 1.2rem; border-radius: 8px; box-shadow: var(--shadow-md); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); color: var(--ink-soft); font-size: 1.2rem; display: grid; place-items: center; }
.modal__close:hover { background: var(--line); }
.modal .stack-sm > * + * { margin-top: .7rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* ---------- Scroll-up ---------- */
.scroll-up { position: fixed; bottom: 22px; right: 22px; z-index: 70; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--t); }
.scroll-up.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-up:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero .hero-molecules { opacity: .4; }
.page-hero .inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 90px); max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe0fb; margin-top: 1rem; }
.crumbs { font-size: .85rem; color: #9fbbe9; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.crumbs a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .facts { columns: 2; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-card { margin-top: 1.5rem; }
  .split, .split--rev, .author-grid, .contact-grid, .cta-band .inner { grid-template-columns: 1fr; }
  .split--rev .media-frame { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-tools .lang-switch { display: none; }
  .burger { display: flex; }
  .nav.is-mobile {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: fixed; inset: 72px 0 auto 0; background: #fff; padding: 1rem var(--gutter) 1.4rem;
    box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line); z-index: 55;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--t);
  }
  body.nav-open .nav.is-mobile { transform: none; opacity: 1; pointer-events: auto; }
  .nav.is-mobile a { padding: .9rem 1rem; font-size: 1.05rem; }
  .cta-band .inner { text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .facts { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
