:root {
  --bg: #f6f0e7;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --ink: #183126;
  --muted: #657168;
  --line: rgba(24, 49, 38, .13);
  --green: #183f2c;
  --sage: #dbe4d3;
  --gold: #b58a43;
  --shadow: 0 18px 48px rgba(24, 49, 38, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(246, 240, 231, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fffaf2;
  font-size: 13px;
}

.topbar-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 56px 18px;
}

.hero {
  min-height: calc(100svh - 59px);
  display: grid;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 13vw, 74px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  margin: 18px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.small-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.signup-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.signup-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 15px;
  font: inherit;
}

.signup-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf2;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.signup-form button:disabled { opacity: .65; cursor: wait; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
}

.consent input { margin-top: 3px; }

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.hp-field { display: none; }

.hero-visual img {
  width: min(420px, 86vw);
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.pain-section,
.invite-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
  width: 100%;
  max-width: none;
}

.pain-section > *,
.invite-section > * {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.pain-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pain-grid article,
.story-list article,
.faq-section details {
  background: rgba(255, 250, 242, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.pain-grid p,
.story-list p,
.feature-card p,
.faq-section p,
.invite-section p {
  color: var(--muted);
}

.story-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.story-list span {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 10px;
}

.story-list img {
  width: 100%;
  margin-top: 14px;
  border-radius: 8px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.feature-stack {
  display: grid;
  gap: 28px;
}

.feature-card {
  display: grid;
  gap: 18px;
  align-items: center;
}

.feature-card img {
  width: min(360px, 84vw);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.invite-section {
  display: grid;
  gap: 22px;
}

.invite-form {
  width: min(520px, 100%);
}

.faq-section {
  display: grid;
  gap: 10px;
}

.faq-section h2 { margin-bottom: 12px; }

.faq-section summary {
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
}

.footer {
  display: grid;
  gap: 10px;
  padding: 28px 18px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
    padding-top: 52px;
  }

  .signup-form {
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: start;
  }

  .consent,
  .form-status {
    grid-column: 1 / -1;
  }

  .pain-grid,
  .story-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card {
    grid-template-columns: minmax(240px, .62fr) minmax(0, 1fr);
  }

  .feature-card:nth-child(even) img {
    order: 2;
  }

  .feature-card:nth-child(even) picture {
    order: 2;
  }

  .invite-section {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    align-items: center;
  }

  .footer {
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
  }
}
