@font-face { font-family: "DM Sans"; src: url("/assets/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/instrument-serif.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f8f7ef;
  --ink: #242b23;
  --muted: #565d50;
  --green: #234838;
  --line: #dedfd2;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 400 1em/1.02 var(--serif); }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid #3c6655; outline-offset: 5px; }
.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }

.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  transform: translateY(-150%);
  z-index: 5;
  padding: 12px 16px;
  background: var(--green);
  color: white;
}
.skip:focus { transform: translateY(0); }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.top-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.035em; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 8px; }
.top nav, .footer nav { display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center; }
.top nav a, .footer a { text-decoration: none; }
.top nav a { font-size: 14px; font-weight: 600; }
.top nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top nav .language { border: 1px solid #d1d5c7; border-radius: 22px; padding: 7px 13px; white-space: nowrap; }
.top nav .language:hover { background: #edefe5; text-decoration: none; }

.hero { display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: clamp(26px, 4vw, 68px); padding-block: clamp(60px, 7.5vw, 111px); min-height: 610px; }
.platform { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; line-height: 1.25; font-weight: 600; color: var(--green); border: 1px solid #c8d2bd; background: #eef1e4; padding: 6px 10px; border-radius: 100px; }
.hero h1 { margin-top: 22px; font-size: clamp(54px, 5.95vw, 93px); letter-spacing: -.045em; line-height: .96; }
.hero em { display: block; color: var(--green); }
.hero-copy > p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 33ch; margin: 24px 0 28px; }
.button { display: inline-flex; gap: 17px; align-items: center; min-height: 49px; border-radius: 100px; padding: 0 21px; background: var(--green); color: #fffdf5; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .18s; }
.button:hover { background: #335e49; }

.showcase { min-width: 0; }
.screenshot { width: 100%; height: auto; box-shadow: 0 16px 30px -17px #172c2670, 0 0 0 1px #203e331c; }

.features { padding-block: clamp(52px, 6.3vw, 86px); background: #e9eee2; border-block: 1px solid #d5ddcd; scroll-margin-top: 16px; }
.section-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 26px; margin-bottom: 27px; }
.section-intro h2 { font-size: clamp(39px, 4.3vw, 64px); letter-spacing: -.03em; }
.section-intro p { color: var(--muted); line-height: 1.6; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs button { background: transparent; color: var(--green); border: 1px solid #bccab7; border-radius: 20px; min-height: 40px; padding: 7px 17px; cursor: pointer; font-size: 14px; font-weight: 600; }
.tabs button:hover { background: #dce7d6; }
.tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fffdf5; }
.feature-panel { display: grid; grid-template-columns: minmax(220px, .65fr) 1.35fr; align-items: center; gap: clamp(24px, 6vw, 85px); border: 1px solid #cdd7c5; border-radius: 20px; background: #f8f8ef; padding: clamp(20px, 3vw, 46px); }
.feature-name { color: var(--green); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.feature-copy h3 { font: 400 clamp(31px, 3.4vw, 52px)/1.02 var(--serif); letter-spacing: -.025em; }
.feature-copy h3 + p { color: var(--muted); line-height: 1.6; margin-top: 16px; max-width: 37ch; }
.footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 32px; }
.footer-brand { color: var(--ink); display: block; margin-bottom: 6px; }
.footer-inner { flex-wrap: wrap; }
.footer a { font-size: 14px; }
.footer-brand.brand { font-size: 19px; }

.document { max-width: 720px; padding-block: clamp(54px, 7vw, 94px); }
.document header { padding-bottom: 23px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.document h1 { font-size: clamp(54px, 7.7vw, 93px); letter-spacing: -.04em; }
.document h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 10px; }
.document p { color: var(--muted); line-height: 1.67; }
.document header p { margin-top: 16px; font-size: 18px; }
.document section { margin-bottom: 31px; }
.document section p + p { margin-top: 9px; }
.document a:not(.button) { color: var(--green); text-underline-offset: 4px; overflow-wrap: anywhere; }
.document .updated { margin-bottom: 29px; font-size: 14px; }
.contact { border: 1px solid #d4ddcb; background: #edf1e7; padding: 21px 24px; border-radius: 15px; }
.contact a { font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--green); }
.faq details p { margin-top: 10px; }

:lang(zh-Hans) {
  --serif: "Songti SC", "Noto Serif CJK SC", Georgia, serif;
}
:lang(zh-Hans) .hero h1 { font-size: clamp(40px, 4.45vw, 68px); letter-spacing: -.06em; line-height: 1.12; }
:lang(zh-Hans) .hero em { font-style: normal; }
:lang(zh-Hans) .section-intro h2 { font-size: clamp(31px, 3.1vw, 50px); line-height: 1.2; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { min-height: auto; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 44px 52px; }
  .hero h1 { font-size: clamp(57px, 10.1vw, 80px); }
  .hero-copy > p { margin-block: 19px 21px; }
  .feature-panel { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .shell { width: calc(100% - 36px); }
  .top-inner { min-height: 63px; gap: 9px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .top nav { gap: 11px; }
  .top nav a { font-size: 13px; }
  .top nav .language { padding: 5px 7px; }
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(49px, 12.3vw, 63px); }
  .hero-copy > p { font-size: 16px; }
}
@media (max-width: 375px) { .brand-notes { display: none; } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
