/* ==========================================================================
   YOUR PARENTS KEEPER — Site stylesheet
   Brand Kit v1.0 · Navy #1A2B5C · Warm Gold #C9A84C · Parchment #F8F7F4
   Montserrat (headlines) + Lato (body). One decorative element: the gold rule.
   ========================================================================== */

:root {
  --navy: #1A2B5C;
  --navy-deep: #14224A;
  --gold: #C9A84C;
  --gold-dark: #B6963E;
  --parchment: #F8F7F4;
  --charcoal: #3D3D3D;
  --warm-gray: #8A8578;
  --line: rgba(26, 43, 92, 0.12);
  --shadow: 0 2px 8px rgba(26, 43, 92, 0.06);
  --radius: 5px;
  --max: 1140px;
  --measure: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Lato", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) { body { font-size: 18px; } }

h1, h2, h3, h4 { font-family: "Montserrat", "Lato", sans-serif; color: var(--navy); line-height: 1.2; }
h1 { font-weight: 800; font-size: 32px; letter-spacing: -0.01em; }
h2 { font-weight: 700; font-size: 26px; }
h3 { font-weight: 600; font-size: 20px; }
@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  h3 { font-size: 22px; }
}

p + p { margin-top: 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }

/* The gold rule — the one decorative move -------------------------------- */
.rule {
  display: block; width: 60px; height: 2px;
  background: var(--gold); border: 0;
  margin: 14px 0 0;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* Layout ------------------------------------------------------------------ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.measure { max-width: var(--measure); }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3, .section--navy p, .section--navy li { color: #fff; }
.section--navy .muted { color: rgba(255,255,255,0.75); }
.section-lead { margin-top: 18px; max-width: var(--measure); }
.muted { color: var(--warm-gray); }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Buttons — one button style, site-wide ----------------------------------- */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: 0.02em;
  background: var(--gold); color: var(--navy);
  padding: 14px 28px; min-height: 48px;
  border: 2px solid var(--gold); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }
.btn--ghost-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-navy:hover { background: rgba(26,43,92,0.05); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Accessibility ------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 20px; z-index: 200;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Announcement bar ---------------------------------------------------------- */
.announce {
  background: var(--parchment); border-bottom: 1px solid var(--line);
  font-size: 15px; text-align: center; padding: 9px 44px; position: relative;
}
.announce a { font-weight: 700; }
.announce button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; font-size: 20px; line-height: 1;
  color: var(--warm-gray); cursor: pointer; padding: 8px 12px;
}

/* Header -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.wordmark {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.wordmark small {
  display: block; font-weight: 600; font-size: 9px; letter-spacing: 0.22em;
  color: var(--warm-gray); margin-top: 2px;
}
.nav-toggle { display: none; }
.nav-burger {
  display: none; cursor: pointer; padding: 12px; border-radius: var(--radius);
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0;
}
.site-nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.site-nav a {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.03em; text-decoration: none; color: var(--navy);
  padding: 8px 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-dark); }
.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 11px 20px; font-size: 14px; min-height: 44px; }

@media (max-width: 920px) {
  .nav-burger { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--parchment); border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav a { display: block; padding: 12px 4px; font-size: 16px; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* Hero ----------------------------------------------------------------------- */
.hero { background: var(--navy); color: #fff; padding: 72px 0 80px; }
@media (min-width: 768px) { .hero { padding: 110px 0 118px; } }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .rule { margin-top: 22px; }
.hero-sub { margin-top: 24px; font-size: 18px; max-width: 58ch; color: rgba(255,255,255,0.92); }
@media (min-width: 768px) { .hero-sub { font-size: 20px; } }
.hero-trust { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,0.7); }

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp 0.7s ease forwards; }
.fade-up.d1 { animation-delay: 0.12s; }
.fade-up.d2 { animation-delay: 0.24s; }
.fade-up.d3 { animation-delay: 0.36s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Cards & grids ---------------------------------------------------------------- */
.grid-3 { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 12px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card p { margin-bottom: 20px; }
.card .price {
  font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy);
  font-size: 15px; margin-bottom: 18px;
}

/* Vignettes -------------------------------------------------------------------- */
.vignette { border-left: 2px solid var(--gold); padding-left: 20px; }
.vignette h3 { font-size: 18px; }

/* Steps -------------------------------------------------------------------------- */
.step-num {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 15px;
  color: var(--gold); letter-spacing: 0.12em;
}

/* Phase strip ---------------------------------------------------------------------- */
.phases { list-style: none; counter-reset: phase; margin-top: 44px; display: grid; gap: 0; }
.phases li { counter-increment: phase; position: relative; padding: 0 0 26px 46px; }
.phases li::before {
  content: counter(phase);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.phases li::after {
  content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px;
  width: 2px; background: var(--gold); opacity: 0.5;
}
.phases li:last-child::after { display: none; }
.phases h3 { font-size: 17px; margin-bottom: 4px; }
.phases p { font-size: 15px; color: var(--warm-gray); }
@media (min-width: 900px) {
  .phases { grid-template-columns: repeat(7, 1fr); gap: 18px; }
  .phases li { padding: 46px 0 0 0; }
  .phases li::before { top: 0; left: 0; }
  .phases li::after {
    left: 38px; right: -18px; top: 14px; bottom: auto; width: auto; height: 2px;
  }
}

/* Founder ---------------------------------------------------------------------------- */
.founder { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) { .founder { grid-template-columns: 2fr 3fr; } }
.founder-photo {
  background: var(--navy); border-radius: var(--radius); min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 14px; text-align: center; padding: 20px;
}

.founder-img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); object-fit: cover;
}

/* Testimonials -------------------------------------------------------------------------- */
.quote { font-size: 18px; line-height: 1.55; }
.quote footer { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.7); }

/* Lead magnet / forms --------------------------------------------------------------------- */
.magnet-card {
  background: #fff; border: 1px solid var(--navy); border-radius: var(--radius);
  padding: 40px 26px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
@media (min-width: 768px) { .magnet-card { padding: 52px 56px; } }
.email-form { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
@media (min-width: 560px) { .email-form { flex-direction: row; } }
.email-form input[type="email"], .field input, .field textarea, .field select {
  font: inherit; color: var(--charcoal);
  padding: 13px 16px; min-height: 48px; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.email-form input[type="email"] { flex: 1; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--warm-gray); }

.field { margin-top: 18px; }
.field label {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 14px; color: var(--navy); margin-bottom: 6px;
}
.field textarea { min-height: 120px; resize: vertical; }

/* Quiz -------------------------------------------------------------------------------------- */
.quiz-options { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.quiz-options button {
  font: inherit; text-align: left; width: 100%;
  background: #fff; color: var(--charcoal);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; min-height: 48px; cursor: pointer;
  transition: border-color 0.15s ease;
}
.quiz-options button:hover { border-color: var(--gold); }
.quiz-result {
  margin-top: 36px; background: #fff; border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
}
[hidden] { display: none !important; }

/* Tables -------------------------------------------------------------------------------------- */
.tier-table { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 16px; }
.tier-table th, .tier-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tier-table th { font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.tier-table .price-cell { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Final CTA -------------------------------------------------------------------------------------- */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; max-width: 22ch; margin: 0 auto; }
.final-cta p { max-width: 52ch; margin: 18px auto 0; }
.final-cta .btn { margin-top: 30px; }

/* Footer -------------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr 1.6fr; } }
.site-footer h4 {
  color: #fff; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-wordmark { font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: 0.18em; font-size: 14px; color: #fff; text-transform: uppercase; }
.footer-tag { margin-top: 10px; color: rgba(255,255,255,0.65); }
.footer-fine { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.65); }
.footer-fine p + p { margin-top: 10px; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* Page hero (interior pages) ---------------------------------------------------------------------------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 18px; max-width: 60ch; color: rgba(255,255,255,0.9); }

/* Utility ------------------------------------------------------------------------------------------------- */
.mt-lg { margin-top: 40px; }
.checklist { list-style: none; margin-top: 24px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
