/* Shared by the static pages in public/. Kept in one file so the brand
   palette does not drift across three copies of the same stylesheet. */
:root {
  --ink: #101b35;
  --lime: #c8f13d;
  --paper: #ffffff;
  --slate: #66748f;
  --canvas: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(102 116 143 / 0.2);
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(8px);
}

/* Matches the app's workspace bar: same 1152px track, same gutters. */
.site-header .inner,
main,
.site-footer .inner {
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .site-header .inner,
  main,
  .site-footer .inner {
    padding: 0 1.5rem;
  }
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
}

.wordmark:hover,
.wordmark:focus-visible {
  background: none;
  opacity: 0.7;
}

.wordmark svg {
  height: 32px;
  width: auto;
  display: block;
}

.wordmark .dot {
  color: var(--lime);
}

nav a {
  margin-left: 1.5rem;
  font-size: 0.875rem;
}

main {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

/* Headings and body share the full track; the reading column stays
   comfortable rather than running the whole 1152px. */
main > * {
  max-width: 78ch;
}

main p,
main li {
  font-size: 1.0625rem;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.25rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--slate);
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--ink);
}

.updated {
  font-size: 0.875rem;
}

a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
}

a:hover,
a:focus-visible {
  background: var(--lime);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid rgb(102 116 143 / 0.2);
  background: var(--ink);
}

.site-footer .inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.8125rem;
}
