.atg-legal {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(100px, 11vw, 160px) 0;
    background: #050505;
    color: #f4efe6;
    font-family: "Outfit", Arial, sans-serif;
    box-shadow: 0 0 0 100vmax #050505;
    clip-path: inset(0 -100vmax);
}

.atg-legal__hero {
    max-width: 880px;
    margin-bottom: 46px;
}

.atg-legal__eyebrow,
.atg-legal__updated {
    color: #d3ac66;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.atg-legal__hero h1 {
    margin: 12px 0 18px;
    color: #f4efe6;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(52px, 8vw, 92px);
    font-weight: 600;
    line-height: .95;
}

.atg-legal__hero > p:last-child {
    max-width: 760px;
    color: #bbb4aa;
    font-size: 17px;
    line-height: 1.75;
}

.atg-legal__toc {
    margin-bottom: 54px;
    padding: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    border: 1px solid rgba(180,138,67,.28);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.atg-legal__toc strong {
    width: 100%;
    margin-bottom: 3px;
    color: #f4efe6;
    font-size: 12px;
}

.atg-legal__toc a,
.atg-legal__sections a {
    color: #d3ac66;
    text-underline-offset: 3px;
}

.atg-legal__toc a {
    font-size: 12px;
}

.atg-legal__toc a:focus-visible,
.atg-legal__sections a:focus-visible,
.atg-legal-footer-links a:focus-visible {
    outline: 2px solid #d3ac66;
    outline-offset: 4px;
}

.atg-legal__sections {
    max-width: 860px;
}

.atg-legal__sections section {
    padding: 34px 0;
    border-top: 1px solid rgba(244,239,230,.14);
    scroll-margin-top: 30px;
}

.atg-legal__sections h2 {
    margin: 0 0 16px;
    color: #f4efe6;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.05;
}

.atg-legal__sections p {
    margin: 0;
    color: #bbb4aa;
    font-size: 15px;
    line-height: 1.8;
}

.atg-legal__sections p + p {
    margin-top: 14px;
}

.atg-legal-footer-links {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid rgba(244,239,230,.12);
    background: #050505;
    color: #8f887e;
    font: 600 11px/1.4 "Outfit", Arial, sans-serif;
}

.atg-legal-footer-links a {
    color: #bbb4aa;
    text-decoration: none;
}

.atg-legal-footer-links a:hover {
    color: #f4efe6;
}

.atg-contact__security-status {
    margin: 8px 0 0;
    color: #bbb4aa;
    font-size: 12px;
}

.atg-contact__security-status.is-verified { color: #9ee2b7; }
.atg-contact__security-status.is-error,
.atg-contact__security-status.is-expired { color: #ff9b9b; }
.atg-contact__legal a { color: #d3ac66; text-underline-offset: 3px; }

@media (max-width: 650px) {
    .atg-legal { width: min(100% - 28px, 1120px); padding: 82px 0; }
    .atg-legal__toc { align-items: flex-start; flex-direction: column; }
    .atg-legal__sections section { padding: 28px 0; }
}
