:root {
  --bg: #f3ebea;
  --surface: #fbf7f6;
  --ink: #464241;
  --ink-soft: #6e6866;
  --sage: #dde1be;
  --sage-deep: #a1a48b;
  --cta: #5f6447;
  --cta-hover: #4c5038;
  --blush: #f4cdc5;
  --line: #e4d9d7;
  --radius: 22px;
  --wrap: 640px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Assistant", "Heebo", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; position: relative; overflow-x: clip; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 18px; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
p { margin: 0 0 14px; }

.lead { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.muted { color: var(--ink-soft); }
.quote {
  font-style: normal;
  font-weight: 600;
  border-inline-start: 4px solid var(--sage);
  padding: 4px 16px;
  margin: 18px 0;
  color: var(--ink);
}
.script {
  font-family: "Amatic SC", cursive;
  font-weight: 700;
  font-size: 1.6em;
  line-height: 1;
}

/* Big sage "5" accent from the guide cover */
.five {
  font-family: "Assistant", sans-serif;
  color: #c3ca92;
  font-size: 1.75em;
  font-weight: 200;
  display: inline-block;
  line-height: 0.8;
  transform: translateY(0.1em);
  margin: 0 0.04em;
}

/* Hero */
.hero { padding-top: 64px; padding-bottom: 24px; }
.eyebrow {
  display: inline-block;
  background: var(--sage);
  color: var(--cta);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 10px; }
.hero .sub { font-size: 1.2rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 30px; }
.story p { margin-bottom: 6px; }
.story .gap { margin-top: 18px; }

/* Decorative blobs + dots */
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.blob.sage { background: var(--sage); }
.blob.blush { background: var(--blush); opacity: 0.7; }
.dots {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--blush) 2.5px, transparent 3px);
  background-size: 18px 18px;
  opacity: 0.8;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(70, 60, 55, 0.35);
}

.not-more {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 22px 0;
}
.not-more span { display: block; }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-inline-start: 40px;
  margin-bottom: 14px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cta);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font: inherit;
  font-size: clamp(1rem, 4.3vw, 1.1rem);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 10px 24px -12px rgba(76, 80, 56, 0.7);
}
.btn:hover { background: var(--cta-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn.ghost {
  background: transparent;
  color: var(--cta);
  border: 2px solid var(--cta);
  box-shadow: none;
}
.btn.ghost:hover { background: var(--sage); }
@media (min-width: 560px) { .btn.inline { width: auto; } }

/* Form */
.form-section .card { border-top: 6px solid var(--sage); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 4px; }
.field .hint { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px var(--sage); }
.field input[aria-invalid="true"] { border-color: #c4796b; }
.field .error { display: none; color: #a8574a; font-size: 0.9rem; margin-top: 4px; }
.field input[aria-invalid="true"] + .error { display: block; }
/* Honeypot field — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.secure { text-align: center; font-size: 0.9rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-error { color: #a8574a; text-align: center; font-weight: 700; margin-top: 12px; display: none; }

/* About */
.about { text-align: center; }
.about .portrait {
  width: 210px;
  margin: 0 auto 22px;
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 480 / 700;
  position: relative;
}
.about .portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.about .role { color: var(--ink-soft); font-weight: 700; margin-bottom: 22px; }
.about .body { text-align: start; }
.about .closing { font-weight: 800; margin: 22px 0 26px; }

/* Steps (thank-you) */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
}
.steps .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cta);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.steps strong { display: block; font-size: 1.1rem; }

.situations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.situations li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.free-note { text-align: center; font-weight: 800; margin: 22px 0 18px; }
.small-note { text-align: center; font-size: 0.95rem; color: var(--ink-soft); margin-top: 12px; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

footer {
  padding: 28px 0 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Guide viewer */
.guide-pages { display: grid; gap: 18px; padding-bottom: 40px; }
.guide-pages img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 40px -28px rgba(70, 60, 55, 0.5);
  background: var(--surface);
}

/* Fade-in */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
