:root {
  --accent: #c1704a;
  --accent-deep: #a2593a;
  --accent-soft: #f5e1ce;
  --background: #fbf6ec;
  --border: #ece2d0;
  --card: #fffcf5;
  --card-soft: #e6eee8;
  --primary: #4b6357;
  --primary-dark: #2c4a3f;
  --text: #2b2620;
  --text-muted: #5f5548;
  --text-soft: #9c9182;
  --shadow: 0 24px 60px rgba(24, 33, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header,
footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 20px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--text-muted);
  font-size: 12px;
}

footer a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 20px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: calc(100vh - 92px);
  padding: 34px 0 70px;
}

.hero-copy,
.section,
.waitlist,
.legal {
  min-width: 0;
}

.eyebrow {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--primary-dark);
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  color: var(--primary-dark);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  color: var(--text-muted);
  font-size: 19px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  align-items: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary,
button {
  background: var(--primary-dark);
  color: #fffdf9;
}

.button.secondary {
  background: var(--card);
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px var(--border);
}

.hero-card {
  background: var(--accent-soft);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.hero-card::after {
  background: rgba(255, 252, 245, 0.55);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
}

.hero-card img {
  display: block;
  height: 96px;
  margin-bottom: 58px;
  position: relative;
  width: 96px;
  z-index: 1;
}

.hero-card p {
  color: var(--primary-dark);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.hero-card span {
  color: var(--text-muted);
  display: block;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.section,
.waitlist,
.legal {
  padding: 80px 0;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.grid article,
.waitlist-form,
.legal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(24, 33, 29, 0.055);
}

.grid article {
  padding: 22px;
}

.grid p,
.waitlist p,
.legal p,
.legal address {
  color: var(--text-muted);
}

.waitlist {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.unsubscribe-form {
  grid-column: 2;
}

label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  background: #fffdf9;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  padding: 14px 15px;
  width: 100%;
}

.checkbox {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.checkbox input {
  flex: 0 0 auto;
  margin-top: 4px;
  width: auto;
}

input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(193, 112, 74, 0.35);
  outline-offset: 3px;
}

.form-note {
  font-size: 13px;
}

.status-message {
  border-radius: 14px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  min-height: 22px;
}

.status-message.is-success {
  background: var(--card-soft);
  padding: 12px 14px;
}

.status-message.is-error {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 12px 14px;
}

.button-danger {
  background: var(--accent-deep);
  color: #fffdf9;
}

.legal {
  margin: 28px 0;
  padding: 28px;
}

.legal[hidden] {
  display: none;
}

.legal-heading {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.legal h2 {
  font-size: 32px;
}

.legal-heading h2 {
  margin-bottom: 16px;
}

.legal-close {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal h3 {
  margin-top: 28px;
}

address {
  font-style: normal;
}

footer {
  color: var(--text-soft);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .waitlist,
  .grid {
    grid-template-columns: 1fr;
  }

  .unsubscribe-form {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }
}
