@font-face {
  font-family: Lane Display;
  src: url('./fonts/lane_display.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Lane Body;
  src: url('./fonts/lane_body.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #1e1a3c;
  --muted: #5b5574;
  --line: #1e1a3c;
  --paper: #f3f1fa;
  --surface: #ffffff;
  --surface-strong: #e7e1ff;
  --accent: #5038f6;
  --focus: #0e6b4e;
  scroll-padding-top: 24px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3efff;
  --muted: #c3bbd6;
  --line: #a69ac5;
  --paper: #19162c;
  --surface: #27213e;
  --surface-strong: #332953;
  --accent: #b5a6ff;
  --focus: #ffc21a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f3efff;
    --muted: #c3bbd6;
    --line: #a69ac5;
    --paper: #19162c;
    --surface: #27213e;
    --surface-strong: #332953;
    --accent: #b5a6ff;
    --focus: #ffc21a;
  }
}
* {
  box-sizing: border-box;
  scrollbar-color: var(--accent) var(--paper);
  scrollbar-width: thin;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lane Body, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
::selection {
  background: #ffc21a;
  color: #1e1a3c;
}
a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-200%);
  border: 2px solid #1e1a3c;
  border-radius: 12px;
  padding: 12px 16px;
  background: #ffc21a;
  color: #1e1a3c;
  font-weight: 800;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}
.nav {
  width: min(1200px, calc(100% - 80px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--ink);
  font-family: Lane Display, Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 100px;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--surface-strong);
}
main {
  width: min(940px, calc(100% - 80px));
  margin: 0 auto;
  padding: 64px 0 72px;
}
main > header {
  margin-bottom: 40px;
  padding: 40px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
}
h1,
h2 {
  font-family: Lane Display, Arial, sans-serif;
  font-weight: 800;
  text-wrap: balance;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  max-width: 72ch;
  margin-bottom: 16px;
}
ul {
  max-width: 72ch;
  margin: 0;
  padding-inline-start: 24px;
}
li {
  margin-bottom: 10px;
  padding-inline-start: 4px;
}
.updated {
  display: inline-flex;
  margin-bottom: 24px;
  border: 2px solid #1e1a3c;
  border-radius: 100px;
  padding: 8px 14px;
  background: #ffc21a;
  color: #1e1a3c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}
.summary {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}
section {
  border: 2px solid var(--line);
  border-radius: 24px;
  margin: 24px 0;
  padding: 32px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
section p,
section li {
  color: var(--muted);
}
section > :last-child {
  margin-bottom: 0;
}
footer {
  margin-top: 48px;
  border-top: 2px solid var(--line);
  padding-top: 28px;
  color: var(--muted);
  font-size: 16px;
}
footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
footer p:last-child a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 100px;
  padding: 10px 18px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
footer p:last-child a:hover {
  background: var(--surface-strong);
}
@media (max-width: 720px) {
  .nav,
  main {
    width: calc(100% - 40px);
  }
  .nav {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 14px;
  }
  .brand {
    font-size: 25px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    font-size: 14px;
  }
  .nav-links a {
    padding-inline: 12px;
  }
  main {
    padding-top: 32px;
  }
  main > header {
    padding: 24px;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }
  h2 {
    font-size: 25px;
  }
  .summary {
    font-size: 18px;
  }
  section {
    padding: 24px;
  }
  .updated {
    font-size: 13px;
    padding-inline: 12px;
  }
}
@media (max-width: 360px) {
  .nav,
  main {
    width: calc(100% - 32px);
  }
  main > header,
  section {
    padding: 20px;
  }
  h1 {
    font-size: 34px;
  }
  body {
    font-size: 17px;
  }
  .nav-links a {
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
