/* ============================================================
   SafeW — 全站共享样式
   ============================================================ */

/* ── 设计变量 ─────────────────────────────────────────── */
:root {
  /* 色板 */
  --color-dark: #231334;
  --color-paper: #E9E8EA;
  --color-body: #1C1523;
  --color-brand: #7D14EB;
  --color-accent: #EDD26E;

  /* 圆角 */
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-sm: 8px;

  /* 卡片边界 */
  --card-border: 2px solid var(--color-body);
  --card-shadow: 4px 4px 0 var(--color-body);

  /* 节奏与密度 */
  --section-y: clamp(5rem, 10vw, 9rem);
  --gap: clamp(1.5rem, 3vw, 2.5rem);

  /* 内容最大宽度 */
  --content-max: 960px;

  /* 取色默认（纸面） */
  --text-primary: var(--color-body);
  --text-secondary: rgba(28, 21, 35, 0.7);
  --brand-color: var(--color-brand);
  --accent-color: var(--color-accent);
}

/* 深色面覆盖 */
.dark-surface {
  --text-primary: var(--color-paper);
  --text-secondary: rgba(233, 232, 234, 0.7);
  --brand-color: var(--color-accent);
  --accent-color: var(--color-accent);
  background: var(--color-dark);
}

/* 深色面内的浅色卡片恢复纸面取色 */
.light-card {
  --text-primary: var(--color-body);
  --text-secondary: rgba(28, 21, 35, 0.7);
  --brand-color: var(--color-brand);
  --accent-color: var(--color-accent);
  background: var(--color-paper);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

/* ── 基础排版 ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ── 容器 ─────────────────────────────────────────────── */
.container {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

/* ── 区块通用 ─────────────────────────────────────────── */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section + .section {
  border-top: 1px solid rgba(28, 21, 35, 0.12);
}

.dark-surface .section + .section {
  border-top-color: rgba(233, 232, 234, 0.1);
}

/* ── 眉标 ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-color);
  margin-bottom: 0.6rem;
}

/* ── 标题 ─────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 0.4em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

.hl {
  color: var(--brand-color);
}

.dark-surface .hl {
  color: var(--accent-color);
}

/* ── 正文 ─────────────────────────────────────────────── */
p {
  max-width: 38em;
  color: var(--text-secondary);
}

.dark-surface p {
  color: var(--text-secondary);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── 按钮 ─────────────────────────────────────────────── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--color-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 210, 110, 0.35);
}

.btn-secondary {
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(28, 21, 35, 0.06);
}

.dark-surface .btn-secondary {
  border-color: var(--color-paper);
  color: var(--color-paper);
}

.dark-surface .btn-secondary:hover {
  background: rgba(233, 232, 234, 0.08);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* ── 图标 SVG ─────────────────────────────────────────── */
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

/* ── 胶囊 / 标签 ──────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(125, 20, 235, 0.08);
  color: var(--brand-color);
  border: 1px solid rgba(125, 20, 235, 0.15);
}

.dark-surface .chip {
  background: rgba(237, 210, 110, 0.1);
  color: var(--accent-color);
  border-color: rgba(237, 210, 110, 0.2);
}

/* ── 卡片 ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: var(--gap);
}

.card {
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--color-paper);
  color: var(--text-primary);
}

.card h3 {
  margin-bottom: 0.3em;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── 面板（视觉展示区） ───────────────────────────────── */
.visual-panel {
  border-radius: var(--radius-card);
  padding: 32px;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.dark-surface .visual-panel {
  background: rgba(233, 232, 234, 0.06);
  border: 1px solid rgba(233, 232, 234, 0.12);
}

.visual-panel svg {
  width: 100%;
  height: auto;
}

/* ── 图文交错行 ───────────────────────────────────────── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.split-row.reverse {
  direction: rtl;
}

.split-row.reverse > * {
  direction: ltr;
}

/* ── 两列对照表 ───────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(28, 21, 35, 0.1);
}

.dark-surface .compare-table th,
.dark-surface .compare-table td {
  border-bottom-color: rgba(233, 232, 234, 0.1);
}

.compare-table th {
  font-weight: 700;
  color: var(--text-primary);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table td:last-child {
  color: var(--text-secondary);
}

/* ── 规格表格 ─────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table tr {
  border-bottom: 1px solid rgba(28, 21, 35, 0.1);
}

.dark-surface .spec-table tr {
  border-bottom-color: rgba(233, 232, 234, 0.1);
}

.spec-table td {
  padding: 12px 0;
}

.spec-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-secondary);
}

/* ── 步骤编号徽标 ─────────────────────────────────────── */
.step-list {
  list-style: none;
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}

.step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-color);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.step-content strong {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.step-content p {
  font-size: 0.95rem;
  margin: 0;
}

/* ── 新闻卡片 ─────────────────────────────────────────── */
.news-card {
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-card);
  padding: 24px;
  background: var(--color-paper);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.news-card time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-color);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list {
  list-style: none;
}

.faq-list details {
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 12px;
  background: var(--color-paper);
  color: var(--text-primary);
}

.faq-list summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-primary);
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::before {
  transform: rotate(45deg);
}

.faq-list details[open] summary {
  margin-bottom: 12px;
}

.faq-list details p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ── 提示框 ───────────────────────────────────────────── */
.tip-box {
  border-left: 4px solid var(--brand-color);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(125, 20, 235, 0.06);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.dark-surface .tip-box {
  border-left-color: var(--accent-color);
  background: rgba(237, 210, 110, 0.08);
}

/* ── 页头 ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-paper);
  border-bottom: 1px solid rgba(28, 21, 35, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  background: rgba(233, 232, 234, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(28, 21, 35, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 4px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-color);
  border-radius: 1px;
}

.dark-surface .nav-links a[aria-current="page"]::after {
  background: var(--accent-color);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ── 页脚 ─────────────────────────────────────────────── */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(28, 21, 35, 0.1);
  background: var(--color-paper);
}

.dark-surface .site-footer {
  border-top-color: rgba(233, 232, 234, 0.1);
  background: var(--color-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 32px;
  text-align: center;
}

/* ── SVG 动效：网格节点依次点亮 ───────────────────────── */
@keyframes nodeGlow {
  0%, 100% { fill: rgba(233, 232, 234, 0.15); }
  15% { fill: var(--color-accent); }
  30% { fill: rgba(233, 232, 234, 0.15); }
}

.grid-node {
  fill: rgba(233, 232, 234, 0.15);
}

.grid-node.glow-1 { animation: nodeGlow 6s ease-in-out infinite 0s; }
.grid-node.glow-2 { animation: nodeGlow 6s ease-in-out infinite 0.4s; }
.grid-node.glow-3 { animation: nodeGlow 6s ease-in-out infinite 0.8s; }
.grid-node.glow-4 { animation: nodeGlow 6s ease-in-out infinite 1.2s; }
.grid-node.glow-5 { animation: nodeGlow 6s ease-in-out infinite 1.6s; }
.grid-node.glow-6 { animation: nodeGlow 6s ease-in-out infinite 2.0s; }
.grid-node.glow-7 { animation: nodeGlow 6s ease-in-out infinite 2.4s; }
.grid-node.glow-8 { animation: nodeGlow 6s ease-in-out infinite 2.8s; }
.grid-node.glow-9 { animation: nodeGlow 6s ease-in-out infinite 3.2s; }
.grid-node.glow-10 { animation: nodeGlow 6s ease-in-out infinite 3.6s; }
.grid-node.glow-11 { animation: nodeGlow 6s ease-in-out infinite 4.0s; }
.grid-node.glow-12 { animation: nodeGlow 6s ease-in-out infinite 4.4s; }

/* ── SVG 动效：气泡依次浮现后轻微漂浮 ─────────────────── */
@keyframes bubbleIn {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  10%, 80% { opacity: 1; transform: translateY(-4px); }
}

.bubble-in {
  opacity: 0.3;
}

.bubble-in.b1 { animation: bubbleIn 5s ease-in-out infinite 0s; }
.bubble-in.b2 { animation: bubbleIn 5s ease-in-out infinite 0.6s; }
.bubble-in.b3 { animation: bubbleIn 5s ease-in-out infinite 1.2s; }

/* ── SVG 动效：输入中三个点呼吸 ───────────────────────── */
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

.typing-dot {
  opacity: 0.2;
}

.typing-dot.t1 { animation: typingDot 2.4s ease-in-out infinite 0s; }
.typing-dot.t2 { animation: typingDot 2.4s ease-in-out infinite 0.3s; }
.typing-dot.t3 { animation: typingDot 2.4s ease-in-out infinite 0.6s; }

/* ── SVG 动效：通知卡片滑入 ───────────────────────────── */
@keyframes slideIn {
  0%, 100% { opacity: 0.2; transform: translateX(20px); }
  15%, 75% { opacity: 1; transform: translateX(0); }
}

.slide-in {
  opacity: 0.2;
}

.slide-in.s1 { animation: slideIn 6s ease-in-out infinite 0.5s; }

/* ── SVG 动效：连接线流动 ─────────────────────────────── */
@keyframes lineFlow {
  0% { stroke-dashoffset: 1; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}

.line-flow {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke: rgba(233, 232, 234, 0.3);
}

.line-flow.lf1 { animation: lineFlow 4s ease-in-out infinite; }
.line-flow.lf2 { animation: lineFlow 4s ease-in-out infinite 1s; }
.line-flow.lf3 { animation: lineFlow 4s ease-in-out infinite 2s; }

/* ── SVG 动效：窗口淡入浮动 ───────────────────────────── */
@keyframes windowFloat {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

.window-float {
  opacity: 0.6;
}

.window-float.wf1 { animation: windowFloat 7s ease-in-out infinite 0s; }
.window-float.wf2 { animation: windowFloat 7s ease-in-out infinite 1.5s; }

/* ── SVG 动效：扫描线循环 ─────────────────────────────── */
@keyframes scanLine {
  0% { stroke-dashoffset: 1; }
  100% { stroke-dashoffset: 0; }
}

.scan-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke: var(--color-accent);
}

.scan-line.sl1 { animation: scanLine 3s linear infinite; }

/* ── SVG 动效：状态点脉冲 ─────────────────────────────── */
@keyframes pulseDot {
  0%, 100% { r: 3; opacity: 1; }
  50% { r: 5; opacity: 0.6; }
}

.pulse-dot {
  animation: pulseDot 2.5s ease-in-out infinite;
}

/* ── 减少动态效果 ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .grid-node,
  .bubble-in,
  .typing-dot,
  .slide-in,
  .line-flow,
  .window-float,
  .scan-line,
  .pulse-dot {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── 响应式 ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .split-row {
    grid-template-columns: 1fr;
  }

  .split-row.reverse {
    direction: ltr;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-paper);
    flex-direction: column;
    padding: 16px var(--gap);
    border-bottom: 1px solid rgba(28, 21, 35, 0.1);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .dark-surface .nav-links {
    background: var(--color-dark);
    border-bottom-color: rgba(233, 232, 234, 0.1);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}

/* ── 焦点可见 ─────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* ── 列表样式 ─────────────────────────────────────────── */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-color);
  transform: rotate(45deg);
}

.dark-surface .feature-list li::before {
  background: var(--accent-color);
}

/* ── 场景卡片 ─────────────────────────────────────────── */
.scene-card {
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--color-paper);
  color: var(--text-primary);
}

.scene-card h3 {
  margin-bottom: 0.8em;
}

.scene-card ol {
  padding-left: 20px;
  color: var(--text-secondary);
}

.scene-card ol li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.result-box {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(125, 20, 235, 0.06);
  border-left: 3px solid var(--brand-color);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dark-surface .result-box {
  background: rgba(237, 210, 110, 0.08);
  border-left-color: var(--accent-color);
}

/* ── 深度专题 ─────────────────────────────────────────── */
.deep-section h3 {
  margin-top: 1.5em;
}

.deep-section p {
  margin-bottom: 1em;
}

.deep-section ul {
  padding-left: 20px;
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.deep-section ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── 下载引导区 ───────────────────────────────────────── */
.download-cta {
  text-align: center;
}

.download-cta h2 {
  margin-bottom: 0.3em;
}

.download-cta .lead {
  margin: 0 auto;
}

.download-cta .btn-group {
  justify-content: center;
  margin-top: 2rem;
}

/* ── 特性胶囊行 ───────────────────────────────────────── */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

/* ── 事实小字 ─────────────────────────────────────────── */
.fact-line {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.dark-surface .fact-line {
  color: var(--text-secondary);
}

/* ── 对齐辅助 ─────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-row { display: grid; gap: var(--gap); }
.gap-row.cols-2 { grid-template-columns: 1fr 1fr; }
.gap-row.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .gap-row.cols-2,
  .gap-row.cols-3 {
    grid-template-columns: 1fr;
  }
}
