:root {
  color-scheme: light;
  --canvas: #f7f5ef;
  --paper: #fffdf8;
  --ink: #20302a;
  --muted: #64716c;
  --line: #ddd8cb;
  --accent: #287a5c;
  --accent-soft: #e1f0e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
.shell { width: min(880px, calc(100% - 32px)); margin: 0 auto; }
header { padding: 28px 0 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 760; font-size: 22px; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--accent); color: white; }
nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
main { margin: 38px auto 64px; padding: clamp(24px, 5vw, 52px); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
h1 { margin: 0 0 8px; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.035em; }
h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.25; }
h3 { margin: 28px 0 8px; font-size: 18px; }
p, li { max-width: 72ch; }
.lede { color: var(--muted); font-size: 18px; }
.meta, .note { color: var(--muted); font-size: 14px; }
.callout { margin: 26px 0; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); }
.language { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.lang-switch a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 13px; }
.lang-switch a:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch a[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.lang-switch a:focus-visible, nav a:focus-visible, .card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.locale-section + .locale-section { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.locale-section[hidden] { display: none !important; }
.has-locale .locale-section { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-panel { margin-top: 42px; padding: 20px; background: var(--accent-soft); border-radius: 16px; }
.contact-panel h2 { margin-top: 0; }
.contact-panel p { margin-bottom: 0; overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.card strong { display: block; margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 14px; }
footer { padding: 0 0 42px; color: var(--muted); font-size: 13px; }
code { padding: 2px 6px; background: #efede6; border-radius: 6px; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } main { border-radius: 18px; } }
