:root {
  color-scheme: light;
  --ink: #1d2a2e;
  --muted: #617176;
  --paper: #f7f8f4;
  --card: #ffffff;
  --accent: #d96f52;
  --accent-dark: #b9533b;
  --accent-soft: #f9e6dd;
  --line: #dce5e1;
  --focus: #2b7e83;
  --success-bg: #edf8f2;
  --success-border: #b9ddd1;
  --success-ink: #236052;
  --shadow: 0 1.5rem 4rem rgba(33, 59, 61, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.site-header,
.site-footer {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 2rem 0;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem 5rem;
}

.hero {
  width: min(100%, 42rem);
  padding: clamp(2.5rem, 8vw, 5.5rem) clamp(1.5rem, 8vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-mark {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.4rem;
}

.hero h1 {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.primary-action {
  min-width: 10.5rem;
  padding: 0.9rem 1.15rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font: inherit;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.primary-action:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0);
}

.primary-action:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.button-arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.status-message {
  margin: 1.5rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--success-border);
  border-radius: 0.6rem;
  background: var(--success-bg);
  color: var(--success-ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.5;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer span:last-child {
  color: var(--accent);
}

@media (max-width: 540px) {
  .site-header,
  .site-footer {
    width: min(100% - 2rem, 72rem);
  }

  .site-header {
    padding: 1.5rem 0;
  }

  .site-header .eyebrow {
    display: none;
  }

  main {
    padding: 2rem 1rem 3rem;
  }

  .hero {
    border-radius: 1rem;
  }

  .site-footer {
    padding-bottom: 1.5rem;
  }
}

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

  .primary-action:hover,
  .primary-action:active {
    transform: none;
  }
}
