:root {
  color-scheme: dark;
  --bg: #1c1c1e;
  --card: #202022;
  --text: #f5f5f7;
  --muted: #b0b0b7;
  --accent: #65caff;
  --line: #3b3b40;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.72 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
}
main,
.legal-top {
  max-width: 1000px;
  margin: auto;
  padding-inline: 30px;
}
.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  font-size: 13px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 23px;
  letter-spacing: -0.6px;
  color: var(--text);
}
.brand img {
  border-radius: 8px;
}
main {
  padding-bottom: 30px;
}
header {
  padding: 45px 0 28px;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -1.7px;
  margin: 0.3em 0 0.6em;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 1.6em 0 0.6em;
}
h2:first-child {
  margin-top: 0;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 1.5em 0 0.5em;
}
p,
li {
  color: #c6c6cd;
  max-width: 78ch;
}
p {
  margin: 0.7em 0 1em;
}
a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  font-size: 13px;
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
article {
  background: var(--card);
  border-radius: 18px;
  padding: 36px clamp(24px, 5vw, 46px);
  box-shadow: 0 18px 35px #0003;
}
.draft-note {
  background: #2b2b32;
  color: #c7c7d2;
  border: 1px solid #44444e;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.draft-note strong {
  display: block;
  color: var(--text);
  margin-bottom: 3px;
}
.note {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.limits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.limit {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.limit strong {
  display: block;
  font-size: 23px;
  color: var(--accent);
}
footer {
  font-size: 11px;
  color: var(--muted);
  padding: 35px 0 10px;
}
footer > a {
  margin-right: 18px;
  color: var(--muted);
}
footer > p {
  margin: 18px 0 3px;
}
footer > small {
  font-size: 10px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  background: white;
  color: #111;
  padding: 12px;
  z-index: 99;
}
.skip-link:focus {
  top: 15px;
}
@media (max-width: 600px) {
  main,
  .legal-top {
    padding-inline: 20px;
  }
  header {
    padding-top: 25px;
  }
  article {
    padding: 26px 22px;
  }
  body {
    font-size: 15px;
  }
  .limits {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 22px;
  }
  .draft-note {
    padding: 17px 20px;
  }
  footer > a {
    display: inline-block;
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
