.hft-legal-page {
    min-height: 100vh;
    background: #f5faf8;
    color: #12312f;
    font-family: 'Readex Pro', 'Sora', sans-serif;
}

.hft-legal-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 58px;
    background:
        linear-gradient(135deg, rgba(4, 32, 29, .96), rgba(19, 93, 88, .9)),
        url('/store/1/default_images/default_cover.jpg') center/cover;
}

.hft-legal-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.hft-legal-hero .container {
    position: relative;
    z-index: 1;
}

.hft-legal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: end;
}

.hft-legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-weight: 700;
}

.hft-legal-breadcrumb a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.hft-legal-breadcrumb a:hover {
    color: #fff;
}

.hft-legal-eyebrow {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #c8f2e9;
    font-size: 12px;
    font-weight: 900;
}

.hft-legal-hero h1 {
    max-width: 850px;
    margin: 16px 0 0;
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0;
}

.hft-legal-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
}

.hft-legal-side {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.hft-legal-side-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    color: #135d58;
}

.hft-legal-side-icon svg {
    width: 22px;
    height: 22px;
}

.hft-legal-side span {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 800;
}

.hft-legal-side strong {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.hft-legal-body {
    padding: 44px 0 76px;
}

.hft-legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.hft-legal-nav {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(14, 58, 54, .08);
}

.hft-legal-nav span {
    margin-bottom: 4px;
    color: #12312f;
    font-size: 13px;
    font-weight: 900;
}

.hft-legal-nav a {
    display: flex;
    gap: 9px;
    min-height: 42px;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #f7fbfa;
    color: #5a6c69;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
}

.hft-legal-nav a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.hft-legal-nav a:hover,
.hft-legal-nav a.active {
    border-color: #135d58;
    background: #135d58;
    color: #fff;
}

.hft-legal-content {
    overflow: hidden;
    padding: 34px;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(14, 58, 54, .08);
}

.hft-legal-content > :first-child {
    margin-top: 0 !important;
}

.hft-legal-content h1,
.hft-legal-content h2,
.hft-legal-content h3,
.hft-legal-content h4 {
    color: #12312f !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: 0;
}

.hft-legal-content h1 {
    font-size: 30px !important;
    margin: 0 0 18px !important;
}

.hft-legal-content h2 {
    margin: 30px 0 14px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #dce9e6;
    font-size: 24px !important;
}

.hft-legal-content h3 {
    margin: 26px 0 12px !important;
    font-size: 20px !important;
}

.hft-legal-content h4 {
    margin: 22px 0 10px !important;
    font-size: 17px !important;
}

.hft-legal-content p,
.hft-legal-content li,
.hft-legal-content span,
.hft-legal-content div {
    color: #4f6461;
    font-size: 15px;
    line-height: 1.95;
}

.hft-legal-content p {
    margin: 0 0 15px;
}

.hft-legal-content ul,
.hft-legal-content ol {
    display: grid;
    gap: 9px;
    margin: 14px 0 20px;
    padding-inline-start: 22px;
}

.hft-legal-content li {
    padding: 10px 12px;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    background: #f7fbfa;
}

.hft-legal-content a {
    color: #135d58;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hft-legal-content blockquote {
    margin: 22px 0;
    padding: 18px;
    border-inline-start: 4px solid #135d58;
    border-radius: 8px;
    background: #eaf5f2;
    color: #12312f;
}

.hft-legal-content table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    border: 1px solid #dce9e6;
    border-radius: 8px;
    overflow: hidden;
}

.hft-legal-content th,
.hft-legal-content td {
    padding: 12px;
    border: 1px solid #dce9e6;
    color: #4f6461;
    font-size: 14px;
    line-height: 1.7;
    vertical-align: top;
}

.hft-legal-content th {
    background: #eaf5f2;
    color: #12312f;
    font-weight: 900;
}

.hft-legal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .hft-legal-hero {
        padding: 54px 0 42px;
    }

    .hft-legal-hero-grid,
    .hft-legal-layout {
        grid-template-columns: 1fr;
    }

    .hft-legal-side,
    .hft-legal-nav {
        position: static;
    }

    .hft-legal-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hft-legal-nav span {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .hft-legal-hero h1 {
        font-size: 28px;
    }

    .hft-legal-body {
        padding: 24px 0 48px;
    }

    .hft-legal-content {
        padding: 22px 18px;
    }

    .hft-legal-nav {
        grid-template-columns: 1fr;
    }
}
