/* ==========================================================================
   御坂防灾 · 官网样式
   设计取法：Apple 的排版与留白 / Microsoft Fluent 的分区与卡片 / 白宫的编辑感
   浅色、单强调色、系统字体、零外部依赖；不使用模拟界面插图
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --paper: #ffffff;
  --mist: #f5f5f7;
  --mist-2: #fafafc;

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-ink: #0066cc;
  --blue-soft: rgba(0, 113, 227, 0.08);

  --navy: #0b1220;
  --navy-text: #f5f5f7;
  --navy-muted: rgba(255, 255, 255, 0.64);
  --navy-faint: rgba(255, 255, 255, 0.4);
  --ok: #34d399;

  --sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI Variable Display", "Segoe UI", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "New York", "Iowan Old Style", "Noto Serif SC", "Source Han Serif SC",
    "Songti SC", Georgia, "SimSun", serif;

  --max: 1120px;
  --gutter: clamp(20px, 4.4vw, 48px);
  --nav-h: 54px;
  --radius: 20px;
  --section-y: clamp(84px, 10.5vw, 148px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: rgba(0, 113, 227, 0.18);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  top: 12px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.break {
  display: inline;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.eyebrow--center {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.eyebrow--center::before,
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
  align-self: center;
}

.eyebrow--dark {
  color: #9cc2ff;
}

.section__title {
  font-size: clamp(32px, 4.7vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

.section__lede {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.72;
  color: var(--muted);
}

.section__lede--left {
  margin-left: 0;
}

.section__title--dark {
  color: var(--navy-text);
}

/* ---------- 按钮与文字链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 27px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn:hover {
  background: var(--blue-hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  min-height: 34px;
  padding: 6px 16px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-ink);
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}

.link-arrow .arrow,
.platform .arrow {
  width: 11px;
  height: 11px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: #0057ad;
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

.link-arrow--light {
  color: #9cc2ff;
}

.link-arrow--light:hover {
  color: #c3d9ff;
}

.tag-inline {
  display: inline-block;
  margin-left: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  vertical-align: 2px;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(251, 251, 253, 0.86);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: var(--max);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.brand__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(15, 23, 42, 0.08);
}

.brand__icon--footer {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand__text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav__links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.045);
}

.nav__links a.is-active,
.nav__links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav__gh {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s var(--ease-out);
}

.nav__gh:hover {
  color: var(--ink);
}

/* ---------- 语言切换 ---------- */
.lang {
  position: relative;
}

.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary::marker {
  content: "";
}

.lang summary:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.045);
}

.lang .arrow {
  width: 9px;
  height: 9px;
  flex: none;
  transform: rotate(90deg);
  transition: transform 0.2s var(--ease-out);
}

.lang[open] summary .arrow {
  transform: rotate(-90deg);
}

.lang__current {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  display: grid;
  gap: 2px;
  min-width: 130px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.3);
}

.lang__menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 7px;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-2);
}

.lang__menu button:hover {
  background: var(--mist);
}

.lang__menu button[aria-pressed="true"] {
  background: var(--mist);
  font-weight: 600;
  color: var(--ink);
}

.lang-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lang-mobile button {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.lang-mobile button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

html.i18n-loading body {
  visibility: hidden;
}

/* 韩文按词换行，避免「플랫폼 / 을」这类断行 */
html[lang="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 10px;
}

.nav__toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav__toggle-bars i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}

.nav.is-open .nav__toggle-bars i:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav.is-open .nav__toggle-bars i:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav__panel {
  padding: 8px var(--gutter) 26px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  animation: panelIn 0.28s var(--ease-out);
}

.nav__panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav__panel-links {
  display: flex;
  flex-direction: column;
}

.nav__panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}

.nav__panel-links a .arrow {
  width: 12px;
  height: 12px;
  color: var(--faint);
}

.nav__panel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Hero（应用图标 + 大标题，无模拟界面） ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(52px, 7vw, 88px)) var(--gutter) clamp(60px, 7.5vw, 96px);
  background: radial-gradient(88% 52% at 50% 0%, #f2f7fd 0%, rgba(255, 255, 255, 0) 64%),
    var(--paper);
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

.hero__icon {
  width: clamp(84px, 8vw, 108px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 28px;
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 22px 44px -18px rgba(15, 23, 42, 0.32);
}

.hero__title {
  /* 撑满容器再居中：不要让 flex 把标题收缩成「文字块宽度」。 */
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0 24px;
  font-size: clamp(42px, 7.2vw, 88px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-align: center;
}

/* 每行独立成块，文字各自相对页面中轴居中。行末标点用「悬挂」处理：
   中 / 日 / 韩文的全角标点（，。、）字形偏在格子左下、右侧留一大块白，
   若按整格占位参与居中，可见笔画就会整体偏左。width:0 让标点不占布局
   宽度、墨迹照常溢出绘制，汉字部分才是真正落在中轴上的那部分。 */
.hero__title .line,
.statement__quote .line {
  display: block;
}

.hero__title .punct,
.statement__quote .punct {
  display: inline-block;
  width: 0;
  overflow: visible;
  vertical-align: baseline;
}

.hero__sub {
  max-width: 620px;
  font-size: clamp(16.5px, 1.7vw, 19.5px);
  line-height: 1.72;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

.hero__meta {
  margin-top: 28px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--faint);
}

/* ---------- 概况条 ---------- */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter);
}

.fact + .fact {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.fact__key {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.fact__value {
  word-break: keep-all;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* ---------- 编辑感引言 ---------- */
.statement {
  padding: clamp(88px, 12vw, 150px) var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.statement__inner {
  max-width: 900px;
  margin: 0 auto;
}

.statement__quote {
  box-sizing: border-box;
  margin: 24px auto 30px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0.004em;
  color: var(--ink);
  text-align: center;
}

.statement__body {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(16px, 1.55vw, 17.5px);
  line-height: 1.78;
  color: var(--ink-2);
  text-wrap: pretty;
}

.statement__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
  margin-top: 38px;
  font-size: 13px;
  color: var(--muted);
}

.statement__meta b {
  margin-right: 7px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
}

.section > :where(*) {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.section__head {
  max-width: 780px;
  margin-inline: 0;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.section__head .eyebrow {
  margin-bottom: 16px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section__lede {
  margin-inline: auto;
}

/* ---------- 能力 ---------- */
.section--capabilities {
  background: var(--mist);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -24px rgba(15, 23, 42, 0.22);
}

.card--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.card__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.card p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.card__meta {
  display: inline-block;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.card--wide .scale {
  margin-top: auto;
  padding-top: 30px;
}

.scale {
  display: flex;
  gap: 3px;
}

.scale__cell {
  display: grid;
  place-items: center;
  flex: 1;
  min-width: 0;
  height: 38px;
  border-radius: 5px;
  background: var(--c);
  color: var(--t);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scale__note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--faint);
}

/* ---------- 多源接入（浅色分区 + 数据流图） ---------- */
.section--sources {
  background: var(--paper);
}

.sources__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.sources__text .eyebrow {
  margin-bottom: 16px;
}

.sources__lede {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(16px, 1.55vw, 17.5px);
  line-height: 1.74;
  color: var(--muted);
}

.checks {
  margin-top: 32px;
}

.checks li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.checks li:last-child {
  border-bottom: 1px solid var(--line);
}

.checks b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.checks span {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.sources__text .link-arrow {
  margin-top: 30px;
  font-size: 15px;
}

.flow {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--mist);
  box-shadow: 0 24px 60px -46px rgba(15, 23, 42, 0.35);
}

.flow__group {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.flow__group + .flow__group {
  margin-top: 9px;
}

.flow__group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.flow__group-head b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.flow__group-head small {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap;
}

.flow__names {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.flow__wires {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 8px;
}

.flow__wires--merge {
  height: 42px;
  margin-top: 10px;
}

.flow__wires--short {
  height: 20px;
  margin-top: 0;
}

.flow__core {
  padding: 15px;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.1), rgba(0, 113, 227, 0.03));
  text-align: center;
  box-shadow: 0 16px 40px -28px rgba(0, 113, 227, 0.5);
}

.flow__core b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.flow__core small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
}

.flow__apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.flow__apps span {
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 10.5px;
  color: var(--ink-2);
  text-align: center;
}

.flow__note {
  margin-top: 15px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--faint);
  text-align: center;
}

/* ---------- 版本更新 ---------- */
.section--releases {
  background: var(--mist);
}

.releases {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.releases__head .eyebrow {
  margin-bottom: 16px;
}

.releases__sub {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
}

.releases__head .section__lede {
  margin-top: 18px;
}

.releases__head .link-arrow {
  margin-top: 26px;
  font-size: 15px;
}

.release-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.release-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.release-list__no {
  padding-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.release-list h3 {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.release-list p {
  max-width: 470px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 下载 ---------- */
.section--download {
  background: var(--paper);
}

.download__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
}

.download__icon {
  width: 88px;
  height: 88px;
  border-radius: 21px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 18px 40px -18px rgba(15, 23, 42, 0.32);
}

.download__appname {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
}

.download__appname span {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(36px, 4.5vw, 52px);
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--mist);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
}

a.platform:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  background: var(--paper);
  box-shadow: 0 22px 48px -28px rgba(15, 23, 42, 0.32);
}

.platform__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 22px;
}

.platform__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}

.platform__icon svg {
  width: 28px;
  height: 28px;
}

.platform__type {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.platform__type--soon {
  border-color: rgba(0, 113, 227, 0.25);
  background: rgba(0, 113, 227, 0.06);
  color: var(--blue-ink);
  letter-spacing: 0.04em;
}

.platform__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.platform__meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.platform__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue-ink);
}

a.platform:hover .arrow {
  transform: translateX(3px);
}

.platform__cta--disabled {
  color: var(--faint);
}

.platform__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.platform__badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.platform__badge[hidden] {
  display: none;
}

.platform--soon {
  background: var(--mist);
  cursor: default;
}

.download__version {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.download__version b {
  font-weight: 600;
  color: var(--ink);
}

.download__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 18px;
}

.download__links .link-arrow {
  font-size: 14.5px;
}

.disclaimer {
  max-width: 760px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--faint);
}

.disclaimer b {
  margin-right: 6px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- 页脚 ---------- */
.footer {
  padding: clamp(56px, 7vw, 84px) var(--gutter) 38px;
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: clamp(36px, 6vw, 88px);
  padding-bottom: clamp(36px, 4vw, 52px);
}

.brand--footer {
  display: inline-flex;
}

.footer__tagline {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer__col h2 {
  margin-bottom: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.footer__col ul {
  display: grid;
  gap: 9px;
}

.footer__col a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease-out);
}

.footer__col a:hover {
  color: var(--blue-ink);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--faint);
}

/* ---------- 滚动揭示 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .hero [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}
.js .hero [data-reveal]:nth-child(3) {
  transition-delay: 0.11s;
}
.js .hero [data-reveal]:nth-child(4) {
  transition-delay: 0.16s;
}
.js .hero [data-reveal]:nth-child(5) {
  transition-delay: 0.21s;
}
.js .hero [data-reveal]:nth-child(6) {
  transition-delay: 0.26s;
}

.js .bento > :nth-child(2) {
  transition-delay: 0.05s;
}
.js .bento > :nth-child(3) {
  transition-delay: 0.1s;
}
.js .bento > :nth-child(4) {
  transition-delay: 0.05s;
}
.js .bento > :nth-child(5) {
  transition-delay: 0.1s;
}

.js .platforms > :nth-child(2) {
  transition-delay: 0.06s;
}
.js .platforms > :nth-child(3) {
  transition-delay: 0.12s;
}

.js .release-list li:nth-child(2) {
  transition-delay: 0.06s;
}
.js .release-list li:nth-child(3) {
  transition-delay: 0.12s;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .sources__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 48px;
  }

  .releases {
    gap: 52px;
  }

  .facts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-last-child(-n + 2) {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .sources__grid,
  .releases {
    grid-template-columns: 1fr;
  }

  .sources__grid {
    gap: 44px;
  }

  .flow {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .releases__head .link-arrow {
    margin-bottom: 8px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-last-child(-n + 2) {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__cols {
    gap: 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: clamp(68px, 12vw, 92px);
  }

  .hero {
    padding-top: calc(var(--nav-h) + 48px);
  }

  .hero__icon {
    width: 84px;
    margin-bottom: 22px;
  }

  .hero__actions {
    gap: 20px;
  }

  .hero__meta {
    font-size: 12px;
  }

  .facts__grid {
    padding-block: 24px;
  }

  .fact__value {
    font-size: 15.5px;
  }

  .statement__meta {
    gap: 10px 24px;
    font-size: 12.5px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-column: auto;
  }

  .card {
    padding: 24px;
  }

  .checks li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform {
    padding: 22px;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .footer__legal {
    flex-direction: column;
  }

  .disclaimer {
    text-align: left;
  }

  .scale__cell {
    height: 34px;
    font-size: 9.5px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(38px, 11vw, 48px);
  }

  html[lang="en"] .hero__title {
    font-size: clamp(32px, 8.6vw, 38px);
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 16px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .facts__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fact,
  .fact:nth-child(3) {
    padding: 0 0 16px;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .download__icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__legal {
    font-size: 11px;
  }

  .scale {
    gap: 2px;
  }

  .scale__cell {
    height: 30px;
    font-size: 9px;
    border-radius: 4px;
  }
}

/* ---------- 矮桌面首屏：收紧 hero，让 facts 信息带进入首屏 ---------- */
@media (min-width: 961px) and (max-height: 950px) {
  .hero {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 52px;
  }

  .hero__icon {
    width: 88px;
    margin-bottom: 20px;
  }

  .hero__title {
    margin: 14px 0 18px;
    font-size: clamp(40px, 6.2vw, 76px);
  }

  .hero__sub {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .hero__meta {
    margin-top: 20px;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 更新日志页 ---------- */
.log-hero {
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 96px)) var(--gutter) clamp(40px, 5vw, 60px);
  background: radial-gradient(80% 60% at 50% -10%, #f2f7fd 0%, rgba(255, 255, 255, 0) 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.log-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.log-hero .eyebrow {
  margin-bottom: 18px;
}

.log-hero__title {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.log-hero__lede {
  max-width: 600px;
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.72;
  color: var(--ink-2);
}

.log-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

.log-hero__meta b {
  font-weight: 600;
  color: var(--ink);
}

.log-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 20px;
}

.log-hero__links .link-arrow {
  font-size: 14.5px;
}

.log {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 8vw, 104px);
}

.log-entry {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(40px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.log-entry:first-child {
  border-top: 0;
}

.log-entry__aside {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  align-self: start;
}

.log-entry__ver {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.log-entry__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.log-badge {
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.log-badge--latest {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.log-entry__time {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.log-entry__links {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.log-entry__links a {
  font-size: 12.5px;
  color: var(--blue-ink);
}

.log-entry__links a:hover {
  text-decoration: underline;
}

.log-entry__body {
  min-width: 0;
}

.log-entry__lead {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.log-entry__body h3 {
  margin: 32px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.log-entry__body h3:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.log-entry__body h4 {
  margin: 20px 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.log-entry__body ul {
  display: grid;
  gap: 8px;
}

.log-entry__body li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-2);
}

.log-entry__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.log-entry__body li ul {
  margin-top: 8px;
  padding-left: 14px;
}

.log-entry__body b {
  font-weight: 600;
  color: var(--ink);
}

.log-entry__body code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
  font-size: 11.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.log-entry details {
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist-2);
}

.log-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.log-entry summary::-webkit-details-marker {
  display: none;
}

.log-entry summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.log-entry details[open] summary {
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.log-entry details[open] summary::after {
  content: "−";
}

.log-entry details h4 {
  margin-top: 16px;
}

.log-entry details ul {
  margin-bottom: 14px;
}

.log-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  padding-bottom: 2px;
}

.log-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 12px;
}

.log-table th,
.log-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.log-table th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.log-table td {
  color: var(--ink-2);
}

.log-table td:last-child {
  color: var(--muted);
}

.log-hashes {
  margin: 6px 0 14px;
}

.log-hash {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.log-hash:last-child {
  border-bottom: 0;
}

.log-hash code {
  background: none;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
}

.log-hash span {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--faint);
  overflow-wrap: anywhere;
}

.log-note {
  max-width: 640px;
  margin: 10px 0 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--faint);
}

.log-entry__source {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
}

.log-sync {
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--faint);
}

.log-sync a {
  color: var(--blue-ink);
}

/* 检测到比站点内置值更新的版本时提示 */
.log-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 28px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 12px;
  background: rgba(0, 113, 227, 0.06);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.log-banner a {
  margin-left: auto;
  color: var(--blue-ink);
  font-weight: 600;
}

@media (max-width: 960px) {
  .log-entry {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .log-entry__aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
  }

  .log-entry__badges,
  .log-entry__time {
    margin-top: 0;
  }

  .log-entry__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .log-hero {
    padding-top: calc(var(--nav-h) + 44px);
  }

  .log-hero__meta {
    gap: 8px 18px;
    font-size: 12.5px;
  }

  .log-entry {
    padding: 36px 0;
  }

  .log-entry__body h3 {
    margin-top: 26px;
    padding-top: 18px;
  }

  .log-entry__body li {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .log-hero__title {
    font-size: 38px;
  }

  .log-entry__links {
    font-size: 12px;
  }

  .log-table th,
  .log-table td {
    padding: 8px 9px;
  }
}

