@font-face{
    font-family:"Poppins";
    src:url("../fonts/Poppins-Regular.woff2") format("woff2");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:"Poppins";
    src:url("../fonts/Poppins-SemiBold.woff2") format("woff2");
    font-weight:600 900;
    font-style:normal;
    font-display:swap;
}

:root{
    --legal-red:#79170f;
    --legal-red-2:#a31c14;
    --legal-red-dark:#520c08;
    --legal-gold:#ffad00;
    --legal-gold-soft:#ffd66a;
    --legal-ink:#211c1a;
    --legal-text:#434957;
    --legal-muted:#707786;
    --legal-soft:#fff8f1;
    --legal-soft-2:#f7eee6;
    --legal-white:#fff;
    --legal-line:#eadfd4;
    --legal-green:#0b7a45;
    --legal-blue:#1d5f91;
    --legal-warning:#955d00;
    --legal-shadow:0 24px 70px rgba(64,38,28,.11);
    --legal-shadow-soft:0 12px 34px rgba(64,38,28,.075);
    --legal-radius:28px;
    --legal-max:1180px;
}

*{box-sizing:border-box}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    color:var(--legal-ink);
    background:#fff;
    font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    line-height:1.72;
    text-rendering:optimizeLegibility;
}

img,svg{
    display:block;
    max-width:100%;
}

a{color:inherit}

button,input,select,textarea{font:inherit}

.legal-container{
    width:min(var(--legal-max),calc(100% - 32px));
    margin-inline:auto;
}

.legal-skip{
    position:fixed;
    left:16px;
    top:12px;
    z-index:2500;
    transform:translateY(-180%);
    padding:12px 17px;
    border-radius:999px;
    color:var(--legal-red);
    background:#fff;
    font-weight:800;
    text-decoration:none;
    box-shadow:var(--legal-shadow-soft);
    transition:transform .2s ease;
}

.legal-skip:focus{transform:translateY(0)}

.legal-hero{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    color:#fff;
    background:
        radial-gradient(circle at 91% 7%,rgba(255,173,0,.28),transparent 28%),
        linear-gradient(135deg,#17100e 0%,#32130f 49%,var(--legal-red-dark) 100%);
    border-bottom:1px solid rgba(255,255,255,.12);
}

.legal-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.085;
    background-image:
        linear-gradient(30deg,transparent 46%,#fff 47%,transparent 48%),
        linear-gradient(150deg,transparent 46%,#fff 47%,transparent 48%);
    background-size:56px 56px;
}

.legal-hero__inner{
    display:grid;
    grid-template-columns:1fr auto;
    gap:32px;
    align-items:center;
    min-height:360px;
    padding:64px 0 70px;
}

.legal-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    margin:0 0 19px;
    padding:0;
    list-style:none;
    color:rgba(255,255,255,.68);
    font-size:12px;
}

.legal-breadcrumb a{
    color:#fff;
    text-decoration:none;
}

.legal-breadcrumb li+li::before{
    content:"/";
    margin-right:7px;
    color:var(--legal-gold);
}

.legal-kicker{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin:0 0 12px;
    color:var(--legal-gold-soft);
    font-size:12px;
    font-weight:850;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.legal-kicker::before{
    content:"";
    width:32px;
    height:3px;
    border-radius:99px;
    background:var(--legal-gold);
}

.legal-hero h1{
    max-width:820px;
    margin:0;
    color:#fff;
    font-size:clamp(38px,5.8vw,70px);
    line-height:.98;
    letter-spacing:-.058em;
}

.legal-hero__lead{
    max-width:790px;
    margin:18px 0 0;
    color:rgba(255,255,255,.82);
    font-size:clamp(16px,2vw,20px);
}

.legal-hero__meta{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:22px;
}

.legal-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:34px;
    padding:7px 11px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    color:#fff;
    background:rgba(255,255,255,.07);
    font-size:12px;
    font-weight:700;
}

.legal-hero__icon{
    display:grid;
    place-items:center;
    width:128px;
    height:128px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:36px;
    color:var(--legal-gold);
    background:rgba(255,255,255,.07);
    box-shadow:0 25px 70px rgba(0,0,0,.22);
}

.legal-hero__icon svg{
    width:64px;
    height:64px;
    fill:currentColor;
}

.legal-main{
    background:
        linear-gradient(180deg,#fff 0%,#fff 60%,var(--legal-soft) 100%);
}

.legal-layout{
    display:grid;
    grid-template-columns:285px minmax(0,1fr);
    gap:28px;
    align-items:start;
    padding:44px 0 78px;
}

.legal-sidebar{
    position:sticky;
    top:110px;
    display:grid;
    gap:15px;
}

.legal-sidebar__card{
    padding:18px;
    border:1px solid var(--legal-line);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--legal-shadow-soft);
}

.legal-sidebar__title{
    margin:0 0 11px;
    color:var(--legal-ink);
    font-size:14px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.legal-page-links,
.legal-toc{
    display:grid;
    gap:5px;
    margin:0;
    padding:0;
    list-style:none;
}

.legal-page-links a,
.legal-toc a{
    display:flex;
    align-items:flex-start;
    gap:9px;
    padding:9px 10px;
    border-radius:12px;
    color:#565e6c;
    text-decoration:none;
    font-size:13px;
    line-height:1.42;
    transition:background .18s ease,color .18s ease,transform .18s ease;
}

.legal-page-links a::before,
.legal-toc a::before{
    content:"";
    width:6px;
    height:6px;
    flex:0 0 6px;
    margin-top:.52em;
    border-radius:50%;
    background:var(--legal-gold);
}

.legal-page-links a:hover,
.legal-page-links a[aria-current="page"],
.legal-toc a:hover,
.legal-toc a.is-active{
    color:var(--legal-red);
    background:var(--legal-soft);
}

.legal-page-links a[aria-current="page"]{
    font-weight:800;
}

.legal-help-card{
    padding:19px;
    border-radius:22px;
    color:#fff;
    background:
        radial-gradient(circle at 100% 0,rgba(255,173,0,.24),transparent 35%),
        linear-gradient(145deg,var(--legal-red-dark),var(--legal-red));
    box-shadow:var(--legal-shadow-soft);
}

.legal-help-card strong{
    display:block;
    margin-bottom:5px;
}

.legal-help-card p{
    margin:0 0 12px;
    color:rgba(255,255,255,.76);
    font-size:13px;
}

.legal-help-card a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--legal-gold-soft);
    font-size:13px;
    font-weight:800;
    text-decoration:none;
}

.legal-content{
    min-width:0;
}

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

.legal-summary__item{
    padding:18px;
    border:1px solid var(--legal-line);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--legal-shadow-soft);
}

.legal-summary__icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    margin-bottom:12px;
    border-radius:14px;
    color:var(--legal-red);
    background:var(--legal-soft);
}

.legal-summary__icon svg{
    width:22px;
    height:22px;
    fill:currentColor;
}

.legal-summary__item strong{
    display:block;
    margin-bottom:3px;
    color:var(--legal-ink);
    font-size:15px;
}

.legal-summary__item span{
    display:block;
    color:var(--legal-muted);
    font-size:12.5px;
}

.legal-section{
    scroll-margin-top:112px;
    margin-bottom:18px;
    padding:28px;
    border:1px solid var(--legal-line);
    border-radius:var(--legal-radius);
    background:#fff;
    box-shadow:var(--legal-shadow-soft);
}

.legal-section h2{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:0 0 15px;
    color:#252a33;
    font-size:clamp(23px,3vw,31px);
    line-height:1.12;
    letter-spacing:-.035em;
}

.legal-section h2 .legal-section__number{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(135deg,var(--legal-red),var(--legal-red-2));
    font-size:13px;
    font-weight:850;
}

.legal-section h3{
    margin:22px 0 8px;
    color:var(--legal-red);
    font-size:18px;
    line-height:1.25;
}

.legal-section p{
    margin:0 0 13px;
    color:var(--legal-text);
}

.legal-section p:last-child{margin-bottom:0}

.legal-section ul,
.legal-section ol{
    display:grid;
    gap:9px;
    margin:13px 0 0;
    padding-left:21px;
    color:var(--legal-text);
}

.legal-section li::marker{
    color:var(--legal-red);
    font-weight:800;
}

.legal-section a{
    color:var(--legal-red);
    font-weight:700;
    text-underline-offset:3px;
}

.legal-note,
.legal-warning,
.legal-success{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:12px;
    align-items:start;
    margin:17px 0;
    padding:16px;
    border-radius:18px;
}

.legal-note{
    color:#2e5872;
    background:#eff8ff;
    border:1px solid #cfe7f7;
}

.legal-warning{
    color:#684300;
    background:#fff7df;
    border:1px solid #f1d791;
}

.legal-success{
    color:#145d39;
    background:#edf9f2;
    border:1px solid #c8ead7;
}

.legal-note__icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:14px;
    background:rgba(255,255,255,.72);
}

.legal-note__icon svg{
    width:22px;
    height:22px;
    fill:currentColor;
}

.legal-note strong,
.legal-warning strong,
.legal-success strong{
    display:block;
    margin-bottom:3px;
}

.legal-note p,
.legal-warning p,
.legal-success p{
    margin:0;
    color:inherit;
    font-size:13px;
}

.legal-data-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin-top:15px;
}

.legal-data{
    padding:15px;
    border:1px solid var(--legal-line);
    border-radius:16px;
    background:var(--legal-soft);
}

.legal-data span{
    display:block;
    margin-bottom:4px;
    color:var(--legal-muted);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.legal-data strong{
    display:block;
    color:#292e37;
    font-size:14px;
    overflow-wrap:anywhere;
}

.legal-table-wrap{
    overflow:auto;
    margin-top:16px;
    border:1px solid var(--legal-line);
    border-radius:18px;
}

.legal-table{
    width:100%;
    min-width:720px;
    border-collapse:collapse;
    background:#fff;
}

.legal-table th,
.legal-table td{
    padding:14px 15px;
    border-bottom:1px solid var(--legal-line);
    text-align:left;
    vertical-align:top;
    color:var(--legal-text);
    font-size:13px;
}

.legal-table th{
    color:#fff;
    background:var(--legal-red);
    font-size:12px;
    letter-spacing:.03em;
}

.legal-table tr:last-child td{border-bottom:0}

.legal-definition{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid var(--legal-line);
}

.legal-definition:last-child{border-bottom:0}

.legal-definition dt{
    color:var(--legal-red);
    font-weight:800;
}

.legal-definition dd{
    margin:0;
    color:var(--legal-text);
}

.legal-contact-box{
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    align-items:center;
    margin-top:20px;
    padding:22px;
    border-radius:22px;
    color:#fff;
    background:
        radial-gradient(circle at 100% 0,rgba(255,173,0,.25),transparent 35%),
        linear-gradient(135deg,var(--legal-red-dark),var(--legal-red));
}

.legal-contact-box h3{
    margin:0 0 5px;
    color:#fff;
}

.legal-contact-box p{
    margin:0;
    color:rgba(255,255,255,.75);
}

.legal-contact-box a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:47px;
    padding:11px 17px;
    border-radius:999px;
    color:#2d2107;
    background:var(--legal-gold);
    font-weight:850;
    text-decoration:none;
    white-space:nowrap;
}

.legal-update{
    margin-top:22px;
    color:var(--legal-muted);
    font-size:12px;
    text-align:right;
}

.legal-back-top{
    position:fixed;
    right:16px;
    bottom:16px;
    z-index:450;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border:1px solid rgba(121,23,15,.23);
    border-radius:50%;
    color:var(--legal-red);
    background:rgba(255,255,255,.96);
    box-shadow:var(--legal-shadow-soft);
    text-decoration:none;
    opacity:0;
    transform:translateY(12px);
    pointer-events:none;
    transition:opacity .2s ease,transform .2s ease;
}

.legal-back-top.is-visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.legal-back-top svg{
    width:20px;
    height:20px;
    fill:currentColor;
}

:focus-visible{
    outline:3px solid var(--legal-gold);
    outline-offset:3px;
}

@media(max-width:980px){
    .legal-layout{
        grid-template-columns:1fr;
    }

    .legal-sidebar{
        position:static;
        grid-template-columns:1fr 1fr;
    }

    .legal-help-card{
        grid-column:1/-1;
    }

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

@media(max-width:680px){
    .legal-container{
        width:min(100% - 24px,var(--legal-max));
    }

    .legal-hero__inner{
        grid-template-columns:1fr;
        min-height:auto;
        padding:48px 0 54px;
    }

    .legal-hero__icon{
        display:none;
    }

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

    .legal-summary,
    .legal-data-grid{
        grid-template-columns:1fr;
    }

    .legal-section{
        padding:22px;
        border-radius:22px;
    }

    .legal-definition{
        grid-template-columns:1fr;
        gap:3px;
    }

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

    .legal-contact-box a{
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto!important;
        animation:none!important;
        transition:none!important;
    }
}
