/* Cedar habits landing. Standalone: no theme, no shared assets. */

:root {
  /* Designed light. Opt out of Chrome's auto-dark so ad traffic sees what we approved. */
  color-scheme: light only;
  --ink: #2A0C09;
  --ink-soft: #5c4a46;
  --cream: #FBF7F2;
  --card: #ffffff;
  --accent: #B8620E;
  --accent-hover: #8f4b09;
  --rule: #e7ded4;
  --max: 40rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- hero ---------- */

.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.wordmark {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 3rem;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 auto 2.5rem;
  max-width: 30rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover, .btn:focus { background: var(--accent-hover); }

/* ---------- sections ---------- */

section { padding: 3rem 0; }

h2 {
  font-size: 1.5rem;
  margin: 0 0 1.75rem;
  letter-spacing: -0.01em;
}

.voice {
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice li {
  border-left: 3px solid var(--rule);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.75rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong { display: block; }
.steps span { color: var(--ink-soft); }

/* ---------- signup ---------- */

.signup {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  text-align: center;
}

.signup h2 { margin-bottom: 0.5rem; }
.signup p { color: var(--ink-soft); margin-top: 0; }

/* MailerLite embed. It ships its own chrome; strip it back to the page. */
.signup .ml-form-embedContainer,
.signup .ml-form-embedWrapper,
.signup .ml-form-embedBody {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.signup .ml-form-embedContent { text-align: left; }
.signup .ml-form-embedContent h4 { display: none; }
.signup input[type="text"],
.signup input[type="email"],
.signup input[type="tel"] { width: 100% !important; }

.cedar-landing-confirmation { text-align: left; }
.cedar-landing-confirmation h3 { margin-top: 0; }
.cedar-landing-confirmation .quiet { color: var(--ink-soft); font-size: 0.9rem; }

.fineprint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

footer a { color: var(--ink-soft); }

/* ---------- legal pages ---------- */

.legal { padding: 4rem 0; }
.legal h1 { font-size: 2rem; text-align: left; }
.legal h2 { font-size: 1.2rem; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: 0.85rem; }
