.legal-page {
    background: #f4f5f2;
    color: #18201d;
}

.legal-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 180px 6% 75px;
    background:
        radial-gradient(circle at 78% 20%, rgba(15,139,109,0.28), transparent 30%),
        radial-gradient(circle at 18% 85%, rgba(246,139,51,0.16), transparent 28%),
        #06100c;
}

.legal-hero::after {
    content: "";
    position: absolute;
    inset: auto 6% 0 auto;
    width: 34vw;
    height: 34vw;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    transform: translateY(50%);
}

.legal-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    margin: 0 auto;
}

.legal-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #70c4aa;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legal-kicker i { width: 26px; height: 2px; background: #f68b33; }
.legal-hero h1 { max-width: 900px; color: #fff; font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -0.07em; line-height: 0.95; }
.legal-hero h1 strong { color: #0f8b6d; font-weight: 800; }
.legal-hero p { max-width: 760px; margin-top: 26px; color: #aeb8b4; font-size: 0.96rem; line-height: 1.75; }
.legal-date { display: inline-flex; margin-top: 28px; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; color: #d9e3df; padding: 9px 14px; font-size: 0.62rem; font-weight: 700; }

.legal-layout {
    width: min(1180px, 90%);
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 60px;
    margin: 0 auto;
    padding: 80px 0 120px;
}

.legal-nav {
    position: sticky;
    top: 25px;
    align-self: start;
    border: 1px solid #dce4e0;
    border-radius: 20px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(9,41,31,0.06);
}

.legal-nav span { display: block; margin-bottom: 14px; color: #89928e; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-nav ul { display: flex; flex-direction: column; gap: 5px; list-style: none; }
.legal-nav a { display: block; border-radius: 9px; color: #43504b; padding: 9px 10px; font-size: 0.67rem; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { background: #e8f3ef; color: #0f8b6d; }

.legal-content { min-width: 0; }
.legal-review-notice {
    margin-bottom: 35px;
    border: 1px solid #efc18f;
    border-radius: 16px;
    background: #fff7ec;
    color: #71461e;
    padding: 18px 20px;
    font-size: 0.73rem;
    line-height: 1.65;
}
.legal-review-notice strong { display: block; margin-bottom: 4px; color: #a95712; }

.legal-section {
    margin-bottom: 18px;
    border: 1px solid #dfe6e3;
    border-radius: 20px;
    background: #fff;
    padding: 32px 34px;
    box-shadow: 0 14px 44px rgba(9,41,31,0.045);
}
.legal-section h2 { margin-bottom: 18px; color: #101714; font-size: 1.35rem; line-height: 1.25; }
.legal-section h3 { margin: 25px 0 10px; color: #17211d; font-size: 0.9rem; }
.legal-section p, .legal-section li { color: #52605a; font-size: 0.75rem; line-height: 1.85; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul, .legal-section ol { display: flex; flex-direction: column; gap: 7px; margin: 12px 0 0 20px; }
.legal-section a { color: #0f8b6d; font-weight: 700; }
.legal-section strong { color: #24312c; }
.legal-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.legal-data-grid div { border-radius: 12px; background: #f3f7f5; padding: 14px; }
.legal-data-grid span { display: block; margin-bottom: 5px; color: #7c8984; font-size: 0.53rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-data-grid strong { font-size: 0.7rem; line-height: 1.5; }
.legal-placeholder { display: inline-block; border-radius: 5px; background: #fff0de; color: #a95712 !important; padding: 1px 6px; }
.legal-table-wrap { overflow-x: auto; margin-top: 18px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.legal-table th, .legal-table td { border-bottom: 1px solid #e3e9e6; padding: 12px; color: #52605a; font-size: 0.66rem; line-height: 1.55; text-align: left; vertical-align: top; }
.legal-table th { color: #26332e; background: #f3f7f5; font-weight: 800; }
.legal-callout { margin-top: 18px; border-left: 3px solid #0f8b6d; background: #edf6f2; padding: 14px 16px; }
.legal-callout p { color: #3d534a; }

@media screen and (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 45px; }
    .legal-nav { position: static; }
    .legal-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 600px) {
    .legal-hero { min-height: 430px; padding: 145px 5% 55px; }
    .legal-hero h1 { font-size: 2.8rem; }
    .legal-layout { width: 92%; padding-bottom: 80px; }
    .legal-nav ul { grid-template-columns: 1fr; }
    .legal-section { padding: 24px 20px; }
    .legal-data-grid { grid-template-columns: 1fr; }
}
