:root {
  color-scheme: light;
  --white: #ffffff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #62626a;
  --line: #d2d2d7;
  --blue: #0066cc;
  --blue-hover: #0055ad;
  --dark: #171719;
  --dark-muted: #b7b7bf;
  --dark-link: #70b7ff;
  --anchor-offset: 5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1.25rem; line-height: 1.6; }
body.viewer-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
section[id], details[id], [tabindex="-1"] { scroll-margin-top: var(--anchor-offset); }
main:focus { outline: none; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: 5.5rem; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: 4rem; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.75rem; font-weight: 600; line-height: 1.25; }
.shell { width: min(75rem, calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: 7rem; }
.surface { background: var(--surface); }
.eyebrow { margin-bottom: 1rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.chapter { display: inline-block; margin-right: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.875rem; }
.section-description { max-width: 36.25rem; color: var(--muted); }
.caption, figcaption { font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
figcaption { margin-top: 1rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0.6875rem 1.5rem; border: 1px solid transparent; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 1.0625rem; font-weight: 600; line-height: 1.5; text-align: center; transition: background-color 120ms; }
.button:hover { background: var(--blue-hover); text-decoration: none; }
.button:active { background: #00458c; }
.text-link { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 3rem; padding-block: 0.625rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.text-link span { flex: none; }
.skip-link { position: fixed; left: 1rem; top: 0.5rem; z-index: 200; padding: 0.75rem 1.5rem; color: var(--white); background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; min-height: 4rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 0.5rem; min-height: 2.75rem; align-content: center; color: var(--ink); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.brand:hover { text-decoration: none; }
.brand-cn { font-size: 0.8125rem; font-weight: 500; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 1.75rem; margin-inline: auto; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-size: 0.8125rem; line-height: 1.4; }
.primary-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5rem; }
.nav-download { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.language-picker { position: relative; flex: none; }
.language-trigger { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.625rem; border: 1px solid var(--line); border-radius: 0.75rem; color: var(--ink); background: var(--white); font-size: 0.8125rem; font-weight: 500; line-height: 1.4; list-style: none; transition: background-color 160ms, border-color 160ms; }
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger::marker { content: ""; }
.language-trigger:hover, .language-picker[open] .language-trigger { background: var(--surface); border-color: #b7b7c0; }
.language-flag { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; box-shadow: 0 0 0 1px rgb(0 0 0 / 8%); }
.language-chevron { flex: none; color: var(--muted); transition: transform 180ms; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 0.5rem); right: 0; z-index: 50; width: 13rem; padding: 0.375rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 12px 36px rgb(0 0 0 / 12%), 0 2px 6px rgb(0 0 0 / 4%); }
.language-picker[open] .language-menu { animation: language-menu-in 160ms ease-out; transform-origin: top right; }
.language-menu-title { margin: 0; padding: 0.5rem 0.625rem; color: var(--muted); font-size: 0.6875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; }
.language-option { display: flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0.625rem; border-radius: 0.625rem; color: var(--ink); font-size: 0.875rem; line-height: 1.4; transition: background-color 140ms; }
.language-option + .language-option { margin-top: 0.125rem; }
.language-option[aria-current] { background: #edf5ff; font-weight: 600; }
.language-option:hover { background: var(--surface); text-decoration: none; }
.language-option:focus-visible { outline-offset: -3px; }
.language-check { flex: none; margin-left: auto; color: var(--blue); }
@keyframes language-menu-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.menu-toggle { width: 2.75rem; height: 2.75rem; flex: none; padding: 0.8125rem; border: 0; border-radius: 50%; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin-block: 4px; background: var(--ink); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero { padding-top: 4rem; padding-bottom: 7rem; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 47.5rem) minmax(0, 22.5rem); grid-template-rows: auto auto auto; column-gap: 2.5rem; }
.hero-heading { grid-column: 1; grid-row: 1 / 3; }
.app-icon { grid-column: 2; grid-row: 1; width: 8rem; height: 8rem; }
.hero-description { grid-column: 2; grid-row: 2 / 4; align-self: start; margin-top: 1.5rem; color: var(--muted); }
.hero-actions { grid-column: 1; grid-row: 3; margin-top: 2rem; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.hero-version { margin-top: 0.75rem; }
.hero-figure { max-width: 72.5rem; margin: 2.5rem auto 0; }
.hero-caption { margin: 0 0 0.75rem; }
.hero-figure picture { display: block; }
.image-link { display: block; color: var(--blue); min-width: 0; }
.image-link:hover { text-decoration: none; }
.screenshot { width: 100%; border: 1px solid var(--line); border-radius: 1rem; object-fit: contain; background: var(--surface); }
.image-action { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-size: 0.875rem; font-weight: 600; }
.image-link:hover .image-action { text-decoration: underline; text-underline-offset: 0.25em; }
.paper-stack { position: relative; isolation: isolate; }
.paper-stack .screenshot { box-shadow: 0 24px 64px rgb(0 0 0 / 12%); position: relative; z-index: 1; }
.paper-stack::before, .paper-stack::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); pointer-events: none; }
.paper-stack::before { inset: 0 0.75rem 3.25rem; z-index: -1; }
.paper-stack::after { inset: 0 1.5rem 2.75rem; z-index: -2; }
.paper-stack .image-action { padding-top: 1rem; min-height: 3.75rem; }
.focus-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
.focus-layout .section-description { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.focus-image { width: 100%; height: auto; object-fit: contain; }
.model-evidence { width: 100%; max-width: 40rem; justify-self: center; }
.excerpt-label { margin-bottom: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.excerpt-context { font-size: 1.125rem; line-height: 1.65; }
.model-list { margin: 1.5rem 0; }
.model-list > div { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; align-items: center; gap: 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.model-list > div:last-child { border-bottom: 1px solid var(--line); }
.model-list dt { min-width: 0; font-size: 1.125rem; line-height: 1.5; overflow-wrap: anywhere; }
.model-list dd { margin: 0; font-size: 3rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.evidence-label { margin-bottom: 1rem; font-size: 1.125rem; font-weight: 600; }
.section-link { margin-top: 2rem; }
.cost-note { margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; }
.pricing-reference { margin-top: 1.5rem; }
.cost-evidence { width: 100%; max-width: 27.8125rem; justify-self: center; }
.records-evidence { max-width: 318px; }
.unknown-evidence { margin-top: 2rem; }
.status-section { background: var(--dark); color: var(--surface); }
.status-section :focus-visible { outline-color: var(--dark-link); }
.status-layout { display: grid; grid-template-columns: minmax(0, 22.5rem) minmax(0, 46rem); gap: 6.5%; }
.status-section h2 { font-size: 4rem; }
.status-section .chapter, .status-section .section-description, .status-section figcaption, .status-section .caption, .status-note { color: var(--dark-muted); }
.status-section .section-description { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.status-note { font-size: 1.0625rem; margin-top: 1rem; }
.status-section a { color: var(--dark-link); }
.status-copy .text-link { margin-top: 1.5rem; }
.observation-strips { align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.observation-strips h3 { margin-bottom: 1.5rem; }
.observation-strips figcaption { margin-top: 1rem; }
.status-section .excerpt-label { color: var(--dark-muted); }
.quota-evidence h3 { margin-bottom: 0; font-size: 1.125rem; line-height: 1.65; }
.quota-used { margin-block: 0.75rem 1rem; font-size: 5rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quota-snapshot { margin-top: 1rem; }
.quota-original { width: 100%; max-width: 774px; margin-top: 1.5rem; }
.activity-figure { width: 260px; max-width: 100%; margin-inline: auto; }
.activity-excerpt, .integration-explanation { margin-bottom: 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.preview-label { display: inline-block; padding: 0.375rem 0.75rem; border: 1px solid #85858d; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; }
.privacy-copy .section-description { max-width: none; }
.secondary-copy { color: var(--muted); margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; }
.preview-note { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; }
.integration-evidence { width: 288px; max-width: 100%; justify-self: center; }
.tools-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.tools-heading h2 > span { color: var(--blue); }
.tools-heading .section-description { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; }
.tools-total { padding-inline: 3rem; border-left: 1px solid var(--line); }
.tools-number { display: block; font-size: 8rem; font-weight: 650; line-height: 1; letter-spacing: -0.065em; font-variant-numeric: tabular-nums; }
.tools-total-label { display: block; margin-top: 0.5rem; font-size: 1.25rem; font-weight: 600; }
.tools-total p { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.tools-browser { margin-top: 3.5rem; }
.tools-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.tools-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.375rem; border: 1px solid var(--line); border-radius: 1.125rem; max-width: 100%; }
.tools-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.625rem 1rem; border: 0; border-radius: 0.75rem; background: transparent; color: var(--muted); font-size: 0.875rem; font-weight: 600; line-height: 1.5; transition: box-shadow 180ms; }
.tools-tabs button span { font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.tools-tabs button[aria-selected="true"] { color: var(--white); background: var(--ink); box-shadow: 0 2px 6px rgb(0 0 0 / 12%); }
.tools-tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: #e8e8ed; }
.tools-search { display: flex; flex: 0 1 15rem; align-items: center; gap: 0.625rem; min-width: 0; min-height: 3rem; padding: 0.625rem 0.875rem; border: 1px solid var(--line); border-radius: 0.875rem; background: var(--white); color: var(--muted); }
.tools-search:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.tools-search svg { flex: none; }
.tools-search input { width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; }
.tools-search input::placeholder { color: var(--muted); opacity: 1; }
.tools-result-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; margin-block: 1.5rem 1rem; color: var(--muted); font-size: 0.8125rem; }
.agent-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; align-items: start; }
.agent-card { min-width: 0; border: 1px solid #e2e2e7; border-radius: 1.125rem; background: var(--white); transition: transform 200ms, box-shadow 200ms, border-color 200ms; }
.agent-card summary { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 10rem; padding: 1.25rem 0.625rem 1rem; border-radius: inherit; text-align: center; list-style: none; }
.agent-card summary::-webkit-details-marker { display: none; }
.agent-card summary::marker { content: ""; }
.agent-card summary img { width: 2.75rem; height: 2.75rem; object-fit: contain; transition: transform 240ms; }
.agent-name { margin-top: 0.75rem; max-width: 100%; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.agent-kind { margin-top: 0.375rem; font-size: 0.6875rem; line-height: 1.4; color: var(--muted); }
.agent-card[data-kind="online"] .agent-kind { color: #0060b9; }
.agent-card[data-kind="special"] .agent-kind { color: #8b5300; }
.agent-expand { position: absolute; top: 0.75rem; right: 0.75rem; width: 0.5rem; height: 0.5rem; color: var(--muted); transition: transform 180ms; }
.agent-expand::before, .agent-expand::after { content: ""; position: absolute; background: currentColor; }
.agent-expand::before { width: 100%; height: 1px; top: calc(50% - 0.5px); left: 0; }
.agent-expand::after { height: 100%; width: 1px; left: calc(50% - 0.5px); top: 0; }
.agent-card[open] { border-color: var(--blue); box-shadow: 0 4px 20px rgb(0 102 204 / 8%); }
.agent-card[open] .agent-expand { transform: rotate(45deg); color: var(--blue); }
.agent-description { padding: 0 0.875rem 1rem; font-size: 0.8125rem; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.agent-card[open] .agent-description { animation: agent-detail-in 180ms ease-out; }
.tools-empty { padding: 4rem 1.5rem; text-align: center; border: 1px dashed var(--line); border-radius: 1.125rem; }
.tools-empty h3 { font-size: 1.5rem; }
.tools-empty p { margin-top: 0.75rem; color: var(--muted); font-size: 1rem; }
.tools-reset { margin-top: 1.5rem; }
.tools-footnote { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem 3rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.tools-footnote p { max-width: 45rem; font-size: 0.8125rem; color: var(--muted); }
.tools-footnote .text-link { flex: none; min-height: 2.75rem; padding-block: 0; font-size: 0.875rem; }
@keyframes agent-detail-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .agent-card:hover { transform: translateY(-4px); border-color: #9ac3ec; box-shadow: 0 10px 24px rgb(0 0 0 / 6%); }
  .agent-card:hover summary img { transform: scale(1.1); }
}
@media (max-width: 1023px) {
  .agent-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tools-total { padding-inline: 2rem 0; }
  .tools-number { font-size: 6rem; }
}
@media (max-width: 767px) {
  .tools-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .tools-total { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tools-number { font-size: 3.5rem; }
  .tools-total-label { font-size: 1rem; margin: 0; }
  .tools-total p { flex: 1 1 9rem; margin: 0; padding-left: 0.5rem; font-size: 0.75rem; text-align: right; }
  .tools-browser { margin-top: 2rem; }
  .tools-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tools-tabs button { min-width: 0; padding-inline: 0.5rem; }
  .tools-search { flex-basis: 100%; }
  .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .agent-card { border-radius: 0.875rem; }
  .agent-card summary { min-height: 9.5rem; padding: 1.125rem 0.375rem 0.875rem; }
  .agent-card summary img { width: 2.25rem; height: 2.25rem; }
  .agent-name { font-size: 0.75rem; }
  .agent-description { padding-inline: 0.625rem; font-size: 0.75rem; }
  .tools-footnote { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 479px) {
  .language-label { display: none; }
  .language-trigger { gap: 0.25rem; padding-inline: 0.375rem; }
}
@media (max-width: 359px) {
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.download-section { text-align: center; }
.download-description { max-width: 42.5rem; margin: 1.5rem auto 0; color: var(--muted); }
.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 22.5rem)); justify-content: center; gap: 2rem; margin-top: 3rem; text-align: left; }
.download-option { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2rem; border-top: 1px solid var(--line); }
.download-option p { color: var(--muted); font-size: 1.0625rem; margin: 0.75rem 0 1.5rem; }
.download-option .button { margin-top: auto; }
.download-notes { max-width: 47.5rem; margin: 2rem auto 0; text-align: left; color: var(--muted); font-size: 0.875rem; }
.download-notes p + p { margin-top: 1rem; }
.download-notes a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-underline-offset: 0.2em; }
.purchase-note { max-width: 47.5rem; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: left; scroll-margin-top: var(--anchor-offset); }
.purchase-note h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.purchase-note > p { font-size: 0.875rem; color: var(--muted); }
.purchase-link-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1rem; margin-top: 0.5rem; }
.purchase-link-row > span { font-size: 0.8125rem; color: var(--muted); }
.store-channel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 47.5rem; margin: 2rem auto 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); text-align: left; }
.store-channel h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.store-channel p { max-width: 35rem; color: var(--muted); font-size: 0.875rem; }
.store-channel .button { flex: none; }
.channel-label { margin-bottom: 0.375rem; color: var(--blue) !important; font-size: 0.8125rem !important; font-weight: 600; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 17.5rem) minmax(0, 50rem); justify-content: space-between; gap: 3rem; }
.faq-layout h2 { font-size: 3rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; }
.faq-list summary { position: relative; list-style: none; min-height: 4.5rem; padding: 1.5rem 2.75rem 1.5rem 0; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 0.5rem; top: 1.875rem; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.faq-list details[open] > summary::after { transform: rotate(225deg); top: 2.125rem; }
.faq-list details p { padding-bottom: 1.5rem; font-size: 1.0625rem; color: var(--muted); }
.faq-list p a, .footnotes a { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer { padding-block: 4rem; background: var(--surface); }
.footer-brand { font-size: 1.75rem; font-weight: 600; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1.5rem; font-size: 0.875rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); }
.legal-links { margin-top: 0; }
.footnotes { padding: 1.5rem 0 0 1.25rem; margin: 1.5rem 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.footnotes li + li { margin-top: 0.5rem; }
.footnotes a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.colophon { margin-top: 1.5rem; color: var(--muted); font-size: 0.8125rem; }

.image-viewer { position: fixed; inset: 0; z-index: 100; width: calc(100% - 3rem); max-width: 100rem; height: calc(100dvh - 3rem); max-height: none; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); background: var(--surface); overflow: hidden; }
.image-viewer[open] { display: flex; flex-direction: column; animation: viewer-appear 160ms ease-out; }
.image-viewer::backdrop { background: rgb(0 0 0 / 72%); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--white); max-height: 55%; overflow: auto; flex: none; }
.viewer-heading { flex: 1 1 18rem; min-width: 0; }
.viewer-heading h2 { font-size: 1.0625rem; letter-spacing: 0; line-height: 1.4; text-wrap: wrap; }
.viewer-heading p { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted); }
.viewer-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.viewer-controls button, .viewer-controls a, .viewer-retry { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; border: 1px solid #85858d; border-radius: 999px; background: var(--white); padding: 0.5rem 1rem; font-size: 0.875rem; color: var(--ink); line-height: 1.5; }
.viewer-controls a { border-color: transparent; color: var(--blue); }
.viewer-controls button:disabled { color: var(--muted); cursor: default; }
.viewer-controls .viewer-close { background: var(--ink); border-color: var(--ink); color: var(--white); }
.viewer-viewport { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1.5rem; display: grid; place-items: center; }
.viewer-image { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-viewport.is-original { display: block; }
.is-original .viewer-image { max-width: none; max-height: none; margin: auto; }
.viewer-message { padding: 1rem; text-align: center; color: var(--muted); font-size: 1rem; }
.viewer-message p { margin-bottom: 1rem; }
.viewer-viewport:focus-visible { outline-offset: -4px; }
@keyframes viewer-appear { from { opacity: 0; } to { opacity: 1; } }

.page-main { max-width: 50rem; padding-block: 5rem 7rem; }
.page-main h1 { font-size: 4rem; line-height: 1.15; }
.page-main .page-intro { margin-top: 1.5rem; color: var(--muted); }
.page-main h2 { font-size: 1.75rem; line-height: 1.35; letter-spacing: 0; margin-top: 3rem; margin-bottom: 1rem; }
.page-main h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.page-main p + p { margin-top: 1rem; }
.page-main article { font-size: 1.0625rem; overflow-wrap: anywhere; }
.page-main li + li { margin-top: 0.5rem; }
.page-main a:not(.button):not(.text-link) { text-decoration: underline; text-underline-offset: 0.2em; }
.page-main .updated, .policy-notice, .policy-english-title { font-size: 0.875rem; color: var(--muted); }
.policy-notice { margin-top: 2rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.translation { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.translation > summary { min-height: 2.75rem; font-size: 1rem; }
.release-hashes { font-size: 0.875rem; }
.release-hashes dt { margin-top: 1rem; font-weight: 600; }
.release-hashes dd { margin: 0.5rem 0 0; overflow-wrap: anywhere; }
.release-hashes code { font-size: 0.8125rem; }
.page-main .cta-row { margin-top: 2rem; }
.error-number { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

@media (max-width: 1100px) {
  .header-inner { gap: 1rem; }
  .primary-nav { gap: 1rem; }
  .hero-intro { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 2rem; }
  h1 { font-size: 4rem; }
  .focus-layout { gap: 3rem; }
  .status-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem; }
  .status-section h2 { font-size: 3rem; }
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
}
@media (max-width: 1023px) {
  .site-header:not(.nav-enhanced) { position: static; }
  .header-inner { flex-wrap: wrap; gap: 0.5rem; min-height: 3.5rem; }
  .brand { flex: 1 1 5rem; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 100%; font-size: 0.875rem; }
  .brand-cn { font-size: 0.75rem; }
  .nav-download { flex: none; min-width: 0; max-width: 100%; padding-inline: 0.75rem; font-size: 0.875rem; }
  .primary-nav { order: 3; justify-content: flex-start; flex-wrap: wrap; gap: 0 1.5rem; width: 100%; padding-bottom: 0.75rem; }
  .primary-nav a { min-height: 3rem; font-size: 1rem; }
  .nav-enhanced .primary-nav { display: none; }
  .nav-enhanced .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; inset-inline: 0; z-index: 40; padding: 0.5rem 1.5rem 1rem; border-bottom: 1px solid var(--line); background: var(--white); max-height: 70dvh; overflow: auto; }
  h2 { font-size: 3.5rem; }
  .focus-layout, .status-layout { grid-template-columns: minmax(0, 1fr); }
  .focus-layout .section-description { max-width: 42.5rem; }
  .status-section h2 { font-size: 3.5rem; }
  .status-copy { max-width: 42.5rem; }
  .observation-strips { max-width: 46rem; }
  .faq-layout { grid-template-columns: 1fr; }
  .hero-description { font-size: 1.125rem; }
}
@media (max-width: 767px) {
  :root { --anchor-offset: 4.5rem; }
  body { font-size: 1.125rem; line-height: 1.65; }
  .shell { width: calc(100% - 3rem); }
  h1 { font-size: 3rem; line-height: 1.1; }
  h2, .status-section h2, .faq-layout h2 { font-size: 2.25rem; line-height: 1.16; }
  h3 { font-size: 1.5rem; line-height: 1.3; }
  .section { padding-block: 4.5rem; }
  .eyebrow { font-size: 0.875rem; }
  .hero { padding-top: 1.5rem; padding-bottom: 4.5rem; }
  .hero-intro { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 0.75rem; }
  .hero-heading { display: contents; }
  .hero-heading .eyebrow { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .hero-heading h1 { grid-column: 1 / -1; grid-row: 2; margin-top: 1rem; }
  .app-icon { grid-column: 1; grid-row: 1; width: 2.5rem; height: 2.5rem; }
  .hero-description { grid-column: 1 / -1; grid-row: 3; margin-top: 1rem; font-size: 1.125rem; }
  .hero-actions { grid-column: 1 / -1; grid-row: 4; margin-top: 1.25rem; }
  .cta-row { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .cta-row .text-link { justify-content: center; }
  .hero-actions .cta-row { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .button { width: 13.75rem; max-width: 100%; }
  .hero-actions .text-link { width: 6.875rem; font-size: 1rem; }
  .hero-version { text-align: center; }
  .hero-figure { margin-top: 1rem; }
  .paper-stack::before, .paper-stack::after { display: none; }
  .paper-stack .image-action { padding-top: 0; min-height: 2.75rem; }
  .screenshot { border-radius: 0.625rem; }
  .focus-layout, .status-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .model-list > div { grid-template-columns: minmax(0, 1fr) 5rem; }
  .model-list dd { font-size: 2.5rem; }
  .quota-used { font-size: 4rem; }
  .quota-original { max-width: 342px; }
  .observation-strips { gap: 2rem; }
  .observation-strips h3 { margin-bottom: 1rem; }
  .download-options { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
  .download-option { padding-top: 1.5rem; }
  .download-option .button { width: 100%; }
  .download-notes { margin-top: 2rem; }
  .store-channel { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .store-channel .button { width: 100%; }
  .faq-layout { gap: 2rem; }
  .faq-list summary { min-height: 4rem; padding-block: 1.25rem; font-size: 1.125rem; }
  .faq-list summary::after { top: 1.5625rem; }
  .faq-list details[open] > summary::after { top: 1.8125rem; }
  .site-footer { padding-block: 3rem; }
  .footer-brand { font-size: 1.5rem; }
  .footer-links { column-gap: 1.25rem; }
  .image-viewer { width: calc(100% - 1rem); height: calc(100dvh - 1rem); border-radius: 0.75rem; }
  .viewer-toolbar { padding: 0.75rem; gap: 0.5rem; }
  .viewer-controls { gap: 0.25rem; }
  .viewer-controls button, .viewer-controls a { padding-inline: 0.625rem; font-size: 0.8125rem; }
  .viewer-viewport { padding: 0.5rem; }
  .page-main { padding-block: 3rem 4.5rem; }
  .page-main h1 { font-size: 2.5rem; }
  .page-main h2 { font-size: 1.5rem; }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 2.5rem); }
  h1 { font-size: 2.5rem; }
  .brand { font-size: 0.75rem; }
  .nav-download { padding-inline: 0.625rem; }
  .header-inner { gap: 0.25rem; }
  .language-trigger { padding-inline: 0.25rem; }
  .language-chevron { width: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button, .menu-toggle, .image-action { border: 1px solid ButtonText; }
  .menu-toggle span { background: ButtonText; }
}
