:root {
  color-scheme: light;
  --ink: #171b2d;
  --muted: #596078;
  --line: #dfe1ec;
  --paper: #ffffff;
  --wash: #f5f3fb;
  --accent: #6542b5;
  --accent-dark: #492b91;
  --soft: #eee8fb;
  --green: #178c61;
}

* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.72; background: var(--wash); color: var(--ink); }
body { margin: 0; }
a { color: var(--accent-dark); overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; top: -100px; left: 16px; background: #fff; padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }

header { background: #fff; border-bottom: 1px solid var(--line); padding: 16px max(20px, calc((100vw - 940px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
header .brand { color: var(--ink); font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .91rem; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; }
header nav a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

main { width: min(100% - 32px, 940px); margin: 28px auto 70px; }
.intro, .document { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 50px); }
.intro { background: linear-gradient(135deg, #fff 0%, #f1ecff 100%); }
.intro h1 { max-width: 16ch; margin: .25em 0; font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.04; letter-spacing: -.055em; }
.intro-copy { max-width: 62ch; margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.eyebrow { margin: 0; color: var(--accent-dark); font-size: .82rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.date, .muted { color: var(--muted); }
.document { margin-top: 18px; }
.document section + section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; }
.document h2 { margin: 0 0 9px; font-size: 1.2rem; line-height: 1.4; }
.document h3 { margin: 18px 0 6px; font-size: 1rem; }
.document p, .document li { max-width: 75ch; }
.document p { margin: .55em 0 1em; }
.document ul { padding-left: 1.35em; }
.notice { background: var(--soft); border-left: 4px solid var(--accent); border-radius: 12px; padding: 17px 18px; }
.positive { color: var(--green); font-weight: 750; }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.link-card { min-height: 150px; padding: 22px; border: 1px solid #d8d2e8; border-radius: 15px; background: #fff; color: var(--ink); text-decoration: none; }
.link-card:hover { border-color: #aa92df; box-shadow: 0 14px 34px rgba(60, 35, 110, .08); }
.link-card strong { display: block; margin-bottom: 8px; font-size: 1.12rem; }
.link-card span { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border-radius: 10px; background: var(--soft); font-weight: 700; text-decoration: none; }
code { border-radius: 5px; background: #f0eef5; padding: 2px 5px; font-size: .92em; }
footer { padding: 18px 20px 30px; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  header { align-items: flex-start; flex-direction: column; }
  main { margin-top: 16px; }
  .intro, .document { border-radius: 13px; }
  .link-grid { grid-template-columns: 1fr; }
}
