: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;
}

.study { padding: 0 1.25rem 2.5rem; }
.study-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #1c1915;
  color: #f6f1e7;
  box-shadow: var(--shadow);
}
.study-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform 4s ease;
}
.study-shot.on { opacity: 1; transform: scale(1); }
.study-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,17,14,.45), transparent 46%);
  pointer-events: none;
}
.study-copy {
  position: absolute;
  left: 1.1rem;
  right: 8.5rem;
  bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.study-kicker {
  margin: 0 0 .3rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  color: #f0c7b4;
}
.study-copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.05;
}
.study-note { margin: .35rem 0 0; font-size: .95rem; }
.study-clock {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 7.4rem;
  background: rgba(246,241,231,.94);
  color: var(--ink);
  border-radius: .85rem;
  padding: .55rem .55rem .6rem;
  text-align: center;
}
.study-clock-label {
  margin: 0;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.study-clock svg { width: 100%; height: auto; display: block; margin-top: .2rem; }
.study-clock .face { fill: none; stroke: #e4d9c8; stroke-width: 2; }
.study-clock .tick { fill: #cfc4b2; }
.study-clock .tick.on { fill: var(--leaf); }
.study-clock .hub { fill: var(--ink); }
.study-clock line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.study-clock-when { margin: .15rem 0 0; font-size: .72rem; font-weight: 600; }
.study-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.study-bar i { display: block; height: 100%; width: 0; background: #f6f1e7; }
.study-bar.play i { animation: study-fill var(--dur) linear forwards; }
@keyframes study-fill { to { width: 100%; } }

.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);
  padding-left: 0.75rem;
  border-left: 2px solid transparent;
}
.how li.on {
  color: var(--ink);
  border-left-color: var(--leaf);
}
.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: 16 / 9; object-fit: cover; }

.plants {
  padding: 3.5rem 1.25rem;
}
.plants h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.plant-row {
  display: grid;
  gap: 1rem;
}
.plant-row figure { margin: 0; }
.plant-row img {
  width: 100%;
  border-radius: 1.1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.plant-row figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
}

.places {
  display: grid;
  gap: 1rem;
  background: #efe6d6;
}
.places figure { margin: 0; }
.places img {
  border-radius: 1.1rem;
  aspect-ratio: 16 / 9;
  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, .study, .problem, .how, .plants, .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: minmax(16rem, 0.85fr) minmax(0, 1.2fr); gap: 2.5rem; max-width: none; align-items: center; }
  .plant-row { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
  .places { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .close, .thanks { padding-left: 4vw; }
}
