* { box-sizing: border-box; }
:root {
  --page-gutter: clamp(56px, 5vw, 96px);
  --paper: #f8f5f0;
  --surface: #fffcf8;
  --surface-alt: #f3efe9;
  --ink: #252830;
  --muted: #666760;
  --line: #ded8cf;
  --accent: #c52b32;
  --accent-hover: #a91e29;
  --accent-soft: #fbece9;
  --hot-bg: #453d38;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; cursor: pointer; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: 100%; margin: 0; background: transparent; }
.header { position: sticky; z-index: 30; top: 0; min-height: 90px; padding: 0 var(--page-gutter); display: flex; align-items: center; gap: 26px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; flex-direction: column; flex: none; line-height: 1.1; }
.brand strong { font-size: 27px; font-weight: 700; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); flex: 1; white-space: nowrap; }
.main-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 500; }
.main-nav a:first-child { color: var(--ink); }
.main-nav a:first-child::after { content: ""; position: absolute; width: 20px; height: 2px; left: 50%; bottom: 2px; transform: translateX(-50%); background: var(--accent); }
.main-nav a:hover, footer a:hover { color: var(--accent); }
.header-cta { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); white-space: nowrap; font-size: 14px; font-weight: 600; }
.header-cta:hover { color: #fff; background: var(--accent); }
.section { padding: 84px var(--page-gutter); }
.hero { min-height: 0; padding-top: 50px; padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, 42%); align-items: center; gap: 24px; overflow: hidden; background: rgb(255 252 248 / .94); }
.hero-copy { max-width: 760px; position: relative; z-index: 1; }
.hero-art { width: 100%; height: auto; max-width: 500px; max-height: none; display: block; opacity: .8; justify-self: end; align-self: end; object-fit: contain; object-position: center bottom; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgb(0 0 0 / .62) 68%, rgb(0 0 0 / .16) 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgb(0 0 0 / .62) 68%, rgb(0 0 0 / .16) 84%, transparent 100%); }
.hero h1 { margin: 0; font-size: clamp(48px, 5vw, 68px); font-weight: 700; line-height: 1.18; letter-spacing: .02em; }
.hero-lead { max-width: 760px; margin: 23px 0 10px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.5; font-weight: 550; }
.muted { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid transparent; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 600; }
.button svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.button.primary { min-width: 170px; color: #fff; background: var(--accent); }
.hero-actions .button.primary { min-width: 240px; min-height: 56px; gap: 9px; font-size: 17px; }
.hero-actions .button.primary svg { width: 20px; height: 20px; }
.button.primary:hover { background: var(--accent-hover); }
.genre-strip { position: relative; padding: 22px var(--page-gutter); overflow: hidden; border-top: 1px solid var(--hot-bg); border-bottom: 1px solid var(--hot-bg); color: #e9e0d9; background: var(--hot-bg); }
.genre-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.genre-list li { flex: none; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.heading-emoji { flex: none; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 24px; line-height: 1; }
.section-head { margin-bottom: 34px; }
.section-head h2 { margin: 0 0 11px; font-size: clamp(29px, 2.8vw, 38px); font-weight: 650; line-height: 1.3; }
.section-head p { margin: 0; max-width: 690px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.filters { margin: 0 calc(-1 * var(--page-gutter)); padding: 0 var(--page-gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: start; gap: 32px; padding: 20px 0; }
.filter-row + .filter-row { border-top: 1px solid var(--line); }
.filter-row h3 { margin: 7px 0 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { min-height: 37px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--surface); font-size: 13px; }
.tone { background: rgb(243 239 233 / .94); border-block: 1px solid var(--line); }
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: start; gap: 28px; }
.screens figure { min-width: 0; margin: 0; }
.screens figure > img { width: 100%; height: auto; display: block; border-radius: 6px; }
.screens figcaption { padding-top: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--ink); text-align: center; white-space: nowrap; font-size: 14px; font-weight: 600; }
.screens figcaption::before, .screens figcaption::after { content: ""; flex: 1 1 0; min-width: 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.steps article { padding: 28px 28px 30px 0; }
.steps article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .step-index { margin-bottom: 25px; display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 15px; font-weight: 600; }
.steps .step-emoji { font: 19px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.steps h3 { margin: 0 0 11px; font-size: 18px; }
.steps p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; border-top: 1px solid var(--line); }
.faq article { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.faq h3 { margin: 0 0 11px; font-size: 17px; line-height: 1.5; }
.faq p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.download { text-align: center; background: rgb(255 252 248 / .94); }
.hero {
  background-image:
    radial-gradient(ellipse 460px 360px at 8% 2%, rgb(198 78 82 / .16), transparent 76%),
    radial-gradient(ellipse 210px 180px at 33% 96%, rgb(220 172 122 / .18), transparent 76%),
    radial-gradient(circle at 1px 1px, rgb(91 77 68 / .16) 1px, transparent 1.5px);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 28px 28px;
}
#screenshots { background-image: radial-gradient(circle at 1px 1px, rgb(91 77 68 / .16) 1px, transparent 1.5px); background-repeat: repeat; background-position: left top; background-size: 28px 28px; }
.download h2 { margin: 0 0 16px; font-size: clamp(30px, 3vw, 42px); font-weight: 650; line-height: 1.4; }
.download p { max-width: 660px; margin: 0 auto 30px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.download .button { min-width: 220px; min-height: 60px; padding: 0 30px; gap: 7px; font-size: 16px; }
.download .button svg { width: 20px; height: 20px; }
footer { padding: 42px var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 26px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 13px; }
footer strong { color: var(--ink); font-size: 19px; font-weight: 650; white-space: nowrap; }
footer div { display: flex; flex-wrap: wrap; gap: 22px; }
footer small { white-space: nowrap; }
.bottom-nav { display: none; }
@media (max-width: 959px) {
  :root { --page-gutter: 30px; }
  html { scroll-padding-top: 96px; }
  .header { min-height: 78px; padding: 0 var(--page-gutter); justify-content: space-between; }
  .main-nav { display: none; }
  .section { padding: 68px var(--page-gutter); }
  .hero { min-height: 0; padding-top: 40px; padding-bottom: 0; grid-template-columns: minmax(0, 1fr) minmax(360px, 42%); }
  .hero-art { width: 410px; max-width: none; margin-right: -30px; }
  .genre-strip { padding-inline: var(--page-gutter); }
  .filter-row { gap: 20px; }
  .screens { justify-content: space-around; gap: 18px; }
  .faq { column-gap: 36px; }
  footer { padding: 38px var(--page-gutter) 105px; }
  .bottom-nav { position: fixed; z-index: 20; bottom: 0; left: 0; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: var(--surface); }
  .bottom-nav a { min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 12px; }
  .bottom-nav a:first-child { color: var(--accent); }
  .bottom-nav a:hover, .bottom-nav a:focus-visible { color: var(--accent); background: var(--accent-soft); }
  .bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (min-width: 751px) and (max-width: 959px) {
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-width: 0; padding-inline: 10px; white-space: nowrap; }
  .hero-actions .button.primary { min-width: 220px; padding-inline: 20px; }
}
@media (min-width: 651px) and (max-width: 750px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { width: min(100%, 410px); margin-right: 0; justify-self: center; }
}
@media (max-width: 750px) {
  .hero-actions { flex-direction: column; gap: 9px; margin-top: 28px; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .hero-actions .button.primary { min-width: 0; min-height: 52px; font-size: 16px; }
}
@media (max-width: 650px) {
  :root { --page-gutter: 20px; }
  html { scroll-padding-top: 80px; }
  .header { min-height: 66px; gap: 14px; }
  .brand strong { font-size: 20px; }
  .header-cta { min-height: 36px; padding: 0 13px; font-size: 14px; }
  .section { padding: 56px var(--page-gutter); }
  .hero { min-height: 0; padding-top: 56px; padding-bottom: 0; grid-template-columns: 1fr; gap: 20px; }
  .hero-art { width: min(100%, 390px); max-height: 380px; margin-right: 0; justify-self: center; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 23px; }
  .muted { font-size: 15px; }
  .genre-strip { padding: 18px var(--page-gutter); }
  .genre-list { gap: 10px 22px; }
  .genre-list li { font-size: 14px; }
  .section-head h2 { font-size: 29px; }
  .section-head p { font-size: 14px; }
  .filter-row { grid-template-columns: 1fr; gap: 11px; padding: 17px 0; }
  .filter-row h3 { margin: 0; }
  .chips { gap: 7px; }
  .chips span { min-height: 34px; padding: 0 11px; font-size: 14px; }
  .screens { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 25px 12px; }
  .screens figcaption { font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { padding: 23px 0; border-left: 0; }
  .steps article + article { border-top: 1px solid var(--line); }
  .steps .step-index { margin-bottom: 12px; }
  .faq { grid-template-columns: 1fr; }
  .faq article { padding: 21px 0; }
  .download .button { width: 100%; min-height: 58px; }
  footer { display: block; padding: 35px var(--page-gutter) 108px; }
  footer div { margin: 21px 0; gap: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
