:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --paper: #f6f1e7;
  --card: #fffaf3;
  --line: #e4d9c8;
  --leaf: #2f5d3a;
  --leaf-deep: #23462c;
  --clay: #c4653a;
  --shadow: 0 18px 50px rgba(40, 28, 16, 0.12);
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
h1, h2, legend {
  font-family: "Fraunces", serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}
a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}
.mark {
  font-family: "Fraunces", serif;
  font-weight: 620;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.top-link {
  text-decoration: none;
  font-weight: 550;
  border-bottom: 1px solid var(--ink);
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 0.5rem 1.25rem 2.5rem;
}
.hero-copy { max-width: 38rem; }
.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
}
.lede {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36rem;
}
.hero-figure {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.signup { margin-top: 1.4rem; }
.email-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.email-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
input[type="email"] {
  font: inherit;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  width: 100%;
}
input[type="email"]:focus {
  outline: 2px solid var(--leaf);
  border-color: transparent;
}
button {
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: #f8f4ec;
  background: var(--leaf);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  cursor: pointer;
}
button:hover { background: var(--leaf-deep); }
button[disabled] { opacity: 0.7; cursor: wait; }
.fine, .form-error {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-error { color: #8d2f1b; }
.hp {
  position: absolute;
  left: -9999px;
}

.problem, .how, .places, .close, .thanks {
  padding: 3.5rem 1.25rem;
}
.problem {
  background: var(--ink);
  color: #f4efe6;
}
.problem h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 16ch;
}
.problem ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}
.problem li {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 239, 230, 0.2);
  font-size: 1.1rem;
  line-height: 1.45;
}

.how {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.how ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.how li {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
}
.how strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.how figure {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
}
.how img { aspect-ratio: 4 / 3; object-fit: cover; }

.places {
  display: grid;
  gap: 1rem;
  background: #efe6d6;
}
.places figure { margin: 0; }
.places img {
  border-radius: 1.1rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.places figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
}

.close, .thanks { max-width: 40rem; }
.close h2, .thanks h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.close { margin-inline: auto; }

footer {
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.survey {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}
.survey fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.survey legend {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.survey label {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.survey button { margin-top: 1rem; }
.survey-done { color: var(--leaf-deep); font-weight: 600; }

@media (min-width: 800px) {
  .top, .hero, .problem, .how, .places, footer { padding-left: 4vw; padding-right: 4vw; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    min-height: calc(100vh - 4.5rem);
    gap: 3rem;
    padding-top: 1rem;
  }
  .hero-figure img { aspect-ratio: 4 / 5; max-height: 82vh; }
  .email-row { flex-direction: row; }
  input[type="email"] { flex: 1; }
  button { white-space: nowrap; }
  .how { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .places { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .close, .thanks { padding-left: 4vw; }
}
