*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--sortino-ivory-light);
}
img {
  display: block;
  height: auto;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sortino-gold) 70%, white);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-block: 0 0.65em;
}
h1 {
  font-size: var(--text-display);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-lg);
}
p {
  margin-block: 0 1em;
}
small {
  display: block;
  color: var(--text-muted);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}
.eyebrow {
  color: var(--sortino-gold-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lead {
  max-width: 48rem;
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: inherit;
  opacity: 0.82;
}
.muted {
  color: var(--text-muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--sortino-gold);
  border-radius: var(--radius-sm);
  background: var(--sortino-gold);
  color: var(--sortino-obsidian);
  font-weight: 650;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}
.button:hover {
  background: #d6bc8f;
  border-color: #d6bc8f;
  transform: translateY(-1px);
}
.button-secondary,
.button-outline {
  background: transparent;
  color: inherit;
  border-color: var(--border-light);
}
.button-quiet {
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  background: transparent;
  color: inherit;
  border-color: transparent;
}
.button-danger {
  background: transparent;
  color: var(--sortino-danger);
  border-color: color-mix(in srgb, var(--sortino-danger) 45%, white);
}
.actions,
.toolbar,
.inline-form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.stack-form {
  display: grid;
  gap: var(--space-4);
}
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 550;
  min-width: 0;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  color: var(--text-dark);
  background: var(--sortino-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  background: #faf8f3;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--sortino-obsidian);
  color: var(--sortino-ivory);
  text-align: center;
}
.error-page main {
  max-width: 34rem;
  padding: var(--space-6);
}
.error-page main > img {
  width: min(13rem, 62vw);
  margin: 0 auto var(--space-5);
  filter: brightness(0) invert(1);
}
.error-page h1 {
  color: var(--sortino-gold);
  font-size: var(--text-2xl);
}
.error-page-message {
  color: var(--sortino-ivory);
  font-size: var(--text-lg);
  line-height: var(--leading-copy);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-block: var(--space-5);
}
.pagination a {
  color: var(--sortino-gold-deep);
  font-weight: 650;
}
