@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=DM+Sans:wght@400;600&display=swap');

:root {
  --paper: #FAF8F4;
  --ink: #2C2C2C;
  --blue: #1A6FD4;
  --sage: #4A7C6E;
  --muted: #8B8680;
}

@page {
  size: letter;
  margin: 0.6in;
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 11pt;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 56pt;
  color: var(--ink);
  text-align: center;
  line-height: 0.95;
  margin: 0 0 0.2em 0;
}

h2 {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 36pt;
  color: var(--blue);
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  line-height: 1;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13pt;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 0.4em;
  margin-top: 0;
}

p { margin: 0 0 12px 0; }

a { color: var(--blue); text-decoration: none; }

.subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14pt;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  margin: 0 0 1.2em 0;
}

.step {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--paper);
  font-family: 'Caveat', cursive;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-body {
  flex: 1;
  padding-top: 4px;
}

.path-card {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  background: white;
}

.path-card h3 {
  margin-top: 0;
  color: var(--ink);
}

.path-card .arrow {
  color: var(--blue);
  font-weight: 600;
}

.callout {
  background: white;
  border-left: 4px solid var(--sage);
  padding: 14px 18px;
  margin: 18px 0;
  font-style: italic;
  color: var(--ink);
}

.faq-item { margin-bottom: 14px; }

.faq-q {
  font-weight: 600;
  color: var(--ink);
}

.faq-a {
  color: var(--ink);
  margin-top: 2px;
}

.flourish {
  display: block;
  margin: 8px auto 24px;
  width: 120px;
  height: 12px;
  color: var(--sage);
}

.page-break { page-break-before: always; }

.footer-badge {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 32px;
  font-size: 11pt;
  color: var(--muted);
}

.footer-badge img {
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.contact-line {
  text-align: center;
  font-size: 10pt;
  color: var(--muted);
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   SCREEN-ONLY: Hybrid slim header for doc pages.
   Hidden in PDF print so WeasyPrint output is unchanged.
───────────────────────────────────────────── */
.help-header { display: none; }

@media screen {
  .help-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(44, 44, 44, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 40px;
  }
  .help-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .help-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .help-header-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .help-header-logo .help-header-wordmark {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 22px;
    color: rgba(255,255,255,0.78);
    line-height: 1;
    letter-spacing: 0.01em;
    transition: color 0.2s;
  }
  .help-header-logo:hover .help-header-wordmark { color: #fff; }

  .help-header-back {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 7px 16px;
    border-radius: 980px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }
  .help-header-back:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.04);
  }
  .help-header-back .arrow {
    display: inline-block;
    transition: transform 0.2s;
    margin-right: 4px;
  }
  .help-header-back:hover .arrow { transform: translateX(-3px); }

  /* Constrain doc content inwards on screen so it reads like an
     article instead of running edge-to-edge. The header stays full-bleed
     because it is excluded from the rule via :not(.help-header). */
  body > *:not(.help-header) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  body > .page-break {
    padding: 0;
    height: 0;
  }
  body { padding-bottom: 56px; }

  @media (max-width: 900px) {
    .help-header-inner { padding: 0 20px; height: 60px; }
    .help-header-logo img { height: 32px; }
    .help-header-logo .help-header-wordmark { font-size: 20px; }
    .help-header-back { padding: 6px 12px; font-size: 12px; }
    body > *:not(.help-header) { padding-left: 20px; padding-right: 20px; }
  }
  @media (max-width: 480px) {
    .help-header-logo .help-header-wordmark { display: none; }
  }
}
