:root {
  --paper: #f4f6f5;
  --ink: #1f2b2f;
  --slate: #3a5a63;
  --slate-strong: #294249;
  --sand: #e3e9e7;
  --focus: #0a3f8a;
  --card: #ffffff;
  --border: #cdd6d3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lora", "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #ffffff 0%, var(--paper) 45%, #e6ece9 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--focus);
  color: #fff;
  border-radius: 0.3rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

.site-header,
.content,
.site-footer {
  width: min(68rem, 92vw);
  margin-inline: auto;
}

.site-header {
  padding-top: 2.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--slate-strong);
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  margin: 0.4rem 0;
  line-height: 1.15;
}

.subheading {
  font-size: 1.2rem;
  margin: 0;
  color: var(--slate-strong);
}

.intro {
  max-width: 46rem;
  margin: 1rem auto 0;
}

.content {
  padding: 2rem 0 2.5rem;
  display: grid;
  gap: 1rem;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--slate);
  color: #fff;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.07);
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-top: 0;
}

.text-link {
  color: var(--slate-strong);
  font-weight: 700;
}

.site-footer {
  padding-bottom: 2rem;
  text-align: center;
}

.button:focus-visible,
.text-link:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
