:root {
  --cream: #fff7f0;
  --text: #3a2530;
  --text-secondary: #5c4250;
  --text-hint: #6e5562;
  --berry: #b3245a;
  --pill-text: #8a1c45;
  --pill-bg: #ffe1ea;
  --divider: #f1dce3;
  --circle-pink: #ffd6e3;
  --circle-butter: #ffe7b8;
  --circle-mint: #d9f2e6;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  position: relative;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.site-header,
.site-footer,
main {
  position: relative;
  padding: 0 var(--space-3);
}

.site-header {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding-top: var(--space-3);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--berry);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 608px;
  margin: 0 auto;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  text-align: center;
}

.pill {
  margin: 0 0 var(--space-3);
  padding: var(--space-1) var(--space-2);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0 0 var(--space-2);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
}

.brand {
  color: var(--berry);
}

.lead {
  margin: 0 0 var(--space-3);
  color: var(--text-secondary);
  font-size: 18px;
}

.note {
  margin: 0;
  color: var(--text-hint);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-4);
  border-radius: 12px;
  background: var(--berry);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding-bottom: var(--space-3);
  text-align: center;
}

.site-footer p {
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--divider);
  color: var(--text-hint);
  font-size: 14px;
}

/* Clips the circles so they never cause horizontal scroll. */
.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle-pink {
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: var(--circle-pink);
}

.circle-butter {
  right: -60px;
  bottom: 120px;
  width: 200px;
  height: 200px;
  background: var(--circle-butter);
}

.circle-mint {
  display: none;
}

@media (min-width: 768px) {
  .wordmark {
    font-size: 24px;
  }

  .circle-mint {
    display: block;
    top: 40%;
    left: 8%;
    width: 160px;
    height: 160px;
    background: var(--circle-mint);
  }
}
