/* ==========================================================================
   macshot.com.cn — 全站样式
   配色来源：官方 logo 渐变 (#3D7CFB → #211BEF)，主色取中值 #2F4DF5
   兼容目标：Chromium 86（不使用 :has / 容器查询 / CSS 嵌套 / color-mix）
   ========================================================================== */

:root {
  --brand: #2f4df5;
  --brand-dark: #211bef;
  --brand-light: #3d7cfb;
  --brand-soft: #eef2ff;
  --brand-softer: #f6f8ff;
  --brand-ring: rgba(47, 77, 245, 0.18);

  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1020;

  --ok: #16a34a;
  --warn: #d97706;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(33, 27, 239, 0.18);

  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--brand-soft); color: var(--brand-dark); padding: 0.15em 0.4em; border-radius: 4px; }
pre { font-family: var(--mono); font-size: 0.92rem; line-height: 1.6; background: var(--bg-dark); color: #e2e8f0; padding: 16px 20px; border-radius: var(--radius); overflow-x: auto; margin: 0 0 1em; }
pre code { background: none; color: inherit; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-alt); font-weight: 600; color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section--head p { color: var(--ink-3); font-size: 1.05rem; margin-bottom: 0; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.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; }

/* ---------- Icons (inline SVG) ---------- */
.ico { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(47, 77, 245, 0.3); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn--light:hover { background: var(--brand-soft); }
.btn--lg { padding: 16px 32px; font-size: 1.08rem; border-radius: 12px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand small { font-weight: 500; color: var(--ink-3); font-size: 0.8rem; margin-left: 4px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; padding: 8px 14px; border-radius: 8px; }
.site-nav a:hover { color: var(--brand); background: var(--brand-softer); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-header__cta { display: flex; align-items: center; gap: 12px; }
.site-header__cta .btn { padding: 9px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
  padding: 88px 0 64px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 0.85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 { color: var(--ink); }
.hero h1 span { background: linear-gradient(135deg, var(--brand-light), var(--brand-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 540px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: 0.9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__shot { position: relative; }
.hero__shot img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero__glow { position: absolute; inset: -40px; background: radial-gradient(ellipse at 60% 40%, rgba(61, 124, 251, 0.28), transparent 60%); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-align: center; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--brand); line-height: 1.1; letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: var(--ink-3); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.96rem; margin-bottom: 0; }
.card--dark { background: var(--bg-dark); border-color: var(--bg-dark); color: #cbd5e1; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #cbd5e1; }
.card--dark .card__icon { background: rgba(61, 124, 251, 0.15); color: var(--brand-light); }
.card__list { list-style: none; padding: 0; margin: 12px 0 0; }
.card__list li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; color: var(--ink-2); font-size: 0.94rem; }
.card__list .ico { color: var(--ok); margin-top: 3px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.94rem; }

/* ---------- Scenario (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 64px; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.split h2, .split h3 { margin-bottom: 12px; }
.split p { color: var(--ink-2); }
.split ul { color: var(--ink-2); }
.split ul li { margin: 6px 0; }
.split ul .ico { display: inline-block; vertical-align: -4px; color: var(--brand); margin-right: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 0.85rem; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-3); font-size: 0.94rem; margin: 0; }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; color: inherit; text-decoration: none; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
a.tile:hover { text-decoration: none; box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.tile .ico { color: var(--brand); margin-top: 2px; }
.tile strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.tile span { font-size: 0.9rem; color: var(--ink-3); }

/* ---------- Showcase (dark band) ---------- */
.showcase { background: var(--bg-dark); color: #e2e8f0; padding: 80px 0; }
.showcase h2, .showcase h3 { color: #fff; }
.showcase p { color: #cbd5e1; }
.showcase .section--head p { color: #cbd5e1; }
.showcase__shot { margin-top: 40px; }
.showcase__shot img { border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.showcase__shot figcaption { text-align: center; color: #94a3b8; font-size: 0.9rem; margin-top: 14px; }

/* ---------- Comparison table ---------- */
.compare { overflow-x: auto; }
.compare th:first-child { min-width: 160px; }
.compare td, .compare th { text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 50%, var(--brand-dark) 100%); color: #fff; padding: 72px 0; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; max-width: 560px; margin: 0 auto 28px; }
.cta .btn--light { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 20px; color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; }
.cta__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%); padding: 64px 0 48px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.page-hero p { color: var(--ink-2); font-size: 1.08rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 18px; padding: 0; list-style: none; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line); }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 24px 0; }
.kbd-table td:first-child { white-space: nowrap; }
.kbd { display: inline-block; min-width: 26px; padding: 2px 7px; font-family: var(--mono); font-size: 0.82rem; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; color: var(--ink-2); text-align: center; }

/* ---------- Download ---------- */
.dl-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.dl-card h2 { font-size: 1.4rem; }
.dl-card__ver { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: 0.9rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.dl-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 24px; font-size: 0.95rem; }
.dl-card dt { color: var(--ink-3); }
.dl-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-size: 0.95rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .ico { color: var(--brand); margin-top: 3px; }
.dl-arch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dl-arch span { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 0.88rem; color: var(--ink-2); font-weight: 500; }
.brew { position: relative; }
.brew pre { margin: 0; padding-right: 56px; }
.brew button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 0.82rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.brew button:hover { background: rgba(255, 255, 255, 0.2); }
.changelog { list-style: none; padding: 0; margin: 0; }
.changelog li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.changelog li:last-child { border-bottom: 0; }
.changelog time { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.changelog strong { display: block; margin: 2px 0 6px; }
.changelog p { margin: 0; color: var(--ink-2); font-size: 0.94rem; }

/* ---------- Changelog version tags ---------- */
.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.tag--stable { background: #dcfce7; color: #166534; }
.tag--feature { background: var(--brand-soft); color: var(--brand-dark); }
.tag--fix { background: #fef3c7; color: #92400e; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform 0.2s ease; flex: 0 0 auto; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; font-size: 0.96rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 16, 32, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__panel { position: relative; background: #fff; border-radius: 20px; width: 100%; max-width: 640px; padding: 40px 40px 32px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35); max-height: calc(100vh - 48px); overflow-y: auto; animation: modalIn 0.25s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.modal__head img { width: 56px; height: 56px; border-radius: 14px; }
.modal__head p { margin: 0; color: var(--ink-3); font-size: 0.9rem; }
.modal__title { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 2px; }
.modal__desc { color: var(--ink-2); font-size: 0.96rem; margin-bottom: 24px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr { background: var(--bg-alt); border: 1px dashed var(--brand); border-radius: var(--radius); padding: 20px 16px 16px; text-align: center; }
.qr__box { width: 160px; height: 160px; margin: 0 auto 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; position: relative; }
/* 留空占位：二维码图片后续放入 <img class="qr__img"> 即可 */
.qr__box .ico { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; color: #cbd5e1; stroke-width: 1.25; }
.qr__box img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.qr strong { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.qr span { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 56px 0 32px; font-size: 0.9rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-grid p { color: #94a3b8; font-size: 0.88rem; margin: 0; line-height: 1.7; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid li a { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: #64748b; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 14px 18px; font-size: 0.92rem; color: #78350f; }
.note strong { color: #92400e; }
.callout { background: var(--brand-soft); border: 1px solid #c7d2fe; border-radius: var(--radius); padding: 16px 20px; font-size: 0.94rem; color: var(--ink-2); }
.callout strong { color: var(--brand-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .grid--4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .tiles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .split, .grid--2, .grid--3, .grid--4, .tiles, .steps, .qr-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split + .split { margin-top: 40px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 16px; gap: 4px; display: none; box-shadow: var(--shadow-md); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-header__cta .btn span { display: none; }
  .site-header__cta .btn { padding: 9px 12px; }
  .modal__panel { padding: 32px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn--lg { width: 100%; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .stats, .grid--3, .grid--4, .tiles, .steps { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.5rem; }
  .dl-card { padding: 24px; }
  .modal__head img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
