:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --surface: #eee8de;
  --ink: #1c1c1e;
  --muted: #6b6560;
  --line: #ded7cb;
  --accent: #a44338;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #91877a var(--paper);
  scrollbar-width: auto;
}
* { box-sizing: border-box; }
body { margin: 0; }
body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-track { background: var(--paper); }
body::-webkit-scrollbar-thumb { background: #91877a; border: 3px solid var(--paper); border-radius: 8px; }
body::-webkit-scrollbar-thumb:hover { background: var(--muted); }
body::-webkit-scrollbar-thumb:active { background: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:active { opacity: .75; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { background: #e8cfc2; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 10px 18px; background: var(--ink); color: var(--paper); z-index: 10; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 48px, 1040px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 19px; font-weight: 600; white-space: nowrap; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  font-family: "New York", "Songti SC", "Songti TC", "STSong", serif;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
}
nav { display: flex; align-items: center; gap: 22px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; color: var(--muted); }
nav a[aria-current="page"] { color: var(--accent); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .1em; }
h1, h2, h3, p { margin-top: 0; }
h1, .display { font-family: "New York", "Songti SC", "Songti TC", "STSong", serif; font-weight: 600; }
h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.35; letter-spacing: -.03em; margin-bottom: 22px; }
h2 { font-size: 24px; line-height: 1.5; margin-bottom: 20px; font-weight: 600; }
h3 { font-size: 18px; margin-bottom: 10px; font-weight: 600; }
p { margin-bottom: 16px; }
.lede { color: var(--muted); font-size: 17px; max-width: 36em; }
.hero { padding-block: 72px 56px; }
.hero .lede { margin-bottom: 0; }
.section { padding-block: 48px; border-top: 1px solid var(--line); }
.app-grid { display: grid; gap: 20px; }
.app-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 55%, var(--paper));
  text-decoration: none; color: inherit;
}
.app-card:hover { border-color: #cfc6b8; color: inherit; }
.app-card img { width: 88px; height: 88px; border-radius: 20px; display: block; }
.app-card .pitch { color: var(--muted); margin-bottom: 18px; max-width: 38em; }
.app-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.app-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--muted); text-decoration: none; }
.app-links a:hover { color: var(--accent); }
.app-links a.download { color: var(--ink); font-weight: 600; }
.app-links a.download:hover { color: var(--accent); }

.app-card-placeholder {
  display: grid; gap: 8px; padding: 28px 30px;
  border: 1px dashed var(--line); border-radius: 18px; color: var(--muted);
}
.app-card-placeholder .label { font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 600; }
.app-card-placeholder p { margin-bottom: 0; font-size: 15px; }
.site-footer { margin-top: 24px; padding-block: 26px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin-bottom: 0; }
@media (max-width: 680px) {
  .wrap { width: min(100% - 40px, 1040px); }
  .site-header { gap: 12px; padding-block: 18px; }
  nav { gap: 16px; }
  .brand { font-size: 17px; }
  .hero { padding-block: 48px 36px; }
  .app-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .app-card img { width: 72px; height: 72px; border-radius: 16px; }
  .section { padding-block: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
