:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #eaf0eb;
  --ink: #17231f;
  --muted: #5a6a63;
  --line: #d3ddd6;
  --accent: #0f6b5d;
  --accent-dark: #084d43;
  --accent-soft: #d8ebe5;
  --warm: #f4d9af;
  --shadow: 0 26px 70px rgba(26, 54, 44, .12);
  --radius: 6px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 8px 14px; color: #fff; background: var(--ink);
  transform: translateY(-160%); transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  min-height: 76px; border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled { min-height: 62px; box-shadow: 0 8px 24px rgba(27, 46, 38, .06); }
.header-inner { min-height: inherit; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-name { font-size: 17px; font-weight: 780; letter-spacing: .01em; }
.brand-note { color: var(--muted); font-size: 12px; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.site-nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--accent); }
.nav-toggle { display: none; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button-row-spaced { margin-top: 25px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 780; line-height: 1.1; white-space: nowrap; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.site-nav a.button-primary, .site-nav a.button-primary:hover, .site-nav a.button-primary:focus-visible { color: #fff !important; opacity: 1; line-height: 1.1; }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-secondary:hover { border-color: var(--accent); }
.text-link { color: var(--accent-dark); font-weight: 760; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 4px; }

.hero { padding: 68px 0 72px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.1fr); align-items: center; gap: clamp(34px, 5vw, 68px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); font-size: 12px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 650px; margin: 21px 0 18px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 820; text-wrap: balance; }
.hero-lead { max-width: 590px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.hero .button-row { margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; color: var(--muted); font-size: 13px; }
.hero-meta span { padding-right: 13px; border-right: 1px solid var(--line); }
.hero-meta span:last-child { padding-right: 0; border-right: 0; }
.hero-visual { position: relative; margin: 0; padding: 13px; border: 1px solid rgba(255,255,255,.68); border-radius: 16px; background: linear-gradient(140deg, rgba(255,255,255,.8), rgba(220,232,223,.45)); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-visual::after { content: ""; position: absolute; inset: 20px -25px -24px 24px; z-index: -1; border-radius: 24px; background: var(--accent-soft); }
.hero-visual img, .split-media img, .feature-gallery img { width: 100%; height: auto !important; aspect-ratio: auto; object-fit: contain; border-radius: 9px; }
.hero-visual figcaption { padding: 10px 4px 0; color: var(--muted); font-size: 12px; }
.hero-carousel { position: relative; overflow: hidden; border-radius: 9px; }
.hero-carousel__slide img { display: block; }
.hero-carousel__slide[hidden], .hero-carousel__controls[hidden] { display: none; }
.hero-carousel__controls { position: absolute; inset: auto 12px 12px auto; display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(19, 39, 35, .72); box-shadow: 0 3px 12px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.hero-carousel__arrow { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.hero-carousel__arrow:hover, .hero-carousel__arrow:focus-visible { background: rgba(255,255,255,.2); }
.hero-carousel__dots { display: flex; align-items: center; gap: 7px; padding-inline: 3px; }
.hero-carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.58); cursor: pointer; }
.hero-carousel__dots button[aria-current="true"] { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.28); }
.hero-carousel button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.section { padding: 108px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { color: #eef6f1; background: #15352f; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-head h2 { max-width: 680px; margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #b9cec5; }
.section-kicker { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .section-kicker { color: #a5d7c6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.feature-card { min-height: 210px; padding: 27px 25px 24px; background: var(--surface); }
.feature-card:nth-child(4n+1) { background: #fdfcf9; }
.feature-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-label { display: block; margin-bottom: 38px; color: var(--accent); font: 700 12px/1 "SFMono-Regular", Consolas, monospace; }

.split-feature { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.split-feature + .split-feature { margin-top: 118px; }
.split-feature.reverse .split-copy { order: 2; }
.split-feature.reverse .split-media { order: 1; }
.split-copy h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 53px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.split-copy p { max-width: 520px; margin: 0; color: var(--muted); }
.split-copy ul { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.split-copy li { position: relative; padding-left: 20px; }
.split-copy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--accent); }
.split-media { margin: 0; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 44px rgba(34, 62, 51, .08); }
.split-media img { width: 100%; }
.split-media figcaption { padding: 9px 4px 1px; color: var(--muted); font-size: 12px; }
.gallery-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.stat { padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.stat strong { display: block; font-size: clamp(28px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; }
.section-dark .stat span { color: #b9cec5; }

.privacy-band { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 50px; align-items: start; }
.privacy-band h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.privacy-band p { max-width: 620px; margin: 0; color: var(--muted); }

.page-hero { padding: 76px 0 60px; background: var(--surface-soft); }
.page-hero h1 { max-width: 1120px; margin: 15px 0 16px; font-size: clamp(44px, 7vw, 78px); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; text-wrap: pretty; }
.team-page-hero p { max-width: 1120px; }
.page-hero .button-row { margin-top: 25px; }
.jump-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.jump-nav a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--surface); font-size: 13px; font-weight: 700; }
.jump-nav a:hover { color: var(--ink); border-color: var(--accent); }
.features-jump-bar { position: sticky; top: 62px; z-index: 15; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-soft) 92%, transparent); backdrop-filter: blur(12px); }
.features-jump-bar .jump-nav { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; padding: 12px 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
.features-jump-bar .jump-nav a { flex: 0 0 auto; }

.domain-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; align-items: start; }
.domain-nav { position: sticky; top: 95px; display: grid; gap: 3px; }
.domain-nav a { padding: 9px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; }
.domain-nav a:hover, .domain-nav a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); }
.domain-stack { display: grid; gap: 74px; }
.domain-block { scroll-margin-top: 100px; }
.domain-block h2 { margin: 0 0 11px; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.domain-block > p { max-width: 720px; margin: 0 0 22px; color: var(--muted); }
.domain-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.domain-point { padding: 21px; background: var(--surface); }
.domain-point strong { display: block; margin-bottom: 6px; font-size: 16px; }
.domain-point span { color: var(--muted); font-size: 14px; }
.permission-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.permission-table th, .permission-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.permission-table th { color: var(--muted); font-size: 12px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }

.changelog-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 36px; }
.team-section { padding-top: 86px; padding-bottom: 86px; background: var(--surface-soft); }
.team-head { margin-bottom: 36px; }
.team-head h2 { max-width: 780px; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.team-card { min-width: 0; min-height: 286px; padding: 24px 21px 22px; background: var(--surface); }
.team-card:nth-child(4n+1), .team-card:nth-child(4n+4) { background: #fdfcf9; }
.team-avatar { width: 88px; height: 88px; margin-bottom: 17px; border: 4px solid var(--surface-soft); border-radius: 50%; object-fit: cover; }
.team-role { margin: 0 0 4px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.team-card h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.team-card > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.filter-button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 760; cursor: pointer; }
.filter-button:hover, .filter-button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
.timeline { position: relative; display: grid; gap: 23px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.release { position: relative; padding-left: 45px; }
.release::before { content: ""; position: absolute; left: 4px; top: 14px; width: 13px; height: 13px; border: 3px solid var(--bg); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.release-inner { padding: 25px 28px; border: 1px solid var(--line); background: var(--surface); }
.release-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.release h2 { margin: 0; font-size: 27px; letter-spacing: -.02em; }
.release h2 small { margin-left: 7px; color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: 0; vertical-align: middle; }
.release time { color: var(--muted); font-size: 13px; font-weight: 700; }
.release-note { margin: 7px 0 17px; color: var(--muted); font-size: 14px; }
.release-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.release-group h3 { margin: 0 0 9px; font-size: 14px; }
.release-group ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.release-group li { position: relative; padding-left: 16px; }
.release-group li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.minor-log { display: grid; grid-template-columns: 130px 140px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.minor-log strong { color: var(--ink); }

.privacy-page { max-width: 840px; }
.privacy-page h1 { margin: 0 0 12px; font-size: clamp(42px, 6vw, 70px); line-height: 1; letter-spacing: -.05em; }
.privacy-page .lede { margin: 0 0 42px; color: var(--muted); font-size: 18px; }
.privacy-page h2 { margin: 42px 0 12px; font-size: 28px; line-height: 1.1; }
.privacy-page p, .privacy-page li { color: var(--muted); }
.privacy-page ul { padding-left: 22px; }

.audience-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.audience-intro { position: sticky; top: 104px; }
.audience-intro h2 { max-width: 440px; margin: 0 0 16px; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.audience-intro > p:last-child { max-width: 340px; margin: 0; color: var(--muted); }
.audience-stack { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.audience-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr); gap: 34px; padding: 32px 30px; background: var(--surface); scroll-margin-top: 145px; }
.audience-feature:nth-child(odd) { background: #fdfcf9; }
.audience-feature-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.audience-feature-copy > p { max-width: 620px; margin: 0; color: var(--muted); }
.audience-feature-copy ul { display: grid; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.audience-feature-copy li { position: relative; padding-left: 18px; }
.audience-feature-copy li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 2px; background: var(--accent); }
.audience-quote { align-self: end; padding: 17px 0 0 19px; border-left: 2px solid var(--accent-soft); color: var(--muted); font-size: 14px; line-height: 1.65; }
.feature-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-gallery figure { margin: 0; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 44px rgba(34, 62, 51, .08); }
.feature-gallery figure { overflow: hidden; }
.feature-gallery figure img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.feature-gallery figcaption { padding: 12px 4px 5px; color: var(--muted); font-size: 13px; }
.version-details { border-bottom: 1px solid var(--line); }
.version-details summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; color: var(--ink); cursor: pointer; list-style: none; }
.version-details summary::-webkit-details-marker { display: none; }
.version-details summary::after { content: "+"; color: var(--accent); font-size: 21px; font-weight: 400; }
.version-details[open] summary::after { content: "−"; }
.version-details summary span { color: var(--muted); font-size: 13px; font-weight: 500; }
.version-details p { margin: -5px 0 19px; color: var(--muted); font-size: 14px; }
.privacy-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 48px; border: 1px solid var(--line); background: var(--line); }
.privacy-summary-card { min-height: 150px; padding: 23px 21px; background: var(--surface); }
.privacy-summary-card:nth-child(odd) { background: #fdfcf9; }
.privacy-summary-card strong { display: block; margin-bottom: 8px; font-size: 17px; }
.privacy-summary-card span { color: var(--muted); font-size: 14px; }
.permission-table-wrap { overflow-x: auto; }
.copyright-page { max-width: 980px; }
.copyright-callout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 52px; padding: 17px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--muted); }
.copyright-callout strong { color: var(--ink); }
.copyright-section + .copyright-section { margin-top: 66px; }
.copyright-section h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.copyright-section > p:not(.section-kicker) { max-width: 900px; color: var(--muted); }
.copyright-list { display: grid; gap: 12px; margin: 20px 0; padding-left: 21px; color: var(--muted); }
.copyright-list li::marker { color: var(--accent); }
.copyright-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.copyright-points article { min-height: 170px; padding: 23px 21px; background: var(--surface); }
.copyright-points article:nth-child(odd) { background: #fdfcf9; }
.copyright-points h3 { margin: 0 0 9px; font-size: 18px; }
.copyright-points p { margin: 0; color: var(--muted); font-size: 14px; }
.copyright-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); }
.copyright-table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--surface); }
.copyright-table th, .copyright-table td { padding: 16px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); font-size: 14px; }
.copyright-table thead th { color: var(--ink); background: #fdfcf9; font-size: 13px; }
.copyright-table tbody th { width: 22%; color: var(--ink); font-size: 14px; }
.copyright-table tr:last-child th, .copyright-table tr:last-child td { border-bottom: 0; }
.endpoint-list { display: grid; gap: 11px; margin: 20px 0; padding: 0; list-style: none; }
.endpoint-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; color: var(--muted); }
.endpoint-list code { padding: 3px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--surface); font: 13px/1.5 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.endpoint-list span { font-size: 14px; }
.copyright-note { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 761px) {
  .feature-page-hero h1 { max-width: 1120px; white-space: nowrap; }
}
@media (min-width: 901px) {
  .page-hero h1 { white-space: nowrap; }
  .feature-page-hero p { max-width: 1120px; white-space: nowrap; }
  .team-page-hero p { white-space: nowrap; }
  .privacy-page-hero p { max-width: 1120px; white-space: nowrap; }
  .copyright-page-hero p { max-width: 1120px; white-space: nowrap; }
  .audience-hero .hero-grid { grid-template-columns: minmax(520px, .98fr) minmax(520px, 1.02fr); }
  .audience-hero h1 { max-width: 620px; }
}

.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-title { margin: 0 0 8px; font-size: 17px; }
.footer-grid p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 20px; align-content: start; color: var(--muted); font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: var(--accent); }

.lightbox { width: min(94vw, 1280px); max-height: 92dvh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(13, 25, 21, .78); backdrop-filter: blur(5px); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 12px; color: #fff; background: rgba(15, 28, 24, .92); }
.lightbox-close { padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: #fff; background: transparent; cursor: pointer; }
.lightbox img { width: 100%; max-height: calc(92dvh - 48px); object-fit: contain; background: #0d1814; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .site-header { animation: header-shrink auto linear both; animation-timeline: scroll(root); animation-range: 0px 160px; }
  @keyframes header-shrink { to { min-height: 62px; box-shadow: 0 8px 24px rgba(27, 46, 38, .06); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero-grid, .split-feature, .privacy-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 760px; margin-inline: auto; }
  .split-feature.reverse .split-copy, .split-feature.reverse .split-media { order: initial; }
  .domain-layout { grid-template-columns: 1fr; gap: 31px; }
  .domain-nav { position: static; display: flex; overflow-x: auto; padding-bottom: 5px; }
  .domain-nav a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; }
  .domain-nav a:hover, .domain-nav a[aria-current="true"] { border-bottom-color: var(--accent); border-left: 0; }
  .audience-layout { grid-template-columns: 1fr; gap: 35px; }
  .audience-intro { position: static; }
  .audience-intro h2, .audience-intro > p:last-child { max-width: 700px; }
  .feature-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { min-height: 64px; }
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: fixed; inset: 64px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .site-nav a.button-primary { text-align: center; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .hero, .section { padding: 70px 0; }
  .hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .hero-lead { font-size: 18px; }
  .hero-visual { transform: none; padding: 7px; }
  .hero-visual::after { inset: 14px -10px -12px 10px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head p { margin-top: 16px; }
  .feature-grid, .domain-points, .release-groups { grid-template-columns: 1fr; }
  .team-section { padding-top: 70px; padding-bottom: 70px; }
  .team-head { display: block; }
  .team-head > p { margin-top: 16px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { min-height: 0; padding: 19px 16px 20px; }
  .team-avatar { width: 72px; height: 72px; margin-bottom: 14px; }
  .team-card h3 { font-size: 18px; }
  .team-card > p:last-child { font-size: 12px; }
  .audience-feature { grid-template-columns: 1fr; gap: 20px; padding: 25px 20px; }
  .audience-quote { align-self: auto; padding-top: 0; }
  .feature-gallery, .privacy-summary { grid-template-columns: 1fr; }
  .copyright-points { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .split-feature + .split-feature { margin-top: 70px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; }
  .page-hero { padding: 60px 0 45px; }
  .page-hero p { font-size: 17px; }
  .features-jump-bar { top: 64px; }
  .features-jump-bar .jump-nav { width: min(calc(100% - 28px), var(--container)); padding-block: 10px; }
  .release-head { display: block; }
  .release time { display: block; margin-top: 5px; }
  .release-inner { padding: 20px 17px; }
  .minor-log { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}
/* Language selector shares the compact header control style. */
.language-picker{position:relative;display:inline-flex;align-items:center}
.language-trigger{width:42px;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:780;cursor:pointer}
.language-trigger:hover,.language-trigger[aria-expanded="true"]{border-color:var(--accent)}
.language-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.language-trigger[aria-expanded="true"] .language-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.language-menu{position:absolute;z-index:50;top:calc(100% + 8px);right:0;min-width:148px;padding:5px;border:1px solid var(--line);border-radius:5px;background:var(--surface);box-shadow:0 12px 28px rgba(26,54,44,.16)}
.language-menu[hidden]{display:none}
.language-menu button{width:100%;display:block;padding:9px 11px;border:0;border-radius:3px;background:transparent;color:var(--ink);text-align:left;font-size:14px;cursor:pointer}
.language-menu button:hover,.language-menu button:focus-visible,.language-menu button[aria-selected="true"]{background:var(--surface-soft);color:var(--accent-dark)}
@media(max-width:760px){.language-picker{padding:8px 12px;border-bottom:1px solid var(--line)}.language-menu{left:0;right:auto}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
