:root {
  --paper: #f7f0e1;
  --paper-deep: #efe3cc;
  --ink: #5d4f41;
  --ink-soft: #8c7b67;
  --ink-faint: #b3a48f;
  --cloud: #fbf6ea;
  --ocean: #b2cbbf;
  --ocean-deep: #9dbbad;
  --land: #f1e5cb;
  --land-warm: #eeddbb;
  --sage: #a3bc9a;
  --sage-deep: #7fa07e;
  --ochre: #d9a441;
  --ochre-soft: #e8c67e;
  --rose: #c98a8a;
  --rose-deep: #b06e6e;
  --cream-shadow: rgba(78, 65, 49, 0.18);
  --ease-glide: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--ocean-deep);
  overscroll-behavior: none;
  touch-action: manipulation;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.app {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.screen {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  transition:
    opacity 480ms var(--ease-glide),
    visibility 0s linear 480ms;
}

.screen.is-visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform 180ms var(--ease-spring),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.button--primary {
  color: #fffaf0;
  background: var(--rose-deep);
  box-shadow: 0 7px 0 rgba(98, 65, 56, 0.16);
}

.button--quiet {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(93, 79, 65, 0.35);
}

.button--icon {
  width: 48px;
  flex: 0 0 48px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-deep);
  box-shadow: none;
  font-size: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
