:root {
  color-scheme: light;
  --paper: #f8f8f4;
  --ink: #1c201e;
  --copy: #444a45;
  --line: #c9cdc4;
  --amber: #f6b33e;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #297340; outline-offset: 4px; }
.skip { position: absolute; left: 10px; top: -100px; z-index: 10; padding: .5rem 1rem; background: white; }
.skip:focus { top: 10px; }
.frame { width: min(calc(100% - 112px), 1260px); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
.mast { min-height: 83px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 720 24px/1 var(--sans); letter-spacing: -.065em; }
.brand img { border-radius: 6px; }
nav, footer div { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
nav a, footer div a { display: inline-flex; align-items: center; min-height: 42px; color: var(--copy); text-decoration: none; font-size: 14px; }
nav a:hover, footer div a:hover { color: #111; text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.09fr; align-items: center; gap: clamp(36px, 4vw, 72px); padding-block: clamp(40px, 4.4vw, 70px); }
.intro { padding-block: 10px; min-width: 0; }
h1 { font-size: clamp(68px, 8.3vw, 123px); font-weight: 735; letter-spacing: -.084em; line-height: .99; margin-left: -.063em; }
.subtitle { margin-top: 14px; font-size: clamp(24px, 2.4vw, 35px); font-weight: 540; line-height: 1.4; letter-spacing: -.04em; }
.lead { margin-top: 25px; max-width: 41ch; color: var(--copy); font-size: clamp(15px, 1.18vw, 18px); line-height: 1.85; }
.download-block { margin-top: clamp(30px, 3.6vw, 52px); }
.download { display: inline-flex; align-items: center; gap: 15px; background: var(--amber); color: #1c1c16; padding: 13px 23px 14px; min-height: 55px; font-weight: 700; font-size: 17px; line-height: 1.35; text-decoration: none; border: 1px solid #b4812d; border-bottom: 3px solid #956819; border-radius: 7px; }
.download:hover { background: #ffc257; }
.download:active { border-bottom-width: 1px; transform: translateY(2px); min-height: 53px; }
.download-icon { width: 18px; display: inline-block; font: 700 25px/20px var(--sans); text-align: center; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.release { color: #535951; margin-top: 12px; font-size: 13px; }
.release span { margin: 0 3px; }
.hero-art { overflow: hidden; border-radius: 3px; background: #e3d9c6; }
.hero-art img { width: 100%; height: auto; }
.settings-section { background: #e9ede6; border-block: 1px solid #d1d7ce; }
.settings-inner, .guide, .notice { display: grid; grid-template-columns: minmax(230px, .66fr) minmax(0, 1.34fr); gap: clamp(40px, 7vw, 112px); }
.settings-inner { padding-block: clamp(54px, 6vw, 86px); align-items: center; }
h2 { font-size: clamp(27px, 2.6vw, 39px); line-height: 1.3; font-weight: 700; letter-spacing: -.04em; }
.section-intro p { color: var(--copy); max-width: 32em; margin-top: 17px; }
.section-intro .hint { margin-top: 21px; font-size: 14px; }
.preview { background: #232621; color: #f4f3ed; border: 1px solid #181a17; border-radius: 9px; overflow: hidden; box-shadow: 0 5px 0 #d3d8cf; min-width: 0; }
.preview-bar, .plan { padding: 13px 21px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-bar { background: #191b18; border-bottom: 1px solid #474b42; color: #bcc1b8; font-size: 13px; }
.preview-brand { display: inline-flex; align-items: center; gap: 8px; font: 650 17px/1.1 var(--sans); color: #f4f3ed; letter-spacing: -.05em; }
.preview-settings { padding: 0 21px; }
.preview-settings h3 { font-size: 16px; font-weight: 650; padding-block: 13px 10px; }
.preview-parameters { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; border-top: 1px solid #494f44; padding-bottom: 18px; }
.preview-parameters h3 { grid-column: 1 / -1; }
.preview-parameters label { color: #bfc4b8; font-size: 14px; }
.preview-parameters select { color-scheme: dark; padding: 5px 8px; font: inherit; font-size: 14px; color: #f0f0e9; background: #272a25; border: 1px solid #61675b; border-radius: 4px; }
.preview :focus-visible { outline-color: var(--amber); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { color: #bfc4b8; font-size: 13px; margin: 0 0 6px; padding: 0; }
fieldset label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: #f0f0e9; }
fieldset input { width: 17px; height: 17px; accent-color: var(--amber); margin: 0; cursor: pointer; }
.mode { margin-top: 3px; }
.mode label { min-height: 34px; font-size: 14px; border: 1px solid #61675b; border-radius: 4px; padding: 3px 12px; margin-right: 5px; }
.mode label:has(input:checked) { border-color: var(--amber); }
.toggles { margin-block: 14px 18px; }
.toggles label { font-size: 14px; margin-right: 14px; min-height: 36px; }
.plan { border-top: 1px solid #494f44; background: #1c1f1b; align-items: baseline; justify-content: flex-start; gap: 15px; font-size: 13px; }
.plan span { color: #bec3b8; flex: none; }
.plan output { color: #ffc774; }
.guide { padding-block: clamp(54px, 6.5vw, 92px); }
.instructions { padding: 0; margin: 0; counter-reset: guide; list-style: none; }
.instructions li { counter-increment: guide; display: flex; gap: 22px; padding: 21px 0 22px; border-top: 1px solid var(--line); }
.instructions li:first-child { padding-top: 0; border-top: none; }
.instructions li:last-child { padding-bottom: 0; }
.instructions li::before { content: counter(guide) "."; color: #64705f; font: 500 20px/1.6 "Georgia", serif; }
h3 { font-size: 20px; font-weight: 650; line-height: 1.55; }
.instructions p { margin: .3em 0 0; color: var(--copy); }
.notice { padding-block: 37px; border-block: 1px solid var(--line); }
.notice h2 { font-size: 22px; }
.notice div { color: var(--copy); font-size: 14px; }
.notice p + p { margin-top: .65em; }
footer.frame { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 25px 30px; }
footer .brand { font-size: 20px; }
footer div a { font-size: 13px; }
@media (max-width: 950px) {
  .frame { width: calc(100% - 64px); }
  .settings-inner, .guide, .notice { grid-template-columns: minmax(190px,.65fr) minmax(0,1.35fr); gap: 30px; }
  .desktop-break { display: none; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 36px); }
  .mast { min-height: 61px; }
  .brand { font-size: 21px; gap: 6px; }
  .mast img { width: 28px; height: 28px; }
  nav { gap: 13px; }
  nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 28px; }
  h1 { font-size: clamp(65px,15vw,90px); }
  .intro { padding: 0; }
  .subtitle { margin-top: 9px; }
  .lead { margin-top: 17px; }
  .download-block { margin-top: 23px; }
  .hero-art img { aspect-ratio: 1.55; object-fit: cover; object-position: center 53%; }
  .settings-inner, .guide, .notice { grid-template-columns: 1fr; gap: 23px; }
  .settings-inner, .guide { padding-block: 42px; }
  .section-intro p { margin-top: 11px; }
  .section-intro .hint { margin-top: 8px; }
  .preview-bar, .plan { padding-inline: 15px; }
  .preview-settings { padding-inline: 15px; }
  .toggles label { min-height: 40px; }
  .notice { padding-block: 27px; gap: 12px; }
  footer.frame { flex-wrap: wrap; gap: 9px 22px; }
  footer div { gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 370px) {
  nav { gap: 9px; }
  nav a { font-size: 12px; }
  .brand { font-size: 19px; }
}
