@font-face { font-family: Barlow; src: url('fonts/barlow-medium.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url('fonts/barlow-semibold.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('fonts/source-sans-3.ttf') format('truetype'); font-style: normal; font-weight: 200 900; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #faf9f6;
  --card: #fff;
  --text: #242424;
  --muted: #65645f;
  --accent: #b93f24;
  --accent-t: #fff;
  --line: #dddcd8;
  --sage: #f0efea;
  --ok: #326349;
  font-family: 'Source Sans 3', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 17px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, .button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #f3d5c9; color: var(--text); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Barlow, Arial, sans-serif; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(2.75rem, 5.8vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.25rem; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.site-header { width: min(1320px, calc(100% - 80px)); margin: auto; min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; font-family: Barlow, Arial, sans-serif; font-weight: 600; font-size: 32px; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
.logo span { color: var(--accent); }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a, .header-action { font-size: 16px; font-weight: 500; text-decoration: none; }
.site-header nav a:hover, .header-action:hover { color: var(--accent); }
.header-action { padding: 10px 0; border-bottom: 1px solid var(--text); white-space: nowrap; }
.eyebrow { font-size: 15px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 24px; }
.button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 2px; text-decoration: none; font-weight: 600; }
.button:hover, .btn:hover { background: #96331d; }
.text-link { font-size: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 32px; }
label { display: block; font-size: 15px; font-weight: 600; margin: 16px 0 6px; }
input:not([type='checkbox']), textarea, select { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 11px 13px; border: 1px solid #c8c7c2; border-radius: 2px; background: #fff; color: var(--text); }
input::placeholder, textarea::placeholder { color: #77766f; opacity: 1; }
input[type='checkbox'] { accent-color: var(--text); width: 18px; height: 18px; flex-shrink: 0; }
textarea { min-height: 100px; resize: vertical; }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23242424' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.note, .muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.sub { color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.site-footer { border-top: 1px solid var(--line); padding: 44px max(40px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 32px; background: #efeee9; }
.site-footer p { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.site-footer nav { display: flex; gap: 24px; font-size: 15px; }
.site-footer > span { font-size: 14px; color: var(--muted); }
.skip-link { position: absolute; z-index: 20; left: 12px; top: -100px; padding: 12px; background: #fff; }
.skip-link:focus { top: 12px; }
@media (max-width: 900px) {
  .wrap, .site-header { width: calc(100% - 48px); }
  .site-header nav { gap: 20px; }
  .site-footer { padding: 36px 24px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .site-header { min-height: 80px; flex-wrap: wrap; gap: 16px; padding: 22px 0 14px; }
  .site-header .logo { font-size: 30px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .site-header nav a { font-size: 15px; padding-block: 8px; }
  .header-action { font-size: 15px; padding: 8px 0; }
  .card { padding: 22px; }
  .eyebrow { font-size: 14px; margin-bottom: 20px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.dashboard-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--text); border-radius: 2px; text-decoration: none; font-size: 16px; font-weight: 600; }
.dashboard-link:hover { background: var(--text); color: #fff; }
@media (max-width: 600px) { .site-header nav { flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; } }
