:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #14171c;
  --muted: #5b6472;
  --line: #e3e6ea;
  --accent: #c74e08;
  --accent-soft: #fdf1e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --surface: #14181f;
    --text: #e8ecf2;
    --muted: #98a2b3;
    --line: #232932;
    --accent: #f5842f;
    --accent-soft: #1d1712;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
header.site { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; }
header.site .mark {
  width: 2.1rem; height: 2.1rem; border-radius: .6rem; flex: none;
  background: var(--accent-soft); border: 2px solid var(--accent);
  position: relative;
}
header.site .mark::after {
  content: ""; position: absolute; inset: .42rem;
  border: 2px solid var(--accent); border-right-color: transparent;
  border-radius: 50%; transform: rotate(-35deg);
}
header.site a { color: inherit; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
header.site nav { margin-left: auto; display: flex; gap: 1rem; font-size: .9rem; }
header.site nav a { color: var(--muted); font-weight: 500; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .4rem; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 1.4rem 0 .4rem; }
p, li { color: var(--text); }
.lede { color: var(--muted); margin-top: 0; }
.date { color: var(--muted); font-size: .875rem; margin: 0 0 2rem; }
a { color: var(--accent); }
ul { padding-left: 1.15rem; }
li { margin: .35rem 0; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: .85rem; padding: 1.1rem 1.25rem; margin: 1.5rem 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; margin-bottom: 1.75rem; }
.lang button {
  font: inherit; font-size: .875rem; padding: .35rem .9rem; border: 0;
  background: var(--surface); color: var(--muted); cursor: pointer;
}
.lang button.on { background: var(--accent); color: #fff; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.75rem 0; }
.grid a {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: .85rem; padding: 1rem 1.1rem;
}
.grid a:hover { border-color: var(--accent); }
.grid strong { display: block; margin-bottom: .2rem; }
.grid span { color: var(--muted); font-size: .9rem; }
footer.site { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
footer.site a { color: var(--muted); }
code { background: var(--accent-soft); padding: .1rem .35rem; border-radius: .3rem; font-size: .9em; }
