:root {
  --bg: #ebe4d7; --card: #f8f4ec; --ink: #1c2140; --body: #363d5a; --muted: #59617c; --faint: #7f869c; --line: #d9cfbd;
  --red: #c8343a; --sky-1: #33479c; --sky-2: #5d6cc0; --sky-3: #a592cf; --tint: #e6e9f7; --tint-line: #d3d9f1; --shadow: rgba(40,35,60,.10);
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #10152f; --card: #171e3d; --ink: #f2efe8; --body: #cfd5e6; --muted: #a6aec6; --faint: #7a83a0; --line: rgba(255,255,255,.10);
  --red: #ff7d82; --sky-1: #18215a; --sky-2: #2c3683; --sky-3: #574d93; --tint: #1f2850; --tint-line: rgba(255,255,255,.12); --shadow: rgba(0,0,0,.35);
  color-scheme: dark;
}
.band svg path { fill: var(--bg); }
.mode-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.18); cursor: pointer; font-size: 15px; margin-left: 8px; }
.top-r { display: flex; align-items: center; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--red); }
.band { background: linear-gradient(160deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3)); color: #fff; padding: 22px 0 90px; position: relative; overflow: hidden; }
.band svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }
.wrap { width: min(820px, calc(100% - 32px)); margin: 0 auto; position: relative; }
.top { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 19px/1 var(--serif); }
.logo .mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #e2454b, #a3242a); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); font-size: 17px; }
.back { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
h1 { font: 600 clamp(38px, 6vw, 58px)/1.05 var(--serif); letter-spacing: -.025em; margin: 54px 0 8px; }
.updated { color: rgba(255,255,255,.85); font-size: 14.5px; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px 44px; margin: -50px auto 40px; box-shadow: 0 20px 60px var(--shadow); position: relative; }
.doc h2 { font: 600 24px/1.25 var(--serif); margin: 34px 0 8px; letter-spacing: -.01em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.summary { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 16px; padding: 18px 22px; margin-bottom: 8px; }
.summary b { color: var(--ink); }
footer { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 46px; color: var(--faint); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--faint); text-decoration: none; } footer a:hover { color: var(--ink); }
@media (max-width: 600px) { .doc { padding: 28px 22px; } }
