/* style.css — 地材品类合集：布局与首页/内页模块
   基准设计宽度 1440px（对应 03-ui/home-ui-desktop.png，稿 1024×1536 ×1.40625） */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* 组件自带 display:flex/grid 会盖掉 UA 的 [hidden]{display:none}，这里显式兜底 */
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================================ M0 站点头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 234, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(122, 79, 49, 0.09);
}
.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--c-ink);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.main-nav a {
  font-size: 14.5px;
  color: var(--c-ink-2);
  text-decoration: none;
  padding: 6px 9px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--c-brand); background: rgba(122, 79, 49, .07); }
.main-nav a[aria-current="page"] { color: var(--c-brand); font-weight: 600; }
.nav-aside {
  flex: none;
  font-size: 14px;
  color: var(--c-brand);
  text-decoration: none;
  border: 1px solid rgba(122, 79, 49, .22);
  border-radius: 999px;
  padding: 7px 16px;
  white-space: nowrap;
}
.nav-aside:hover { background: rgba(122, 79, 49, .08); }
.nav-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  border-radius: var(--r-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--c-ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ============================================================= M1 首屏 */
.hero {
  position: relative;
  height: 390px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 61%;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%);
}
.hero-inner {
  position: relative;
  padding-top: 44px;
  width: 62%;
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: .5px;
  max-width: 15em;
}
.hero-lead {
  margin-top: 20px;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-ink-2);
}
.hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.quick {
  position: absolute;
  top: 20px;
  right: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  width: 315px;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  padding: 15px 18px 12px;
}
.quick h2 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.quick ul { display: grid; }
.quick li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.45;
}
.quick .dot {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  flex: none;
  background: var(--c-brand-soft);
}
/* 8 个品类的视觉色阶：木色 → 灰石 → 户外 → 运动，一一对应 taxonomy 顺序 */
.quick li:nth-child(1) .dot { background: #b98a5f; }
.quick li:nth-child(2) .dot { background: #a9784f; }
.quick li:nth-child(3) .dot { background: #9a8b78; }
.quick li:nth-child(4) .dot { background: #c0a878; }
.quick li:nth-child(5) .dot { background: #c9a982; }
.quick li:nth-child(6) .dot { background: #b0b4b3; }
.quick li:nth-child(7) .dot { background: #8a6746; }
.quick li:nth-child(8) .dot { background: #7d97a6; }
.quick b { font-weight: 600; color: var(--c-ink); }

/* =================================================== M2 品类索引网格 */
.sec-categories { padding: 32px 0 38px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--c-surface);
  border: 1px solid rgba(90, 62, 40, .06);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cat-card .thumb { aspect-ratio: 16 / 9; }
.cat-card-body { padding: 11px 12px 13px; }
.cat-card-body h3 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card-body span {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}

/* ==================================================== M3 八类对照表 */
.sec-compare { padding: 16px 0 9px; }
.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cmp-grid table tbody th,
.cmp-grid table tbody td { padding: 9px 10px; }
.cmp-grid table thead th { padding: 10px; font-size: 13px; }

/* ==================================================== M4 热门条目 6 张 */
.sec-featured { padding: 16px 0 21px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.feat-card { display: block; text-decoration: none; }
.feat-card .thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.feat-card h3 {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}
.feat-card span {
  display: block;
  margin-top: 1px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
  line-height: 1.3;
}

/* ================================================ M4b 重点维度内容模块 */
.sec-modules { padding: 10px 0 34px; }
.mod-block + .mod-block { margin-top: 34px; }
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ====================================================== M5 选购五步 */
.sec-guide { padding: 16px 0 41px; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 44px;
}
.step {
  position: relative;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  padding: 24px 14px 14px;
  text-align: center;
}
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--c-muted);
  opacity: .8;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff6ec;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 15.5px; font-weight: 600; }
.step p {
  margin-top: 3px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
  line-height: 1.5;
}

/* ============================================ M6 空间场景 + M7 常见问题 */
.sec-spaces { padding: 16px 0 30px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 30px;
}
.space-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.space-card { display: block; text-decoration: none; }
.space-card .thumb {
  aspect-ratio: 5 / 3;
  border-radius: var(--r-md);
  position: relative;
  box-shadow: var(--shadow-card);
}
.space-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 28, 18, 0) 55%, rgba(40, 28, 18, .34) 100%);
  border-radius: inherit;
}
.space-tag {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .2px;
}
.space-card h3 {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}
.space-card p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.45;
}
.space-card ul {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.space-card li {
  font-size: 11.5px;
  color: #6b4526;
  background: var(--c-brand-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.sec-spaces .faq-item:last-child { border-bottom: 0; }

/* ====================================================== M8 结尾引导带 */
.sec-cta { padding: 0 0 27px; }
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 137px;
  padding: 24px 30px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(100deg, #6b4325 0%, #86552f 55%, #9a6538 100%);
  color: var(--c-cream);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/src-hero.jpg") center 62% / cover no-repeat;
  opacity: .16;
  mix-blend-mode: overlay;
}
.cta-icon { position: relative; flex: none; }
.cta-icon svg { width: 52px; height: 52px; }
.cta-text { position: relative; flex: 1 1 auto; }
.cta-text h2 { font-size: 20px; font-weight: 700; letter-spacing: .3px; }
.cta-text p {
  margin-top: 6px;
  font-size: var(--fs-tiny);
  color: rgba(251, 238, 225, .82);
  line-height: 1.6;
}
.cta-actions {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cta-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-links a {
  font-size: var(--fs-tiny);
  color: rgba(251, 238, 225, .9);
  text-decoration: none;
}
.cta-links a:hover { color: #fff; text-decoration: underline; }

/* =========================================================== M9 页脚 */
.site-footer {
  background: var(--c-footer);
  color: #e9ddd0;
  padding: 34px 0 128px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-col { flex: 1 1 190px; min-width: 170px; }
.footer-col-brand { flex: 1.6 1 300px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  text-decoration: none;
  color: #f3e9dd;
}
.footer-brand svg { width: 24px; height: 24px; }
.footer-brand span { font-size: 17px; font-weight: 700; }
.footer-about {
  margin-top: 12px;
  font-size: var(--fs-tiny);
  line-height: 1.75;
  color: rgba(233, 221, 208, .8);
  max-width: 46ch;
}
.footer-title {
  font-size: 13px;
  font-weight: 600;
  color: #f3e9dd;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-tiny);
  line-height: 1.9;
}
.footer-links a { text-decoration: none; color: rgba(233, 221, 208, .8); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note {
  margin-top: 10px;
  font-size: var(--fs-tiny);
  line-height: 1.7;
  color: rgba(233, 221, 208, .6);
}
.footer-nav {
  font-size: var(--fs-tiny);
  line-height: 1.75;
  color: rgba(233, 221, 208, .8);
  padding-left: 22px;
  border-left: 1px solid rgba(233, 221, 208, .18);
  flex: 1 1 auto;
}
.footer-nav b { color: #f3e9dd; font-weight: 600; }
.footer-nav a { text-decoration: none; color: rgba(233, 221, 208, .8); }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(233, 221, 208, .18);
}
.footer-copy {
  font-size: var(--fs-tiny);
  color: rgba(233, 221, 208, .6);
  white-space: nowrap;
}
.footer-icp {
  font-size: var(--fs-tiny);
  color: rgba(233, 221, 208, .6);
  white-space: nowrap;
}
.footer-icp a { color: rgba(233, 221, 208, .6); text-decoration: none; }
.footer-icp a:hover { color: #fff; text-decoration: underline; }

/* ========================================================= 内页：分类页 */
.page-hero { padding: 26px 0 20px; }
.page-hero .breadcrumb { margin-bottom: 12px; }
.page-hero h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .3px;
}
.page-lead {
  margin-top: 12px;
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--c-ink-2);
}
.fact-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
}
.fact {
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}
.fact b { display: block; font-size: var(--fs-body); color: var(--c-ink); font-weight: 600; }

.sec-list { padding: 0 0 30px; }
.list-note {
  margin-top: 16px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.item-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid rgba(90, 62, 40, .07);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.item-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.item-card .thumb { aspect-ratio: 16 / 10; }
.item-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.item-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.item-card h3 a { text-decoration: none; }
.item-card h3 a:hover { color: var(--c-brand); }
.item-card p {
  margin-top: 8px;
  font-size: var(--fs-tiny);
  line-height: 1.75;
  color: var(--c-ink-2);
}
.item-card .tag-line { margin-top: 12px; }
.item-card .more {
  margin-top: 14px;
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--c-brand);
  text-decoration: none;
}
.item-card .more:hover { text-decoration: underline; }

.sec-desc { padding: 6px 0 34px; }
.desc-box {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 26px 30px 28px;
  display: grid;
  gap: 14px;
}
.desc-box h2 { font-size: 19px; font-weight: 700; }
.desc-box p {
  font-size: var(--fs-body);
  line-height: 1.95;
  color: var(--c-ink-2);
  max-width: 78ch;
}
.desc-box a { color: var(--c-brand); text-decoration: none; border-bottom: 1px solid rgba(122,79,49,.3); }
.desc-box a:hover { border-color: var(--c-brand); }

.sec-related { padding: 0 0 44px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.related-card:hover { border-color: var(--c-brand); color: var(--c-brand); }
.related-card span { font-size: 12px; color: var(--c-muted); font-weight: 400; }

/* ================================================================ 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: var(--fs-tiny);
  color: var(--c-ink-2);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  text-decoration: none;
}
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager .pager-current {
  color: #fff;
  background: var(--c-brand);
  border-color: var(--c-brand);
  font-weight: 600;
}
.pager .pager-gap {
  min-width: auto;
  padding: 0 2px;
  background: none;
  border: none;
  color: var(--c-muted);
}
.pager-info {
  margin-left: 6px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}

/* ========================================================= 内页：详情页 */
.article-head { padding: 26px 0 10px; }
.article-head .breadcrumb { margin-bottom: 12px; }
.article-head h1 {
  font-size: 34px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: .2px;
  max-width: 24em;
}
.article-lead {
  margin-top: 14px;
  max-width: 76ch;
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--c-ink-2);
}
.meta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}
.meta-row b { color: var(--c-ink); font-weight: 600; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 46px;
  padding: 18px 0 40px;
  align-items: start;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 30px 0 12px;
  padding-left: 13px;
  border-left: 4px solid var(--c-brand);
  scroll-margin-top: 80px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: var(--fs-body);
  line-height: 1.95;
  color: var(--c-ink-2);
  margin-bottom: 12px;
  max-width: 40em;
}
.article-body strong { color: var(--c-ink); font-weight: 600; }
.article-body figure { margin: 16px 0 22px; }
.article-body figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
}
.article-body figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-muted);
}
.article-body a { color: var(--c-brand); }
.toc-sticky { position: sticky; top: 78px; }

.sec-spec { padding: 0 0 32px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-caption {
  font-size: var(--fs-tiny);
  color: var(--c-muted);
  margin-bottom: 8px;
}
.sec-faq { padding: 0 0 36px; }
.faq-box {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 8px 24px;
}
.faq-box .faq-item:last-child { border-bottom: 0; }

/* ============================================================= 响应式 */
@media (max-width: 1180px) {
  .hero h1 { font-size: 38px; }
  .quick { width: 280px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { gap: 26px; }
  .step:not(:last-child)::after { right: -20px; }
  .split { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc-sticky { position: static; order: -1; }
  .toc { margin-bottom: 24px; }
  .list-note {
  margin-top: 16px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}
.cards-3 { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-wrap: wrap; }
  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 900px) {
  .header-inner { gap: 14px; }
  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 8px 8px; font-size: 14px; }
  .nav-aside { display: none; }
  .nav-toggle { display: none; }
  .hero { display: flex; flex-direction: column; height: auto; padding-bottom: 26px; }
  .hero-body { order: 1; }
  .hero-media {
    position: static;
    order: 2;
    width: 100%;
    height: 240px;
    margin-top: 22px;
  }
  .hero-media img { mask-image: none; -webkit-mask-image: none; }
  .hero-inner { width: 100%; padding-top: 12px; }
  .hero h1 { font-size: 30px; line-height: 1.3; }
  .hero-lead { font-size: 15px; }
  .quick {
    position: static;
    order: 3;
    width: 100%;
    margin-top: 18px;
    box-shadow: var(--shadow-card);
  }
  .cmp-grid { grid-template-columns: 1fr; }
  .steps { gap: 16px; }
  .step:not(:last-child)::after { right: -12px; font-size: 14px; }
  .sec-head { gap: 10px; }
  .footer-about, .footer-nav { padding-left: 0; border-left: 0; }
  .page-hero h1, .article-head h1 { font-size: 27px; }
  .article-body h2 { font-size: 20px; }
  .desc-box { padding: 20px 18px; }
  .faq-box { padding: 4px 16px; }
}

@media (max-width: 640px) {
  .cmp-grid { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .table-scroll table { min-width: 520px; }
  .cmp-grid table { min-width: 420px; margin-bottom: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -24px;
    transform: translateX(50%);
  }
  .space-grid { grid-template-columns: 1fr; }
  .list-note {
  margin-top: 16px;
  font-size: var(--fs-tiny);
  color: var(--c-muted);
}
.cards-3 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions { align-items: flex-start; }
  .cta-links { justify-content: flex-start; }
  .brand-name { font-size: 17px; }
  .site-footer { padding-bottom: 40px; }
  .footer-copy { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
