/* /install/ — readable “manual” typography inside BTGuard .content-main only */

.install-docs-box {
    font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #1a2e1a;
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.install-docs__account-mismatch {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    border: 2px solid #ea580c;
    border-radius: 10px;
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    color: #7c2d12;
}

.install-docs__account-mismatch-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.05rem;
    border-radius: 8px;
    background: rgba(234, 88, 12, 0.18);
    color: #c2410c;
    font-size: 1.15rem;
    line-height: 1;
}

.install-docs__account-mismatch-body {
    min-width: 0;
    flex: 1;
}

.install-docs__account-mismatch-p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
}

.install-docs__account-mismatch-a {
    color: #b45309;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.install-docs__account-mismatch-a:hover {
    color: #92400e;
}

.install-docs__breadcrumb {
    margin: 0 0 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 107, 0, 0.18);
}

.install-docs__crumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    font-size: 0.88rem;
    color: #3d5c3d;
}

.install-docs__crumb:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #7a9a7a;
    font-weight: 400;
}

.install-docs__crumb a {
    color: #006b00;
    text-decoration: none;
    font-weight: 600;
}

.install-docs__crumb a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.install-docs__intro {
    font-size: 1.02rem;
    color: #3d523d;
    margin-bottom: 2rem;
    max-width: 40rem;
}

.install-docs__page-title {
    font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3.5vw, 1.95rem);
    font-weight: 600;
    line-height: 1.28;
    color: #0a4a0a;
    margin: 0 0 0.5rem;
    text-shadow: none;
}

.install-docs__section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5a7a5a;
    margin: 2.25rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 107, 0, 0.15);
}

.install-docs__section-title:first-of-type {
    margin-top: 0.5rem;
}

.install-docs__cards {
    display: grid;
    gap: 0.75rem;
}

.install-docs__card {
    display: block;
    position: relative;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 107, 0, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 80, 0, 0.06);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.install-docs__card--recommended {
    border-width: 2px;
    border-color: rgba(21, 128, 61, 0.65);
    background: linear-gradient(155deg, rgba(255, 255, 255, 1) 0%, rgba(220, 252, 231, 0.92) 42%, rgba(187, 247, 208, 0.35) 100%);
    box-shadow:
        0 0 0 1px rgba(21, 128, 61, 0.12),
        0 4px 20px rgba(21, 128, 61, 0.18);
    padding-top: 1.85rem;
}

.install-docs__card--recommended:hover {
    border-color: rgba(21, 128, 61, 0.85);
    box-shadow:
        0 0 0 1px rgba(21, 128, 61, 0.2),
        0 6px 24px rgba(21, 128, 61, 0.22);
}

.install-docs__card-tab {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.32rem 0.65rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    border-radius: 0 7px 0 10px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35);
    pointer-events: none;
}

.install-docs__article-frame {
    position: relative;
}

.install-docs__article-frame--recommended {
    padding-top: 0.35rem;
    margin-top: -0.15rem;
}

.install-docs__card-tab--article {
    pointer-events: none;
    z-index: 2;
}

.install-docs__card:hover {
    border-color: rgba(0, 107, 0, 0.45);
    box-shadow: 0 4px 14px rgba(0, 100, 0, 0.1);
}

.install-docs__card-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #0a5c0a;
    margin: 0;
}

.install-docs__card-badge {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: #006b00;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 60, 0, 0.25);
}

/* Logged-in hub: emphasize the card that matches the member’s service */
.install-docs__cards--member-is-vpn .install-docs__card--vpn,
.install-docs__cards--member-is-proxy .install-docs__card--proxy {
    border-width: 2px;
    border-color: rgba(0, 107, 0, 0.55);
    background: linear-gradient(160deg, rgba(255, 255, 255, 1) 0%, rgba(236, 253, 236, 0.98) 55%, rgba(220, 248, 220, 0.95) 100%);
    box-shadow: 0 4px 18px rgba(0, 100, 0, 0.14), 0 0 0 1px rgba(0, 107, 0, 0.08);
    transform: scale(1.01);
}

.install-docs__cards--member-is-vpn .install-docs__card--vpn .install-docs__card-title,
.install-docs__cards--member-is-proxy .install-docs__card--proxy .install-docs__card-title {
    color: #064006;
    font-size: 1.12rem;
}

.install-docs__cards--member-is-vpn .install-docs__card--proxy,
.install-docs__cards--member-is-proxy .install-docs__card--vpn {
    opacity: 0.5;
    filter: grayscale(0.2);
    box-shadow: none;
    border-color: rgba(0, 107, 0, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

.install-docs__cards--member-is-vpn .install-docs__card--proxy .install-docs__card-title,
.install-docs__cards--member-is-proxy .install-docs__card--vpn .install-docs__card-title {
    color: #5a7a5a;
}

.install-docs__cards--member-is-vpn .install-docs__card--proxy:hover,
.install-docs__cards--member-is-proxy .install-docs__card--vpn:hover {
    opacity: 0.78;
    filter: grayscale(0.08);
    border-color: rgba(0, 107, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .install-docs__cards--member-is-vpn .install-docs__card--vpn,
    .install-docs__cards--member-is-proxy .install-docs__card--proxy {
        transform: none;
    }
}

.install-docs__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.install-docs__columns--two {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
    .install-docs__columns {
        grid-template-columns: 1fr;
    }

    .install-docs__columns--two {
        grid-template-columns: 1fr;
    }
}

.install-docs__column {
    min-width: 0;
}

.install-docs__column-head {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0a5c0a;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 107, 0, 0.25);
    font-family: "Orbitron", monospace;
    letter-spacing: 0.04em;
}

.install-docs__article-meta {
    font-size: 0.88rem;
    color: #4a664a;
    margin-bottom: 1.5rem;
}

/* Article body */
.install-docs__prose {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 107, 0, 0.18);
    border-radius: 10px;
    padding: 1.5rem 1.35rem 1.75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.install-docs__prose h2 {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: 1.28rem;
    margin: 1.65rem 0 0.7rem;
    color: #0a4a0a;
}

.install-docs__prose h2:first-child {
    margin-top: 0;
}

.install-docs__prose h3 {
    font-size: 1.08rem;
    margin: 1.25rem 0 0.5rem;
    color: #14532d;
}

.install-docs__prose h4 {
    font-size: 0.98rem;
    margin: 1rem 0 0.4rem;
    color: #166534;
}

.install-docs__prose p {
    margin: 0 0 1rem;
}

.install-docs__prose ul,
.install-docs__prose ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.install-docs__prose li {
    margin-bottom: 0.35rem;
}

.install-docs__prose blockquote {
    margin: 1rem 0;
    padding: 0.65rem 1rem;
    border-left: 4px solid rgba(0, 107, 0, 0.35);
    background: rgba(0, 107, 0, 0.06);
    color: #3d523d;
}

.install-docs__prose code {
    font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
    font-size: 0.9em;
    background: rgba(0, 107, 0, 0.08);
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
}

.install-docs__prose pre {
    font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
    font-size: 0.88rem;
    line-height: 1.5;
    background: #0f1f12;
    color: #e8f5e9;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 0 1rem;
    border: 1px solid rgba(0, 107, 0, 0.35);
}

.install-docs__prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.install-docs__prose hr {
    border: none;
    border-top: 1px solid rgba(0, 107, 0, 0.15);
    margin: 1.5rem 0;
}

.install-docs__prose a {
    color: #047857;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.install-docs__prose img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 6px;
    border: 1px solid rgba(0, 107, 0, 0.2);
}

.install-docs__empty {
    color: #4a664a;
    font-size: 0.95rem;
    padding: 1rem 0;
}

.install-docs__back {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #006b00;
    text-decoration: none;
}

.install-docs__back:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
