:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  --ink: #28231e;
  --muted: #6c6258;
  --accent: #c86108;
  --accent-soft: #fbf0e6;
  --green: #287a5d;
  --green-soft: #eaf5f0;
  --line: #eadfd4;
  --bg: #f6f3ee;
  --card: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 42px 24px 72px; background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.site-shell { width: min(880px, 100%); margin: 0 auto; }
.language-switch { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 28px; }
.language-switch a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.language-switch .active { border-color: var(--accent); background: var(--accent); color: #fff; }
.hero { padding: 10px 4px 30px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(44px, 9vw, 68px); line-height: 1.05; letter-spacing: -.035em; }
.hero .lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: clamp(18px, 3vw, 22px); }
.hero .about { max-width: 720px; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.panel { margin-top: 20px; padding: 30px; border: 1px solid #ffffff90; border-radius: 28px; background: var(--card); box-shadow: 0 12px 38px #51433310; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-head h2, .document h1 { margin: 0; font-size: clamp(27px, 5vw, 34px); line-height: 1.25; }
.panel-head p { margin: 7px 0 0; color: var(--muted); }
.tag { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-button { display: flex; align-items: center; gap: 15px; min-height: 82px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 21px; background: #fbf9f6; color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.store-button:hover { transform: translateY(-2px); border-color: #d8bda3; box-shadow: 0 10px 28px #51433314; }
.store-button:focus-visible, .feature-link:focus-visible { outline: 3px solid #e9a667; outline-offset: 3px; }
.store-icon { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.store-icon svg { width: 30px; height: 30px; fill: currentColor; }
.store-copy { min-width: 0; }
.store-label { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.store-name { display: block; margin-top: 2px; font-size: 19px; font-weight: 750; line-height: 1.35; }
.install-guide { margin-top: 20px; padding: 20px 22px; border-radius: 18px; background: #fbf8f4; }
.install-guide h3 { margin: 0 0 8px; font-size: 18px; }
.install-guide ol { margin: 8px 0; padding-left: 23px; }
.install-guide li + li { margin-top: 7px; }
.warning { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--accent); border-radius: 8px; background: var(--accent-soft); color: #74400f; font-size: 14px; }
.minor { color: var(--muted); font-size: 14px; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-grid .panel { height: calc(100% - 20px); }
.feature-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: inherit; text-decoration: none; }
.feature-link .arrow { color: var(--accent); font-size: 28px; line-height: 1; }
.feature-link h2 { margin: 0; font-size: 27px; }
.feature-link p { margin: 8px 0 0; color: var(--muted); }
.others-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.other-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 86px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fbf9f6; color: inherit; text-decoration: none; }
.other-link > span { display: block; min-width: 0; }
.other-link strong { display: block; color: var(--ink); font-size: 17px; }
.other-link > span > span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.other-link b { color: var(--accent); font-size: 22px; }
.other-link.featured { grid-column: 1 / -1; }
.footer { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; padding: 22px 4px 0; border-top: 1px solid #28231e14; color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }
.document { padding: 32px; border-radius: 28px; background: var(--card); box-shadow: 0 12px 38px #51433310; }
.document .meta { margin-top: 6px; color: var(--muted); }
.document h2 { margin: 28px 0 8px; font-size: 22px; }
.document p, .document ul, .document ol { margin: 8px 0; }
.document-nav { margin-top: 28px; color: var(--muted); }
@media (max-width: 620px) {
  body { padding: 28px 16px 52px; }
  .language-switch { margin-bottom: 20px; }
  .hero { padding: 4px 3px 22px; }
  .panel, .document { padding: 22px; border-radius: 23px; }
  .panel-head { margin-bottom: 16px; }
  .download-grid, .home-grid { grid-template-columns: 1fr; }
  .home-grid { gap: 0; }
  .home-grid .panel { height: auto; }
  .store-button { min-height: 74px; }
  .others-grid { grid-template-columns: 1fr; }
  .other-link.featured { grid-column: auto; }
}
