:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1f2926;
  --muted: #68746f;
  --line: #d8ddd7;
  --line-strong: #b7c6bf;
  --teal: #1f7a72;
  --teal-dark: #12524d;
  --mint: #d9efe7;
  --coral: #c94f3d;
  --amber: #d89b25;
  --blue: #3f6eb3;
  --danger: #b83b3b;
  --shadow: 0 18px 45px rgba(31, 41, 38, 0.14);
  --radius-sm: 6px;
  --radius-md: 8px;
  --tap: 56px;
  --topbar: 72px;
  --bottom: 76px;
  --context: 188px;
  --side: 300px;
  --rail: 104px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

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

button {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  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: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid rgba(31, 122, 114, 0.45);
  outline-offset: 3px;
}
