:root {
  color-scheme: light dark;
  --ink: #241f31;
  --muted: #5e5e5e;
  --paper: #fff;
  --link: #4338ca;
  --accent: #4f46e5;
  --dark: #241f31;
  --panel: #3d3846;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--link); font-weight: 650; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
::selection { background: #c7d2fe; color: #1e1b4b; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { font-weight: 850; line-height: 1.2; letter-spacing: -.035em; }
h2 { margin: 0 0 1em; font-size: 1.65rem; }
h3 { margin: 1.6em 0 .6em; font-size: 1.2rem; }
.container { width: min(82%, 760px); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 5; padding: 10px 16px; background: var(--dark); color: white; }
.skip:focus { top: 16px; }
.hero { background: var(--accent); color: #fff; text-align: center; padding: 0 0 3.5rem; }
.hero .container { max-width: 720px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 1rem 0; margin-bottom: 2.5rem; }
.wordmark { font-size: .65rem; letter-spacing: .09em; text-decoration: none; color: inherit; }
.languages { display: flex; gap: 4px; font-size: .7rem; }
.languages a, .languages span { display: inline-block; padding: 5px 10px; color: inherit; }
.languages [aria-current] { background: #1e1b4b; color: #fff; border-radius: 5px; }
.hero-icon { display: block; width: 112px; height: 112px; margin: 0 auto 1.2rem; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 1.08; margin: 0; }
.subtitle { margin: 1.5rem auto 0; font-size: 1.05rem; font-weight: 600; max-width: 580px; }
.hero-nav { margin: 1.4rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .4em 1.4em; font-size: .75rem; }
.hero-nav a { color: inherit; }
.letter { padding-block: 3rem 2.5rem; }
.opening { font-size: 1.12rem; }
.callout { border-left: 5px solid var(--accent); padding: .4rem 0 .4rem 1.2rem; margin: 2rem 0 2.5rem; font-size: 1.2rem; line-height: 1.5; font-weight: 750; }
.callout p { margin: 0; }
.principle { margin: 2.4rem 0; scroll-margin-top: 2rem; }
.principle h3 { font-size: 1.3rem; margin: 0 0 .7rem; }
.principle p:last-child { margin: 0; }
.rule { height: 1px; width: 30%; border: 0; background: #afadaf; margin: 3rem auto; }
.closing { font-size: 1.08rem; }
.supporters { padding: .5rem 0 3.5rem; scroll-margin-top: 2rem; }
.supporters h2 { margin-bottom: .6em; }
.supporter-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.supporter-list li { display: flex; align-items: center; gap: .8rem; margin: 0; overflow-wrap: anywhere; }
.supporter-list li > div { min-width: 0; }
.supporter-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.supporter-list span { display: block; font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .88rem; }
.support-note { margin-top: 2rem; font-size: .8rem; color: var(--muted); }
.join { background: var(--panel); color: #fff; padding: 3.5rem 0 4rem; }
.join a { color: #c7d2fe; }
.join h2 { scroll-margin-top: 2rem; }
.join section + section { margin-top: 3.5rem; }
.action { display: inline-block; background: #c7d2fe; color: #1e1b4b !important; border-radius: 7px; padding: .6em 1em; text-decoration: none; margin: .1em 0 1em; font-size: .88rem; }
.action:hover { background: #e0e7ff; }
.join small { display: block; font-size: .78rem; line-height: 1.6; color: #deddda; }
.steps { padding-left: 1.3em; }
.steps li { padding-left: .2em; margin-bottom: .7em; }
.badge-preview { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 1.5rem 0; }
.badge-preview img { display: block; max-width: 100%; height: auto; }
.snippet { margin: 1.5rem 0; }
.snippet label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .5em; }
textarea {
  display: block; resize: vertical; width: 100%; min-height: 5.6em;
  border: 1px solid #77717d; border-radius: 6px; padding: .85rem;
  background: var(--dark); color: #f6f5f4;
  font: .72rem/1.6 ui-monospace, "DejaVu Sans Mono", monospace;
  overflow-wrap: anywhere;
}
.copy { margin-top: .6em; border: 1px solid #77717d; border-radius: 5px; background: transparent; color: #fff; padding: .45em .8em; font: inherit; font-size: .72rem; cursor: pointer; }
.copy:hover { border-color: #c7d2fe; }
.copy:disabled { opacity: .6; }
.copy-status { min-height: 1.6em; margin: .5em 0 0; font-size: .78rem; color: #deddda; }
details { margin-top: 1.4rem; }
summary { cursor: pointer; font-weight: 700; font-size: .85rem; }
.gitlab-values { font-size: .8rem; }
.gitlab-values dt { font-weight: 700; margin-top: 1em; }
.gitlab-values dd { margin: .3em 0; overflow-wrap: anywhere; }
code { font-family: ui-monospace, "DejaVu Sans Mono", monospace; font-size: .85em; }
footer { background: var(--dark); color: #deddda; padding: 2.5rem 0; text-align: center; font-size: .72rem; }
footer a { color: #c7d2fe; }
footer p:last-child { margin-bottom: 0; }
@media (min-width: 1000px) and (min-height: 800px) { :root { font-size: 21px; } }
@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .topbar { margin-bottom: 1.5rem; }
  .wordmark { font-size: .55rem; letter-spacing: .04em; }
  .languages a, .languages span { padding: 5px 8px; }
  .hero { padding-bottom: 2.4rem; }
  .hero-icon { width: 88px; height: 88px; }
  h1 { font-size: 2.15rem; }
  .subtitle { font-size: 1rem; }
  .letter { padding-top: 2rem; }
  .callout { padding-left: .9rem; font-size: 1.05rem; }
  .join { padding-block: 2.5rem; }
  h2 { font-size: 1.5rem; }
  textarea { min-height: 8em; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8e8e8; --paper: #241f31; --muted: #bfbcc4; --link: #c7d2fe; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --ink: #000; --paper: #fff; --muted: #444; --link: #000; font-size: 11pt; }
  body, .hero, .join, footer { background: #fff; color: #000; }
  .container { width: 100%; }
  .topbar, .hero-nav, .copy, .copy-status, .skip { display: none; }
  .hero { padding: 1rem 0; }
  h1 { font-size: 2rem; }
  .hero-icon { width: 64px; height: 64px; }
  .principle { break-inside: avoid; }
  .join a, footer a { color: #000; }
  textarea { color: #000; background: #fff; }
}
