@charset "UTF-8";
/* =========================================================
   花若软件库 — 单页官网
   主题：奶油纸 / 梅子墨 / 樱粉 / 酸橙
   风格：软件书架 + zine 贴纸 + 硬边框
   ========================================================= */

:root {
  --cream: #fdf7f1;
  --paper: #fffaf5;
  --paper-2: #fff4ea;
  --ink: #2a1526;
  --ink-2: #6b4f63;
  --ink-3: #a58d9d;
  --plum: #3d1733;
  --plum-2: #24101f;
  --pink: #ff5f95;
  --pink-2: #e9417c;
  --pink-soft: #ffe1ec;
  --peach: #ffe3d3;
  --butter: #ffe9a8;
  --lime: #d9f36f;
  --lav: #e9dcff;
  --line: #ead8e1;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", "Consolas", "Courier New", monospace;
  --gutter: clamp(20px, 4.5vw, 46px);
  --header-h: 74px;
  --shadow-hard: 6px 6px 0 rgba(42, 21, 38, 0.11);
  --shadow-hard-hover: 9px 9px 0 rgba(42, 21, 38, 0.14);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(1000px 700px at 104% -8%, rgba(255, 95, 149, 0.14) 0%, rgba(255, 95, 149, 0) 62%),
    radial-gradient(700px 520px at -8% 24%, rgba(217, 243, 111, 0.12) 0%, rgba(217, 243, 111, 0) 65%),
    var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--pink-2);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  scroll-margin-top: 94px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  background: #ff779f;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.14);
}

.btn-ghost:hover {
  transform: translate(2px, 2px);
  color: var(--pink-2);
  box-shadow: 2px 2px 0 rgba(42, 21, 38, 0.14);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-xl {
  padding: 15px 32px;
  font-size: 16px;
}

.btn .ico {
  width: 16px;
  height: 16px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 0 -6px rgba(42, 21, 38, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}

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

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 3px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 rgba(42, 21, 38, 0.15);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.brand-text strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-text strong span {
  color: var(--pink-2);
}

.brand-text em {
  margin-top: 3px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav a {
  padding: 8px 13px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: var(--pink-soft);
  border-color: var(--ink);
}

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

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(42, 21, 38, 0.15);
}

.menu-btn .ico-close {
  display: none;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(38px, 5vw, 60px) 0 clamp(52px, 6.5vw, 82px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4.8vw, 58px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--pink-2);
  text-transform: uppercase;
}

.kicker span {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.hero h1 {
  position: relative;
  margin: 13px 0 10px;
  font-size: clamp(52px, 6.7vw, 82px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.hl {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hl::before {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: 5px;
  height: 40%;
  z-index: -1;
  background: var(--pink);
  border-radius: 4px;
  transform: rotate(-1.2deg);
}

.lede {
  max-width: 11em;
  font-size: clamp(23px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.hero-desc {
  max-width: 42em;
  margin-top: 16px;
  padding-left: 15px;
  border-left: 3px solid var(--pink);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

.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: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.hero-meta i {
  width: 5px;
  height: 5px;
  background: var(--pink);
  transform: rotate(45deg);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 42px);
  margin-top: 27px;
  padding-top: 18px;
  border-top: 2px dashed rgba(42, 21, 38, 0.22);
}

.stat-num {
  display: block;
  font-size: clamp(27px, 2.7vw, 33px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat-label {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.stat-note {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 首屏书架 ---------- */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
  min-width: 0;
}

.shelf-board {
  position: relative;
  width: 430px;
  max-width: 100%;
  height: 500px;
  margin-left: auto;
  overflow: hidden;
  background: #ffe3ed;
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 10px 10px 0 rgba(42, 21, 38, 0.14);
}

.shelf-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(42, 21, 38, 0.12) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.55;
  pointer-events: none;
}

.board-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.board-sticker {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 6;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(42, 21, 38, 0.2);
  transform: rotate(4deg);
}

.board-sheet {
  position: absolute;
  z-index: 1;
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.board-sheet--one {
  top: 78px;
  left: 18px;
  width: 150px;
  height: 270px;
  background: var(--lav);
  transform: rotate(-7deg);
}

.board-sheet--two {
  top: 120px;
  right: 22px;
  width: 120px;
  height: 220px;
  background: var(--butter);
  transform: rotate(6deg);
}

.phone {
  position: relative;
  padding: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: 6px 6px 0 rgba(42, 21, 38, 0.18);
}

.phone--hero {
  position: absolute;
  top: 42px;
  left: 50%;
  z-index: 3;
  width: 272px;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  background: var(--paper);
  border-radius: 22px;
}

.phone-head {
  width: 100%;
  border-bottom: 1px solid rgba(42, 21, 38, 0.35);
}

.phone-body {
  padding: 12px 12px 10px;
}

.phone-app {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.phone-app img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.phone-app div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.phone-app strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.phone-app small {
  margin-top: 3px;
  font-size: 8.5px;
  color: var(--ink-3);
}

.phone-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-tiles span {
  padding: 8px 4px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--cream);
  background: var(--ink);
  border-radius: 8px;
}

.phone-tiles span:nth-child(2n) {
  color: var(--ink);
  background: var(--butter);
}

.phone-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.phone-foot span {
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
}

.float-brand {
  position: absolute;
  left: 16px;
  bottom: 18px;
  z-index: 5;
  width: 200px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.18);
  transform: rotate(-2deg);
}

.float-brand img {
  width: 100%;
}

.icon-stamp {
  position: absolute;
  top: 84px;
  right: 20px;
  z-index: 5;
  width: 68px;
  height: 68px;
  padding: 4px;
  background: #fff;
  border: 3px solid var(--pink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.22);
  transform: rotate(6deg);
}

.icon-stamp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.board-side {
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  color: rgba(42, 21, 38, 0.4);
  writing-mode: vertical-rl;
  text-align: right;
}

/* ---------- 静态横幅 ---------- */
.ribbon {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 9px 0;
  background: var(--pink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: max-content;
  min-width: 100%;
  padding: 0 var(--gutter);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.ribbon-inner i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* ---------- 区块通用 ---------- */
.section {
  padding: clamp(54px, 6.8vw, 78px) 0;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 760px;
  margin-bottom: clamp(28px, 3.8vw, 40px);
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--pink-2);
  text-transform: uppercase;
}

.sec-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 5px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--pink);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
}

.sec-label--light {
  color: #ffb4cb;
}

.sec-label--light span {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--ink);
}

.sec-title {
  font-size: clamp(30px, 3.6vw, 41px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 11px;
  z-index: -1;
  background: var(--pink);
  opacity: 0.55;
  transform: rotate(-1deg);
}

.mark--lime::after {
  background: var(--lime);
  opacity: 0.8;
}

.sec-sub {
  max-width: 62em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.sec-note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

/* ---------- 01 分类架 ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 21px 21px 23px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard-hover);
}

.category-card--wide {
  grid-column: span 2;
  min-height: 236px;
}

.tone-blush { background: #ffe4ef; }
.tone-lav { background: #eee3ff; }
.tone-butter { background: #ffefb3; }
.tone-lime { background: #e9f9bd; }
.tone-paper { background: var(--paper); }
.tone-peach { background: #ffe3d2; }

.card-no {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 1px 7px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 rgba(42, 21, 38, 0.16);
}

.card-icon .ico {
  width: 22px;
  height: 22px;
}

.category-card h3,
.u-card h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card-en {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--pink-2);
}

.card-text {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.card-chips span {
  padding: 2px 8px;
  font-size: 9.5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(42, 21, 38, 0.35);
  border-radius: 999px;
}

/* ---------- 02 更新整理 ---------- */
.section-peach {
  background: #ffe7d8;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}

.update-main {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 rgba(255, 95, 149, 0.3);
}

.update-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.update-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--pink-2);
}

.update-badge {
  padding: 2px 9px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  transform: rotate(3deg);
}

.update-main h3 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.update-main > p {
  max-width: 38em;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.version-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.version-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid rgba(42, 21, 38, 0.22);
  border-radius: 9px;
}

.version-dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--pink);
  border-radius: 50%;
}

.version-row div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.version-row strong {
  font-size: 12.5px;
  font-weight: 700;
}

.version-row small {
  font-size: 9.5px;
  color: var(--ink-3);
}

.version-row b {
  margin-left: auto;
  flex: none;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  color: var(--pink-2);
}

.version-note {
  margin-top: auto;
  padding-top: 11px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--ink-3);
}

.u-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.12);
}

.card-icon--sm {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-width: 1.5px;
  border-radius: 10px;
  box-shadow: 2px 2px 0 rgba(42, 21, 38, 0.14);
}

.card-icon--sm .ico {
  width: 19px;
  height: 19px;
}

.u-card h3 {
  font-size: 17px;
}

.u-card p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---------- 03 界面 ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-hard);
}

.detail-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 16px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.detail-media--blue {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.28) 1px, transparent 0),
    linear-gradient(145deg, #3b659d 0%, #23416f 100%);
  background-size: 16px 16px, auto;
}

.detail-media--peach {
  background:
    radial-gradient(circle at 1px 1px, rgba(42, 21, 38, 0.13) 1px, transparent 0),
    var(--peach);
  background-size: 18px 18px;
}

.detail-media--plum {
  background:
    radial-gradient(220px 180px at 76% 12%, rgba(255, 95, 149, 0.4) 0%, rgba(255, 95, 149, 0) 70%),
    var(--plum-2);
}

.media-index {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 2;
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.media-index--light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.detail-media img {
  width: auto;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.22);
}

.detail-media--blue img {
  width: 100%;
  max-height: none;
}

.icon-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 rgba(255, 95, 149, 0.35);
  transform: rotate(-3deg);
}

.icon-plate img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border: 0;
  border-radius: 15px;
  box-shadow: none;
}

.detail-cap {
  padding: 17px 19px 21px;
}

.detail-no {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  color: var(--pink-2);
}

.detail-cap h3 {
  margin-top: 3px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.detail-cap p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- 04 步骤 ---------- */
.steps-section {
  background: #fff8f1;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  border-top: 2px dashed rgba(42, 21, 38, 0.28);
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 3px;
}

.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.18);
}

.step-pill {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-2deg);
}

.step h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step p {
  max-width: 26em;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 05 下载 ---------- */
.download {
  padding: clamp(18px, 2.6vw, 30px) 0 clamp(54px, 6.6vw, 78px);
}

.dl-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(26px, 4.2vw, 46px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 4.3vw, 46px);
  color: #fff8f2;
  background:
    radial-gradient(380px 280px at 8% 0%, rgba(255, 95, 149, 0.35) 0%, rgba(255, 95, 149, 0) 68%),
    linear-gradient(145deg, #3a1732 0%, #24101f 58%, #1d0c19 100%);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 10px 0 rgba(255, 95, 149, 0.28);
}

.dl-panel::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255, 95, 149, 0.18);
  border: 2px solid rgba(255, 95, 149, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.dl-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

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

.dl-title {
  margin-top: 9px;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.04em;
  color: #fff8f2;
}

.dl-title span {
  color: #ff8eaf;
}

.dl-desc {
  max-width: 34em;
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.9;
  color: #e4c6d5;
}

.dl-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.dl-spec dt {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #c69ab0;
  text-transform: uppercase;
}

.dl-spec dd {
  margin-top: 1px;
  font-size: 14px;
  font-weight: 700;
  color: #fff8f2;
}

.dl-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 25px 22px;
  background: #fff8f2;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.dl-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  padding: 5px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 3px 3px 0 rgba(42, 21, 38, 0.18);
}

.dl-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.dl-action .btn {
  width: 100%;
  max-width: 270px;
}

.dl-note {
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  color: var(--ink-3);
}

.dl-note span {
  display: block;
  color: var(--pink-2);
}

/* ---------- 06 FAQ ---------- */
.faq {
  padding-top: clamp(26px, 3.6vw, 42px);
}

.faq-wrap {
  max-width: 900px;
}

.faq .sec-title {
  font-size: clamp(26px, 3.2vw, 38px);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 1px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--pink-2);
}

.faq-no {
  width: 26px;
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  color: var(--pink-2);
}

.faq-q {
  flex: 1;
}

.faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: none;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.faq-plus .ico {
  width: 12px;
  height: 12px;
}

.faq-item[open] .faq-plus {
  background: var(--pink);
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 42px 20px;
}

.faq-a p {
  max-width: 60em;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 46px 0 22px;
  color: #fff4ec;
  background: var(--plum-2);
  border-top: 4px solid var(--pink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 30px;
  padding-bottom: 34px;
}

.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
  border-color: #fff4ec;
  background: #fff;
}

.footer-brand .brand-text strong {
  color: #fff4ec;
  font-size: 21px;
}

.footer-brand .brand-text strong span {
  color: #ff8eaf;
}

.footer-brand .brand-text em {
  color: #b58fa7;
}

.footer-tagline {
  max-width: 20em;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.9;
  color: #e0c3d2;
}

.footer-domain {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  color: #a98497;
}

.footer-domain span {
  color: #e0c3d2;
}

.footer-col h3 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #b58fa7;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}

.footer-col a {
  font-size: 12px;
  color: #f2dce7;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ff8eaf;
}

.footer-mail {
  font-size: 11px;
  color: #f2dce7;
  word-break: break-all;
}

.domain-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.domain-row > span {
  font-size: 10.5px;
  color: #cba7b9;
  word-break: break-all;
}

.copy-btn {
  height: 21px;
  padding: 0 7px;
  font-size: 9px;
  color: #d8b5c6;
  border: 1px solid rgba(255, 244, 236, 0.3);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  color: #fff;
  border-color: rgba(255, 244, 236, 0.65);
}

.copy-tip {
  min-height: 1em;
  margin-top: 4px;
  font-size: 9px;
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 244, 236, 0.16);
  font-size: 10px;
  line-height: 1.8;
  color: #a98497;
}

.footer-bottom .disclaimer {
  max-width: 56em;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(42, 21, 38, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, background-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--lime);
}

.to-top .ico {
  width: 17px;
  height: 17px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero h1 {
    font-size: clamp(50px, 6.8vw, 72px);
  }

  .shelf-board {
    width: 410px;
    height: 486px;
  }

  .phone--hero {
    width: 258px;
  }
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .hero-visual {
    justify-self: center;
    max-width: 500px;
  }

  .shelf-board {
    width: 430px;
    height: 500px;
    margin: 0 auto;
  }

  .phone--hero {
    width: 272px;
  }
}

@media (max-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card--wide {
    grid-column: span 2;
  }

  .update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .update-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card:last-child {
    grid-column: 1 / -1;
  }

  .dl-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .dl-action {
    align-items: flex-start;
  }

  .dl-action .btn {
    max-width: 300px;
  }

  .dl-note {
    text-align: left;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin: 0;
    padding: 12px var(--gutter) 16px;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 10px 0 -6px rgba(42, 21, 38, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-actions .header-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-btn[aria-expanded="true"] .ico-menu {
    display: none;
  }

  .menu-btn[aria-expanded="true"] .ico-close {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card--wide {
    grid-column: auto;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .update-main {
    grid-column: auto;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-card:last-child {
    grid-column: auto;
  }

  .shelf-board {
    width: 360px;
    height: 440px;
  }

  .phone--hero {
    width: 246px;
    top: 36px;
  }

  .float-brand {
    width: 180px;
    left: 12px;
    bottom: 14px;
  }

  .icon-stamp {
    width: 58px;
    height: 58px;
    top: 74px;
    right: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 34px;
  }

  .steps::before {
    top: 10px;
    bottom: 10px;
    left: 27px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(42, 21, 38, 0.28);
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 17px;
    align-items: start;
    padding: 0;
  }

  .step-dot {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
  }

  .step-pill {
    grid-column: 2;
    justify-self: start;
    margin-bottom: 5px;
  }

  .step h3,
  .step p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 52px;
  }

  .lede {
    font-size: 24px;
  }

  .shelf-board {
    width: 330px;
    height: 400px;
  }

  .phone--hero {
    width: 230px;
    top: 34px;
  }

  .float-brand,
  .board-sheet--two {
    display: none;
  }

  .icon-stamp {
    width: 52px;
    height: 52px;
    top: 72px;
    right: 10px;
  }

  .board-side {
    display: none;
  }

  .dl-panel {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .dl-action {
    align-items: center;
    padding: 22px 18px;
  }

  .dl-action .btn {
    max-width: 100%;
  }

  .dl-note {
    text-align: center;
  }

  .category-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 45px;
  }

  .kicker {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-cta .btn-lg {
    padding: 11px 15px;
    font-size: 14px;
  }

  .stats {
    gap: 20px;
  }

  .stat-num {
    font-size: 25px;
  }

  .shelf-board {
    width: 300px;
    height: 370px;
  }

  .phone--hero {
    width: 214px;
    top: 36px;
    padding: 7px;
    border-radius: 26px;
  }

  .phone-screen {
    border-radius: 19px;
  }

  .phone-body {
    padding: 10px 9px 9px;
  }

  .phone-app img {
    width: 42px;
    height: 42px;
  }

  .phone-app strong {
    font-size: 13px;
  }

  .phone-tiles span {
    padding: 6px 3px;
    font-size: 9px;
  }

  .icon-stamp {
    width: 46px;
    height: 46px;
    top: 66px;
    right: 8px;
  }

  .board-tag {
    top: 12px;
    left: 12px;
    font-size: 7.5px;
  }

  .board-sticker {
    top: 13px;
    right: 10px;
    padding: 2px 6px;
    font-size: 9.5px;
  }

  .ribbon-inner {
    justify-content: center;
    gap: 12px;
    font-size: 10.5px;
    letter-spacing: .06em;
  }

  .ribbon-inner > span:nth-of-type(n+5),
  .ribbon-inner > i:nth-of-type(n+4) {
    display: none;
  }

  .dl-spec {
    gap: 10px 16px;
  }

  .dl-spec dd {
    font-size: 13px;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
