/*
 * RELIZ.AZ - ISTIFADE QAYDALARI
 * Terms of Use V1
 */

.static-page{
    background:#f5f9fa;
}

/* HERO */

.static-page-hero{
    position:relative;
    overflow:hidden;
    border-bottom:1px solid rgba(0,45,65,.08);
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(255,132,0,.16),
            transparent 22%
        ),
        radial-gradient(
            circle at 68% 100%,
            rgba(0,113,139,.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fbfdfd 0%,
            #edf7f9 57%,
            #fff8ef 100%
        );
}

.static-page-hero::before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    right:-82px;
    top:-150px;
    border:1px solid rgba(255,132,0,.20);
    border-radius:50%;
    pointer-events:none;
}

.static-page-hero::after{
    content:"";
    position:absolute;
    width:175px;
    height:175px;
    right:18%;
    bottom:-112px;
    border-radius:50%;
    background:rgba(0,113,139,.04);
}

.static-page-hero-inner{
    position:relative;
    z-index:1;
    padding-top:48px;
    padding-bottom:62px;
}

.static-page-eyebrow{
    display:inline-flex;
    gap:8px;
    align-items:center;
    margin-top:24px;
}

.static-page-eyebrow::before{
    content:"";
    width:22px;
    height:3px;
    border-radius:999px;
    background:#ff8500;
}

.static-page-hero .page-title{
    margin-top:10px;
    font-size:clamp(42px,5vw,64px);
}

.static-page-lead{
    max-width:850px;
    margin-top:17px;
    font-size:clamp(16px,2vw,19px);
    line-height:1.7;
}

/* MAIN */

.static-page-main{
    padding-top:52px;
    padding-bottom:74px;
}

.static-page-content{
    width:100%;
    max-width:none;
}

.terms-kicker{
    margin-bottom:8px;
    color:#00728b;
    font-size:10.5px;
    font-weight:850;
    letter-spacing:.09em;
    text-transform:uppercase;
}

/* INTRO */

.terms-intro{
    display:grid;
    grid-template-columns:
        minmax(0,1.4fr)
        minmax(300px,.6fr);
    gap:22px;
}

.terms-intro-copy{
    padding:38px 40px;
    border:1px solid #dce8ec;
    border-radius:23px;
    background:#fff;
    box-shadow:
        0 17px 44px
        rgba(0,45,65,.055);
}

.terms-intro-copy h2{
    max-width:700px;
    margin:0;
    color:#002d41;
    font-size:clamp(29px,3.2vw,40px);
    font-weight:850;
    line-height:1.14;
}

.terms-intro-copy p{
    max-width:850px;
    margin:16px 0 0;
    color:#5d727b;
    font-size:14px;
    line-height:1.75;
}

.terms-intro-copy a{
    color:#00728b;
    font-weight:800;
}

.terms-operator{
    padding:29px;
    border-radius:23px;
    color:#fff;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255,132,0,.20),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #002d41,
            #004d62
        );
    box-shadow:
        0 17px 44px
        rgba(0,45,65,.10);
}

.terms-operator-icon{
    display:grid;
    width:54px;
    height:54px;
    place-items:center;
    margin-bottom:26px;
    border-radius:16px;
    color:#fff;
    background:#ff8500;
    font-size:20px;
}

.terms-operator .terms-kicker{
    color:#83cfda;
}

.terms-operator > strong{
    display:block;
    font-size:17px;
    font-weight:850;
}

.terms-operator > span{
    display:block;
    margin-top:4px;
    color:rgba(255,255,255,.62);
    font-size:12px;
}

.terms-operator dl{
    margin:19px 0 0;
}

.terms-operator dl div{
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    gap:9px;
    padding:8px 0;
    border-top:
        1px solid
        rgba(255,255,255,.09);
}

.terms-operator dt{
    color:rgba(255,255,255,.47);
    font-size:9.5px;
    font-weight:800;
    text-transform:uppercase;
}

.terms-operator dd{
    margin:0;
    color:#fff;
    font-size:11px;
    overflow-wrap:anywhere;
}

.terms-operator a{
    color:#fff;
}

/* NAV */

.terms-nav{
    display:flex;
    gap:8px;
    margin-top:22px;
    padding:13px;
    overflow-x:auto;
    border:1px solid #dce8ec;
    border-radius:17px;
    background:#fff;
    scrollbar-width:thin;
}

.terms-nav a{
    display:inline-flex;
    flex:0 0 auto;
    min-height:38px;
    align-items:center;
    padding:0 14px;
    border:1px solid #e1ebee;
    border-radius:999px;
    color:#49646e;
    background:#f8fbfc;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.terms-nav a:hover{
    color:#fff;
    border-color:#00728b;
    background:#00728b;
}

/* CARDS */

.terms-wide,
.terms-card,
.terms-legal,
.terms-documents,
.terms-contact{
    border:1px solid #dce8ec;
    background:#fff;
    box-shadow:
        0 14px 36px
        rgba(0,45,65,.045);
}

.terms-wide{
    margin-top:22px;
    padding:30px;
    border-radius:20px;
    scroll-margin-top:110px;
}

.terms-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:22px;
}

.terms-card{
    min-width:0;
    padding:29px;
    border-radius:20px;
    scroll-margin-top:110px;
}

.terms-head{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:14px;
    align-items:center;
    margin-bottom:19px;
}

.terms-number{
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    border-radius:13px;
    color:#00728b;
    background:#e5f4f6;
    font-size:15px;
    font-weight:900;
}

.terms-wide h2,
.terms-card h2,
.terms-legal h2,
.terms-documents h2,
.terms-contact h2{
    margin:0;
    color:#002d41;
    font-weight:850;
    line-height:1.23;
}

.terms-wide h2,
.terms-card h2{
    font-size:21px;
}

.terms-wide > p,
.terms-card > p{
    margin:0 0 13px;
    color:#5d727b;
    font-size:13.5px;
    line-height:1.75;
}

.terms-wide > p:last-child,
.terms-card > p:last-child{
    margin-bottom:0;
}

/* DEFINITIONS */

.terms-definitions{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:12px;
}

.terms-definitions > div{
    padding:18px;
    border:1px solid #e1eaed;
    border-radius:14px;
    background:#f8fbfc;
}

.terms-definitions strong{
    display:block;
    color:#002d41;
    font-size:14px;
    font-weight:850;
}

.terms-definitions p{
    margin:7px 0 0;
    color:#627780;
    font-size:11.5px;
    line-height:1.6;
}

/* SERVICE DARK BLOCK */

.terms-service{
    margin-top:22px;
    padding:35px;
    scroll-margin-top:110px;
    border-radius:23px;
    color:#fff;
    background:
        radial-gradient(
            circle at 95% 0,
            rgba(255,132,0,.18),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #002d41,
            #00485d
        );
    box-shadow:
        0 19px 48px
        rgba(0,45,65,.14);
}

.terms-service-head{
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.terms-service-icon{
    display:grid;
    flex:0 0 52px;
    width:52px;
    height:52px;
    place-items:center;
    border-radius:16px;
    color:#fff;
    background:#ff8500;
    font-size:18px;
}

.terms-service .terms-kicker{
    color:#84cbd7;
}

.terms-service h2{
    margin:0;
    color:#fff;
    font-size:clamp(26px,3vw,34px);
    font-weight:850;
}

.terms-service-head p{
    max-width:800px;
    margin:9px 0 0;
    color:rgba(255,255,255,.68);
    font-size:12.5px;
    line-height:1.65;
}

.terms-service-grid{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:1px;
    margin-top:25px;
    overflow:hidden;
    border:
        1px solid
        rgba(255,255,255,.11);
    border-radius:17px;
    background:
        rgba(255,255,255,.09);
}

.terms-service-grid > div{
    min-width:0;
    padding:21px;
    background:
        rgba(255,255,255,.045);
}

.terms-service-grid span{
    display:inline-flex;
    margin-bottom:12px;
    padding:5px 8px;
    border-radius:999px;
    color:#ffd09d;
    background:
        rgba(255,132,0,.12);
    font-size:10px;
    font-weight:900;
}

.terms-service-grid strong{
    display:block;
    color:#fff;
    font-size:14px;
    font-weight:850;
}

.terms-service-grid p{
    margin:7px 0 0;
    color:rgba(255,255,255,.62);
    font-size:11.5px;
    line-height:1.6;
}

.terms-dark-link{
    display:inline-flex;
    min-height:44px;
    gap:9px;
    align-items:center;
    margin-top:20px;
    padding:0 16px;
    border:
        1px solid
        rgba(255,255,255,.14);
    border-radius:11px;
    color:#fff;
    background:
        rgba(255,255,255,.07);
    font-size:11.5px;
    font-weight:800;
    text-decoration:none;
}

/* INLINE LINK */

.terms-inline-link{
    display:inline-flex;
    margin-top:5px;
    color:#00728b;
    font-size:12px;
    font-weight:850;
    text-decoration:none;
}

/* LIST */

.terms-list{
    display:grid;
    gap:9px;
    margin:0;
    padding:0;
    list-style:none;
}

.terms-list li{
    position:relative;
    padding:11px 12px 11px 40px;
    border:1px solid #e3ecef;
    border-radius:12px;
    color:#526a74;
    background:#f8fbfc;
    font-size:12px;
    line-height:1.55;
}

.terms-list li::before{
    content:"×";
    position:absolute;
    left:12px;
    top:10px;
    display:grid;
    width:20px;
    height:20px;
    place-items:center;
    border-radius:50%;
    color:#b75e00;
    background:#fff0df;
    font-size:13px;
    font-weight:900;
}

/* REFUND BLOCK */

.terms-refund{
    margin-top:22px;
    padding:34px;
    scroll-margin-top:110px;
    border:1px solid #efd2ae;
    border-radius:22px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255,132,0,.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fffaf4,
            #fff4e7
        );
    box-shadow:
        0 16px 38px
        rgba(128,76,12,.05);
}

.terms-refund-head{
    display:flex;
    gap:15px;
    align-items:center;
}

.terms-refund-icon{
    display:grid;
    flex:0 0 50px;
    width:50px;
    height:50px;
    place-items:center;
    border-radius:15px;
    color:#fff;
    background:#ff8500;
    font-size:17px;
}

.terms-refund h2{
    margin:0;
    color:#002d41;
    font-size:clamp(24px,3vw,31px);
    font-weight:850;
}

.terms-refund-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:13px;
    margin-top:24px;
}

.terms-refund-grid > div{
    padding:20px;
    border:
        1px solid
        rgba(220,154,77,.25);
    border-radius:15px;
    background:
        rgba(255,255,255,.66);
}

.terms-refund-grid strong{
    display:block;
    color:#002d41;
    font-size:14px;
    font-weight:850;
}

.terms-refund-grid p{
    margin:8px 0 0;
    color:#6d6255;
    font-size:12px;
    line-height:1.65;
}

.terms-refund-note{
    margin:18px 0 0;
    padding:13px 15px;
    border-radius:12px;
    color:#715a42;
    background:#ffe8cc;
    font-size:11.5px;
    font-weight:700;
    line-height:1.55;
}

/* LEGAL / UPDATE */

.terms-legal{
    display:grid;
    grid-template-columns:
        minmax(0,1.35fr)
        minmax(270px,.65fr);
    gap:1px;
    margin-top:22px;
    overflow:hidden;
    border-radius:21px;
    scroll-margin-top:110px;
}

.terms-legal-main,
.terms-update{
    padding:30px;
}

.terms-update{
    border-left:1px solid #e1eaed;
    background:#f8fbfc;
}

.terms-legal-main > p,
.terms-update > p{
    margin:0 0 12px;
    color:#5d727b;
    font-size:13px;
    line-height:1.7;
}

.terms-update h3{
    margin:0;
    color:#002d41;
    font-size:20px;
    font-weight:850;
}

.terms-updated{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:space-between;
    margin-top:20px;
    padding:13px 15px;
    border-radius:12px;
    background:#eaf4f6;
}

.terms-updated span{
    color:#70838b;
    font-size:11px;
}

.terms-updated strong{
    color:#002d41;
    font-size:12px;
}

/* RELATED DOCUMENTS */

.terms-documents{
    display:grid;
    grid-template-columns:
        minmax(250px,.65fr)
        minmax(0,1.35fr);
    gap:24px;
    align-items:center;
    margin-top:22px;
    padding:30px;
    border-radius:21px;
}

.terms-documents h2{
    font-size:24px;
}

.terms-documents-copy p{
    margin:9px 0 0;
    color:#647881;
    font-size:12.5px;
    line-height:1.6;
}

.terms-documents-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:11px;
}

.terms-documents-grid a{
    display:flex;
    min-width:0;
    min-height:125px;
    flex-direction:column;
    justify-content:center;
    padding:17px;
    border:1px solid #dfe9ec;
    border-radius:14px;
    color:#002d41;
    background:#f8fbfc;
    text-decoration:none;
    transition:
        transform .18s ease,
        border-color .18s ease;
}

.terms-documents-grid a:hover{
    transform:translateY(-3px);
    border-color:#bcd5dc;
}

.terms-documents-grid span{
    display:grid;
    width:37px;
    height:37px;
    place-items:center;
    margin-bottom:12px;
    border-radius:11px;
    color:#00728b;
    background:#e5f4f6;
}

.terms-documents-grid strong{
    font-size:13px;
    font-weight:850;
}

.terms-documents-grid small{
    display:block;
    margin-top:5px;
    color:#74878e;
    font-size:10.5px;
    line-height:1.4;
}

/* CONTACT */

.terms-contact{
    display:grid;
    grid-template-columns:
        auto
        minmax(0,1fr)
        auto;
    gap:20px;
    align-items:center;
    margin-top:22px;
    padding:30px 34px;
    border-radius:21px;
    scroll-margin-top:110px;
}

.terms-contact-icon{
    display:grid;
    width:52px;
    height:52px;
    place-items:center;
    border-radius:16px;
    color:#fff;
    background:#ff8500;
    font-size:18px;
}

.terms-contact h2{
    font-size:23px;
}

.terms-contact p{
    max-width:700px;
    margin:8px 0 0;
    color:#647881;
    font-size:12.5px;
    line-height:1.6;
}

.terms-contact-actions{
    display:flex;
    gap:9px;
}

.terms-contact-primary,
.terms-contact-secondary{
    display:inline-flex;
    min-height:46px;
    align-items:center;
    justify-content:center;
    padding:0 17px;
    border-radius:11px;
    font-size:12px;
    font-weight:850;
    text-decoration:none;
}

.terms-contact-primary{
    color:#fff;
    background:#ff8500;
}

.terms-contact-secondary{
    border:1px solid #d7e4e8;
    color:#00556a;
    background:#f7fbfc;
}

/* FOCUS */

.terms-nav a:focus-visible,
.terms-dark-link:focus-visible,
.terms-inline-link:focus-visible,
.terms-documents-grid a:focus-visible,
.terms-contact-primary:focus-visible,
.terms-contact-secondary:focus-visible{
    outline:
        3px solid
        rgba(0,114,139,.22);
    outline-offset:3px;
}

/* TABLET */

@media (max-width:960px){

    .terms-intro{
        grid-template-columns:1fr;
    }

    .terms-definitions{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .terms-service-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .terms-refund-grid{
        grid-template-columns:1fr;
    }

    .terms-legal{
        grid-template-columns:1fr;
    }

    .terms-update{
        border-top:1px solid #e1eaed;
        border-left:0;
    }

    .terms-documents{
        grid-template-columns:1fr;
    }

    .terms-contact{
        grid-template-columns:
            auto
            minmax(0,1fr);
    }

    .terms-contact-actions{
        grid-column:1/-1;
    }
}

/* MOBILE */

@media (max-width:680px){

    .static-page-hero-inner{
        padding-top:31px;
        padding-bottom:45px;
    }

    .static-page-hero .page-title{
        font-size:
            clamp(36px,11vw,48px);
    }

    .static-page-main{
        padding-top:32px;
        padding-bottom:50px;
    }

    .terms-intro{
        gap:15px;
    }

    .terms-intro-copy,
    .terms-operator{
        padding:24px 22px;
        border-radius:18px;
    }

    .terms-nav{
        margin-top:16px;
    }

    .terms-wide{
        margin-top:16px;
        padding:23px;
        border-radius:18px;
    }

    .terms-grid{
        grid-template-columns:1fr;
        gap:13px;
        margin-top:16px;
    }

    .terms-card{
        padding:23px;
        border-radius:18px;
    }

    .terms-number{
        width:38px;
        height:38px;
        font-size:14px;
    }

    .terms-definitions{
        grid-template-columns:1fr;
    }

    .terms-service{
        margin-top:16px;
        padding:24px 22px;
        border-radius:19px;
    }

    .terms-service-head{
        flex-direction:column;
    }

    .terms-service-grid{
        grid-template-columns:1fr;
    }

    .terms-dark-link{
        width:100%;
        min-height:48px;
        justify-content:center;
    }

    .terms-refund{
        margin-top:16px;
        padding:24px 22px;
        border-radius:18px;
    }

    .terms-refund-head{
        align-items:flex-start;
    }

    .terms-legal{
        margin-top:16px;
        border-radius:18px;
    }

    .terms-legal-main,
    .terms-update{
        padding:23px;
    }

    .terms-documents{
        margin-top:16px;
        padding:23px;
        border-radius:18px;
    }

    .terms-documents-grid{
        grid-template-columns:1fr;
    }

    .terms-documents-grid a{
        min-height:100px;
    }

    .terms-contact{
        grid-template-columns:1fr;
        gap:16px;
        margin-top:16px;
        padding:24px 22px;
        border-radius:18px;
    }

    .terms-contact-actions{
        grid-column:auto;
        flex-direction:column;
        width:100%;
    }

    .terms-contact-primary,
    .terms-contact-secondary{
        width:100%;
        min-height:50px;
    }
}

/* SMALL MOBILE */

@media (max-width:400px){

    .terms-operator dl div{
        grid-template-columns:1fr;
        gap:3px;
    }

    .terms-wide,
    .terms-card,
    .terms-service,
    .terms-refund,
    .terms-legal-main,
    .terms-update,
    .terms-documents,
    .terms-contact{
        padding-left:20px;
        padding-right:20px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion:reduce){

    .terms-nav a,
    .terms-documents-grid a{
        transition:none;
    }
}

/* =========================================================
   RELIZ_TERMS_SECTION_09_WIDE_V1
   Section 09 spans both desktop columns
   ========================================================= */

.terms-grid > .terms-card-wide{
    grid-column:1 / -1;
}

@media (max-width:680px){

    .terms-grid > .terms-card-wide{
        grid-column:auto;
    }

}
