:root {
  --ink: #26372f;
  --muted: #53645a;
  --green: #285941;
  --green-dark: #1a4530;
  --paper: #fffef9;
  --soft-green: #eef5ec;
  --soft-blue: #edf5fa;
  --line: #cedbd0;
  --radius: 1.5rem;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --body-size: 1rem;
  --small-size: .875rem;
  --page-width: 70rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: var(--body-size)/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 3px solid #836719; outline-offset: 4px; border-radius: .2rem; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
h1 { margin: 0 0 var(--space-3); font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: var(--space-4) 0 var(--space-2); }
h3 { font-size: 1.3rem; margin: 2rem 0 1rem; }
p { margin: 0 0 1rem; }
.skip-link { position: absolute; left: 1rem; top: -10rem; padding: .75rem 1rem; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .container, .footer-inner { width: min(calc(100% - 2.5rem), var(--page-width)); margin: 0 auto; }
.header-inner { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.1rem; }
.brand span { font-weight: 500; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .9rem; }
.site-header nav a { padding: .45rem .15rem; font-size: .95rem; text-decoration: none; }
.site-header nav a[aria-current="page"] { text-decoration: underline; font-weight: 700; }
.language-link { border-left: 1px solid var(--line); padding-left: .9rem !important; }
.container { padding-top: var(--space-5); padding-bottom: var(--space-5); min-height: 55vh; }
.hero { display: grid; gap: var(--space-4); align-items: center; }
.hero-copy { max-width: 40rem; }
.hero-copy h1 .nowrap { white-space: nowrap; }
.hero-art { border-radius: var(--radius); overflow: hidden; background: var(--soft-green); }
.hero-art img { width: 100%; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 2rem; }
.button { display: inline-block; text-decoration: none; border: 1px solid var(--green); border-radius: 999px; padding: .65rem 1.3rem; color: #fff; background: var(--green); font-weight: 650; }
.button:hover { color: #fff; background: var(--green-dark); }
.button.secondary { color: var(--green); background: transparent; }
.button.secondary:hover { background: var(--soft-green); }
.text-link { font-weight: 600; }
.prose { max-width: 49rem; }
.prose p, .prose li { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li::marker { color: var(--green); font-weight: 650; }
.prose code { font: .95em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: normal; }
.app-intro { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.app-intro > img { width: 6rem; height: 6rem; border-radius: 1.35rem; }
.app-intro h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.wide-illustration { margin: 3rem 0; overflow: hidden; border-radius: var(--radius); background: var(--soft-blue); }
.wide-illustration img { width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature-card img { width: 100%; }
.feature-card figcaption { padding: 1rem; text-align: center; font-weight: 650; }
.page-privacy, .page-support { max-width: 54rem; }
.page-privacy h1, .page-support h1 { font-size: clamp(2rem, 4vw, 3rem); }
.toc { padding: 1.5rem; margin: 2rem 0 2.5rem; background: var(--soft-green); border-radius: 1rem; }
.toc p { font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc li { margin: .35rem 0; }
.legal { font-size: 1rem; }
.legal h2, .legal h3 { scroll-margin-top: 1.5rem; }
.support-art { width: 8rem; margin-bottom: 2rem; background: var(--soft-blue); border-radius: 1.5rem; overflow: hidden; }
.site-footer { padding: 2.5rem 0; background: var(--soft-green); border-top: 1px solid var(--line); font-size: var(--small-size); color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; }
.company-name { color: var(--ink); font-weight: 650; }
.site-footer address { font-style: normal; max-width: 34rem; margin-bottom: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }
.error-page { padding: 3rem 0; max-width: 46rem; }
.error-art { width: min(100%, 18rem); margin-bottom: 2rem; }
.eyebrow { font-size: 1rem; letter-spacing: .15em; color: var(--muted); }
@media (min-width: 1200px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .app-intro { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 320px) {
  .header-inner, .container, .footer-inner { width: calc(100% - 2rem); }
  .site-header nav { gap: .2rem .6rem; }
  .brand { font-size: 1rem; }
  .language-link { padding-left: .6rem !important; }
  .feature-grid { gap: .5rem; }
  .feature-card figcaption { padding: .75rem .5rem; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { color: #000; background: #fff; font-size: 10pt; }
  .site-header, .site-footer, .skip-link, .toc, .page-actions, .support-art { display: none; }
  .container, .prose { width: 100%; max-width: none; margin: 0; padding: 0; }
  h1 { font-size: 22pt; }
  h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: underline; }
}
