:root {
  color-scheme: light;
  --paper: #fcf8ee;
  --card: #fffdf7;
  --ink: #302317;
  --muted: #5d4b38;
  --green: #26533b;
  --line: #e4d6bc;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display: Georgia, "Noto Serif", "Songti SC", "Yu Mincho", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 1.5rem; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}
a { color: var(--green); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
.shell { width: min(100% - clamp(2rem, 8vw, 7rem), 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; inset: .5rem auto auto .5rem; padding: .6rem 1rem; background: var(--card); }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
}
.header-inner { padding-block: .8rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; color: var(--ink); text-decoration: none; font-weight: 750; line-height: 1.3; }
.brand img { flex-shrink: 0; border-radius: 26%; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.8rem, 2vw, 1.6rem); }
nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
main { flex: 1; }
.hero {
  padding-block: clamp(2.25rem, 5vw, 4.8rem);
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.platform { color: var(--green); font-size: .92rem; font-weight: 750; margin-bottom: .95rem; }
.hero h1, .article h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
:lang(zh), :lang(ja), :lang(ko), :lang(th) { --display: var(--sans); }
:lang(th) .hero h1, :lang(th) .article h1 { line-height: 1.2; }
.hero-description { max-width: 34rem; margin-block: 1.3rem 1.6rem; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.button, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; font-weight: 700; }
.button { color: white; border-radius: .7rem; background: var(--green); padding: .55rem 1.15rem; text-decoration: none; }
.button:hover { background: #1b422d; }
.secondary { padding-inline: .35rem; }
.hero-art {
  overflow: hidden;
  border: 1px solid #e0ad63;
  border-radius: clamp(1.1rem, 3vw, 2rem);
  background: #ffdfab;
  box-shadow: 0 .8rem 1.75rem #65371120;
}
.hero-art img { width: 100%; height: auto; }
.how { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4rem) clamp(2.8rem, 6vw, 5rem); }
.how h2, .article h2 { font: 700 clamp(1.6rem, 3vw, 2.65rem)/1.22 var(--display); }
.how ol { margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; }
.how li { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem; }
.how h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.how p { color: var(--muted); }
.article { max-width: 46rem; padding-block: clamp(2.2rem, 6vw, 4.9rem); margin-inline: auto; }
.article header { padding-bottom: 1.55rem; }
.article h1 { font-size: clamp(2.25rem, 6vw, 4.15rem); margin-bottom: .95rem; }
.article header p { color: var(--muted); font-size: 1.05rem; }
.article header .updated { font-size: .9rem; margin-top: .55rem; }
.article section { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.article h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: .55rem; }
.article section p + p { margin-top: .55rem; }
.article a { overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); background: #f6efdf; }
.footer-inner { padding-block: .85rem; }
.footer-inner p { color: var(--muted); font-size: .875rem; }
@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 26rem); justify-self: center; }
  .how ol { grid-template-columns: 1fr; }
}
