:root {
  color-scheme: dark;
  --bg: #2a0060;
  --card: #4d229e;
  --yellow: #ffc727;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font: 1rem/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wrap { width: min(100% - 32px, 760px); margin: 0 auto; }
header { padding: 24px 0 16px; }
header a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
header img { display: block; }
a { color: var(--yellow); overflow-wrap: anywhere; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--bg); padding: 12px; }
.skip:focus { top: 8px; z-index: 1; }
.breadcrumbs { color: #e6d7ff; margin-bottom: 20px; }
main { padding-bottom: 24px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.2; margin: 20px 0; overflow-wrap: break-word; }
h2 { font-size: 1.35rem; line-height: 1.4; margin: 0 0 12px; }
h3 { font-size: 1.1rem; line-height: 1.5; margin: 20px 0 8px; }
p { margin: 0 0 16px; }
.intro { color: #e6d7ff; font-size: 1.125rem; }
section, .contents { margin: 24px 0; padding: clamp(18px, 4vw, 28px); background: var(--card); border-radius: 16px; }
section > :last-child, .contents > :last-child { margin-bottom: 0; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 12px; }
.example { border-left: 3px solid var(--yellow); padding-left: 16px; }
.cta { display: inline-block; margin: 8px 0; padding: 12px 20px; background: var(--yellow); color: #2a0060; border-radius: 10px; font-weight: 700; text-decoration: none; }
.note, footer { color: #e6d7ff; }
footer { padding: 16px 0 40px; border-top: 1px solid #935acb; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
