/* Vendee Pro SEO Pages - Shared Styles */
:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-alt: #f1f3f7;
    --ink: #1f2638;
    --ink-soft: #4b5365;
    --muted: #6b7280;
    --line: #e6e8ee;
    --brand: #f96a6b;
    --brand-ink: #c64243;
    --brand-soft: #fff5f4;
    --navy: #364057;
    --navy-deep: #1f2638;
    --emerald: #10b981;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

/* Site header */
header.site {
    background: var(--navy);
    color: #fff;
    padding: 16px 24px;
    border-bottom: 3px solid var(--brand);
    position: sticky; top: 0; z-index: 50;
}
header.site .wrap { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
header.site a { color: #fff; text-decoration: none; }
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
header.site .brand-logo { height: 32px; width: auto; max-width: 200px; display: block; }
header.site .logo {
    width: 36px; height: 36px;
    background: url('/icons/default.svg') center/contain no-repeat;
    display: inline-block;
    font-size: 0; color: transparent; /* hide fallback "VP" text */
    flex-shrink: 0;
}
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; flex-wrap: wrap; }
header.site nav a { opacity: 0.85; }
header.site nav a:hover { opacity: 1; }
header.site .cta {
    background: var(--brand); color: #fff;
    padding: 8px 16px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    transition: background 0.15s ease;
}
header.site .cta:hover { background: var(--brand-ink); opacity: 1; }
@media (max-width: 720px) {
    header.site nav { gap: 14px; font-size: 13px; }
    header.site nav a:not(.cta) { display: none; }
    header.site .cta { display: inline-block; }
}

/* Page hero */
.hero {
    background: linear-gradient(180deg, #f7f8fa 0%, #eef0f5 100%);
    padding: 72px 24px 56px;
    border-bottom: 1px solid var(--line);
}
.hero .wrap { max-width: 880px; margin: 0 auto; text-align: center; }
.hero .eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    color: var(--brand-ink);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 14px;
    padding: 4px 10px;
    background: var(--brand-soft);
    border-radius: 999px;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: var(--ink);
}
.hero .lede {
    font-size: clamp(17px, 2vw, 19px);
    color: var(--ink-soft);
    margin: 0 auto 28px;
    max-width: 640px;
    line-height: 1.55;
}
.hero .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 10px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: transform 0.1s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-soft); }

/* Body content */
main {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}
main h2 {
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 48px 0 14px;
    color: var(--ink);
}
main h2:first-child { margin-top: 0; }
main h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 28px 0 8px;
    color: var(--ink);
}
main h4 {
    font-size: 15px;
    margin: 20px 0 6px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
main p, main li {
    color: var(--ink-soft);
    font-size: 16.5px;
}
main p { margin: 0 0 14px; }
main ul, main ol { margin: 0 0 18px; padding-left: 22px; }
main li { margin-bottom: 8px; }
main strong { color: var(--ink); font-weight: 600; }
main blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 4px solid var(--brand);
    background: var(--brand-soft);
    border-radius: 6px;
    font-size: 16px;
    color: var(--ink);
}

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card a { color: inherit; text-decoration: none; }
.card h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--ink);
}
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.card .arrow {
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
    display: inline-block;
}

/* Feature list pill */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pill {
    display: inline-flex; align-items: center;
    padding: 6px 12px; border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink);
    font-size: 13.5px;
    border: 1px solid var(--line);
}

/* Highlight callout */
.callout {
    background: var(--brand-soft);
    border: 1px solid #f9c8c8;
    border-left: 4px solid var(--brand);
    padding: 18px 22px;
    border-radius: 10px;
    margin: 24px 0;
}
.callout strong { color: var(--brand-ink); }

.section-cta {
    background: var(--navy-deep);
    color: #fff;
    padding: 40px 32px;
    border-radius: 14px;
    margin: 48px 0 0;
    text-align: center;
}
.section-cta h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.section-cta p { color: rgba(255,255,255,0.7); margin: 0 0 18px; font-size: 15px; }
.section-cta .btn-primary { background: var(--brand); color: #fff; }

/* FAQ */
.faq details {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 16px 20px;
    margin-bottom: 10px;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    font-size: 16px;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    float: right;
    color: var(--brand-ink);
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; font-size: 15px; }

/* Searchable directory (Learn hub) - input + filtered card grid */
.directory {
    margin: 32px 0 8px;
}
.directory-search {
    position: relative;
    margin: 0 0 20px;
    max-width: 560px;
}
.directory-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px 14px 44px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.directory-search input::placeholder { color: var(--muted); }
.directory-search input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(249, 106, 107, 0.12);
}
.directory-search::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.directory-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: 12px;
    display: none;
}
.directory-empty.is-visible { display: block; }
.directory-group { margin-top: 28px; }
.directory-group h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 12px;
}
.directory-group.is-empty { display: none; }
.directory-card {
    display: block;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.directory-card:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
    color: inherit;
}
.directory-card.is-hidden { display: none; }
.directory-card .directory-card-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    margin: 0 0 4px;
}
.directory-card .directory-card-desc {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* Internal link block */
.related {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.related h2 { margin-top: 0; font-size: 22px; }

/* Footer */
footer.site {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.5);
    padding: 44px 24px;
    margin-top: 0;
}
footer.site .wrap {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px;
}
footer.site h4 {
    color: rgba(255,255,255,0.85);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
    margin: 0 0 12px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; font-size: 14px; }
footer.site a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .brandblock p { font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
footer.site .copy {
    max-width: 1100px; margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12.5px;
    color: rgba(255,255,255,0.35);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 720px) {
    footer.site .wrap { grid-template-columns: 1fr 1fr; }
}

/* Skip link for a11y */
.skip {
    position: absolute; left: -9999px;
    background: var(--brand); color: #fff; padding: 8px 14px;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; }

/* Trust strip */
.trust {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
}
.trust .wrap {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
    color: var(--muted); font-size: 13.5px;
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .dot { width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; display: inline-block; }
