*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }


body {
  font-family: "Nunito", sans-serif;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  min-height: 100vh;
}

:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }

nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(255,255,255,0.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; color: var(--ink); text-decoration: none; }


.back { font-size: 14px; font-weight: 800; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--teal); }

.doc {
  max-width: 760px; margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 24px 72px;
}
.doc-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 48px);
}
.doc h1 { font-size: clamp(26px, 4.5vw, 34px); font-weight: 900; margin-bottom: 6px; }
.doc .updated { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 26px; }
.doc h2 { font-size: 19px; font-weight: 900; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.7; }
.doc p + p { margin-top: 8px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--teal); font-weight: 800; }
.doc a:hover { color: var(--teal-strong); }

footer {
  text-align: center; padding: 20px; font-size: 13px; font-weight: 700;
  color: var(--ink-soft); border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
}
