/* MorningCall landing page — mobile-first, no framework */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #2b2420;
  --muted: #6b5f57;
  --accent: #c2562c;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9df;
  --line: #eadfd4;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.header-cta { font-weight: 600; text-decoration: none; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

.hero { padding-top: 32px; }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.under-cta { font-size: .95rem; color: var(--muted); margin-top: 12px; }

/* Signup card wraps the MailerLite embed */
.signup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  max-width: 480px;
  box-shadow: 0 6px 24px rgba(43, 36, 32, .06);
}

/* MailerLite form markup (their default inline CSS is not used) */
.ml-form-embedContent h4 { font-size: 1.25rem; margin: 0 0 4px; }
.ml-form-embedContent p { color: var(--muted); margin: 0 0 14px; }
.ml-form-fieldRow input {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink);
}
.ml-form-fieldRow input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ml-form-embedSubmit { margin-top: 12px; }
.ml-form-embedSubmit button {
  width: 100%; font: inherit; font-weight: 700; padding: 13px 18px; border: 0;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.ml-form-embedSubmit button:hover { filter: brightness(.95); }
.ml-error input { border-color: #c0392b; }
.ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.ml-form-embedSubmitLoad::after {
  content: ""; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%;
  border: 4px solid #fff; border-color: #fff #fff #fff transparent; animation: ml-spin 1.2s linear infinite;
}
@keyframes ml-spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.ml-form-successContent h4 { font-size: 1.25rem; margin: 0 0 4px; }

/* Sample notification */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; max-width: 420px; margin-top: 28px;
  box-shadow: 0 6px 24px rgba(43, 36, 32, .06);
}
.notice svg { flex: none; }
.notice strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 64px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  display: grid; place-items: center; }
.steps p { margin: 0; color: var(--muted); }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.benefits li { padding-left: 32px; position: relative; }
.benefits li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent); }
.benefits span { display: block; color: var(--muted); }

/* Pricing */
.price-card { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 24px; max-width: 420px; margin-top: 16px; }
.price { font-size: 2.5rem; font-weight: 800; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { color: var(--muted); margin: 0; }
.plans { display: grid; gap: 16px; margin-top: 16px; }
.plans .price-card { margin-top: 0; max-width: none; }
.plans[data-period="monthly"] .price-yearly,
.plans[data-period="yearly"] .price-monthly { display: none; }

.billing-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin-top: 8px; }
.billing-toggle button { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.plan-includes { margin-top: 24px; }
.plan-includes ul { margin: 0; padding-left: 1.2em; }
.founding { background: var(--accent-soft); border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.founding p { margin-bottom: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  text-decoration: none; padding: 14px 22px; border-radius: 999px; }
.btn:hover, .btn:focus-visible { filter: brightness(.95); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: .9rem; color: var(--muted); }
.site-footer .disclaimer { font-weight: 600; color: var(--ink); }
.site-footer nav a { margin-right: 16px; }

/* Plain content pages (thanks, privacy) */
.page { padding: 40px 0 64px; }
.page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.page ul { padding-left: 1.2em; }

@media (min-width: 768px) {
  section { padding: 80px 0; }
  .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
}
