@font-face{font-family:"Libre Baskerville";src:url("/fonts/LibreBaskerville-latin.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;}
@font-face{font-family:Inter;src:url("/fonts/Inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;}

/* Production tokens from design/brand/brand-tokens.css. Keep the five colors in lockstep. */
:root {
  --ink: #142c2e;
  --petrol: #123b3a;
  --ivory: #f6f3ea;
  --amber: #bc6c25;
  --muted: #536564;
  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: Inter, system-ui, sans-serif;
  --danger: #6e2e2e;
  --ok: #1b4336;
  --measure: 68ch;
  --page: 72rem;
  --line: rgb(18 59 58 / 18%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-synthesis: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 0;
  max-width: 11em;
}

h2 {
  font-size: 36px;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 26px;
  margin: 0 0 0.4rem;
}

p,
ul,
ol,
blockquote {
  margin: 0 0 1rem;
}

a {
  color: var(--petrol);
  text-underline-offset: 0.18em;
}

a:visited {
  color: var(--petrol);
}

:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--petrol);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 2;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 5.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: 240px;
  height: auto;
}

.header__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-label {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--petrol);
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid var(--petrol);
  outline-offset: 4px;
}

.primary {
  display: none;
  width: 100%;
}

.nav-toggle:checked ~ .primary {
  display: block;
}

.primary ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
}

.primary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--petrol);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--petrol);
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid var(--petrol);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.button:visited {
  color: var(--ivory);
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button--quiet {
  background: transparent;
  color: var(--petrol);
}

.button--quiet:visited {
  color: var(--petrol);
}

.button--quiet:hover {
  background: color-mix(in srgb, var(--petrol) 8%, var(--ivory));
  color: var(--petrol);
}

.page {
  padding-block: 2.5rem 4rem;
}

.hero {
  padding-bottom: 1rem;
}

.kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.pause {
  width: 3rem;
  height: 4px;
  background: var(--amber);
  margin: 1rem 0 1.25rem;
}

.lede {
  max-width: 42rem;
  font-size: 1.25rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.category-line {
  color: var(--muted);
  max-width: var(--measure);
}

.section {
  margin-top: 3.5rem;
}

.prose {
  max-width: var(--measure);
}

.split {
  display: grid;
  gap: 1.5rem;
}

.split article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.excerpt {
  margin: 1.5rem 0 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 2px solid var(--petrol);
  max-width: var(--measure);
}

.excerpt figcaption {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.excerpt blockquote {
  margin: 0;
}

.stack {
  display: grid;
  gap: 1.5rem;
}

.stack article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.steps span {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  color: var(--petrol);
}

.note,
.synthetic,
.form-status {
  border: 1px solid var(--line);
  border-left: 4px solid var(--petrol);
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
}

.note--bad,
.form-status--bad {
  border-left-color: var(--danger);
}

.note--ok,
.form-status--ok {
  border-left-color: var(--ok);
}

.form-status:empty {
  display: none;
}

.muted {
  color: var(--muted);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.form {
  max-width: 40rem;
}

.field {
  margin: 0 0 1.1rem;
}

.field label,
.consent {
  font-weight: 600;
  font-size: 1rem;
}

.help,
.field-error,
.count {
  display: block;
  margin-top: 0.35rem;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.field-error:empty {
  display: none;
}

.field-error:not(:empty) {
  color: var(--danger);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  font-size: 1.125rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--petrol) 40%, var(--ivory));
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
}

textarea {
  min-height: 11rem;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 400;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.25rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.fine {
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .page {
    padding-block: 4rem 5.5rem;
  }

  .section {
    margin-top: 4.5rem;
  }
}

@media (min-width: 880px) {
  .nav-toggle,
  .nav-toggle-label {
    display: none;
  }

  .primary,
  .nav-toggle:checked ~ .primary {
    display: block;
    width: auto;
  }

  .primary ul {
    display: flex;
    gap: 1.25rem;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

@media print {
  .nav-toggle,
  .nav-toggle-label {
    display: none;
  }

  .primary {
    display: block;
  }

  .button {
    background: transparent;
    color: var(--ink);
  }
}
