/* Family Follow-Up System lead magnet.
   Quiet, letterpress-stationery typography. System serif faces only,
   no external requests. One restrained accent: deep evergreen. */

:root {
  --paper: #f5f2ea;
  --paper-raised: #fbf9f3;
  --ink: #23211c;
  --ink-soft: #56504a;
  --rule: #d9d2c4;
  --rule-soft: #e6e0d4;
  --accent: #2f4a3f;
  --accent-strong: #263c33;
  --measure: 65ch;
  --serif-display: "Palatino Linotype", Palatino, "Book Antiqua",
    "Iowan Old Style", "Hoefler Text", Charter, Georgia, "Times New Roman", serif;
  --serif-body: "Iowan Old Style", Charter, "Palatino Linotype", Palatino,
    Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1.15em;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: var(--rule);
}

a:hover {
  text-decoration-color: currentColor;
}

/* Keyboard focus, visible and paper-appropriate. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Shared layout ---- */

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2rem)
    clamp(3rem, 8vw, 5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--paper-raised);
  padding: 0.6rem 1rem;
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.eyebrow {
  font-family: var(--serif-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

/* ---- Squeeze page ---- */

.headline {
  font-size: clamp(1.9rem, 6vw, 2.85rem);
  letter-spacing: -0.005em;
  margin-bottom: 0.75em;
}

.subhead {
  font-size: clamp(1.15rem, 2.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.6rem;
}

.proof {
  list-style: none;
  margin: 0 0 2.9rem;
  padding: 0;
  border-top: 1px solid var(--rule-soft);
}

.proof li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.6rem;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Typographic marker, no icon: a short evergreen rule. */
.proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.72rem;
  width: 0.7rem;
  height: 2px;
  background-color: var(--accent);
}

/* ---- Form ---- */

.signup {
  background-color: var(--paper-raised);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  margin-bottom: 1.75rem;
}

.field {
  margin-bottom: 1.4rem;
}

.field:last-of-type {
  margin-bottom: 1.75rem;
}

label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"] {
  display: block;
  width: 100%;
  font-family: var(--serif-body);
  font-size: 1.06rem;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
}

input[type="text"]:hover,
input[type="email"]:hover {
  border-color: var(--ink-soft);
}

input[aria-invalid="true"] {
  border-color: var(--accent);
}

.field-error {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--accent);
}

.submit {
  display: inline-block;
  width: 100%;
  font-family: var(--serif-display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--paper-raised);
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.submit:hover {
  background-color: var(--accent-strong);
}

/* Honeypot: off-screen, not tab-reachable, invisible to sighted users. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reassurance {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto;
}

/* ---- Footer (CAN-SPAM) ---- */

.site-footer {
  margin-top: clamp(2.75rem, 7vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.site-footer p {
  margin-bottom: 1rem;
}

.site-footer address {
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ---- Guide page ---- */

.guide-header {
  margin-bottom: 2.75rem;
}

.guide-title {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.guide-lede {
  font-size: 1.16rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.guide-body {
  max-width: var(--measure);
}

.guide-body h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
  margin: 2.9rem 0 0.9rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule-soft);
}

.guide-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.guide-body ul {
  padding-left: 1.2rem;
  margin: 0 0 1.15em;
}

.guide-body li {
  margin-bottom: 0.4rem;
}

.guide-body ul li::marker {
  color: var(--accent);
}

/* ---- Signature element: the five-moments timeline ---- */

.timeline {
  list-style: none;
  margin: 2rem 0 1.5rem;
  padding: 0;
  border-left: 2px solid var(--accent);
}

.moment {
  position: relative;
  padding: 0 0 2.4rem 1.75rem;
}

.moment:last-child {
  padding-bottom: 0.5rem;
}

/* Marker sits on the vertical rule. Typography and rules only. */
.moment::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 2px solid var(--paper);
}

.moment-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.moment-detail {
  margin: 0;
}

.moment-detail .row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.25rem 1.25rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule-soft);
}

.moment-detail .row:first-child {
  border-top: none;
}

.moment-detail dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.32em;
}

.moment-detail dd {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.55;
}

/* ---- Review-ask blockquote ---- */

.review-quote {
  margin: 2rem 0;
  padding: 1.6rem 1.75rem;
  border-left: 3px solid var(--accent);
  background-color: var(--paper-raised);
  font-family: var(--serif-display);
  font-size: 1.22rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
}

.review-quote p {
  margin: 0;
}

/* ---- End CTA ---- */

.cta {
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
}

.cta p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--serif-display);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--paper-raised);
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0.8rem 1.7rem;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.cta-button:hover {
  background-color: var(--accent-strong);
  text-decoration: none;
}

/* ---- Responsive ---- */

@media (max-width: 30rem) {
  body {
    font-size: 1.06rem;
  }

  .moment-detail .row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .moment-detail dt {
    padding-top: 0.5rem;
  }
}

/* ---- Motion guard ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
