:root {
  color-scheme: light;
  --ink: #281d17;
  --muted: #64554b;
  --paper: #fdf8f0;
  --white: #fffdfa;
  --peach: #ffdcc4;
  --yellow: #ffd45c;
  --line: #e9dbce;
  --radius-lg: 32px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }

:focus-visible {
  outline: 3px solid #a3411c;
  outline-offset: 5px;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none;
}

.brand img {
  flex: none;
  border-radius: 11px;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 3vw, 34px);
}

.site-nav a,
.footer-links a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:not(.nav-download):hover,
.site-nav a[aria-current="page"],
.footer-links a:hover {
  color: #9b3b1b;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.site-nav .nav-download {
  padding: 7px 13px;
  border: 1px solid #d8bda7;
  border-radius: 99px;
  background: #ffefe2;
}

.site-nav .nav-download:hover { background: var(--peach); }

.hero { padding-top: 30px; }

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  min-height: 492px;
  padding: clamp(32px, 5.7vw, 78px);
  border: 1px solid #f1c9af;
  border-radius: var(--radius-lg);
  background: linear-gradient(114deg, #ffede1 0%, #ffdcc4 64%, #ffd4b7 100%);
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  margin-bottom: 12px;
  color: #8d3d22;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid #edc9af;
  border-radius: 99px;
  background: #fff6ed;
  letter-spacing: 0.06em;
}

.hero-kicker span,
.download-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bb4d24;
}

.hero h1 {
  font-size: clamp(56px, 8.5vw, 109px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.hero-tagline {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 25em;
  margin-top: 12px;
  color: #554236;
  font-size: clamp(15px, 1.5vw, 18px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 19px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary { color: #fff9f2; background: var(--ink); }
.button-primary:hover { background: #493026; }

.text-link {
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 0.28em;
}

.text-link:hover { color: #9b3b1b; }
.text-link span { display: inline-block; margin-left: 3px; }

.hero-platform {
  margin-top: 14px;
  color: #654c3c;
  font-size: 13px;
}

.hero-platform span { margin-inline: 4px; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 300px;
  isolation: isolate;
}

.hero-halo {
  position: absolute;
  z-index: -1;
  width: min(94%, 350px);
  aspect-ratio: 1;
  border: 1px solid #f3aa7b;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 33%, #fff1ca 0%, #ffcf96 64%, #fab77f 100%);
  box-shadow: 0 0 0 17px #ffd9b5, 0 0 0 18px #f3ba96;
}

.hero-mascot {
  width: min(66%, 235px);
  height: auto;
  filter: drop-shadow(0 16px 9px #82432035);
  transform: rotate(6deg);
}

.art-spark,
.art-dot {
  position: absolute;
  color: #a04423;
  line-height: 1;
}

.art-spark-top { top: 9%; right: 4%; font-size: clamp(26px, 4vw, 56px); }
.art-spark-bottom { bottom: 8%; left: 7%; font-size: clamp(24px, 3.5vw, 44px); }

.art-dot {
  right: 8%;
  bottom: 18%;
  width: 10px;
  height: 10px;
  border: 1px solid #a04423;
  border-radius: 50%;
}

.content-section { padding-block: clamp(54px, 7vw, 90px); }

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 30px;
  margin-bottom: 27px;
}

.section-intro h2,
.download-copy h2,
.support-section h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.section-intro > p {
  max-width: 23em;
  padding-bottom: 2px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 12px;
}

.feature-icon-peach { color: #8f3f23; background: #ffdfce; }
.feature-icon-yellow { color: #735000; background: #fff0c3; }
.feature-icon-green { color: #385d44; background: #e5efdd; }

.feature h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 2.2vw, 24px);
}

.feature p,
.screen figcaption small,
.support-copy {
  color: var(--muted);
}

.screenshots-section {
  border-block: 1px solid var(--line);
  background: #f7eee3;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 26px);
}

.screen-image {
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.25vw, 14px);
  border: 1px solid #e8d6c5;
  border-radius: 23px;
  background: #fffbf5;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.screen-image:hover {
  border-color: #c58861;
  background: #fff0e0;
}

.screen-image img {
  width: 100%;
  aspect-ratio: 1080 / 2376;
  object-fit: contain;
  border-radius: 13px;
  background: #f7f5ee;
}

.screen figcaption {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
}

.screen-number {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 28px;
  border: 1px solid #e9cbb6;
  border-radius: 8px;
  color: #853d24;
  background: #ffe7d6;
  font: 700 12px/1 system-ui, sans-serif;
}

.screen figcaption strong,
.screen figcaption small { display: block; }
.screen figcaption strong { font-size: 16px; }
.screen figcaption small { font-size: 13px; }

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 0.65fr);
  align-items: center;
  gap: 24px 48px;
  padding: clamp(24px, 5vw, 58px);
  border-radius: var(--radius-lg);
  color: #fff7ee;
  background: #30221b;
}

.download-copy .eyebrow { color: #ffc398; }
.download-copy > p:not(.eyebrow) { margin-top: 12px; color: #efdbcd; }
.download-action { margin-top: 23px; }

.download-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 7px 13px;
  border: 1px solid #796052;
  border-radius: 10px;
  color: #fff1e4;
  background: #49352a;
  font-size: 14px;
}

.download-status span { flex: 0 0 7px; background: #ffc268; }
.button-download { color: var(--ink); background: var(--yellow); }
.button-download:hover { background: #ffe39a; }
.download-panel :focus-visible { outline-color: var(--yellow); }

.download-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 19px;
  margin-top: 14px;
}

.download-policies a {
  padding-block: 3px;
  color: #f7e1d0;
  font-size: 14px;
  text-underline-offset: 0.25em;
}

.app-meta {
  min-width: 0;
  padding: 4px 20px;
  border: 1px solid #6a5347;
  border-radius: 17px;
  background: #3c2b23;
}

.app-meta > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-block: 13px;
}

.app-meta > div + div { border-top: 1px solid #6a5347; }
.app-meta dt { color: #e2c7b6; }
.app-meta dd { text-align: right; font-weight: 750; overflow-wrap: anywhere; }
.app-meta code { font-family: ui-monospace, monospace; font-size: 0.88em; }

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px 48px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}

.support-copy p + p { margin-top: 8px; }
.support-copy a { overflow-wrap: anywhere; }

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  background: #f7eee3;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 17px 32px;
}

.footer-about p,
.footer-public-info {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer-registration span { color: var(--ink); }
.footer-links { gap: 5px 19px; }
.footer-links a { padding-block: 6px; }
.footer-public-info a { display: inline-block; margin-right: 12px; overflow-wrap: anywhere; }

.legal-content {
  width: min(800px, calc(100% - 64px));
  padding-block: clamp(36px, 6vw, 75px);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-content h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.legal-content h2 {
  margin-block: 32px 12px;
  font-size: clamp(22px, 3vw, 29px);
}

.legal-content h3 { margin-block: 22px 10px; font-size: 19px; }
.legal-content p + p { margin-top: 12px; }
.legal-content li + li { margin-top: 5px; }
.legal-content ul, .legal-content ol { padding-inline-start: 1.5em; }

.legal-meta {
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fff1e4;
  font-size: 14px;
}

@media (max-width: 860px) {
  .container { width: calc(100% - 44px); }
  .hero-panel { min-height: 435px; }
  .section-intro { align-items: start; flex-direction: column; }
  .legal-content { width: min(800px, calc(100% - 44px)); }
}

@media (max-width: 660px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 0; flex-wrap: wrap; padding-block: 12px; }
  .site-nav { justify-content: flex-start; }
  .site-nav a { padding-block: 5px; font-size: 13px; }
  .site-nav .nav-download { padding: 5px 9px; }

  .hero { padding-top: 17px; }
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 30px 24px 24px;
    border-radius: 23px;
  }
  .hero h1 { font-size: clamp(55px, 13vw, 82px); }
  .hero-art { justify-self: center; max-width: 340px; min-height: 0; padding-block: 8px 14px; }
  .hero-halo { width: min(76%, 250px); box-shadow: 0 0 0 11px #ffd9b5, 0 0 0 12px #f3ba96; }
  .hero-mascot { width: min(50%, 166px); }
  .hero-kicker { margin-bottom: 14px; }

  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-icon { margin-bottom: 11px; }
  .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .screen-image { border-radius: 16px; }
  .screen-image img { border-radius: 9px; }
  .screen figcaption { gap: 6px; margin-top: 9px; }
  .screen-number { flex-basis: 23px; height: 23px; font-size: 10px; }
  .screen figcaption strong { font-size: 15px; }
  .screen figcaption small { font-size: 12px; }

  .download-panel,
  .support-section { grid-template-columns: 1fr; }
  .download-panel { border-radius: 23px; }
  .support-section { gap: 12px; }
  .legal-content { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
