:root {
  --color-linen: #f7f3ea;
  --color-wheat: #e8d5b5;
  --color-paprika: #b9573f;
  --color-paprika-deep: #8f3f32;
  --color-cornflower: #7892b5;
  --color-oak: #2e2924;
  --color-oak-muted: #655b51;
  --color-clay-line: #cdbb9d;
  --color-paper: #fffdf8;
  --color-white: #ffffff;
  --color-danger: #8f3f32;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  --text-meta: 0.75rem;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-h4: 1.5rem;
  --text-h3: clamp(1.75rem, 3vw, 2rem);
  --text-h2: clamp(2rem, 4vw, 2.75rem);
  --text-h1: clamp(2rem, 6vw, 4rem);

  --leading-meta: 1.333;
  --leading-small: 1.429;
  --leading-body: 1.5625;
  --leading-lead: 1.556;
  --leading-heading: 1.08;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5.5rem;
  --space-10: 7.5rem;

  --container-max: 77.5rem;
  --container-gutter: 1.25rem;

  --surface-page: var(--color-linen);
  --surface-card: var(--color-paper);
  --surface-warm: var(--color-wheat);
  --surface-dark: var(--color-oak);

  --border-color: var(--color-clay-line);
  --border-width: 1px;

  --radius-none: 0;
  --radius-small: 0.5rem;
  --radius-medium: 1rem;
  --radius-pill: 999px;

  --shadow-card: 0 8px 24px rgb(46 41 36 / 8%);
  --shadow-modal: 0 18px 48px rgb(46 41 36 / 18%);

  --transition-fast: 180ms ease-out;
  --transition-base: 220ms ease-out;
}

@media (min-width: 48rem) {
  :root {
    --container-gutter: 2rem;
  }
}

@media (min-width: 75rem) {
  :root {
    --container-gutter: 3rem;
  }
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-page);
  color: var(--color-oak);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

img,
picture,
svg,
canvas,
video,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

svg {
  fill: currentColor;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

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

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  height: 1px;
  margin: var(--space-6) 0;
  border: 0;
  background: var(--color-clay-line);
  color: inherit;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--color-paprika-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-cornflower);
  outline-offset: 3px;
}

::selection {
  background: var(--color-wheat);
  color: var(--color-oak);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  color: var(--color-oak);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-heading);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 620;
  line-height: 1.0625;
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
  line-height: 1.25;
}

h5,
h6 {
  font-size: var(--text-body);
  line-height: 1.35;
}

p {
  margin: 0 0 var(--space-5);
  overflow-wrap: break-word;
}

ul,
ol {
  margin: 0 0 var(--space-5);
  padding-inline-start: 1.25rem;
}

ul li::marker,
ol li::marker {
  color: var(--color-paprika);
}

dl {
  margin: 0 0 var(--space-5);
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 var(--space-3);
}

blockquote {
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-inline-start: 3px solid var(--color-paprika);
  color: var(--color-oak);
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

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

figcaption {
  margin-top: var(--space-3);
  color: var(--color-oak-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

small {
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

mark {
  padding: 0 0.15em;
  background: var(--color-wheat);
  color: inherit;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

code,
kbd,
samp {
  padding: 0.1em 0.3em;
  border-radius: var(--radius-small);
  background: var(--color-wheat);
  font-size: 0.9em;
}

pre {
  max-width: 100%;
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  overflow: auto;
  border: var(--border-width) solid var(--border-color);
  background: var(--surface-card);
  color: var(--color-oak);
}

pre code {
  padding: 0;
  background: transparent;
}

details {
  margin: 0 0 var(--space-4);
  border-bottom: var(--border-width) solid var(--border-color);
}

summary {
  padding: var(--space-4) 0;
  color: var(--color-oak);
  font-weight: 700;
  cursor: pointer;
}

details > :not(summary) {
  padding-bottom: var(--space-4);
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-small);
  background: var(--surface-card);
  color: var(--color-oak);
  line-height: 1.35;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

input,
select {
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
}

textarea {
  padding: 0.75rem;
}

select {
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-oak-muted);
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-oak-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-cornflower);
  box-shadow: 0 0 0 3px rgb(120 146 181 / 24%);
  outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  min-height: 1.125rem;
  margin: 0;
  padding: 0;
  accent-color: var(--color-paprika);
}

input[type="file"] {
  min-height: 2.75rem;
  padding: 0.5rem;
}

label {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--color-oak);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: var(--leading-small);
}

:where(.container) {
  width: min(100% - (2 * var(--container-gutter)), var(--container-max));
  margin-inline: auto;
}

:where(.section) {
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

:where(.surface-paper) {
  background: var(--surface-card);
}

:where(.surface-wheat) {
  background: var(--surface-warm);
}

:where(.surface-dark) {
  background: var(--surface-dark);
  color: var(--color-linen);
}

:where(.surface-dark) :is(h1, h2, h3, h4, h5, h6, blockquote) {
  color: var(--color-linen);
}

:where(.surface-dark) :is(a:hover, a:focus-visible) {
  color: var(--color-white);
}

:where(.eyebrow) {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  color: var(--color-paprika-deep);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

:where(.eyebrow--blue) {
  color: var(--color-cornflower);
}

:where(.lead) {
  margin-bottom: var(--space-5);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

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

:where(.card) {
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-small);
  background: var(--surface-card);
}

:where(.panel) {
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-medium);
  background: var(--surface-card);
}

:where(.card, .panel) > :last-child {
  margin-bottom: 0;
}

:where(.stack) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

:where(.stack > *) {
  min-width: 0;
}

:where(.stack--2) {
  gap: var(--space-2);
}

:where(.stack--3) {
  gap: var(--space-3);
}

:where(.stack--4) {
  gap: var(--space-4);
}

:where(.stack--5) {
  gap: var(--space-5);
}

:where(.stack--6) {
  gap: var(--space-6);
}

:where(.cluster) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: var(--space-3);
}

:where(.cluster > *) {
  min-width: 0;
}

:where(.cluster--end) {
  justify-content: flex-end;
}

:where(.cluster--between) {
  justify-content: space-between;
}

:where(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-small);
  background: var(--color-paprika);
  color: var(--color-white);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

:where(.button:hover) {
  background: var(--color-paprika-deep);
  color: var(--color-white);
}

:where(.button:active) {
  transform: translateY(1px);
}

:where(.button--secondary) {
  border-color: var(--color-clay-line);
  background: transparent;
  color: var(--color-oak);
}

:where(.button--secondary:hover) {
  border-color: var(--color-clay-line);
  background: var(--color-wheat);
  color: var(--color-oak);
}

:where(.button--dark) {
  background: var(--color-oak);
  color: var(--color-linen);
}

:where(.button--dark:hover) {
  background: #1f1b18;
  color: var(--color-white);
}

:where(.button--full) {
  width: 100%;
}

:where(.field) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

:where(.field__hint) {
  margin-top: var(--space-2);
  color: var(--color-oak-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

:where(.field__error) {
  margin-top: var(--space-2);
  color: var(--color-danger);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: var(--leading-small);
}

:where(.field--error) :is(input, select, textarea) {
  border-color: var(--color-danger);
}

:where(.divider) {
  height: 1px;
  border: 0;
  background: var(--color-oak);
}

:where(.skip-link) {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  transform: translateY(-200%);
  border-radius: var(--radius-small);
  background: var(--color-oak);
  color: var(--color-linen);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

:where(.skip-link:focus) {
  transform: translateY(0);
}

@media (min-width: 48rem) {
  :where(.card, .panel) {
    padding: var(--space-6);
  }

  :where(.button) {
    min-height: 3rem;
    padding-inline: var(--space-5);
  }
}

@media (max-width: 47.99rem) {
  :where(.cluster--mobile-stack) {
    align-items: stretch;
    flex-direction: column;
  }

  :where(.cluster--mobile-stack > .button) {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}