*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: #10251e;
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.legal-page {
    padding-bottom: 82px;
}

.legal-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-hero {
    padding: 72px 0 58px;
    border-bottom: 1px solid rgba(3, 44, 32, .1);
    background:
        radial-gradient(circle at 84% 18%, rgba(214, 169, 47, .11), transparent 28%),
        linear-gradient(135deg, #f6faf8, #fff 62%);
}

.legal-eyebrow {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 12px;
    color: #9b710c;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.legal-eyebrow i {
    font-size: 1rem;
}

.legal-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #063d2d;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(2.55rem, 6vw, 5.4rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.055em;
}

.legal-hero > .legal-shell > p:not(.legal-eyebrow) {
    max-width: 740px;
    margin: 20px 0 0;
    color: #60736b;
    font-size: .94rem;
    line-height: 1.75;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
    color: #557069;
    font-size: .72rem;
    font-weight: 700;
}

.legal-meta a {
    color: #075f46;
    text-underline-offset: 3px;
}

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

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

.legal-update-notice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 30px;
    padding: 17px;
    border: 1px solid rgba(214, 169, 47, .35);
    border-radius: 16px;
    background: #fffaf0;
}

.legal-update-notice > i {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(214, 169, 47, .17);
    color: #9b710c;
    font-size: 1.15rem;
    place-items: center;
}

.legal-update-notice strong {
    color: #063d2d;
    font-size: .84rem;
}

.legal-update-notice p {
    margin: 5px 0 0 !important;
    color: #6f664b !important;
    font-size: .73rem !important;
    line-height: 1.6 !important;
}

.legal-content section {
    padding: 0 0 30px;
}

.legal-content section + section {
    padding-top: 30px;
    border-top: 1px solid rgba(3, 44, 32, .1);
}

.legal-content h2 {
    margin: 0 0 13px;
    color: #063d2d;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.legal-content h3 {
    margin: 21px 0 8px;
    color: #075039;
    font-size: .95rem;
}

.legal-content p,
.legal-content li {
    color: #566d64;
    font-size: .82rem;
    line-height: 1.75;
}

.legal-content p {
    margin: 0 0 13px;
}

.legal-content ul,
.legal-content ol {
    margin: 10px 0 0;
    padding-left: 21px;
}

.legal-content li + li {
    margin-top: 7px;
}

.legal-content a {
    color: #087653;
    font-weight: 750;
    text-underline-offset: 3px;
}

.legal-table-wrap {
    overflow-x: auto;
    margin-top: 16px;
    border: 1px solid rgba(3, 44, 32, .12);
    border-radius: 15px;
}

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

.legal-table th,
.legal-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(3, 44, 32, .09);
    text-align: left;
    vertical-align: top;
    font-size: .72rem;
    line-height: 1.55;
}

.legal-table th {
    background: #f1f7f4;
    color: #063d2d;
    font-weight: 850;
}

.legal-table td {
    color: #5c7169;
}

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

.legal-callout {
    margin-top: 18px;
    padding: 17px 18px;
    border-left: 4px solid #d6a92f;
    background: #f5f9f7;
}

.legal-callout strong {
    display: block;
    margin-bottom: 5px;
    color: #063d2d;
}

.legal-callout p {
    margin: 0;
}

.legal-preference-button {
    display: inline-flex;
    min-height: 46px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 11px 16px;
    border: 0;
    border-radius: 13px;
    background: #075039;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .76rem;
    font-weight: 850;
}

.legal-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 14px;
}

.legal-sidebar__card {
    padding: 20px;
    border: 1px solid rgba(3, 44, 32, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(3, 44, 32, .045);
}

.legal-sidebar__card h2 {
    margin: 0 0 13px;
    color: #063d2d;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 1.08rem;
}

.legal-sidebar nav {
    display: grid;
}

.legal-sidebar nav a {
    padding: 10px 0;
    border-top: 1px solid rgba(3, 44, 32, .08);
    color: #50665e;
    font-size: .72rem;
    font-weight: 720;
    text-decoration: none;
}

.legal-sidebar nav a:hover {
    color: #087653;
}

.legal-sidebar address {
    display: grid;
    gap: 9px;
    color: #5c7169;
    font-size: .72rem;
    font-style: normal;
    line-height: 1.55;
}

.legal-sidebar address a {
    color: #075039;
    font-weight: 850;
}

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

    .legal-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .legal-page {
        padding-bottom: 58px;
    }

    .legal-shell {
        width: min(100% - 28px, 1180px);
    }

    .legal-hero {
        padding: 48px 0 40px;
    }

    .legal-layout {
        gap: 28px;
        padding-top: 30px;
    }

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

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