:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --text: #211f26;
  --muted: #6d6675;
  --brand: #4c1a6a;
  --brand-dark: #35134a;
  --line: #ded8e4;
  --focus: #1c6dd0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
  font-weight: 650;
  text-decoration-color: color-mix(in srgb, var(--brand), transparent 60%);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.page {
  width: min(100%, 880px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 22px;
}

.page-home {
  display: grid;
  place-items: center;
}

.hero,
.content {
  width: 100%;
}

.hero {
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.35rem, 8vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.content h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  line-height: 1.35;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 16px;
  text-decoration: none;
}

.content {
  max-width: 720px;
  padding: 22px 0 64px;
}

.content p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.05rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  text-decoration: none;
}

.email-link {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .page {
    padding: 34px 18px;
  }

  .links {
    display: grid;
  }

  .links a {
    width: 100%;
  }
}
