.support-page { color: #0f172a; }
.support-page .container { width: min(1120px, 92%); margin: 0 auto; }

.support-hero {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.support-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}
.support-hero h1 {
    margin: 0.4rem 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    line-height: 1.15;
}
.support-hero .lead {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    max-width: 52ch;
}
.support-hero__meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}
.support-pill {
    display: inline-flex;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #1d4ed8;
    background: #dbeafe;
}
.support-meta-text { font-size: 0.9rem; font-weight: 600; color: #334155; }

.support-status-card {
    padding: 1.25rem 1.35rem;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.support-status-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}
.support-status-card__lead {
    margin: 0 0 0.85rem;
    color: #64748b;
    font-size: 0.88rem;
}
.support-status-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #334155;
    line-height: 1.65;
    font-size: 0.9rem;
}

.support-section { padding: 3rem 0; }
.support-section--light { background: #f8fbff; }
.support-section h2 { margin: 0 0 0.55rem; font-size: 1.45rem; }
.support-section__lede {
    margin: 0 0 1.35rem;
    color: #475569;
    max-width: 62ch;
}

.support-notice {
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 0.85rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}
.support-notice strong { display: block; margin-bottom: 0.25rem; }
.support-notice p { margin: 0; color: #334155; line-height: 1.55; }
.support-notice--warn {
    border-color: #fcd34d;
    background: #fffbeb;
}
.support-notice--portal {
    border-color: #a7f3d0;
    background: #ecfdf5;
}
.support-notice--admin {
    border-color: #c4b5fd;
    background: #f5f3ff;
}

.support-escalation {
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.2rem;
    border-left: 4px solid #0f766e;
    border-radius: 0.65rem;
    background: #f0fdf4;
}
.support-escalation h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.support-escalation p { margin: 0; color: #334155; }

.support-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.support-channel {
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 100%;
}
.support-channel.is-unavailable { opacity: 0.72; }
.support-channel h3 { margin: 0; font-size: 1rem; }
.support-channel__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    background: #eff6ff center/1.2rem no-repeat;
}
.support-channel__icon--mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231d4ed8' stroke-width='2' d='M4 6h16v12H4z'/%3E%3Cpath stroke='%231d4ed8' stroke-width='2' d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.support-channel__icon--phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231d4ed8' stroke-width='2' d='M6.5 4h3l1.5 4-2 1.5a13 13 0 005.5 5.5L17 13l4 1.5v3a2 2 0 01-2.2 2A16 16 0 014 6.2 2 2 0 016.5 4z'/%3E%3C/svg%3E"); }
.support-channel__icon--wa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231d4ed8' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.7 15l-1.3 4.8 4.9-1.3A10 10 0 1012 2zm0 18a8 8 0 01-4.1-1.1l-.3-.2-2.9.8.8-2.8-.2-.3A8 8 0 1112 20zm4.5-5.8c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1-.6.8-.8 1-.3.2-.5.1a6.4 6.4 0 01-1.9-1.2 7 7 0 01-1.3-1.7c-.1-.2 0-.3.1-.4l.4-.5.1-.2a.3.3 0 000-.3c-.1-.1-.5-1.2-.7-1.6-.2-.4-.4-.3-.5-.3h-.5a1 1 0 00-.7.3 3 3 0 00-1 2.2 5.2 5.2 0 001.1 2.7 9 9 0 003.4 3 4.7 4.7 0 002.8.9 2.2 2.2 0 001.5-.7 1.8 1.8 0 00.4-1.2c0-.1-.1-.2-.3-.2z'/%3E%3C/svg%3E"); }
.support-channel__value {
    font-weight: 800;
    color: #1d4ed8;
    text-decoration: none;
    word-break: break-word;
}
.support-channel__value:hover { text-decoration: underline; }
.support-channel__empty { margin: 0; color: #64748b; font-size: 0.88rem; }
.support-channel__btn { margin-top: auto; align-self: flex-start; }
.support-contact-fallback {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
}
.support-contact-fallback a { color: #c2410c; font-weight: 700; }

.support-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}
.support-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.support-link-card strong { color: #0f172a; }
.support-link-card span { color: #64748b; font-size: 0.88rem; line-height: 1.45; }
.support-link-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.support-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.support-topics article {
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #fff;
}
.support-topics h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.support-topics p { margin: 0; color: #475569; line-height: 1.55; font-size: 0.92rem; }

.support-password ol {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: #334155;
    line-height: 1.7;
}

.support-demo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
}
.support-demo h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.support-demo p { margin: 0; color: #475569; max-width: 52ch; }

.support-faq details { margin-bottom: 0.6rem; }

.support-back__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

html[data-theme="dark"] .support-page { color: #e2e8f0; }
html[data-theme="dark"] .support-hero { background: linear-gradient(180deg, #0f172a 0%, #111827 100%); }
html[data-theme="dark"] .support-hero .lead,
html[data-theme="dark"] .support-section__lede,
html[data-theme="dark"] .support-topics p,
html[data-theme="dark"] .support-notice p,
html[data-theme="dark"] .support-escalation p,
html[data-theme="dark"] .support-password ol { color: #94a3b8; }
html[data-theme="dark"] .support-status-card,
html[data-theme="dark"] .support-channel,
html[data-theme="dark"] .support-link-card,
html[data-theme="dark"] .support-topics article,
html[data-theme="dark"] .support-faq details { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .support-section--light { background: #0f172a; }
html[data-theme="dark"] .support-notice { background: #1e3a8a; border-color: #3b82f6; color: #dbeafe; }
html[data-theme="dark"] .support-notice--warn { background: #422006; border-color: #b45309; }
html[data-theme="dark"] .support-notice--portal { background: #064e3b; border-color: #059669; }
html[data-theme="dark"] .support-escalation { background: #064e3b; }
html[data-theme="dark"] .support-demo { background: linear-gradient(135deg, #1e3a8a, #312e81); border-color: #4338ca; }
html[data-theme="dark"] .support-link-card strong { color: #f1f5f9; }
html[data-theme="dark"] .support-meta-text { color: #cbd5e1; }

@media (max-width: 900px) {
    .support-hero__grid { grid-template-columns: 1fr; }
    .support-channels { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .home-nav__links { display: none; }
}
