﻿/* ==========================================================================
   倾城软件库 · 酒红 + 奶油（Vol.04 图册版）
   ========================================================================== */

:root {
  --ink: #221718;
  --wine: #8e2c3c;
  --wine-2: #6c1f2d;
  --wine-3: #47141d;
  --cream: #fcf8f3;
  --blush: #f5eae4;
  --sand: #e9ddcd;
  --gold: #b0863f;
  --muted: #7b6764;
  --line: #e6d8cd;

  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--wine); color: var(--cream); }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 30px; }

/* ========================= 元件 ========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

.eyebrow span { width: 18px; height: 1px; background: var(--gold); flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-wine { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn-wine:hover { background: var(--wine-2); border-color: var(--wine-2); transform: translateY(-2px); }
.btn-wine:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn-outline:hover { border-color: var(--wine); color: var(--wine); transform: translateY(-2px); }

.btn-cream { background: var(--cream); color: var(--wine-2); border-color: var(--cream); }
.btn-cream:hover { background: #fff; color: var(--wine); transform: translateY(-2px); }

.btn-lg { font-size: 16px; padding: 16px 28px; }
.btn-sm { font-size: 13px; padding: 10px 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--wine);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
  transition: gap 0.18s ease;
}

.text-link:hover { gap: 14px; }

/* ========================= 顶部 ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 248, 243, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(34, 23, 24, 0.07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }

.brand-mark { width: 40px; height: 40px; border-radius: 4px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 17px; font-weight: 900; letter-spacing: 0.03em; }
.brand-text em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 26px; }

.nav a {
  position: relative;
  font-size: 14px;
  color: #5d4a48;
  padding-bottom: 3px;
  transition: color 0.16s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav a.is-active { color: var(--wine); font-weight: 700; }
.nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  background: var(--cream);
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span { display: block; height: 1px; background: var(--ink); }

/* ========================= 首屏 ========================= */

.hero { padding: 56px 0 0; background: var(--cream); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 44px;
  padding-bottom: 38px;
}

.hero-copy { max-width: 560px; }

.hero-vol {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--wine);
}

.vol-rule { width: 26px; height: 1px; background: var(--gold); }

.hero-title {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-top: 18px;
}

.hero-sub {
  margin-top: 18px;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.hero-meta b { color: var(--sand); font-weight: 400; }

/* --- 三张叠页 --- */

.hero-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 460 / 470;
  margin: 0 auto;
}

.stack-photo {
  position: absolute;
  margin: 0;
  border: 6px solid var(--cream);
  box-shadow: 0 16px 34px rgba(34, 23, 24, 0.16);
}

.stack-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%; }

.stack-a { left: 0; top: 0; width: 58%; z-index: 1; }
.stack-b { left: 46%; top: 24.5%; width: 42.5%; z-index: 2; }
.stack-c { left: 69.5%; top: 55%; width: 30%; z-index: 3; }

.stack-b img { object-position: center 22%; }

.stack-mark {
  position: absolute;
  left: 9px;
  top: 9px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--cream);
  background: var(--wine);
  padding: 0 5px;
}

.stack-note {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.stack-note::before { content: ""; width: 18px; height: 1px; background: var(--gold); }

/* --- 指标行 --- */

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--line);
}

.stat { display: flex; align-items: baseline; gap: 9px; }

.stat-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--wine);
  letter-spacing: -0.02em;
}

.stat-num i { font-style: normal; font-size: 12px; color: var(--gold); }
.stat-label { font-size: 12px; color: var(--muted); }

/* ========================= 通用 section ========================= */

.section { padding: 76px 0; }
.section-blush { background: var(--blush); }

section[id] { scroll-margin-top: 86px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.01em;
  margin-top: 13px;
}

.section-desc { margin-top: 10px; max-width: 540px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ========================= 三组精选 ========================= */

.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.album-item { display: flex; flex-direction: column; }

.album-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

.album-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 16%; transition: transform 0.4s ease; }
.album-item:hover .album-figure img { transform: scale(1.03); }

.album-no {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cream);
  background: var(--wine);
}

.album-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }

.album-title { font-size: 19px; font-weight: 900; letter-spacing: 0.01em; }
.album-desc { margin-top: 7px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }

.album-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}

.album-meta { font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* ========================= 工具目录 ========================= */

.tools-head { margin-bottom: 30px; }

.tool-list { border-top: 1px solid var(--wine); }

.tool-row {
  display: grid;
  grid-template-columns: 46px minmax(150px, 0.85fr) minmax(0, 1.35fr);
  align-items: baseline;
  gap: 16px;
  padding: 15px 4px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease, padding-left 0.16s ease;
}

.tool-row:hover { background: var(--cream); padding-left: 12px; }

.tool-idx { font-family: var(--mono); font-size: 11px; color: var(--wine); }
.tool-name { font-size: 15.5px; font-weight: 700; }
.tool-hint { font-size: 12.5px; color: var(--muted); }

.tools-cta { margin-top: 30px; }

/* ========================= 榜单 ========================= */

.rank-list { border-top: 2px solid var(--wine); }

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 90px 84px;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.rank-no { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.rank-row:first-child .rank-no { color: var(--wine); font-weight: 600; }

.rank-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.rank-main h3 { font-size: 15.5px; font-weight: 700; }

.rank-cat {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--wine);
  border: 1px solid #e3c8cb;
  border-radius: 2px;
  padding: 1px 6px;
}

.rank-size { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; }
.rank-cta { font-family: var(--mono); font-size: 12px; color: var(--ink); text-align: right; }

/* ========================= 手记 ========================= */

.notes .section-head { margin-bottom: 30px; }

.note-list { position: relative; padding-left: 30px; }

.note-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 15px;
  bottom: -6px;
  width: 1px;
  background: var(--sand);
}

.note-item { position: relative; display: flex; gap: 22px; padding-bottom: 26px; }
.note-item:last-child { padding-bottom: 0; }

.note-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
}

.note-item:first-child::before { background: var(--wine); border-color: var(--wine); }

.note-date {
  flex: none;
  width: 54px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--wine);
  padding-top: 2px;
}

.note-body h3 { font-size: 15.5px; font-weight: 700; }
.note-body p { margin-top: 4px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* ========================= 关于 ========================= */

.about-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 54px; align-items: start; }

.about-title {
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.44;
  letter-spacing: -0.01em;
  margin-top: 13px;
}

.about-quote {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--wine-2);
  border-left: 3px solid var(--gold);
}

.about-quote p { font-size: 14px; line-height: 1.9; color: #f6e7e1; }
.about-quote span { display: block; margin-top: 9px; font-family: var(--mono); font-size: 10px; color: #d3a9ab; }

.about-right p { font-size: 14.5px; line-height: 2; color: #4a3a3a; }
.about-right p + p { margin-top: 12px; }

.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }

.point { display: flex; gap: 10px; }
.point span { flex: none; font-family: var(--mono); font-size: 10px; color: var(--gold); padding-top: 4px; }
.point strong { display: block; font-size: 13.5px; font-weight: 700; }
.point em { display: block; font-style: normal; font-size: 12px; line-height: 1.75; color: var(--muted); margin-top: 2px; }

/* ========================= 下载 ========================= */

.download { padding: 0 0 74px; }

.dl-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 48px 52px 44px;
  background: var(--cream);
  border: 1px solid var(--sand);
  box-shadow: 0 22px 48px rgba(34, 23, 24, 0.08);
}

.dl-card::before,
.dl-card::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  pointer-events: none;
}

.dl-card::before { left: 14px; top: 14px; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); }
.dl-card::after { right: 14px; bottom: 14px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }

.dl-copy { position: relative; z-index: 2; }

.dl-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--wine); }

.dl-copy h2 {
  margin-top: 14px;
  font-size: clamp(25px, 2.9vw, 38px);
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.dl-copy p { margin-top: 14px; max-width: 400px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

.dl-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.dl-tip { font-family: var(--mono); font-size: 10px; color: var(--muted); }

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dl-specs dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.dl-specs dd { margin-top: 4px; font-size: 13px; font-weight: 700; }

.dl-art {
  position: relative;
  z-index: 2;
  width: 240px;
  max-width: 100%;
  min-height: 234px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-ring {
  position: absolute;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: var(--blush);
  border: 1px solid var(--sand);
}

.dl-logo {
  position: relative;
  width: 122px;
  height: 122px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 16px 30px rgba(34, 23, 24, 0.16);
}

.dl-cap {
  position: absolute;
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 4px 9px;
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--wine);
}

.cap-a { top: 4px; right: 0; }
.cap-b { bottom: 8px; left: 0; }

/* ========================= FAQ ========================= */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr); gap: 54px; align-items: start; }

.faq-list { border-top: 1px solid var(--wine); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.16s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--wine); }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 20px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
  text-align: center;
}

.faq-item[open] summary::after { content: "−"; color: var(--wine); }

.faq-body {
  margin: 0 0 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.9;
  color: #4a3a3a;
  background: var(--blush);
  border-left: 2px solid var(--gold);
}

/* ========================= 页脚 ========================= */

.site-footer { background: var(--wine-3); color: #e8d4cf; padding: 42px 0 18px; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(252, 248, 243, 0.16);
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 4px; }
.footer-brand strong { display: block; font-size: 15.5px; font-weight: 900; color: var(--cream); }
.footer-brand span { display: block; font-family: var(--mono); font-size: 10px; color: #c99a97; margin-top: 3px; }

.footer-nav { display: flex; gap: 22px; }
.footer-nav a { font-size: 13px; color: #e0c3be; transition: color 0.16s ease; }
.footer-nav a:hover { color: #f2c9a8; }

.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-domain { font-family: var(--mono); font-size: 10px; color: #c99a97; }

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  font-size: 11.5px;
  color: #c08e8b;
  flex-wrap: wrap;
}

/* ========================= 响应式 ========================= */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 410px; gap: 30px; }
  .albums { gap: 20px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 38px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 26px; }
  .hero-copy { max-width: 620px; }
  .hero-stack { width: 100%; max-width: 470px; }
  .stats-row { gap: 30px; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .dl-card { grid-template-columns: minmax(0, 1fr); padding: 36px 34px 32px; }
  .dl-art { margin-top: 8px; }
  .section { padding: 60px 0; }
  .download { padding-bottom: 60px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 14px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(34, 23, 24, 0.08);
    display: none;
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 15px; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .brand-text em { display: none; }
  .albums { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .header-inner { height: 62px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 16px; }

  .hero { padding-top: 26px; }
  .hero-title { font-size: clamp(34px, 10.6vw, 46px); margin-top: 14px; }
  .hero-sub { font-size: 14.8px; margin-top: 14px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 130px; }
  .hero-meta { font-size: 10.5px; }

  .stack-photo { border-width: 4px; }
  .stack-mark { left: 6px; top: 6px; min-width: 20px; height: 20px; font-size: 9px; }
  .stack-note { font-size: 9.5px; }

  .stats-row { gap: 22px; row-gap: 14px; padding: 16px 0 18px; }
  .stat { flex: 1 1 40%; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 11.5px; }

  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .section-title { font-size: clamp(22px, 6.8vw, 29px); margin-top: 11px; }

  .album-title { font-size: 17px; }
  .album-foot { flex-wrap: wrap; gap: 10px; }
  .album-foot .btn { width: 100%; }

  .tool-row { grid-template-columns: 30px minmax(0, 1fr); row-gap: 2px; padding: 13px 2px 12px; }
  .tool-idx { font-size: 10px; }
  .tool-name { font-size: 14.5px; }
  .tool-hint { grid-column: 2; font-size: 12px; }
  .tools-cta { width: 100%; }

  .rank-row { grid-template-columns: 32px minmax(0, 1fr) 66px; gap: 10px; padding: 14px 0; }
  .rank-size { display: none; }
  .rank-main h3 { font-size: 14px; }
  .rank-cta { font-size: 11px; }

  .note-item { gap: 14px; }
  .note-date { width: 46px; font-size: 10px; }
  .note-body h3 { font-size: 14.5px; }

  .about-points { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .about-quote { padding: 18px 20px; }

  .dl-card { padding: 28px 20px 26px; }
  .dl-card::before, .dl-card::after { width: 28px; height: 28px; }
  .dl-copy h2 { font-size: clamp(22px, 7vw, 29px); }
  .dl-btns { gap: 12px; margin-top: 18px; }
  .dl-btns .btn { width: 100%; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 20px; }
  .dl-art { width: 214px; min-height: 206px; }
  .dl-ring { width: 168px; height: 168px; }
  .dl-logo { width: 104px; height: 104px; }
  .dl-cap { font-size: 9px; }

  .faq-item summary { padding: 14px 0; font-size: 14.5px; }
  .faq-body { font-size: 12.8px; padding: 12px 14px; }

  .site-footer { padding: 32px 0 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 15px; }
  .footer-side { align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 15px; }
}

@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: 14.5px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { font-size: 12px; padding: 9px 12px; }
  .nav-toggle { width: 38px; height: 34px; }
  .hero-title { font-size: clamp(30px, 10.2vw, 40px); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { flex: none; width: 100%; }
  .stat { flex: 1 1 100%; }
  .stack-b { left: 44%; width: 45%; }
  .stack-c { left: 66%; width: 33%; }
}

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