.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.site-header,
.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
}

.site-title {
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.site-footer__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.index-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-6);
}

.index-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.index-title {
  margin: 0;
}

.index-blurb {
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.index-motif svg {
  color: var(--text-faint);
}

@media (max-width: 600px) {
  .index-motif {
    display: none;
  }
}

.post-list {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--space-4) var(--space-8);
  list-style: none;
}

.post-list__item {
  margin-bottom: var(--space-4);
}

.post-list__title {
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

.post-list__meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.post {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.post__header {
  margin-bottom: var(--space-6);
}

.post__title {
  margin-bottom: var(--space-2);
}

.post__meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.post__desc {
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.post__body > * + * {
  margin-top: var(--space-4);
}

.post__cta {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.post__cta-text {
  color: var(--text-muted);
  font-style: italic;
}

.post__cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.post__cta-input {
  flex: 1 1 16rem;
  min-width: 12rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
}

.post__cta-input::placeholder {
  color: var(--text-faint);
}

.post__cta-button {
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border) 45%);
  background: color-mix(in srgb, var(--accent) 22%, var(--surface) 78%);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.post__cta-button:hover {
  background: color-mix(in srgb, var(--accent) 32%, var(--surface) 68%);
}

@media (max-width: 600px) {
  .post__cta-form {
    flex-direction: column;
    align-items: stretch;
  }
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.diagram,
.figure svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.figure {
  margin: var(--space-8) 0;
}
