:root {
  color-scheme: dark;
  --ink: #f4f5f2;
  --muted: #a5aaa5;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --black: #050706;
  --panel: #0b0e0c;
  --green: #a8ffcf;
  --green-deep: #557f66;
  --max: 1480px;
  --header-h: 132px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: white;
  color: black;
}
.noscript-notice { position: fixed; z-index: 210; inset: 0 0 auto; margin: 0; padding: 12px 20px; background: #f4f4f1; color: #090b09; text-align: center; font-size: 13px; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 290px 1fr 220px;
  align-items: center;
  gap: 28px;
  padding: 22px max(40px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(2, 3, 3, 0.96) 0%, rgba(2, 3, 3, 0.65) 68%, transparent 100%);
  transition: height 300ms var(--ease), background 300ms ease;
}
.site-header.is-compact {
  --header-h: 92px;
  background: rgba(3, 5, 4, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.brand { justify-self: start; display: flex; flex-direction: column; align-items: flex-start; }
.brand-name {
  font-family: "STXingkai", "华文行楷", "FZKai-Z03", "KaiTi", serif;
  font-size: clamp(40px, 4vw, 72px);
  line-height: 0.82;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
  transition: font-size 300ms var(--ease);
}
.is-compact .brand-name { font-size: 44px; }
.brand-stroke { color: var(--green); font-size: 0.6em; margin-left: -0.15em; }
.brand-role { margin: 14px 0 0 4px; color: #9c9f9d; font-size: 15px; letter-spacing: 0.22em; }
.is-compact .brand-role { display: none; }
.desktop-nav { display: flex; justify-content: center; gap: 14px; }
.metal-pill {
  position: relative;
  min-width: 120px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  overflow: hidden;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 44%, rgba(0, 0, 0, 0.4)),
    rgba(4, 6, 5, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -8px 18px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  transition: transform 250ms var(--ease), border-color 250ms ease, background 250ms ease;
}
.metal-pill::after {
  content: "";
  position: absolute;
  inset: 2px 14% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, white, transparent);
  opacity: 0.62;
}
.metal-pill:hover, .metal-pill.is-current { transform: translateY(-2px); border-color: rgba(207, 255, 224, 0.72); background-color: rgba(95, 132, 107, 0.2); }
.external-mark { margin-left: 6px; color: var(--green); }
.primary-top {
  justify-self: end;
  border: 0;
  border-radius: 8px;
  padding: 16px 24px;
  color: #060806;
  background: #f4f4f1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72), 0 12px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-weight: 700;
  transition: transform 250ms var(--ease), background 250ms ease;
}
.primary-top:hover { transform: translateY(-2px); background: var(--green); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.view { position: relative; min-height: 100vh; overflow: clip; }
.view[hidden] { display: none !important; }
.view.is-entering .reveal { animation: rise-in 700ms var(--ease) both; }
.view.is-entering .reveal:nth-child(2) { animation-delay: 80ms; }
.view.is-entering .reveal:nth-child(3) { animation-delay: 140ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); filter: blur(7px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.home-view {
  min-height: 100svh;
  background: #020303 url("./assets/hero-seedling.webp") center top / cover no-repeat;
}
.home-view::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 52%, rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.92) 78%, #020302 100%);
}
.rain-layer { position: absolute; z-index: 1; inset: 0; pointer-events: none; overflow: hidden; }
.rain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  mix-blend-mode: screen;
}
.home-hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 210px 0 48px;
  text-align: center;
}
.home-copy { width: min(1120px, 100%); }
.eyebrow { margin-inline: auto; }
.metal-badge {
  width: fit-content;
  margin-block: 0 22px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #e9edea;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.14), rgba(128,255,184,0.2));
  box-shadow: inset 0 1px rgba(255,255,255,0.35), 0 0 22px rgba(143, 255, 190, 0.08);
  font-size: 15px;
  letter-spacing: 0.13em;
}
.home-copy h1 {
  margin: 0;
  font-family: "FZKai-Z03", "STKaiti", "KaiTi", serif;
  font-size: clamp(48px, 4.45vw, 68px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-wrap: balance;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.9);
}
.home-copy h1 span {
  font-family: "STXingkai", "华文行楷", "KaiTi", serif;
  font-size: 1.18em;
  letter-spacing: 0.08em;
}
.hero-lead { margin: 18px auto 0; max-width: 800px; color: #aeb3af; font-size: 18px; line-height: 1.8; letter-spacing: 0.08em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.button {
  min-width: 200px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: transform 250ms var(--ease), border-color 250ms ease, background 250ms ease, color 250ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: #f4f4f1; color: #080a08; border-color: white; font-weight: 700; }
.button-light:hover { background: var(--green); }
.button-ghost { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); color: var(--ink); box-shadow: inset 0 1px rgba(255,255,255,0.16); }
.button-ghost:hover { border-color: var(--green); }
.button-disabled { background: #171a18; color: #70746f; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.home-facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fact { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 28px; border-right: 1px solid rgba(255, 255, 255, 0.12); text-align: left; }
.fact:last-child { border-right: 0; }
.fact-number { min-width: 46px; color: var(--green); font-family: Georgia, serif; font-size: 32px; font-style: italic; }
.fact strong, .fact small { display: block; }
.fact strong { font-size: 17px; font-weight: 500; }
.fact small { margin-top: 5px; color: #747a75; font-size: 12px; letter-spacing: 0.12em; }
.home-filings {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translateX(-50%);
  color: #626762;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.home-filings a {
  transition: color 200ms ease;
}
.home-filings a:hover { color: #c4c8c4; }

.content-view, .product-view, .article-view, .about-view, .not-found-view { padding-top: var(--header-h); background: #050706; }
.page-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 14%, rgba(80, 140, 102, 0.12), transparent 28%);
}
.page-shell { position: relative; z-index: 1; padding-block: 90px 120px; }
.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.kicker { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.28em; }
.page-heading h1, .product-intro h1, .about-copy h1, .article-content > h1 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.page-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.filter-row { display: flex; gap: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter { padding: 16px 18px; border: 0; border-bottom: 2px solid transparent; background: none; color: #868b86; cursor: pointer; }
.filter span { margin-left: 6px; font-size: 11px; }
.filter:hover, .filter.is-active { color: white; border-bottom-color: var(--green); }
.product-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
  min-height: 300px;
  padding-block: 52px;
  border-bottom: 1px solid var(--line);
  transition: opacity 300ms ease, transform 300ms ease;
}
.product-row[hidden] { display: none; }
.product-index { align-self: start; padding-top: 8px; color: #6e736e; font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.status-line { margin-bottom: 18px; color: #9da39e; font-size: 13px; letter-spacing: 0.08em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; }
.status-green { background: var(--green); box-shadow: 0 0 14px var(--green); }
.status-muted { background: #737773; }
.product-main h2 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(36px, 4vw, 58px); font-weight: 400; }
.product-main p { max-width: 720px; margin: 18px 0 24px; color: var(--muted); line-height: 1.8; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 11px; border: 1px solid rgba(255,255,255,0.12); color: #a7aca7; font-size: 12px; }
.product-side { position: relative; display: flex; min-height: 170px; align-items: flex-end; justify-content: flex-end; }
.big-type { position: absolute; inset: 0 0 auto auto; color: rgba(255,255,255,0.035); font-family: Georgia, serif; font-size: 64px; letter-spacing: -0.05em; }
.round-link { width: 132px; height: 132px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 50%; color: #dfe3df; font-size: 13px; transition: border-color 250ms ease, transform 300ms var(--ease), background 250ms ease; }
.round-link span { font-size: 22px; }
.round-link:hover { transform: rotate(-5deg) scale(1.03); border-color: var(--green); background: rgba(143,255,190,0.06); }
.empty-filter { padding: 60px 0; color: var(--muted); text-align: center; }

.product-view { background: radial-gradient(circle at 82% 18%, rgba(83, 130, 100, 0.15), transparent 26%), #050706; }
.product-shell { padding-block: 54px 120px; }
.back-link { display: inline-flex; margin-bottom: 70px; color: #929892; font-size: 13px; letter-spacing: 0.08em; }
.back-link:hover { color: var(--green); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); gap: 90px; align-items: end; }
.release-badge { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 26px; color: #cad1cb; font-size: 13px; }
.release-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.release-badge.muted span { background: #7b7f7c; box-shadow: none; }
.product-intro h1 { font-size: clamp(64px, 8vw, 126px); }
.product-intro > p:not(.kicker) { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.product-intro .hero-actions { justify-content: flex-start; }
.spec-panel { border-top: 1px solid var(--line-strong); }
.spec-panel div { display: flex; justify-content: space-between; gap: 28px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.spec-panel span { color: #777d77; font-size: 13px; }
.spec-panel strong { text-align: right; font-size: 14px; font-weight: 500; }
.accent-text { color: var(--green); }
.detail-tabs { display: flex; gap: 8px; margin-top: 110px; border-bottom: 1px solid var(--line); }
.detail-tabs button { padding: 18px 22px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #797e79; cursor: pointer; }
.detail-tabs button[aria-selected="true"] { color: white; border-bottom-color: var(--green); }
.detail-panel { padding-top: 42px; }
.detail-panel[hidden] { display: none; }
.feature-grid, .notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article, .notice-grid article { min-height: 260px; padding: 38px; background: #080b09; }
.feature-grid article > span { color: var(--green); font-family: Georgia, serif; font-style: italic; }
.feature-grid h2, .notice-grid h2 { margin: 70px 0 14px; font-family: "STKaiti", "KaiTi", serif; font-size: 28px; font-weight: 400; }
.feature-grid p, .notice-grid p { margin: 0; color: var(--muted); line-height: 1.8; }
.notice-grid article { border-top: 2px solid #625952; }
.notice-grid h2 { margin-top: 20px; }
.release-timeline { max-width: 920px; }
.release-timeline > div { display: grid; grid-template-columns: 100px 22px 1fr; gap: 24px; min-height: 150px; }
.release-timeline time { color: var(--green); font-family: Georgia, serif; }
.release-timeline > div > span { position: relative; width: 9px; height: 9px; margin-top: 4px; border: 1px solid var(--green); border-radius: 50%; }
.release-timeline > div > span::after { content: ""; position: absolute; left: 3px; top: 14px; width: 1px; height: 116px; background: var(--line); }
.release-timeline > div:last-child > span::after { display: none; }
.release-timeline h2 { margin: 0 0 10px; font-family: "STKaiti", "KaiTi", serif; font-size: 28px; font-weight: 400; }
.release-timeline p { margin: 0; color: var(--muted); line-height: 1.8; }
.converter-features { margin-top: 110px; }

.wiki-ambient { background: radial-gradient(circle at 20% 16%, rgba(74, 122, 91, 0.13), transparent 24%); }
.wiki-search { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.wiki-search > span { color: #daddda; font-size: 13px; }
.wiki-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 17px; }
.wiki-search input::placeholder { color: #646965; }
.wiki-search kbd { padding: 5px 8px; border: 1px solid var(--line); color: #7f847f; font-size: 11px; font-family: inherit; }
.wiki-layout { display: grid; grid-template-columns: 230px 1fr; gap: 70px; margin-top: 46px; }
.wiki-sidebar { align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; }
.wiki-sidebar button { display: flex; justify-content: space-between; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.08); background: none; color: #737873; text-align: left; cursor: pointer; }
.wiki-sidebar button:hover, .wiki-sidebar button.is-active { color: white; }
.wiki-sidebar button.is-active::before { content: ""; width: 18px; height: 1px; margin: 9px 10px 0 0; background: var(--green); }
.wiki-sidebar button span { margin-left: auto; }
.wiki-item { display: grid; grid-template-columns: 46px 1fr 60px; gap: 24px; align-items: center; min-height: 156px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.wiki-item[hidden] { display: none; }
.wiki-number { color: #656b66; font-family: Georgia, serif; font-style: italic; }
.wiki-item small { color: var(--green); font-size: 11px; letter-spacing: 0.14em; }
.wiki-item h2 { margin: 8px 0 8px; font-family: "STKaiti", "KaiTi", serif; font-size: 29px; font-weight: 400; }
.wiki-item p { margin: 0; color: #858a85; font-size: 14px; }
.wiki-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; transition: transform 250ms var(--ease), border-color 250ms ease; }
.wiki-item:hover .wiki-arrow { transform: translateX(4px); border-color: var(--green); }
.wiki-empty { padding: 80px 0; color: var(--muted); text-align: center; }

.article-shell { padding-block: 54px 130px; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 780px); gap: 100px; justify-content: center; }
.article-toc { align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.article-toc p { margin: 0 0 8px; color: #e5e7e5; font-size: 13px; }
.article-toc button { padding: 0; border: 0; background: none; color: #747a75; font-size: 13px; text-align: left; cursor: pointer; }
.article-toc button:hover { color: var(--green); }
.article-content > h1 { font-size: clamp(54px, 7vw, 94px); line-height: 1.08; }
.article-lead { margin: 30px 0 80px; color: #b1b6b1; font-size: 19px; line-height: 1.9; }
.article-content section { position: relative; scroll-margin-top: calc(var(--header-h) + 24px); padding: 48px 0 52px 70px; border-top: 1px solid var(--line); }
.article-content section > span { position: absolute; left: 0; top: 52px; color: var(--green); font-family: Georgia, serif; font-style: italic; }
.article-content section h2 { margin: 0 0 18px; font-family: "STKaiti", "KaiTi", serif; font-size: 34px; font-weight: 400; }
.article-content section p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.95; }
.text-action { display: inline-block; margin-top: 24px; padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--green); background: none; color: var(--ink); cursor: pointer; }

.about-view { background: radial-gradient(circle at 18% 44%, rgba(89, 137, 105, 0.13), transparent 23%), #050706; }
.about-shell { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 0.68fr 1.32fr; gap: 110px; align-items: center; padding-block: 80px 120px; }
.about-mark { position: relative; color: rgba(255,255,255,0.08); font-family: "STXingkai", "华文行楷", "KaiTi", serif; font-size: clamp(110px, 14vw, 210px); line-height: 0.7; text-align: center; text-shadow: 0 0 70px rgba(172,255,207,0.08); }
.about-mark span { position: absolute; right: 10%; bottom: -10%; color: var(--green); font-size: 0.28em; }
.about-copy { max-width: 820px; }
.about-copy h1 { font-size: clamp(56px, 6.5vw, 96px); line-height: 1.1; }
.about-lead { margin: 34px 0; color: #d0d4d0; font-family: "STKaiti", "KaiTi", serif; font-size: 24px; line-height: 1.9; }
.about-note { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
.about-note p { margin: 0; color: var(--muted); line-height: 1.9; }
.about-copy .hero-actions { justify-content: flex-start; }

.not-found-view { background: radial-gradient(circle at 50% 32%, rgba(86, 141, 105, 0.12), transparent 28%), #050706; }
.not-found-shell { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; align-items: center; padding-block: 80px 120px; text-align: center; }
.not-found-shell h1 { max-width: 900px; margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(54px, 8vw, 112px); font-weight: 400; line-height: 1.08; }
.not-found-shell > p:not(.kicker) { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }

.site-footer { position: relative; z-index: 3; background: #020302; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; color: #696e69; font-size: 12px; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner a:hover { color: white; }
.footer-filings { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.home-view + .site-footer { background: transparent; }

.download-dialog {
  width: min(620px, calc(100% - 32px));
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17,22,19,0.98), rgba(4,6,5,0.99));
  color: var(--ink);
  box-shadow: 0 34px 120px rgba(0,0,0,0.75), inset 0 1px rgba(255,255,255,0.12);
}
.download-dialog::backdrop { background: rgba(0,0,0,0.76); backdrop-filter: blur(12px); }
.download-dialog[open] { animation: dialog-in 320ms var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.download-dialog h2 { margin: 0 0 18px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(36px, 5vw, 52px); font-weight: 400; line-height: 1.15; }
.download-dialog > p:not(.kicker) { color: var(--muted); line-height: 1.8; }
.download-dialog dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.download-dialog dl div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.download-dialog dt { color: #777d77; }
.download-dialog dd { margin: 0; }
.dialog-actions { display: flex; gap: 12px; margin-top: 28px; }
.dialog-actions .button { min-width: 0; flex: 1; min-height: 52px; }
.route-announcer { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.data-status-banner { position: fixed; z-index: 100; left: 50%; bottom: 24px; translate: -50% 0; width: min(620px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border: 1px solid rgba(255,190,127,.35); border-radius: 10px; background: rgba(17,12,8,.94); color: #d8c0a4; text-align: center; backdrop-filter: blur(18px); }
.data-status-banner strong { color: #fff1df; }
.data-status-banner span { font-size: 13px; line-height: 1.6; }
.preview-badge { position: fixed; z-index: 90; left: 50%; bottom: 18px; translate: -50% 0; padding: 10px 16px; border: 1px solid rgba(143,240,180,.28); border-radius: 999px; background: rgba(6,13,9,.9); color: #bfffd6; font-size: 12px; letter-spacing: .06em; backdrop-filter: blur(18px); }
.dialog-hash { max-width: 380px; overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 10px; }

@media (max-width: 1120px) {
  :root { --header-h: 104px; }
  .site-header { grid-template-columns: 220px 1fr 170px; padding-inline: 28px; }
  .brand-name { font-size: 48px; }
  .desktop-nav { gap: 8px; }
  .metal-pill { min-width: 96px; padding-inline: 14px; font-size: 14px; }
  .product-row { grid-template-columns: 50px 1fr 220px; }
  .big-type { font-size: 44px; }
  .page-heading { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 86px; }
  .shell { width: min(calc(100% - 40px), var(--max)); }
  .site-header, .site-header.is-compact { height: var(--header-h); grid-template-columns: 1fr auto; padding: 14px 20px; background: linear-gradient(180deg, rgba(2,3,3,0.96), rgba(2,3,3,0.7)); }
  .brand-name, .is-compact .brand-name { font-size: 38px; }
  .brand-role { display: none; }
  .desktop-nav, .primary-top { display: none; }
  .menu-toggle { width: 52px; height: 52px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 50%; background: rgba(6,8,7,0.65); cursor: pointer; }
  .menu-toggle span { width: 20px; height: 1px; background: white; transition: transform 220ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 110; inset: 0; display: flex; flex-direction: column; padding: 24px 20px 28px; background: rgba(3,5,4,0.98); backdrop-filter: blur(24px); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #747a75; font-size: 12px; letter-spacing: 0.15em; }
  .mobile-menu-head button { border: 0; background: none; color: white; cursor: pointer; }
  .mobile-menu nav { display: flex; flex-direction: column; margin-top: 22px; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 70px; border-bottom: 1px solid rgba(255,255,255,0.1); font-family: "STKaiti", "KaiTi", serif; font-size: 28px; }
  .mobile-menu nav a span { width: 44px; color: var(--green); font-family: Georgia, serif; font-size: 12px; font-style: italic; }
  .mobile-download { width: 100%; margin-top: auto; }

  .home-view { background-position: 61% top; }
  .home-view::before { background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.08) 32%, rgba(0,0,0,0.92) 67%, #020302 100%); }
  .home-hero { min-height: 100svh; align-items: stretch; justify-content: flex-end; padding: 360px 0 24px; text-align: left; }
  .eyebrow { margin-inline: 0; }
  .metal-badge { padding: 8px 15px; font-size: 10px; }
  .home-copy h1 { font-size: clamp(38px, 10vw, 58px); line-height: 1.18; }
  .hero-lead { margin-left: 0; font-size: 14px; line-height: 1.7; letter-spacing: 0.03em; }
  .hero-actions { justify-content: flex-start; gap: 10px; }
  .button { min-width: 0; min-height: 52px; flex: 1; padding-inline: 16px; font-size: 14px; }
  .home-facts { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; padding-top: 18px; }
  .fact { display: block; padding: 0 10px; text-align: center; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { padding-right: 0; }
  .fact-number { min-width: 0; font-size: 22px; }
  .fact strong { margin-top: 4px; font-size: 10px; line-height: 1.35; }
  .fact small { display: none; }
  .home-filings { position: static; flex-direction: column; gap: 6px; width: fit-content; margin: 20px auto 0; transform: none; font-size: 10px; }

  .page-shell { padding-block: 58px 90px; }
  .page-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 46px; }
  .page-heading h1, .product-intro h1, .about-copy h1, .article-content > h1 { font-size: clamp(48px, 14vw, 72px); }
  .page-heading > p { font-size: 15px; }
  .filter-row { overflow-x: auto; }
  .filter { flex: 0 0 auto; }
  .product-row { grid-template-columns: 34px 1fr; gap: 14px; min-height: 0; padding-block: 38px; }
  .product-index { grid-row: 1 / 3; }
  .product-main h2 { font-size: 34px; }
  .product-main p { font-size: 14px; }
  .product-side { grid-column: 2; min-height: 58px; align-items: center; justify-content: flex-start; }
  .big-type { display: none; }
  .round-link { width: auto; height: auto; flex-direction: row; padding: 12px 18px; border-radius: 999px; }
  .round-link span { font-size: 17px; }

  .product-shell { padding-block: 34px 90px; }
  .back-link { margin-bottom: 46px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .product-intro > p:not(.kicker) { font-size: 15px; }
  .spec-panel div { padding-block: 16px; }
  .detail-tabs { margin-top: 70px; overflow-x: auto; }
  .detail-tabs button { flex: 0 0 auto; padding-inline: 14px; }
  .feature-grid, .notice-grid { grid-template-columns: 1fr; }
  .feature-grid article, .notice-grid article { min-height: 220px; }
  .converter-features { margin-top: 70px; }

  .wiki-search { grid-template-columns: 1fr auto; }
  .wiki-search > span { grid-column: 1 / -1; }
  .wiki-layout { grid-template-columns: 1fr; gap: 30px; }
  .wiki-sidebar { position: static; flex-direction: row; overflow-x: auto; gap: 8px; }
  .wiki-sidebar button { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--line); }
  .wiki-sidebar button.is-active::before { display: none; }
  .wiki-item { grid-template-columns: 30px 1fr; gap: 12px; min-height: 140px; }
  .wiki-arrow { display: none; }
  .wiki-item h2 { font-size: 24px; }
  .wiki-item p { line-height: 1.6; }

  .article-shell { padding-block: 34px 90px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .article-lead { margin-bottom: 50px; font-size: 16px; }
  .article-content section { padding-left: 42px; }

  .about-shell { grid-template-columns: 1fr; gap: 30px; padding-block: 60px 90px; }
  .about-mark { display: none; }
  .about-lead { font-size: 20px; }
  .about-note { grid-template-columns: 1fr; gap: 20px; }

  .footer-inner { min-height: 126px; grid-template-columns: 1fr; gap: 12px; justify-items: center; padding-block: 26px; text-align: center; }
  .footer-inner p { margin: 0; }
  .footer-filings { justify-self: center; align-items: center; }
  .download-dialog { padding: 38px 24px 24px; }
  .dialog-actions { flex-direction: column; }
}

@media (max-width: 520px) {
  .home-hero { padding-top: 300px; }
  .home-copy h1 { font-size: 39px; }
  .home-copy h1 span { letter-spacing: 0.03em; }
  .hero-lead { max-width: 330px; }
  .home-facts { margin-top: 22px; }
  .fact strong { font-size: 9px; }
  .page-heading h1, .product-intro h1, .about-copy h1, .article-content > h1 { font-size: 50px; }
  .feature-grid article, .notice-grid article { padding: 28px; }
  .feature-grid h2 { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rain-canvas { display: none; }
}
