/* ============================================================
   guides.css — public lead-magnet pages
   Shared by the /guides downloads index and (later) the
   per-feature landing pages. Uses app.css design tokens
   (--ink, --sky, --slate, --rule, --frost, --body).
   ============================================================ */

/* ── Public top nav (mirrors .home-nav) ────────────────────── */
.guides-nav { border-bottom: 1px solid var(--rule); background: #fff; }
.guides-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.guides-nav .brand img { display: block; }
.guides-nav-actions { display: flex; align-items: center; gap: 18px; }

/* ── Hero ──────────────────────────────────────────────────── */
.guides-hero { max-width: 820px; margin: 0 auto; padding: 56px 24px 8px; text-align: center; }
.guides-hero .eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 10px;
}
.guides-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 40px;
  line-height: 1.1; color: var(--ink); margin: 0 0 14px;
}
.guides-hero p {
  font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.6;
  color: var(--body); margin: 0 auto; max-width: 620px;
}

/* ── Card grid ─────────────────────────────────────────────── */
.guide-cards {
  max-width: 1100px; margin: 0 auto; padding: 32px 24px 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.guide-card {
  border: 1px solid var(--rule); border-radius: 10px; background: #fff;
  padding: 24px 24px 20px; display: flex; flex-direction: column;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.guide-card:hover { border-color: var(--sky); box-shadow: 0 6px 22px rgba(15, 28, 46, .07); }
.guide-card .gc-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 8px;
}
.guide-card h2 {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px;
  line-height: 1.2; color: var(--ink); margin: 0 0 8px;
}
.guide-card p {
  font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.55;
  color: var(--body); margin: 0 0 18px; flex: 1;
}
.guide-card .gc-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.guide-card .gc-download {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; color: #fff;
  background: var(--sky); padding: 9px 16px; border-radius: 6px; text-decoration: none;
}
.guide-card .gc-download:hover { background: var(--slate); }
.guide-card .gc-learn { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: var(--slate); text-decoration: none; }
.guide-card .gc-learn:hover { text-decoration: underline; }

/* ── Closing CTA band ──────────────────────────────────────── */
.guides-cta { max-width: 820px; margin: 28px auto 0; padding: 28px 24px 56px; text-align: center; }
.guides-cta .gx { background: var(--frost); border: 1px solid var(--rule); border-radius: 12px; padding: 32px 28px; }
.guides-cta h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; color: var(--ink); margin: 0 0 8px; }
.guides-cta p { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--body); margin: 0 0 18px; }
.guides-note {
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--body);
  text-align: center; max-width: 720px; margin: 18px auto 0; opacity: .85; line-height: 1.5;
}

@media (max-width: 600px) {
  .guides-hero { padding-top: 40px; }
  .guides-hero h1 { font-size: 32px; }
  .guide-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Per-feature landing pages (/guides/<feature>) — flow B:
   value → capture → thank-you (instant download + trial CTA).
   ============================================================ */
.lp-wrap { max-width: 640px; margin: 0 auto; padding: 0 24px; }

.lp-hero { text-align: center; padding: 52px 0 22px; }
.lp-hero .eyebrow { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin: 0 0 10px; }
.lp-hero h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 34px; line-height: 1.12; color: var(--ink); margin: 0 0 14px; }
.lp-hero p { font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }

.lp-points { list-style: none; margin: 0 auto 26px; padding: 0; max-width: 560px; }
.lp-points li { font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--rule); }
.lp-points li:last-child { border-bottom: 0; }
.lp-points li::before { content: "\2713"; position: absolute; left: 4px; top: 9px; color: var(--sky); font-weight: 700; }

/* capture form card */
.lp-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 26px 24px 22px; box-shadow: 0 6px 22px rgba(15, 28, 46, .06); }
.lp-card h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; color: var(--ink); margin: 0 0 4px; text-align: center; }
.lp-card .lp-card-sub { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: var(--body); margin: 0 0 18px; text-align: center; }
.lp-field { font-family: 'DM Sans', sans-serif; width: 100%; box-sizing: border-box; font-size: 15px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 7px; color: var(--ink); }
.lp-field:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--ice); }
.lp-field.is-invalid { border-color: var(--error); }
.lp-err { font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: var(--error); margin: 6px 2px 0; }
.lp-consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 2px 0; font-family: 'DM Sans', sans-serif; font-size: 12.5px; line-height: 1.45; color: var(--body); }
.lp-consent input { margin-top: 2px; flex-shrink: 0; }
.lp-submit { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .03em; width: 100%; margin-top: 16px; padding: 13px 16px; border: 0; border-radius: 7px; background: var(--sky); color: #fff; cursor: pointer; }
.lp-submit:hover { background: var(--slate); }
.lp-fine { font-family: 'DM Sans', sans-serif; font-size: 11.5px; color: var(--body); text-align: center; margin: 12px 0 0; opacity: .85; }
.lp-fine a { color: var(--slate); }

/* thank-you state */
.lp-thanks-shell { padding: 52px 0 22px; }
.lp-thanks { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 30px 28px; text-align: center; box-shadow: 0 6px 22px rgba(15, 28, 46, .06); }
.lp-thanks .lp-check { width: 46px; height: 46px; border-radius: 50%; background: var(--ice); color: var(--sky); font-size: 24px; line-height: 46px; margin: 0 auto 12px; }
.lp-thanks h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 24px; color: var(--ink); margin: 0 0 6px; }
.lp-thanks .lp-sub { font-family: 'DM Sans', sans-serif; font-size: 14.5px; color: var(--body); margin: 0 0 18px; }
.lp-dl { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--sky); padding: 11px 22px; border-radius: 7px; }
.lp-dl:hover { background: var(--frost); }
.lp-divider { height: 1px; background: var(--rule); margin: 26px 0 22px; }
.lp-trial-h { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.lp-trial-p { font-family: 'DM Sans', sans-serif; font-size: 14.5px; line-height: 1.55; color: var(--body); margin: 0 0 18px; }
.lp-trial-btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--ink); padding: 13px 26px; border-radius: 7px; }
.lp-trial-btn:hover { background: var(--slate); }
.lp-emailed { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--body); margin: 14px 0 0; opacity: .85; }

.lp-foot-note { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--body); text-align: center; max-width: 560px; margin: 26px auto 52px; opacity: .85; line-height: 1.5; padding: 0 24px; }

@media (max-width: 600px) {
  .lp-hero { padding-top: 38px; }
  .lp-hero h1 { font-size: 28px; }
}
