/* =====================================================================
   MyHostVault — public website stylesheet
   Hand-written CSS, no build step. Mobile-first, system fonts, no external
   requests. Sections: tokens, base, layout, header, hero, sections, cards,
   pricing, steps, FAQ, forms, prose, footer, utilities, responsive.
   ===================================================================== */

/* ---------- Typeface (self-hosted Inter, variable 400-800, latin subset; no external requests) ---------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
    --navy: #0b1f3a;
    --navy-700: #12295a;
    --primary: #1d4ed8;
    --primary-600: #1e40af;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --accent: #3b82f6;

    --text: #0f172a;
    --text-muted: #5b6b82;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --bg: #ffffff;
    --bg-muted: #f6f8fb;
    --success: #15803d;
    --success-bg: #ecfdf5;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --container: 1140px;
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3rem); }
h2 { font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; vertical-align: middle; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

table { border-collapse: collapse; width: 100%; }

button { font-family: inherit; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 56px 0; }
.section--muted { background: var(--bg-muted); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__title { margin-bottom: 0.4em; }
.section__lead { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.narrow { max-width: 760px; margin: 0 auto; }
.narrow-wide { max-width: 860px; margin: 0 auto; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.split__content > .btn { margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg-muted); border-color: var(--navy); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-muted); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--primary-50); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-lg { padding: 13px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { flex: none; }
.brand__logo { display: block; height: 44px; width: auto; max-width: 60vw; }
.brand__logo--lg { height: 52px; }
.brand__logo--sm { height: 36px; }
@media (max-width: 639px) { .brand__logo { height: 38px; } .brand__logo--lg { height: 44px; } .brand__logo--sm { height: 32px; } }
.brand__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.brand__name span { color: var(--primary); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: #93c5fd; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}
.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: block; }

.site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}
.site-header.is-open .site-nav { display: block; }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__link {
    display: block;
    padding: 12px 8px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.site-nav__link:hover { background: var(--bg-muted); text-decoration: none; }
.site-nav__link.is-active { color: var(--primary); font-weight: 600; }

.site-nav__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.site-nav__actions .btn { width: 100%; }

.announcement { background: var(--primary-50); color: var(--navy); padding: 10px 0; text-align: center; font-size: 0.95rem; border-bottom: 1px solid var(--primary-100); }

/* ---------- Hero ---------- */
.hero {
    padding: 56px 0 48px;
    background: linear-gradient(180deg, var(--primary-50) 0%, #ffffff 100%);
}
.hero__inner { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
.hero__title { margin-bottom: 18px; }
.hero__text { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__actions--center { justify-content: center; margin-top: 24px; margin-bottom: 0; }
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; color: var(--text); font-size: 0.95rem; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--success); flex: none; }

.hero__card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.hero__card-label { font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 6px; }
.hero__card-price { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.hero__card-from { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-right: 4px; }
.hero__card-per { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.hero__card-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.hero__card-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.hero__card-list li { display: flex; align-items: flex-start; gap: 8px; }
.hero__card-list .icon { color: var(--success); flex: none; margin-top: 3px; }

/* Inner-page hero */
.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--primary-50) 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.page-hero--compact { padding: 36px 0 28px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero__text { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero__meta { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Cards ---------- */
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--primary-100); }
.feature-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
    margin-bottom: 14px;
}
.feature-card__title { font-size: 1.1rem; margin-bottom: 6px; }
.feature-card__text { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 10px; }
.info-card h3 .icon { color: var(--primary); }
.info-card .btn { margin-top: 8px; }

.why-grid { gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item > .icon { flex: none; color: var(--primary); margin-top: 2px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why-item p { color: var(--text-muted); margin: 0; }

.check-list, .plain-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; }
.check-list .icon { color: var(--success); flex: none; margin-top: 4px; }
.plain-list li { padding-left: 14px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.plain-list li.is-selected { font-weight: 600; color: var(--primary); }

.empty-note { text-align: center; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.cycle-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    margin: 0 auto 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
}
.pricing { text-align: center; }
.cycle-toggle__btn {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.cycle-toggle__btn:hover { color: var(--navy); }
.cycle-toggle__btn.is-active { background: var(--navy); color: #fff; }

.pricing__grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; }
.pricing__note { margin-top: 24px; color: var(--text-muted); font-size: 0.92rem; max-width: 640px; margin-left: auto; margin-right: auto; }

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px 22px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}
.plan-card.is-featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-card__badge {
    position: absolute; top: -13px; left: 24px;
    margin: 0;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.plan-card__name { font-size: 1.3rem; margin-bottom: 4px; }
.plan-card__tagline { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.plan-card__head { margin-bottom: 18px; }
.plan-card__price { margin-bottom: 18px; min-height: 84px; }
.plan-card__amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 0 0 6px; }
.plan-card__currency { font-size: 1.6rem; font-weight: 700; vertical-align: top; margin-right: 2px; }
.plan-card__per { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.plan-card__total { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.plan-card__save { display: inline-block; margin-left: 6px; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 0.78rem; padding: 2px 8px; border-radius: 999px; }
.plan-card__features { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 0.95rem; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 8px; }
.plan-card__features .icon { color: var(--success); flex: none; margin-top: 3px; }
.plan-card__terms { margin-top: 18px; font-size: 0.9rem; }
.plan-card__terms summary { cursor: pointer; color: var(--primary); font-weight: 600; list-style: none; }
.plan-card__terms summary::-webkit-details-marker { display: none; }
.plan-card__terms summary::after { content: " ▾"; }
.plan-card__terms[open] summary::after { content: " ▴"; }
.plan-card__terms-table { margin-top: 10px; }
.plan-card__terms-table th, .plan-card__terms-table td { padding: 6px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 500; }
.plan-card__terms-table td { text-align: right; }
.plan-card__terms-table .muted { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 32%; color: var(--navy); font-weight: 600; background: #fff; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--border); }
.spec-table { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.spec-table th, .spec-table td { border-top: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
.steps__item { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 20px 22px; }
.steps__number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}
.steps__title { font-size: 1.05rem; margin-bottom: 4px; }
.steps__text { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.steps--compact { gap: 12px; }
.steps--compact .steps__item { display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; padding: 14px 16px; align-items: start; }
.steps--compact .steps__number { margin: 0; grid-row: 1 / span 2; }
.steps--compact .steps__title { font-size: 1rem; margin: 0; }
.steps--compact .steps__text { font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.faq__item[open] { border-color: var(--primary-100); }
.faq__question {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__chevron { flex: none; color: var(--text-muted); transition: transform 0.2s ease; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 18px 18px; color: var(--text-muted); }

.faq-page { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.faq-page__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-page__nav a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); font-size: 0.9rem; font-weight: 500; }
.faq-page__nav a:hover { background: var(--bg-muted); text-decoration: none; }
.faq-page__group + .faq-page__group { margin-top: 36px; }
.faq-page__group h2 { font-size: 1.4rem; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr; }
.form__field { display: grid; gap: 6px; }
.form__field label { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.form__field .optional { color: var(--text-muted); font-weight: 400; }
.form__field input, .form__field textarea, .form__field select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}
.form__field [aria-invalid="true"] { border-color: var(--danger); }
.form__field textarea { resize: vertical; min-height: 140px; }
.form__error { color: var(--danger); font-size: 0.9rem; margin: 0; }
.form__hint { color: var(--text-muted); font-size: 0.88rem; margin: 0; }
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); margin-bottom: 22px; border: 1px solid transparent; }
.alert p { margin: 4px 0 0; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.alert--success .icon { flex: none; margin-top: 2px; }
.alert--danger { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }

.split--form .split__panel .info-card p { margin-bottom: 6px; }

/* ---------- Knowledge base ---------- */
.kb-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 16px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 6px 6px 6px 14px; }
.kb-search .icon { color: var(--text-muted); flex: none; }
.kb-search input { flex: 1; border: 0; font: inherit; padding: 8px 0; min-width: 0; background: transparent; }
.kb-search input:focus { outline: none; }
.kb-results { color: var(--text-muted); margin-bottom: 24px; }
.kb-category h2 { font-size: 1.25rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-100); }
.kb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kb-list a { font-weight: 600; color: var(--navy); }
.kb-list a:hover { color: var(--primary); }
.kb-list p { margin: 2px 0 0; color: var(--text-muted); font-size: 0.93rem; }
.kb-article { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }

/* ---------- Prose (Markdown content) ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy); }
.prose blockquote p { margin: 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--bg-muted); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }
.prose pre { overflow-x: auto; background: var(--navy); color: #e2e8f0; padding: 16px; border-radius: var(--radius-sm); }
.prose pre code { background: transparent; border: 0; color: inherit; padding: 0; }
.prose table { display: block; overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-muted); color: var(--navy); font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose strong { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band__inner { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
.cta-band__title { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2vw + 0.6rem, 2rem); }
.cta-band__text { color: #cbd5e1; margin: 0; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 56px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.site-footer__tagline { color: #fff; font-weight: 600; margin: 16px 0 8px; }
.site-footer__note { color: #94a3b8; font-size: 0.9rem; max-width: 360px; }
.site-footer__heading { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8; font-size: 0.88rem;
}
.site-footer__bottom p { margin: 0; }

/* ---------- Support widgets (WhatsApp button; chat widgets render their own UI) ---------- */
.wa-button {
    position: fixed; right: 18px; bottom: 18px; z-index: 95;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px; border-radius: 999px;
    background: #25d366; color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45); color: #fff; text-decoration: none; }
.wa-button svg { width: 26px; height: 26px; flex: none; }
.wa-button small { display: block; font-weight: 500; font-size: 0.74rem; opacity: 0.9; }
.wa-button { bottom: calc(18px + var(--sticky-h, 0px)); transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.3s ease; }
.wa-button--with-chat { bottom: calc(92px + var(--sticky-h, 0px)); }
@media (max-width: 639px) {
    .wa-button span { display: none; }
    .wa-button { padding: 0; width: 54px; height: 54px; justify-content: center; right: 14px; bottom: calc(14px + var(--sticky-h, 0px)); }
    .wa-button svg { width: 28px; height: 28px; }
}

/* ---------- Error pages ---------- */
.error-page { padding: 96px 0; }
.error-page h1 { margin-bottom: 12px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.mt-4 { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .section { padding: 72px 0; }
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .form__row { grid-template-columns: 1fr 1fr; }
    .hero__points { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid--2, .pricing__grid--3 { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .hero { padding: 80px 0 72px; }
    .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
    .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
    .split--form { grid-template-columns: 1.4fr 0.8fr; }
    .steps { grid-template-columns: repeat(5, 1fr); }
    .steps--compact { grid-template-columns: 1fr; }
    .pricing__grid--3 { grid-template-columns: repeat(3, 1fr); }
    .cta-band__inner { grid-template-columns: 1.4fr auto; }
    .faq-page { grid-template-columns: 220px 1fr; }
    .faq-page__nav { position: sticky; top: calc(var(--header-h) + 24px); }
    .faq-page__nav ul { flex-direction: column; gap: 4px; }
    .faq-page__nav a { border: 0; padding: 8px 12px; border-radius: var(--radius-sm); display: block; }
    .kb-article { grid-template-columns: minmax(0, 1fr) 300px; }
    .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }

    /* Desktop navigation */
    .nav-toggle { display: none; }
    .site-nav {
        display: flex !important;
        position: static;
        align-items: center;
        gap: 20px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        max-height: none;
        overflow: visible;
    }
    .site-nav__list { display: flex; gap: 4px; }
    .site-nav__link { padding: 8px 12px; font-size: 0.95rem; }
    .site-nav__actions { flex-direction: row; margin: 0; gap: 8px; }
    .site-nav__actions .btn { width: auto; }
}

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

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle, .skip-link { display: none !important; }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
}
