/* =============================================
   Backup Sorcery — product page styles
   Scoped to the bs- prefix. Consumes tokens from css/style.css :root.
   Product accent #185FA5 is used only for fills (buttons, step numbers, pill)
   where white text sits on top; on the dark background it is too low-contrast
   to use as text/link colour, so links keep the site accent.
   ============================================= */

:root {
    --bs-accent: #185FA5;
    --bs-accent-hover: #1E70C1;
}

/* --- Header additions --- */

.bs-lang-note {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.help-nav a.bs-header-cta {
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9rem;
}

.help-nav a.bs-header-cta:hover {
    color: #fff;
}

/* --- Buttons --- */

.btn.bs-btn,
.help-nav a.bs-header-cta {
    background-color: var(--bs-accent);
    color: #fff;
}

.btn.bs-btn:hover,
.help-nav a.bs-header-cta:hover {
    background-color: var(--bs-accent-hover);
    color: #fff;
    box-shadow: 0 4px 20px rgba(24, 95, 165, 0.45);
}

/* --- Layout blocks --- */

.bs-main {
    display: block;
}

.bs-section {
    padding: 80px 0;
}

.bs-section--alt {
    background-color: var(--bg-card);
}

.bs-section--tight {
    padding: 40px 0;
}

.bs-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 32px;
}

/* --- Hero --- */

.bs-hero {
    padding-top: calc(var(--header-h) + 90px);
    padding-bottom: 90px;
}

.bs-hero-inner {
    max-width: 820px;
}

.bs-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.bs-hero-title {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.bs-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 680px;
}

.bs-status {
    margin-bottom: 28px;
}

.bs-pill {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--bs-accent);
    background: rgba(24, 95, 165, 0.18);
    border-radius: 999px;
    padding: 4px 14px;
}

.bs-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.bs-link-secondary {
    font-weight: 600;
}

/* --- Why cards --- */

.bs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bs-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.bs-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.bs-card-body {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- How it works --- */

.bs-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0 0 28px;
}

.bs-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.bs-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bs-accent);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.bs-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bs-step-body {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.bs-muted-line {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* --- FAQ --- */

.bs-faq-wrap {
    max-width: 820px;
}

.bs-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    margin-bottom: 12px;
}

.bs-faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    list-style-position: inside;
}

.bs-faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.bs-faq-item p {
    padding: 0 20px 18px;
    color: var(--text-muted);
}

/* --- Tech strip --- */

.bs-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.bs-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
}

/* --- Final CTA --- */

.bs-final-cta {
    text-align: center;
}

/* --- Notify page --- */

.bs-notify {
    padding-top: calc(var(--header-h) + 40px);
    max-width: 640px;
}

/* --- Footer --- */

.bs-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
}

.bs-footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bs-footer-links a:hover {
    color: var(--text);
}

/* --- Responsive --- */

@media (max-width: 960px) {
    .bs-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bs-section {
        padding: 56px 0;
    }

    .bs-hero {
        padding-top: calc(var(--header-h) + 56px);
        padding-bottom: 56px;
    }

    .bs-grid-3,
    .bs-steps {
        grid-template-columns: 1fr;
    }

    .help-nav a.bs-header-cta {
        display: inline-block;
        margin-top: 4px;
    }
}

/* --- Consent checkbox + privacy page --- */

.bs-consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bs-consent input[type="checkbox"] {
    margin-top: 5px;
    flex: none;
}

.bs-check-marker {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(248, 81, 73, 0.15);
    border: 1px solid #F85149;
    border-radius: 4px;
    color: var(--text);
    font-weight: 600;
}
