:root {
    color-scheme: light;
    --paper: #f7f4ec;
    --ink: #24202b;
    --muted: #605c65;
    --line: #cec6bd;
    --accent: #ac4328;
    --night: #252132;
    --display: "DM Serif Text", Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
    --mono: "IBM Plex Mono", Consolas, monospace;
    font: 16px/1.55 "Instrument Sans", "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #4585d1; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - clamp(36px, 9vw, 150px))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; inset: 8px auto auto 8px; background: white; padding: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, nav, .wordmark, .hero-actions { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 16px; }
.header-inner { min-height: 74px; }
.wordmark { gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -.04em; }
.wordmark img { border-radius: 7px; }
nav { gap: 6px 25px; flex-wrap: wrap; }
nav a, .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; font-size: .9rem; text-decoration: none; }
nav a:hover, .text-link:hover, figcaption a:hover { text-decoration: underline; }
.language-link { color: var(--accent); }
.hero { overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: 5%; padding-block: clamp(40px, 6vw, 90px); }
.platform, .news-meta, .preview figcaption { font: .75rem/1.6 var(--mono); }
.platform { color: var(--accent); font-weight: bold; margin-bottom: 18px; }
.platform b { margin-inline: .6em; color: var(--line); }
.hero h1, .section-heading h2, .install h2 { font: 500 clamp(2.8rem, 5.6vw, 5.5rem)/.99 var(--display); letter-spacing: -.055em; }
.hero h1 em { color: var(--accent); }
.hero-copy > p:not(.platform) { max-width: 45ch; margin-top: 24px; color: var(--muted); }
.hero-actions { flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 9px 19px; border-radius: 4px; font-weight: 650; text-decoration: none; border: 1px solid currentColor; }
.primary { background: var(--ink); border-color: var(--ink); color: white; }
.primary:hover { background: #433847; }
.secondary { border-color: var(--line); }
.secondary:hover { border-color: var(--ink); }
.preview { position: relative; isolation: isolate; padding: clamp(32px, 5vw, 76px) 6% 18px; background: #e6bc9f; border-radius: 5px; overflow: hidden; }
.preview::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("./assets/forest.webp") center 40% / cover; filter: grayscale(1); opacity: .4; mix-blend-mode: multiply; }
.preview-frame { display: block; padding: 7px; background: #302b36; border-radius: 15px; box-shadow: 0 12px 26px #36243552; cursor: zoom-in; }
.preview-frame img { width: 100%; border-radius: 9px; }
.preview figcaption { margin-top: 14px; text-align: right; }
.preview figcaption a { display: inline-block; background: var(--paper); padding: 5px 10px; text-decoration: none; border-radius: 2px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-block: 24px 40px; }
.features article { padding-inline: clamp(16px, 2.8vw, 44px); }
.features article:first-child { padding-left: 0; }
.features article + article { border-left: 1px solid var(--line); }
.features h2 { font-size: 1.07rem; }
.features p, .install-copy p { margin-top: 7px; color: var(--muted); }
.news { background: var(--night); color: #fbf7f1; padding-block: clamp(42px, 6vw, 88px); }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 6%; align-items: start; }
.section-heading h2, .install h2 { font-size: clamp(2.3rem, 4.3vw, 4rem); }
.news-filters { display: grid; justify-items: start; margin-block: 22px 10px; gap: 4px; }
.news-filters button { cursor: pointer; min-height: 40px; color: #dbd5df; background: transparent; border: 0; border-left: 2px solid transparent; padding: 5px 12px; text-align: left; }
.news-filters button[aria-pressed="true"] { color: #ffbd9a; background: #39303c; border-color: #ffbd9a; }
.news .text-link { color: #ffbd9a; }
.news-item { border-top: 1px solid #66606e; }
.news-item:last-child { border-bottom: 1px solid #66606e; }
.news-item summary { position: relative; list-style: none; cursor: pointer; padding: 20px 34px 20px 0; }
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after { position: absolute; right: 4px; top: 24px; content: "+"; color: #ffbd9a; font: 1.45rem var(--mono); }
.news-item[open] summary::after { content: "−"; }
.news-meta { display: flex; gap: 15px; flex-wrap: wrap; color: #d4ccd6; margin-bottom: 6px; }
.news-meta span { color: #ffbd9a; }
.news-item h3 { font: 500 clamp(1.3rem, 2.2vw, 2rem)/1.22 var(--display); overflow-wrap: anywhere; }
.news-body { max-width: 72ch; padding-bottom: 21px; color: #e4dfe7; }
.news-body p + p { margin-top: 10px; }
.news-body h4 { margin: 1.25em 0 .35em; }
.news-body ul { margin: 0; padding-inline-start: 1.4em; }
.news-body li + li { margin-top: .5em; }
.news-body a { margin-right: 13px; }
.install { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 7%; padding-block: clamp(44px, 7vw, 94px); }
.install-actions { display: grid; justify-items: start; align-content: center; gap: 10px; border-left: 1px solid var(--line); padding-left: 12%; }
.install-actions p { font-family: var(--mono); color: var(--accent); }
.install .text-link { text-decoration: underline; }
.steps { margin: 18px 0 0; padding-left: 1.5em; }
.steps li { padding: 4px 0 4px 4px; }
.steps li::marker { color: var(--accent); font-family: var(--mono); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 24px; }
.footer-inner p { font-size: .83rem; color: var(--muted); margin-top: 7px; }
@media (max-width: 760px) {
    .hero-layout, .install, .news-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
    .news-filters { display: flex; flex-wrap: wrap; gap: 3px; margin: 12px 0 0; }
    .install-actions { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 590px) {
    .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-block: 12px 3px; }
    nav { gap: 0 18px; }
    .features { grid-template-columns: 1fr; padding: 0 0 20px; }
    .features article, .features article:first-child { padding: 14px 0; }
    .features article + article { border: 0; border-top: 1px solid var(--line); }
}
