:root {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --ink: #1c1612;
  --mute: #75685e;
  --line: #e3d8cb;
  --brand: #9f2d2d;
  --brand-2: #7c1f1f;
  --amber: #b45309;
  --chip: #f6e7d4;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --pad: 32px;
  --max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(880px 260px at 8% -8%, rgba(159, 45, 45, 0.09), transparent 62%),
    var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(28, 22, 18, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--mute);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-on {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.nav-toggle .close {
  display: none;
}

.nav-check:checked ~ .nav-inner .nav-toggle .open {
  display: none;
}

.nav-check:checked ~ .nav-inner .nav-toggle .close {
  display: inline;
}

.nav-drawer {
  display: none;
  border-top: 1px solid rgba(28, 22, 18, 0.06);
  background: var(--bg);
  padding: 6px 0 22px;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 16px;
}

.nav-drawer a.is-on {
  color: var(--brand);
}

.nav-drawer .btn {
  width: 100%;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fffdf8;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--brand-2);
  color: #fffdf8;
}

.btn-sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--brand);
  border-color: var(--brand);
}

.release {
  padding: 48px 0 8px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--amber);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.eyebrow span {
  color: var(--mute);
  font-size: 13px;
}

h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.lead {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--mute);
  font-size: 17px;
  text-align: left;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.fact {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.fact b {
  display: block;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 4px;
}

.fact span {
  display: block;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
}

.block {
  padding: 36px 0 12px;
}

.block h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  padding: 22px 12px;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li:hover {
  background: rgba(159, 45, 45, 0.045);
}

.num {
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border-radius: 11px;
  background: var(--brand);
  color: #fffdf8;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}

.plat li {
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  column-gap: 12px;
}

.note {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: inset 4px 0 0 var(--amber);
}

.note h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.note p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}

.note strong {
  color: var(--ink);
  font-weight: 650;
}

.foot {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 46px;
  color: var(--mute);
  font-size: 13px;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px 36px;
  align-items: start;
}

.foot strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

.foot a {
  color: var(--mute);
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-links,
  .nav-bar-download {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-check:checked ~ .nav-drawer {
    display: block;
  }

  .facts,
  .foot-inner {
    grid-template-columns: 1fr;
  }

  .foot nav {
    justify-content: flex-start;
  }

  .plat li {
    grid-template-columns: 44px 1fr;
  }

  .plat .btn {
    grid-column: 2;
    margin-top: 12px;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .release {
    padding-top: 32px;
  }

  .actions .btn {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
