/* Baby a Day 官网样式：手机优先；颜色全部走变量，深色跟随系统。 */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-latin-wght.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-latin-ext-wght.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fff8f3;
  --bg-2: #fff1e7;
  --card: #ffffff;
  --ink: #1f2440;
  --ink-2: #4b5170;
  --muted: #6b7088;
  --line: #f1e3d7;
  --brand: #e0533a;
  --brand-ink: #ffffff;
  --brand-soft: #ffe4d8;
  --peach: #ffb98f;
  --coral: #f2694f;
  --sky: #4f86f7;
  --mint: #2fa77e;
  --lilac: #7b6cf0;
  --sun: #ffb547;
  --shadow: 0 1px 2px rgb(31 36 64 / 6%), 0 12px 32px -12px rgb(31 36 64 / 18%);
  --shadow-lg: 0 30px 60px -20px rgb(31 36 64 / 30%);
  --radius: 20px;
  --font-head: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151f;
    --bg-2: #1a1b27;
    --card: #1f2130;
    --ink: #f3f1f7;
    --ink-2: #cfd0dc;
    --muted: #a2a5b8;
    --line: #2d2f40;
    --brand: #ff8a6e;
    --brand-ink: #1b1010;
    --brand-soft: #3a2420;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 70%);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand);
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
}
h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 850;
}
h3 {
  font-size: 19px;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}
.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}
.narrow.center,
p.center.narrow {
  margin-left: auto;
  margin-right: auto;
}
.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-2);
  text-wrap: pretty;
}
.muted {
  color: var(--muted);
  font-size: 15px;
}
.kicker,
.eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 10px;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font: 800 16px/1 var(--font-head);
  text-decoration: none;
  border: 2px solid var(--brand);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--brand);
  box-shadow: none;
}
.link-arrow {
  font-weight: 700;
  text-decoration: none;
}
.link-arrow::after {
  content: ' →';
}
[dir='rtl'] .link-arrow::after {
  content: ' ←';
}

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 900 21px/1 var(--font-head);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand b,
.chooser h1 b {
  color: var(--brand);
  font-weight: 750;
}
.brand img {
  border-radius: 10px;
}
.nav {
  display: none;
  margin-inline-start: auto;
  gap: 4px;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
  background: var(--bg-2);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
}
.lang svg {
  position: absolute;
  inset-inline-start: 10px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.lang select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 40px;
  padding: 0 12px 0 34px;
  font: 600 14px var(--font-body);
  max-width: 128px;
  cursor: pointer;
}
[dir='rtl'] .lang select {
  padding: 0 34px 0 12px;
}
.lang select option {
  color: #1f2440;
}
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-btn span:not(.sr) {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}
.menu-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  padding: 8px 16px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-open .nav a {
  font-size: 18px;
  padding: 12px;
}
.nav-signin {
  color: var(--brand) !important;
}
@media (max-width: 420px) {
  .top-actions .btn-sm {
    display: none;
  }
  .brand span {
    font-size: 19px;
  }
}
@media (min-width: 1000px) {
  .nav {
    display: flex;
  }
  .top-actions {
    margin-inline-start: 8px;
  }
  .menu-btn {
    display: none;
  }
}

/* ---------- 手机外框 ---------- */
.phone {
  margin: 0;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 10px;
  background: #1f2130;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3d52;
  position: relative;
}
.phone img {
  border-radius: 31px;
  width: 100%;
  aspect-ratio: 390 / 900;
  object-fit: cover;
  object-position: top;
  background: #f4f5f9;
}
.phone-dark img {
  background: #12131a;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 40px 0 24px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--peach) 45%, transparent), transparent 70%),
    radial-gradient(800px 400px at -10% 10%, color-mix(in srgb, var(--sun) 18%, transparent), transparent 70%);
}
.hero-in {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--coral), #ff9a5a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 560px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.perks li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 900;
  margin-inline-end: 6px;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0 30px;
}
.sun {
  position: absolute;
  width: min(420px, 100vw);
  aspect-ratio: 1;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--peach) 70%, transparent) 0%, color-mix(in srgb, var(--coral) 25%, transparent) 45%, transparent 70%);
  filter: blur(4px);
}
.phone-hero {
  rotate: -3deg;
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.3;
  max-width: 230px;
  animation: bob 6s ease-in-out infinite;
}
.float small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.float-ico {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border-radius: 12px;
  flex: none;
}
.float-a {
  bottom: 70px;
  inset-inline-start: max(0px, calc(50% - 230px));
}
.float-b {
  top: 0;
  inset-inline-end: max(0px, calc(50% - 220px));
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    translate: 0 -8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .float {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (min-width: 900px) {
  .hero {
    padding: 72px 0 40px;
  }
  .hero-in {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ---------- 数字条 ---------- */
.proof {
  padding: 8px 0 24px;
}
.proof-in {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.proof-in div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.proof strong {
  display: block;
  font: 900 30px/1.1 var(--font-head);
  color: var(--brand);
}
.proof span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 720px) {
  .proof-in {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 功能区块 ---------- */
.feature {
  padding: 56px 0;
}
.feature:nth-of-type(even) {
  background: var(--bg-2);
}
.feature-in {
  display: grid;
  gap: 36px;
  align-items: center;
}
.feature-art {
  display: flex;
  justify-content: center;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-inline-start: 32px;
  color: var(--ink-2);
}
.checks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    var(--mint);
}
@media (min-width: 900px) {
  .feature {
    padding: 96px 0;
  }
  .feature-in {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .feature.rev .feature-text {
    order: 2;
  }
}

/* ---------- 卡片网格 ---------- */
.more,
.privacy,
.pricing-sec,
.faq,
.compare,
.install,
.prose-sec {
  padding: 64px 0;
}
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card .ico {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.card h3 {
  margin-bottom: 6px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.more .grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 10px;
}
@media (max-width: 520px) {
  .more .card {
    padding: 16px;
  }
  .more .card h3 {
    font-size: 16px;
  }
  .more .card p {
    font-size: 14px;
  }
}
@media (min-width: 900px) {
  .more .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
.privacy {
  background:
    radial-gradient(800px 300px at 50% 0%, color-mix(in srgb, var(--sky) 10%, transparent), transparent 70%),
    var(--bg-2);
}
.privacy .grid {
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 价格 ---------- */
.pricing {
  margin-top: 28px;
}
.billing {
  display: flex;
  width: max-content;
  margin: 0 auto 24px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.billing input,
.tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.billing label {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing input:checked + label {
  background: var(--ink);
  color: var(--bg);
}
.billing input:focus-visible + label {
  outline: 3px solid var(--sky);
}
.save {
  font-size: 12px;
  background: var(--mint);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}
.plans {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 780px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan-pro {
  border: 2px solid var(--brand);
  box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--brand) 55%, transparent);
  position: relative;
}
.plan-name {
  font-size: 22px;
  margin: 0 0 6px;
}
.price {
  margin: 0;
}
.price .amount {
  font: 900 44px/1.1 var(--font-head);
  letter-spacing: -0.02em;
}
.price .per {
  color: var(--muted);
  font-weight: 600;
}
.plan-note {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 18px;
}
.plan .btn {
  margin-bottom: 22px;
}
.plan-lead {
  font-weight: 700;
  margin: 0;
}
.plan .checks {
  margin-top: 12px;
}
.soon {
  font-size: 12px;
  font-weight: 700;
  color: var(--lilac);
  background: color-mix(in srgb, var(--lilac) 14%, transparent);
  padding: 1px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.plans .m {
  display: none;
}
.pricing:has(#bill-m:checked) .plans .m {
  display: block;
}
.pricing:has(#bill-m:checked) .plans .y {
  display: none;
}
.founding {
  max-width: 900px;
  margin: 22px auto 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--sun) 20%, var(--card));
  border: 1px dashed color-mix(in srgb, var(--sun) 80%, transparent);
  text-align: center;
}
.fine {
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.pricing-sec.flush {
  padding-top: 0;
}

/* ---------- 对比表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.compare table {
  table-layout: fixed;
}
.compare thead th:first-child {
  width: 50%;
}
.compare td {
  text-align: center;
  font-weight: 700;
  color: var(--mint);
}
.compare td.no {
  color: var(--muted);
}
.compare td.later {
  color: var(--lilac);
  font-weight: 600;
}
.compare thead th:not(:first-child) {
  text-align: center;
}
.compare tbody th {
  font-weight: 500;
}
@media (max-width: 520px) {
  .compare th,
  .compare td {
    padding: 10px 8px;
    font-size: 14px;
  }
}

/* ---------- 安装 ---------- */
.install-teaser {
  padding: 64px 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--peach) 35%, var(--bg)), var(--bg-2));
}
.install-in {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .install-in {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.mini-steps,
.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.mini-steps li,
.steps li {
  counter-increment: s;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 64px;
  min-height: 60px;
}
[dir='rtl'] .mini-steps li,
[dir='rtl'] .steps li {
  padding: 16px 64px 16px 16px;
}
.mini-steps li::before,
.steps li::before {
  content: counter(s);
  position: absolute;
  inset-inline-start: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-ink);
  font: 900 16px/1 var(--font-head);
}
.glyph {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  color: var(--sky);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tabs > label {
  flex: 1 1 0;
  text-align: center;
  padding: 12px 10px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.tabs > label[data-detected]::after {
  content: attr(data-detected);
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: -9px;
  font-size: 11px;
  font-weight: 700;
  background: var(--mint);
  color: #fff;
  padding: 0 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tabs > input:checked + label {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--ink);
}
.tabs > input:focus-visible + label {
  outline: 3px solid var(--sky);
}
.tab-panel {
  display: none;
  width: 100%;
  margin-top: 18px;
}
.tabs:has(#dev-ios:checked) [data-panel='ios'],
.tabs:has(#dev-android:checked) [data-panel='android'],
.tabs:has(#dev-desktop:checked) [data-panel='desktop'] {
  display: block;
}
.tab-panel .muted {
  margin-top: 14px;
}
.tips {
  margin: 36px 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.tips h2 {
  font-size: 22px;
}

/* ---------- 常见问题 ---------- */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  position: relative;
  min-height: 44px;
}
[dir='rtl'] .faq summary {
  padding: 18px 20px 18px 52px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  translate: 0 -50%;
  font: 600 24px/1 var(--font-head);
  color: var(--brand);
  transition: rotate 0.2s;
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--ink-2);
}

/* ---------- 结尾号召 ---------- */
.final {
  padding: 72px 0 80px;
  text-align: center;
  background: radial-gradient(700px 300px at 50% 100%, color-mix(in srgb, var(--peach) 40%, transparent), transparent 70%);
}
.final-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final img {
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.final .lead {
  max-width: 560px;
  margin-bottom: 24px;
}

/* ---------- 子页面 ---------- */
.page-head {
  padding: 56px 0 28px;
  background: radial-gradient(900px 360px at 50% -20%, color-mix(in srgb, var(--peach) 40%, transparent), transparent 70%);
}
.page-head h1 {
  font-size: clamp(32px, 6vw, 52px);
}
.notfound img {
  margin: 0 auto 20px;
  border-radius: 22px;
}
.pairs {
  margin: 0 0 36px;
  display: grid;
  gap: 10px;
}
.pairs div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.pairs dt {
  font-weight: 800;
  font-family: var(--font-head);
  margin-bottom: 4px;
}
.pairs dd {
  margin: 0;
  color: var(--ink-2);
}
.nots {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 10px;
}
.nots li {
  position: relative;
  padding-inline-start: 32px;
  color: var(--ink-2);
}
.nots li::before {
  content: '✕';
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.prose-sec h2 {
  font-size: 26px;
  margin-top: 8px;
}
.prose h1 {
  font-size: clamp(30px, 5vw, 44px);
}
.prose h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose li {
  margin-bottom: 8px;
}
.prose .updated {
  color: var(--muted);
}
.prose table {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin: 12px 0 20px;
}
.prose th {
  background: var(--bg-2);
  font-weight: 800;
}
.legal-note {
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-2);
  border-radius: 12px;
  padding: 10px 14px;
}

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--bg-2);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}
.foot-brand {
  grid-column: 1 / -1;
}
.foot-brand p {
  color: var(--muted);
  margin-top: 10px;
}
.foot h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.foot ul a {
  color: var(--ink-2);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
  overflow-wrap: anywhere;
}
.foot ul a:hover {
  color: var(--brand);
}
.foot-legal {
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}
.foot-legal p {
  margin: 0 0 6px;
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
  }
  .foot-brand {
    grid-column: auto;
  }
}

/* ---------- 根目录选语言 ---------- */
.chooser main {
  padding: 64px 16px;
}
.chooser main img {
  margin: 0 auto 16px;
  border-radius: 20px;
}
.lang-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.lang-list a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
}

@media print {
  .top,
  .foot,
  .final {
    display: none;
  }
}
