:root {
  --ink: #0b1d2a;
  --ink-soft: #243b4a;
  --muted: #617384;
  --line: #d9e5ee;
  --line-strong: #c3d4e1;
  --paper: #f5f9fc;
  --surface: #ffffff;
  --surface-soft: #edf5f8;
  --navy: #082f49;
  --teal: #0f766e;
  --teal-bright: #0d9488;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --warning: #9a5b06;
  --warning-bg: #fff7e8;
  --danger: #b42318;
  --danger-bg: #fff1f0;
  --shadow-sm: 0 4px 16px rgba(8, 47, 73, 0.06);
  --shadow-md: 0 18px 50px rgba(8, 47, 73, 0.11);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.65rem, 5.6vw, 5.2rem); font-weight: 720; }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.16rem; font-weight: 700; }
code, pre { font-family: "Cascadia Code", Consolas, "SFMono-Regular", monospace; }
::selection { background: #b8ebe5; color: var(--navy); }
:focus-visible { outline: 3px solid rgba(13, 148, 136, 0.55); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 850px); }
.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: -100px; left: 20px; z-index: 100; padding: 10px 16px;
  background: var(--navy); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 14px; color: #fff; }
.eyebrow {
  margin-bottom: 12px; color: var(--teal); font-size: 0.75rem;
  font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 249, 252, 0.88);
  border-bottom: 1px solid rgba(195, 212, 225, 0.65);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--teal); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--teal-bright));
  border-radius: 10px; box-shadow: 0 8px 20px rgba(15, 118, 110, 0.22);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-copy { display: flex; align-items: baseline; gap: 5px; letter-spacing: -0.03em; }
.brand-copy strong { font-size: 1.16rem; }
.brand-copy span { color: var(--muted); font-size: 1rem; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
  padding: 8px 12px; color: var(--ink-soft); font-size: 0.91rem; font-weight: 650;
  text-decoration: none; border-radius: 8px;
}
.site-nav a:hover { background: rgba(13, 148, 136, 0.08); color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); background: rgba(13, 148, 136, 0.09); }
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface);
}
.lang-switch a {
  padding: 5px 10px; color: var(--muted); font-size: 0.76rem; font-weight: 700;
  text-decoration: none; border-radius: 999px; white-space: nowrap;
}
.lang-switch a[aria-current="true"] { color: #fff; background: var(--navy); }
.nav-toggle { display: none; width: 42px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 4px; }

.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 84% 18%, rgba(6, 182, 212, 0.14), transparent 28%),
    radial-gradient(circle at 10% 76%, rgba(15, 118, 110, 0.09), transparent 32%),
    linear-gradient(180deg, #f9fcfe 0%, #f2f8fb 72%, var(--paper) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.33;
  background-image: linear-gradient(rgba(8, 47, 73, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 47, 73, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.hero-copy h1 { max-width: 760px; margin-bottom: 24px; color: var(--navy); overflow-wrap: break-word; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { color: var(--muted); font-size: 0.86rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px;
  font-weight: 720; font-size: 0.92rem; line-height: 1.25; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--teal), #0b8f86); box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24); }
.button-primary:hover { color: #fff; background: linear-gradient(135deg, #0c6b64, var(--teal-bright)); box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28); }
.button-ghost { color: var(--navy); background: rgba(255, 255, 255, 0.8); border-color: var(--line-strong); }
.button-ghost:hover { color: var(--teal); background: #fff; }
.button-small { min-height: 38px; padding: 8px 14px; font-size: 0.82rem; }
.button-block { width: 100%; }
.button[disabled] { opacity: 0.55; pointer-events: none; }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(13, 148, 136, 0.2); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 530px; height: 530px; border-style: dashed; opacity: 0.66; }
.app-window {
  position: relative; z-index: 2; width: min(100%, 500px); overflow: hidden;
  background: #0c2233; border: 1px solid rgba(79, 209, 197, 0.2); border-radius: 17px;
  box-shadow: 0 34px 80px rgba(8, 47, 73, 0.26);
  transform: rotate(-1.3deg);
}
.window-bar { display: flex; align-items: center; gap: 16px; padding: 11px 14px; color: #8eabbc; font-size: 0.65rem; letter-spacing: 0.12em; border-bottom: 1px solid rgba(148, 197, 216, 0.12); background: #0a1d2b; }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #2b5267; }
.window-dots i:first-child { background: #f87171; }
.window-dots i:nth-child(2) { background: #fbbf24; }
.window-dots i:nth-child(3) { background: #34d399; }
.window-body { padding: 26px 24px 20px; }
.window-title { color: #ecfeff; font-size: 1.15rem; font-weight: 720; }
.window-subtitle { margin-bottom: 20px; color: #5eead4; font-size: 0.58rem; letter-spacing: 0.18em; }
.mini-table { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(148, 197, 216, 0.17); border-radius: 8px; background: rgba(148, 197, 216, 0.12); }
.mini-table span { min-width: 0; padding: 9px 7px; overflow: hidden; color: #d7e8f1; font-size: 0.59rem; text-overflow: ellipsis; white-space: nowrap; background: #102c3e; }
.mini-table .mini-head { color: #7dd3fc; font-size: 0.54rem; font-weight: 700; text-transform: uppercase; background: #12384e; }
.window-status { display: flex; align-items: center; gap: 7px; margin-top: 16px; color: #80a5b8; font-size: 0.65rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tools { background: var(--paper); }
.section-values, .section-muted { background: #edf5f8; }
.section-summary { padding-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { width: min(100%, 520px); margin-bottom: 0; color: var(--muted); }
.section-heading.compact { display: block; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-grid-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.tool-card {
  display: flex; gap: 20px; padding: 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.tool-icon { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; color: var(--teal); background: #e4f6f3; border-radius: 15px; }
.tool-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-card-body { min-width: 0; flex: 1; }
.tool-title-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 9px; }
.tool-title-row h2, .tool-title-row h3 { margin-bottom: 0; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; color: var(--teal); background: #e4f6f3; border-radius: 999px; font-size: 0.7rem; font-weight: 750; white-space: nowrap; }
.badge-soft { color: var(--ink-soft); background: var(--surface-soft); }
.tool-card p { margin-bottom: 15px; color: var(--muted); font-size: 0.92rem; }
.inline-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0 0 16px; list-style: none; color: var(--muted); font-size: 0.76rem; }
.inline-meta li { position: relative; }
.inline-meta li + li::before { content: "·"; position: absolute; left: -9px; color: var(--line-strong); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 750; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(3px); }
.tool-card-future { align-items: center; border-style: dashed; background: rgba(255, 255, 255, 0.45); box-shadow: none; }
.tool-card-future h3 { margin-bottom: 6px; color: var(--muted); font-size: 1rem; }
.tool-card-future p { margin: 0; font-size: 0.78rem; }
.future-plus { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 14px; font-size: 1.8rem; font-weight: 300; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value-card { padding: 30px 26px; background: rgba(255, 255, 255, 0.76); border: 1px solid var(--line); border-radius: var(--radius); }
.value-index, .feature-number { display: block; margin-bottom: 30px; color: var(--teal); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.summary-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(30px, 4vw, 48px); color: #e6f4f7; background: linear-gradient(125deg, #082f49, #0c4a5e 62%, #0f5e5a); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.summary-panel h2 { color: #fff; }
.summary-panel p { max-width: 760px; margin-bottom: 0; color: #b9d4df; }
.summary-panel .eyebrow { color: #5eead4; }
.summary-panel .button { flex: 0 0 auto; background: #ecfeff; color: var(--navy); box-shadow: none; }
.summary-panel .button:hover { background: #fff; color: var(--teal); }

.page-hero { padding: clamp(64px, 8vw, 100px) 0 48px; background: radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.1), transparent 30%), #f9fcfe; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 20px; color: var(--navy); }
.page-lead { max-width: 760px; color: var(--ink-soft); font-size: 1.12rem; }

.product-hero { padding: 28px 0 clamp(70px, 8vw, 104px); background: radial-gradient(circle at 80% 24%, rgba(6, 182, 212, 0.1), transparent 27%), linear-gradient(180deg, #f8fcfd, var(--paper)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 44px; color: var(--muted); font-size: 0.78rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.product-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.product-copy h1 { margin-bottom: 7px; color: var(--navy); font-size: clamp(2.4rem, 4.5vw, 4.4rem); }
.product-english { margin-bottom: 22px; color: var(--teal); font-size: 1.02rem; font-weight: 650; }
.product-lead { max-width: 720px; color: var(--ink-soft); font-size: 1.18rem; }
.product-highlights { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 28px; list-style: none; }
.product-highlights li { padding: 6px 11px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 0.74rem; font-weight: 700; }
.product-intro { max-width: 730px; color: var(--muted); }
.download-panel { padding: 29px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.download-panel h2 { margin-bottom: 12px; font-size: 1.55rem; }
.download-panel-top > p:last-child { color: var(--muted); font-size: 0.86rem; }
.release-facts { margin: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.release-facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.release-facts > div + div { border-top: 1px solid #edf2f6; }
.release-facts dt { color: var(--muted); font-size: 0.78rem; }
.release-facts dd { margin: 0; color: var(--ink); font-size: 0.8rem; font-weight: 700; text-align: right; }
.checksum-box { margin-bottom: 18px; padding: 12px 13px; background: #f3f8fb; border: 1px solid var(--line); border-radius: 9px; }
.checksum-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--muted); font-size: 0.69rem; font-weight: 700; }
.checksum-box code { display: block; overflow-wrap: anywhere; color: var(--ink-soft); font-size: 0.66rem; line-height: 1.5; }
.copy-button { padding: 0; color: var(--teal); background: none; border: 0; font-size: 0.69rem; font-weight: 750; }
.copy-status { display: block; min-height: 1em; margin-top: 4px; color: var(--teal); font-size: 0.68rem; }
.package-list { display: grid; gap: 14px; margin-top: 23px; }
.package-card { padding: 16px; background: #f8fbfd; border: 1px solid var(--line); border-radius: 12px; }
.package-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.package-card-head h3 { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.69rem; line-height: 1.45; overflow-wrap: anywhere; }
.package-label { margin: 0; color: var(--navy); font-size: 0.78rem; font-weight: 800; }
.package-facts { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0 13px; margin: 0 0 13px; border-top: 1px solid #edf2f6; border-bottom: 1px solid #edf2f6; }
.package-facts dt { color: var(--muted); font-size: 0.76rem; }
.package-facts dd { margin: 0; color: var(--ink); font-size: 0.78rem; font-weight: 700; }
.package-card .checksum-box { margin-bottom: 14px; }
.panel-note { margin: 15px 0 0; color: var(--muted); font-size: 0.72rem; line-height: 1.55; }

.preview-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.preview-heading h2 { margin-bottom: 0; }
.preview-heading > p { max-width: 400px; margin-bottom: 0; color: var(--muted); font-size: 0.84rem; }
.preview-window { overflow: hidden; color: #dbeaf2; background: #0b2232; border: 1px solid #163a4f; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.preview-toolbar { display: flex; align-items: center; gap: 18px; padding: 13px 18px; background: #091b28; border-bottom: 1px solid rgba(148, 197, 216, 0.14); color: #85a7ba; font-size: 0.66rem; letter-spacing: 0.12em; }
.preview-toolbar-tag { margin-left: auto; padding: 3px 8px; color: #5eead4; background: rgba(45, 212, 191, 0.09); border: 1px solid rgba(45, 212, 191, 0.2); border-radius: 5px; }
.preview-body { padding: 20px; }
.preview-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; color: #8fb0c1; font-size: 0.71rem; }
.preview-controls span { padding: 6px 10px; background: #102d3e; border: 1px solid rgba(148, 197, 216, 0.14); border-radius: 6px; }
.preview-controls .preview-query { margin-left: auto; color: #5eead4; border-color: rgba(94, 234, 212, 0.2); }
.table-scroll { overflow-x: auto; }
.worklist-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; white-space: nowrap; }
.worklist-table th, .worklist-table td { padding: 12px 14px; border-bottom: 1px solid rgba(148, 197, 216, 0.12); text-align: left; }
.worklist-table th { color: #7dd3fc; background: #12364a; font-size: 0.65rem; letter-spacing: 0.04em; }
.worklist-table tbody tr:nth-child(even) { background: rgba(148, 197, 216, 0.035); }
.worklist-table tbody tr:hover { background: rgba(45, 212, 191, 0.06); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-card .feature-number { margin-bottom: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 90px); }
.check-list { padding: 0; margin: 26px 0 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid rgba(195, 212, 225, 0.7); color: var(--ink-soft); font-size: 0.9rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--teal); font-weight: 800; }
.step-list { padding: 0; margin: 26px 0 0; list-style: none; counter-reset: steps; }
.step-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(195, 212, 225, 0.7); }
.step-list li > span { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 0.67rem; font-weight: 800; }
.step-list p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }
.config-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 80px); align-items: center; }
.config-grid > div:first-child > p { color: var(--muted); font-size: 0.9rem; }
.note-list { padding-left: 18px; margin: 20px 0 0; color: var(--muted); font-size: 0.83rem; }
.note-list li + li { margin-top: 8px; }
.code-card { overflow: hidden; color: #cfe5ef; background: #0b2232; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.code-card-bar { display: flex; justify-content: space-between; padding: 11px 16px; color: #83a6b8; background: #091b28; border-bottom: 1px solid rgba(148, 197, 216, 0.14); font-size: 0.66rem; }
.code-card pre { margin: 0; padding: 22px; overflow-x: auto; font-size: 0.77rem; line-height: 1.75; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { position: relative; padding: 19px 38px 19px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 16px; right: 4px; color: var(--teal); font-size: 1.35rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 36px; color: var(--muted); font-size: 0.9rem; }
.changelog-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 60px; }
.license-note { color: var(--muted); font-size: 0.83rem; }
.release-entry { padding: 0 0 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.release-entry-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.release-entry-head h3 { margin-bottom: 12px; }
.release-entry-head time { color: var(--muted); font-size: 0.75rem; }
.release-entry ul { margin-bottom: 0; padding-left: 18px; color: var(--muted); font-size: 0.87rem; }
.release-entry li + li { margin-top: 6px; }
.error-page { min-height: 60vh; display: grid; place-items: center; padding: 80px 0; }
.error-inner { text-align: center; }
.error-code { display: block; margin-bottom: 8px; color: var(--teal); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -0.07em; opacity: 0.25; }
.error-inner p { max-width: 520px; margin: 0 auto 26px; color: var(--muted); }

.site-footer { padding: 52px 0 34px; color: #b5ccd8; background: #071d2a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 1fr; gap: 40px; align-items: start; }
.footer-brand { color: #fff; }
.footer-brand:hover { color: #5eead4; }
.footer-brand .brand-mark { background: rgba(94, 234, 212, 0.13); box-shadow: none; }
.footer-grid p { max-width: 380px; margin: 18px 0 0; color: #7e9cac; font-size: 0.8rem; }
.footer-links { display: flex; flex-direction: column; gap: 9px; padding-top: 8px; }
.footer-links a { color: #b5ccd8; font-size: 0.82rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: #5eead4; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; padding-top: 8px; color: #7899aa; font-size: 0.72rem; text-align: right; }
.footer-meta a { color: #7899aa; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 390px; width: min(100%, 610px); margin-inline: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .download-panel { max-width: 640px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid-wide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; align-items: flex-start; text-align: left; padding-top: 18px; border-top: 1px solid rgba(181, 204, 216, 0.14); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 66px; gap: 12px; flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 10px 0 14px; margin-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .brand { order: 1; }
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
  .site-nav { order: 4; }
  .tool-grid, .value-grid, .split-grid, .config-grid, .changelog-grid { grid-template-columns: 1fr; }
  .section-heading, .preview-heading, .summary-panel { align-items: flex-start; flex-direction: column; }
  .summary-panel .button { align-self: stretch; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container, .container.narrow { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 54px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 330px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 370px; height: 370px; }
  .app-window { transform: none; }
  .window-body { padding: 20px 15px 16px; }
  .mini-table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-card { flex-direction: column; padding: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-meta { grid-column: auto; }
  .product-hero { padding-top: 16px; }
  .download-panel { padding: 22px; }
  .preview-heading > p { max-width: none; }
  .preview-controls .preview-query { margin-left: 0; }
  .admin-main { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Administration */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 4%, rgba(6, 182, 212, 0.09), transparent 24%),
    #f2f7fa;
}
.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; }
.admin-login-card {
  width: min(100%, 410px); padding: 38px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.admin-brand { margin-bottom: 34px; }
.admin-login-card h1 { margin-bottom: 28px; font-size: 1.8rem; }
.admin-form { display: grid; gap: 10px; }
.admin-form label { color: var(--ink-soft); font-size: 0.8rem; font-weight: 700; }
.admin-form input {
  width: 100%; padding: 11px 13px; color: var(--ink); background: #f8fbfd;
  border: 1px solid var(--line-strong); border-radius: 9px;
}
.admin-form input:focus { border-color: var(--teal); background: #fff; }
.admin-form .button { margin-top: 5px; }
.admin-back { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 0.78rem; text-decoration: none; }
.alert { padding: 12px 14px; margin-bottom: 20px; border: 1px solid; border-radius: 9px; font-size: 0.8rem; }
.alert-warning { color: var(--warning); background: var(--warning-bg); border-color: #f1d49b; }
.alert-error { color: var(--danger); background: var(--danger-bg); border-color: #f5b7b1; }
.admin-header { color: #e8f4f8; background: #082f49; border-bottom: 1px solid #14546f; }
.admin-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  width: min(calc(100% - 40px), 1440px); min-height: 92px; margin-inline: auto;
}
.admin-header .eyebrow { margin-bottom: 3px; color: #5eead4; }
.admin-header h1 { margin-bottom: 0; color: #fff; font-size: 1.55rem; }
.admin-actions { display: flex; align-items: center; gap: 9px; }
.admin-actions .button { color: #d5e8f0; background: rgba(255, 255, 255, 0.04); border-color: rgba(214, 236, 245, 0.25); }
.admin-actions .button:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.admin-main { width: min(calc(100% - 40px), 1440px); margin-inline: auto; padding: 30px 0 60px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.stat-card span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 650; }
.stat-card strong { display: block; margin-top: 8px; color: var(--navy); font-size: 1.75rem; line-height: 1; }
.stat-card-muted { background: #f9fbfc; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; margin-bottom: 22px; }
.admin-panel { min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.admin-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.admin-panel-head h2 { margin-bottom: 0; font-size: 1rem; }
.admin-panel-head span { color: var(--muted); font-size: 0.68rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.admin-table th, .admin-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid #edf2f5; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: #f8fbfc; }
.admin-table td { color: var(--ink-soft); }
.admin-table code { color: #0f5f59; font-size: 0.7rem; overflow-wrap: anywhere; }
.admin-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.65rem; }
.compact-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.compact-table th:last-child { text-align: right; }
.admin-table-scroll { overflow-x: auto; }
.recent-table { min-width: 1080px; }
.cell-stack strong { display: block; font-weight: 650; }
.cell-wrap { max-width: 260px; overflow-wrap: anywhere; }
.cell-ua { max-width: 330px; color: var(--muted) !important; font-size: 0.68rem; }
.status-pill { display: inline-flex; padding: 2px 7px; color: var(--teal); background: #e4f6f3; border-radius: 999px; font-size: 0.62rem; font-weight: 700; }
.status-warn { color: var(--warning); background: var(--warning-bg); }
.empty-state { margin: 10px 0 0; padding: 24px; color: var(--muted); text-align: center; font-size: 0.78rem; }
.admin-recent { padding-bottom: 8px; }
@media (max-width: 1040px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid .admin-panel:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .admin-header-inner { width: min(calc(100% - 24px), 1440px); padding: 14px 0; align-items: flex-start; flex-direction: column; }
  .admin-main { width: min(calc(100% - 24px), 1440px); padding-top: 18px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-grid .admin-panel:last-child { grid-column: auto; }
  .admin-login-card { padding: 28px 22px; }
}
