:root {
  --ink: #212529;
  --muted: #6c757d;
  --paper: #fff;
  --link: #1a8ec9;
  --blue: #13abf6;
  --yellow: #ffc107;
  --button: #0d6efd;
  --button-hover: #0b5ed7;
  --line: #dee2e6;
  --measure: 54rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0 auto;
  max-width: var(--measure);
  padding: 1.4rem 1.5rem 3rem;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-align: left;
}

img { display: block; }

a {
  color: var(--link);
  text-underline-offset: 0.16em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 0.15rem 0;
  line-height: 1.3;
}

.site-nav a:hover { border-bottom-color: var(--blue); }

.site-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.stack {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.stack span.line {
  display: block;
  margin: 0 0 0.62rem;
  font-size: clamp(1.7rem, 0.95rem + 2.5vw, 2.7rem);
}

.stack span.line:last-child { margin-bottom: 0; }

.lede {
  margin: 1.6rem 0 0;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.note-line {
  margin: 0.7rem 0 0;
  font-size: 1.02rem;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.85rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

main p { margin: 0 0 1rem; }

main section + section { margin-top: 2.4rem; }

main ul,
main ol {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
}

main li { margin: 0 0 0.7rem; }

main li:last-child { margin-bottom: 0; }

.values {
  list-style: none;
  margin: 0;
  padding: 0;
}

.values li {
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.aside {
  font-weight: 400;
  font-size: 0.875em;
}

.chip {
  display: inline-block;
  color: #fff;
  line-height: 1.15;
  vertical-align: baseline;
}

.chip-yellow {
  padding: 0 0.55rem;
  background: var(--yellow);
  border-radius: 0 6px 0 6px;
}

.chip-blue {
  padding: 0 0.4rem;
  background: var(--blue);
  border-radius: 6px 0 6px 0;
}

a.chip,
a.chip:hover {
  color: #fff;
  text-decoration: none;
}

.mark {
  border-bottom: 3px solid var(--yellow);
  font-weight: 700;
}

.mark-line { border-bottom: 3px solid var(--yellow); }

.mark-blue { border-bottom: 4px solid var(--blue); }

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.375rem;
  background: var(--button);
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.button:hover {
  background: var(--button-hover);
  color: #fff;
}

a.name { font-weight: 600; }

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p { margin: 0 0 0.45rem; }

.site-footer .legal {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  body { padding: 1.1rem 1.1rem 2.4rem; }

  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1.6rem;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 0.4rem 0; }

  .lede { font-size: 1.15rem; }
}
