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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 20rem;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--line-base);
  text-rendering: optimizeLegibility;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(229, 132, 90, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 15%, rgba(22, 117, 111, 0.12), transparent 24rem),
    linear-gradient(180deg, #f9f4ed 0%, #f4efe8 48%, #f1ece6 100%);
  overflow-x: hidden;
}

::selection {
  background: rgba(22, 117, 111, 0.18);
  color: var(--color-text);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.42rem var(--color-focus);
}

main {
  display: block;
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: var(--line-tight);
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--text-3xl);
}

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

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

p {
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li,
label,
.muted,
.subtle,
.field-hint,
.notice {
  overflow-wrap: anywhere;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.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;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--space-sm);
  z-index: 100;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transition: top var(--transition-fast);
}

.skip-link:focus-visible {
  top: var(--space-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(22, 117, 111, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 250, 0.76);
  color: var(--color-brand-strong);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

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

.subtle {
  color: var(--color-text-soft);
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
