:root{
    --support-bg:#e9e6e4;
    --support-white:#fff;
    --support-soft:#f7f5f2;
    --support-border:#ded8d5;
    --support-border-dark:#c8c1bd;
    --support-text:#1a1513;
    --support-muted:#6b6360;
    --support-faint:#928985;
    --support-red:#c5372b;
    --support-red-dark:#9f2b22;
    --support-green:#0f7055;
    --support-green-soft:#e8f5f1;
    --support-radius:14px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--support-bg);
    color:var(--support-text);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    -webkit-font-smoothing:antialiased;
}

button,
input{
    font:inherit;
}

a{
    color:inherit;
}

[hidden]{
    display:none!important;
}


/* PAGE */

.support-wrap{
    width:min(1120px,calc(100% - 40px));
    margin:0 auto;
    padding:48px 0 80px;
}


/* HERO */

.support-hero{
    background:var(--support-text);
    color:#fff;
    border-radius:20px;
    padding:clamp(34px,6vw,62px);
    overflow:hidden;
    position:relative;
}

.support-hero::after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    right:-100px;
    top:-120px;
    background:var(--support-red);
    opacity:.95;
}

.support-hero-content{
    position:relative;
    z-index:1;
    max-width:760px;
}

.support-eyebrow{
    font-size:12px;
    line-height:1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#d6cfcb;
    margin-bottom:14px;
}

.support-hero h1{
    margin:0;
    font-size:clamp(38px,6vw,62px);
    line-height:.98;
    letter-spacing:-.045em;
}

.support-hero-copy{
    max-width:660px;
    color:#d9d3cf;
    font-size:17px;
    line-height:1.6;
    margin:18px 0 0;
}

.support-hero-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:26px;
}

.support-btn{
    min-height:42px;
    padding:0 17px;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
    border:1px solid transparent;
    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease,
        opacity .15s ease;
}

.support-btn:hover{
    transform:translateY(-1px);
}

.support-btn-primary{
    background:var(--support-red);
    color:#fff;
}

.support-btn-primary:hover{
    background:var(--support-red-dark);
}

.support-btn-secondary{
    background:transparent;
    border-color:#655c58;
    color:#fff;
}

.support-btn-secondary:hover{
    border-color:#fff;
}


/* SEARCH */

.support-search-wrap{
    margin-top:24px;
    position:relative;
    max-width:680px;
}

.support-search-icon{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    width:19px;
    height:19px;
    color:#817875;
    pointer-events:none;
}

.support-search{
    width:100%;
    height:52px;
    border-radius:11px;
    border:1px solid #514845;
    background:#fff;
    color:var(--support-text);
    padding:0 18px 0 48px;
    outline:none;
    font-size:15px;
    box-shadow:0 8px 30px rgba(0,0,0,.12);
}

.support-search:focus{
    border-color:var(--support-red);
    box-shadow:
        0 0 0 3px rgba(197,55,43,.16),
        0 8px 30px rgba(0,0,0,.12);
}

.support-search::placeholder{
    color:#928985;
}


/* INTRO */

.support-intro{
    margin:44px 0 18px;
}

.support-section-label{
    color:var(--support-red);
    font-size:11px;
    font-weight:850;
    letter-spacing:.11em;
    text-transform:uppercase;
    margin-bottom:8px;
}

.support-section-title{
    margin:0;
    font-size:27px;
    line-height:1.15;
    letter-spacing:-.025em;
}

.support-section-copy{
    color:var(--support-muted);
    margin:8px 0 0;
    line-height:1.6;
    max-width:700px;
}


/* TOPIC CARDS */

.support-topics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.support-topic{
    background:var(--support-white);
    border:1px solid var(--support-border);
    border-radius:var(--support-radius);
    padding:22px;
    text-decoration:none;
    transition:
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.support-topic:hover{
    transform:translateY(-2px);
    border-color:var(--support-border-dark);
    box-shadow:0 8px 26px rgba(37,28,24,.06);
}

.support-topic-number{
    width:34px;
    height:34px;
    border-radius:9px;
    background:var(--support-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:850;
    color:var(--support-red);
    margin-bottom:18px;
}

.support-topic h2{
    font-size:16px;
    margin:0 0 6px;
}

.support-topic p{
    color:var(--support-muted);
    line-height:1.55;
    font-size:13px;
    margin:0;
}

.support-topic-arrow{
    display:block;
    margin-top:18px;
    color:var(--support-text);
    font-size:12px;
    font-weight:800;
}


/* GUIDES */

.support-guides{
    display:grid;
    gap:16px;
    margin-top:18px;
}

.support-guide{
    background:var(--support-white);
    border:1px solid var(--support-border);
    border-radius:var(--support-radius);
    overflow:hidden;
    scroll-margin-top:24px;
}

.support-guide-head{
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:start;
    padding:25px 26px 20px;
    border-bottom:1px solid var(--support-border);
}

.support-guide-head h2{
    margin:0;
    font-size:19px;
    letter-spacing:-.015em;
}

.support-guide-head p{
    color:var(--support-muted);
    margin:6px 0 0;
    line-height:1.55;
    max-width:700px;
}

.support-guide-link{
    white-space:nowrap;
    color:var(--support-red);
    text-decoration:none;
    font-size:13px;
    font-weight:750;
    padding-top:3px;
}

.support-guide-link:hover{
    text-decoration:underline;
}

.support-steps{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.support-step{
    padding:24px 26px;
    display:grid;
    grid-template-columns:32px 1fr;
    gap:13px;
    border-bottom:1px solid var(--support-border);
}

.support-step:nth-child(odd){
    border-right:1px solid var(--support-border);
}

.support-step:nth-last-child(-n+2){
    border-bottom:0;
}

.support-step-number{
    width:28px;
    height:28px;
    border-radius:50%;
    background:var(--support-text);
    color:#fff;
    font-size:12px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

.support-step h3{
    font-size:14px;
    margin:3px 0 5px;
}

.support-step p{
    margin:0;
    color:var(--support-muted);
    font-size:13px;
    line-height:1.55;
}

.support-inline-link{
    color:var(--support-red);
    text-decoration:none;
    font-weight:700;
}

.support-inline-link:hover{
    text-decoration:underline;
}


/* CALLOUT */

.support-note{
    margin:20px 26px 25px;
    padding:15px 17px;
    background:var(--support-soft);
    border:1px solid var(--support-border);
    border-radius:10px;
    display:flex;
    gap:11px;
    align-items:flex-start;
    color:var(--support-muted);
    font-size:13px;
    line-height:1.55;
}

.support-note strong{
    color:var(--support-text);
}

.support-note-mark{
    color:var(--support-red);
    font-weight:900;
    line-height:1.55;
}


/* ADMIN */

.support-admin{
    border-color:#b8d9cf;
}

.support-admin .support-guide-head{
    background:var(--support-green-soft);
    border-bottom-color:#b8d9cf;
}

.support-admin-badge{
    display:inline-flex;
    margin-bottom:8px;
    color:var(--support-green);
    font-size:11px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.09em;
}


/* FAQ */

.support-faq{
    margin-top:18px;
    background:var(--support-white);
    border:1px solid var(--support-border);
    border-radius:var(--support-radius);
    overflow:hidden;
}

.support-faq details{
    border-bottom:1px solid var(--support-border);
}

.support-faq details:last-child{
    border-bottom:0;
}

.support-faq summary{
    cursor:pointer;
    list-style:none;
    padding:19px 22px;
    font-size:14px;
    font-weight:750;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.support-faq summary::-webkit-details-marker{
    display:none;
}

.support-faq summary::after{
    content:"+";
    color:var(--support-faint);
    font-size:20px;
    font-weight:400;
    line-height:1;
}

.support-faq details[open] summary::after{
    content:"−";
}

.support-faq-answer{
    padding:0 22px 20px;
    color:var(--support-muted);
    font-size:13px;
    line-height:1.65;
    max-width:850px;
}


/* NO RESULTS */

.support-no-results{
    display:none;
    margin-top:18px;
    padding:34px;
    background:#fff;
    border:1px solid var(--support-border);
    border-radius:var(--support-radius);
    text-align:center;
}

.support-no-results strong{
    display:block;
    margin-bottom:5px;
}

.support-no-results p{
    color:var(--support-muted);
    margin:0;
    font-size:13px;
}


/* CONTACT */

.support-contact{
    margin-top:34px;
    background:var(--support-text);
    color:#fff;
    border-radius:var(--support-radius);
    padding:30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.support-contact h2{
    margin:0 0 7px;
    font-size:21px;
}

.support-contact p{
    margin:0;
    max-width:620px;
    color:#d9d3cf;
    line-height:1.55;
    font-size:14px;
}

.support-contact .support-btn{
    flex-shrink:0;
}


/* MOBILE */

@media(max-width:820px){
    .support-topics{
        grid-template-columns:1fr;
    }

    .support-steps{
        grid-template-columns:1fr;
    }

    .support-step,
    .support-step:nth-child(odd),
    .support-step:nth-last-child(-n+2){
        border-right:0;
        border-bottom:1px solid var(--support-border);
    }

    .support-step:last-child{
        border-bottom:0;
    }

    .support-guide-head{
        grid-template-columns:1fr;
        gap:8px;
    }

    .support-contact{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:560px){
    .support-wrap{
        width:min(100% - 28px,1120px);
        padding-top:24px;
    }

    .support-hero{
        border-radius:15px;
        padding:30px 22px;
    }

    .support-hero::after{
        width:190px;
        height:190px;
        right:-95px;
        top:-95px;
    }

    .support-hero-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .support-btn{
        width:100%;
    }

    .support-guide-head,
    .support-step{
        padding-left:20px;
        padding-right:20px;
    }

    .support-note{
        margin-left:20px;
        margin-right:20px;
    }

    .support-contact{
        padding:24px 21px;
    }
}

.support-form{ margin-top:22px; background:#fff; border:1px solid var(--support-border,#e6e0dc); border-radius:var(--support-radius,14px); padding:26px 30px; }
.support-form h2{ margin:0 0 6px; font-size:21px; }
.support-form .sf-lead{ margin:0 0 18px; color:#5f5753; font-size:14px; line-height:1.55; }
.sf-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.sf-field{ display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.sf-field label{ font-size:13px; font-weight:700; }
.sf-field input,.sf-field select,.sf-field textarea{ font:inherit; font-size:15px; padding:10px 12px; border:1px solid #cfc7c2; border-radius:9px; background:#fff; color:inherit; }
.sf-field textarea{ min-height:130px; resize:vertical; }
.sf-field input:focus,.sf-field select:focus,.sf-field textarea:focus{ outline:2px solid var(--support-red,#d8232a); outline-offset:1px; }
.sf-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.sf-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sf-actions button{ cursor:pointer; border:0; }
.sf-actions button[disabled]{ opacity:.6; cursor:default; }
.sf-status{ font-size:14px; }
.sf-status.ok{ color:#1d6b32; }
.sf-status.err{ color:#b3261e; }
@media (max-width:640px){ .sf-row{ grid-template-columns:1fr; } .support-form{ padding:20px; } }
