:root {
  --bg-page: #1f1f1f;
  --bg-surface: #313131;
  --header-bg: #181818;
  --text-main: #d4d4d4;
  --text-muted: #9da1a6;
  --text-strong: #db8000;
  --border: #3c3c3c;
  --link: #d4d4d4;
  --link-hover: #db8000;
  --accent: #db8000;
  --button-bg: #181818;
  --button-bg-hover: #313131;
  --button-text: #d4d4d4;
  --main-flow-gap: 40px;
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible { color: var(--link-hover); outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.shell { width: min(100% - 48px, 1080px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px; background: var(--bg-surface); }
.skip-link:focus { top: 12px; z-index: 1; }
.site-header { border-bottom: 1px solid var(--border); background: var(--header-bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; flex-wrap: wrap; }
.brand { font-size: 1.15rem; font-weight: 750; color: var(--text-strong); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
nav a { padding-block: 5px; }
nav a[aria-current="page"] { color: var(--text-strong); font-weight: 700; }
main { display: flex; flex-direction: column; gap: var(--main-flow-gap); padding-block: 56px 64px; }
.eyebrow { margin: 0 0 12px; color: var(--text-muted); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; color: var(--text-strong); }
h1 { margin: 0 0 24px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.035em; }
h2 { font-size: 1.4rem; margin: 0 0 14px; }
h3 { font-size: 1.1rem; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.lead { max-width: 760px; font-size: 1.18rem; }
.muted { color: var(--text-muted); }
.button { display: inline-block; padding: 12px 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--button-bg); color: var(--button-text); font-weight: 650; text-decoration: none; }
.button:hover { background: var(--button-bg-hover); color: var(--text-strong); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card, .notice, .document { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; }
.card { padding: 26px; }
.card p:last-child, .notice p:last-child, section p:last-child, .document-intro > :last-child, .document section > :last-child { margin-bottom: 0; }
.notice { padding: 28px; }
.notice p { max-width: 76ch; }
.document { display: flex; flex-direction: column; gap: var(--main-flow-gap); width: 100%; max-width: 840px; padding: 40px; }
.document h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
.document section { margin: 0; }
ul { padding-left: 24px; }
li { margin-block: 8px; }
code { font-size: .95em; }
.contact { overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--border); padding-block: 28px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; }
.footer-inner p { margin: 0; }
@media (max-width: 720px) {
  :root { --main-flow-gap: 24px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 12px; padding-block: 16px; }
  nav { gap: 6px 16px; font-size: .9rem; }
  main { padding-block: 32px 40px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .document, .notice, .card { padding: 22px; }
  .lead { font-size: 1.06rem; }
}
