:root {
  --primary-color: #355c4d;
  --primary-dark: #274438;
  --cream: #f8f5f0;
  --gold: #c89b3c;
  --text-color: #222;
  --muted-color: #666;
  --border-color: #ded8cf;
  --page-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-dark);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--page-width));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-name {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  padding: 4rem 0;
}

.page-intro {
  max-width: 46rem;
  margin-bottom: 2rem;
}

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

h1,
h2 {
  color: var(--primary-color);
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.signup-card,
.contact-card {
  max-width: 48rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgb(34 34 34 / 8%);
}

.signup-card {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.signup-card p,
.contact-card p {
  margin-bottom: 0;
}

.signup-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

input,
button {
  min-height: 3rem;
  border-radius: 0.4rem;
  font: inherit;
}

input {
  min-width: 0;
  flex: 1 1 15rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--muted-color);
}

button {
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease;
}

button:hover,
button:focus-visible {
  background: var(--primary-dark);
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.form-note {
  margin: 0.75rem 0 0;
  color: var(--muted-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  background: #fff;
  color: var(--muted-color);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .header-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  main {
    padding: 2.5rem 0;
  }

  .form-row > * {
    width: 100%;
  }
}
