.agb-page{
    background:#f7f8fa;
    padding:34px 0 70px;
    color:#111827;
}

.agb-hero,
.agb-shell{
    width:min(100% - 28px,1180px);
    margin:0 auto;
}

.agb-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,360px);
    gap:24px;
    align-items:stretch;
    margin-bottom:24px;
}

.agb-hero > div,
.agb-hero > aside,
.agb-card,
.agb-toc{
    border:1px solid #e2e8ec;
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 45px rgba(15,23,42,.06);    
}

.agb-hero > div{
    padding:clamp(28px,4vw,48px);
}

.agb-hero > aside{
    display:grid;
    align-content:center;
    gap:8px;
    padding:26px;
    background:linear-gradient(145deg,#0ea964,#0b7c4b);
    color:#fff;
}

.agb-hero h1{
    margin:10px 0 14px;
    font-size:clamp(34px,5vw,58px);
    line-height:1.02;
}

.agb-hero p,
.agb-hero small,
.agb-hero aside span{
    color:#667085;
    line-height:1.65;
}

.agb-hero aside span{
    color:rgba(255,255,255,.82);
}

.agb-kicker{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(14,169,100,.1);
    color:#0b7c4b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.agb-shell{
    display:block;
}

.agb-toc{
    z-index:20;
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    align-items:center;
    padding:16px;
    margin-bottom:22px;
    backdrop-filter:blur(10px);
    height:auto;
}

.agb-toc a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-width:max-content;
    padding:10px 13px;
    border:1px solid #e2e8ec;
    border-radius:999px;
    background:#fff;
    color:#344054;
    font-size:13px;
    font-weight:850;
    line-height:1.15;
    text-decoration:none;
    white-space:nowrap;
}

.agb-toc a:hover{
    background:rgba(14,169,100,.09);
    color:#0b7c4b;
}

.agb-card{
    position:relative;
    min-width:0;
    margin-bottom:22px;
    padding:clamp(22px,3.5vw,38px);
    overflow:hidden;
}

.agb-card--accent{
    border-color:rgba(14,169,100,.3);
    background:linear-gradient(180deg,#ffffff,#f1fbf6);
}

.agb-section-no{
    display:inline-grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:14px;
    background:#e9f8f0;
    color:#0b7c4b;
    font-size:18px;
    font-weight:950;
}

.agb-card h2{
    margin:16px 0 18px;
    font-size:clamp(24px,3vw,36px);
    line-height:1.12;
}

.agb-card h3{
    margin:24px 0 8px;
    font-size:19px;
}

.agb-card p,
.agb-card li{
    color:#344054;
    font-size:15px;
    line-height:1.72;
}

.agb-card a{
    color:#0b7c4b;
    font-weight:850;
    text-decoration:underline;
    text-underline-offset:2px;
}

.agb-role-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}

.agb-role-grid div{
    min-width:0;
    padding:16px;
    border:1px solid #e2e8ec;
    border-radius:18px;
    background:#fbfcfd;
}

.agb-role-grid strong,
.agb-role-grid span{
    display:block;
}

.agb-role-grid strong{
    color:#0b7c4b;
}

.agb-role-grid span{
    margin-top:7px;
    color:#667085;
    font-size:13px;
    line-height:1.55;
}

.agb-check-list,
.agb-warning-list{
    display:grid;
    gap:9px;
    margin:16px 0;
    padding:0;
    list-style:none;
}

.agb-check-list li,
.agb-warning-list li{
    position:relative;
    padding:12px 14px 12px 40px;
    border-radius:15px;
}

.agb-check-list li{
    background:#effaf4;
}

.agb-warning-list li{
    background:#fff4ed;
}

.agb-check-list li::before,
.agb-warning-list li::before{
    position:absolute;
    left:14px;
    top:12px;
    font-weight:950;
}

.agb-check-list li::before{
    content:"✓";
    color:#0ea964;
}

.agb-warning-list li::before{
    content:"!";
    color:#d92d20;
}

@media(max-width:980px){
    .agb-hero,
    .agb-role-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .agb-page{
        padding-top:18px;
    }

    .agb-hero,
    .agb-shell{
        width:min(100% - 18px,1180px);
    }

    .agb-toc{
        top:8px;
        gap:7px;
        padding:10px;
        border-radius:18px;
    }

    .agb-toc a{
        flex:1 1 auto;
        min-width:calc(50% - 8px);
        padding:9px 10px;
        font-size:12px;
    }

    .agb-hero > div,
    .agb-hero > aside,
    .agb-card{
        border-radius:22px;
        padding:20px;
    }
}
