/*
 * Shared page chrome (nav + footer) used by the public pages:
 *   templates/index_modern.html
 *   templates/policies_and_legal_docs.html
 *   templates/index_faq.html  (base for all FAQ child pages)
 *
 * Markup lives in templates/_pc_nav.html and templates/_pc_footer.html.
 * Edit any nav/footer style here so all three pages stay in sync.
 */

:root {
    --green: #10B981;
    --green-deep: #047857;
    --green-soft: #D1FAE5;
    --green-mist: #ECFDF5;
    --ink: #1F3A2E;
    --paper: #FAF7F0;
    --paper-warm: #F0E9D8;
    --quiet: #4B6358;
}

/* ---------- Nav ---------- */
.pc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 6vw;
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 50;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pc-nav .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ink);
    text-decoration: none;
}
.pc-nav .brand img { height: 40px; width: auto; display: block; }
.pc-nav .actions a,
.pc-nav .actions button {
    margin-left: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    border: 0;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
}
.pc-nav .login { color: var(--ink); background: transparent; }
.pc-nav .signup { color: var(--paper); background: var(--green); }
.pc-nav .signup:hover { background: var(--green-deep); }
.pc-nav .actions { display: flex; align-items: center; }
.pc-nav form { display: inline; margin: 0; }

/* ---------- Footer ---------- */
.pc-foot {
    background: var(--paper-warm);
    color: var(--ink);
    padding: 50px 6vw 30px;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pc-foot .row-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1180px;
    margin: 0 auto;
}
.pc-foot a { color: var(--ink); text-decoration: none; opacity: 0.75; }
.pc-foot a:hover { opacity: 1; color: var(--green-deep); }
.pc-foot .links { display: flex; gap: 22px; flex-wrap: wrap; }
.pc-foot .copyright {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(31, 58, 46, 0.15);
    opacity: 0.65;
    font-size: 0.85rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Policies & FAQ content typography ---------- */
/* Tighten dense legal/help content: smaller body type, clear heading
   hierarchy, breathing room between sections and lists.               */
#policies, #faq {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.65;
}
#policies .card-modern,
#faq .card-modern {
    background: #FFFFFF;
    border: 1px solid rgba(31, 58, 46, 0.12);
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 18px rgba(31, 58, 46, 0.04);
}
#policies h3,
#faq h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 1rem;
    font-family: 'Poppins', 'Inter', sans-serif;
}
#policies h4,
#faq h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.5rem 0 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}
#policies p,
#faq p {
    margin: 0 0 0.75rem;
    color: var(--quiet);
}
#policies ul,
#faq ul {
    margin: 0 0 1rem 1.25rem;
    padding-left: 0.25rem;
}
#policies li,
#faq li {
    margin-bottom: 0.35rem;
    color: var(--quiet);
}
#policies a,
#faq a {
    color: var(--green-deep);
    text-decoration: underline;
}
#policies a:hover,
#faq a:hover {
    color: var(--green);
}
/* The page title above the cards */
#policies > .container > .row > .col-lg-10 > h3 {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 2rem;
    line-height: 1.3;
}
