:root {
  /* Richmond colors: purple, black and silver */
  --purple: #642c90; /* matched to the sign */
  --purple-soft: #efe6f7;
  --black: #1e1a24;
  --silver: #a8a9ad;
  --bg: #faf6fd;
  --card: #ffffff;
  --ink: var(--black);
  --muted: #4f4859;
  --accent: var(--purple);
  --accent-ink: #ffffff;
  --line: #dccfe8;
  --grass: #7fb069;
  --grass-dark: #5f8f4c;
  --focus: #c79be8;
  --error: #b3261e;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: var(--bg);
  background-repeat: repeat, no-repeat;
  background-size: 280px 280px, auto;
  /* faint Roadrunner logos over a soft purple wash at the top */
  background-image: url("roadrunner-pattern.png"),
    linear-gradient(180deg, #ead9f6 0, #f1e6f9 320px, var(--bg) 640px);
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header { margin-bottom: 28px; }

/* Sign-up page layout: one column on phones, two columns on desktop */
.layout {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.intro { margin-bottom: 28px; }

.eyebrow {
  font-family: "Fredoka", "Nunito", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 6px;
}
.eyebrow::before { content: "♥ ♥ ♥  "; letter-spacing: 0.15em; }

h1 {
  font-family: "Fredoka", "Nunito", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 8vw, 46px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--purple);
  text-wrap: balance;
}

/* The sign, standing in a patch of grass */
.sign {
  margin: 8px 0 26px;
  max-width: 440px;
  position: relative;
  padding-bottom: 50px;
}
.sign img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 18px rgba(60, 30, 90, 0.18);
}
.sign::before {           /* metal stake legs */
  content: "";
  position: absolute;
  z-index: 1;
  left: 30%;
  right: 30%;
  bottom: 12px;
  height: 70px;
  border-left: 4px solid var(--silver);
  border-right: 4px solid var(--silver);
}
.sign::after {            /* grass */
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 22px;
  border-radius: 50% 50% 12px 12px / 100% 100% 12px 12px;
  background: linear-gradient(var(--grass), var(--grass-dark));
}

.lede { margin: 0; color: var(--muted); font-size: 19px; }
.lede a { color: var(--accent); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--accent);
  border: 2px solid var(--accent);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: 17px;
  display: grid;
  place-items: center;
}

.note { font-size: 15px; color: var(--muted); margin: 20px 0 0; }

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-top: 8px solid var(--accent);
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: 0 10px 30px rgba(100, 44, 144, 0.08);
}

.card-title {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--accent);
  margin: 0 0 18px;
}

.field { margin-bottom: 18px; }

label, legend {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.hint { font-weight: 400; color: var(--muted); font-size: 15px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fdfbff;
}

textarea { min-height: 88px; resize: vertical; }

input:focus, textarea:focus, button:focus {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--accent);
}

.row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 520px) { .row { grid-template-columns: 2fr 1fr; } }

fieldset { border: 0; margin: 0 0 20px; padding: 0; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-bottom: 10px;
}
.check input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }

.req { color: var(--error); }

button {
  width: 100%;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow: 0 4px 0 #46195f;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(3px); box-shadow: 0 1px 0 #46195f; }

.hidden { position: absolute; left: -9999px; }

.privacy { font-size: 15px; color: var(--muted); margin: 16px 0 0; text-align: center; }

footer { margin-top: 32px; font-size: 14px; color: var(--muted); text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 900px) {
  .layout {
    max-width: 1120px;
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: start;
    padding: 64px 32px 96px;
  }
  .intro {
    position: sticky;
    top: 48px;
    margin-bottom: 0;
  }
  h1 { font-size: 44px; }
  .lede { font-size: 20px; }
  .card { padding: 34px 34px; }
}

.signoff {
  text-align: center;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--accent);
  padding: 8px 16px 48px;
}
