/* ═══════════════════════════════════════════════
   POLICY PAGES — SHARED STYLES
   White bg content + Dark sidebar nav + Dark navbar
═══════════════════════════════════════════════ */
:root {
    --sq-black: #0a0a0a;
    --sq-white: #ffffff;
    --sq-gray: #aaaaaa;
    --sq-dark-gray: #1a1a1a;
    --sq-border: #333333;
    --sq-accent: #d4af37;
    --sq-z: 100000000;
    --sq-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --sq-ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: var(--sq-black);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ═══════════ NAVBAR ═══════════ */
.sq-header {
    width: 100%;
    background: var(--sq-black);
    color: var(--sq-white);
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--sq-z);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sq-border);
}

.sq-nav-wrapper {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sq-logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: calc(var(--sq-z) + 10);
}

.sq-logo-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    color: var(--sq-accent);
}

.sq-logo-text {
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--sq-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sq-desktop-nav {
    display: flex;
    align-items: center;
}

.sq-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    height: 80px;
    margin: 0;
    padding: 0;
    position: relative;
}

.sq-nav-li {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
    color: var(--sq-gray);
}

.sq-nav-li:hover {
    color: var(--sq-accent);
}

.sq-arrow {
    width: 6px;
    height: 6px;
    border-bottom: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -4px;
    transition: transform 0.3s, margin-top 0.3s;
}

.sq-mega-container {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100vw;
    max-width: 1200px;
    background: var(--sq-black);
    border: 1px solid var(--sq-border);
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 50px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--sq-ease-out);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
    z-index: calc(var(--sq-z) - 1);
    pointer-events: none;
}

.has-mega .sq-mega-container {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.has-mega:hover .sq-mega-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
    transition-delay: 0.1s;
}

.has-mega:hover .sq-arrow {
    transform: rotate(-135deg);
    margin-top: 4px;
    color: var(--sq-accent);
}

.has-mega::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: -15px;
    left: 0;
    z-index: calc(var(--sq-z) + 1);
}

.sq-mega-inner {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 60px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--sq-ease-out) 0.15s;
}

.has-mega:hover .sq-mega-inner {
    opacity: 1;
    transform: translateY(0);
}

.sq-meta-label {
    color: var(--sq-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--sq-ease-out) 0.2s;
}

.has-mega:hover .sq-meta-label {
    opacity: 1;
    transform: translateY(0);
}

.sq-product-list {
    list-style: none;
    padding: 0;
}

.sq-product-list li {
    color: var(--sq-gray);
    font-size: 13px;
    padding: 6px 0;
    transition: color 0.2s;
}

.sq-product-list li:hover {
    color: var(--sq-white);
}

.sq-sub-list {
    list-style: none;
    padding: 0;
}

.sq-sub-item {
    color: var(--sq-gray);
    font-size: 9px;
    padding: 5px 0;
    transition: color 0.2s, transform 0.2s;
    opacity: 0;
    transform: translateX(-5px);
}

.has-mega:hover .sq-sub-item {
    opacity: 1;
    transform: translateX(0);
}

.sq-sub-item.active {
    color: var(--sq-accent);
    border-left: 1px solid var(--sq-accent);
    padding-left: 18px;
    margin-left: -19px;
}

.sq-sub-item:hover {
    color: var(--sq-white);
    transform: translateX(3px);
}

.sq-feature-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--sq-ease-out) 0.25s;
}

.has-mega:hover .sq-feature-title {
    opacity: 1;
    transform: translateY(0);
}

.sq-cta-arrow {
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s;
    color: var(--sq-accent);
}

.sq-feature-title:hover .sq-cta-arrow {
    transform: translateX(5px);
}

.sq-feature-desc {
    color: var(--sq-gray);
    font-size: 9px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--sq-ease-out) 0.3s;
}

.has-mega:hover .sq-feature-desc {
    opacity: 1;
    transform: translateY(0);
}

.sq-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--sq-ease-out) 0.35s;
}

.has-mega:hover .sq-pill-grid {
    opacity: 1;
    transform: translateY(0);
}

.sq-pill {
    font-size: 10px;
    padding: 6px 14px;
    border: 1px solid var(--sq-border);
    border-radius: 100px;
    color: var(--sq-gray);
    transition: all 0.2s;
}

.sq-pill:hover {
    border-color: var(--sq-accent);
    color: var(--sq-accent);
}

.sq-pro-card {
    background: var(--sq-dark-gray);
    border: 1px solid var(--sq-border);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
}

.sq-pro-card h5 {
    font-size: 12px;
    margin-bottom: 8px;
    color: var(--sq-white);
}

.sq-pro-card p {
    color: var(--sq-gray);
    font-size: 11px;
    line-height: 1.5;
}

.sq-img-frame {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.sq-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sq-col-nav {
    border-right: 1px solid var(--sq-border);
    padding-right: 40px;
}

.sq-resource-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.sq-res-h {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--sq-white);
}

.sq-res-p {
    font-size: 11px;
    color: var(--sq-gray);
    line-height: 1.5;
}

.sq-res-card {
    margin-top: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.sq-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sq-log-in {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--sq-accent);
    text-transform: uppercase;
    transition: color 0.2s;
}

.sq-log-in:hover {
    color: var(--sq-white);
}

.sq-btn-main {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    background: var(--sq-accent);
    color: var(--sq-black);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.sq-btn-main:hover {
    background: var(--sq-white);
}

.full-w {
    width: 100%;
    text-align: center;
}

.sq-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: calc(var(--sq-z) + 10);
}

.sq-bar {
    width: 100%;
    height: 1.5px;
    background: var(--sq-white);
    position: absolute;
    transition: all 0.3s;
}

.sq-bar.top {
    top: 4px;
}

.sq-bar.bot {
    bottom: 4px;
}

.sq-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--sq-black);
    z-index: calc(var(--sq-z) - 2);
    padding: 100px 40px 40px;
}

.sq-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sq-mobile-links a {
    font-size: 28px;
    font-weight: 500;
    color: var(--sq-white);
}

.sq-drawer-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ═══════════ HERO — Full-width bg image with dark overlay ═══════════ */
.policy-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.55) 50%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 800px;
}

.policy-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--sq-white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.policy-hero-title::before,
.policy-hero-title::after {
    content: '';
    width: 70px;
    height: 1px;
    background: var(--sq-accent);
    flex-shrink: 0;
}

.policy-hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ═══════════ CONTENT LAYOUT ═══════════ */
.policy-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    gap: 80px;
    align-items: flex-start;
}

/* ─── Side Navigation - Border Style ─── */
.policy-nav {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.policy-nav-header {
    display: none;
}

.policy-nav-icon {
    display: none;
}

.policy-nav-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000000;
    text-transform: uppercase;
}

.policy-nav-subtitle {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}

.policy-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e5e5e5;
}

.policy-nav-item {
    display: block;
    padding: 18px 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 400;
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    padding-left: 0;
}

.policy-nav-item:hover {
    opacity: 0.6;
}

.policy-nav-item.active {
    font-weight: 700;
    opacity: 1;
}

.policy-nav-dot {
    display: none;
}

.policy-nav-toggle {
    display: none;
}

.policy-nav-progress {
    display: none;
}

/* ─── Main Content ─── */
.policy-content {
    flex: 1;
    min-width: 0;
    max-width: 750px;
}

.policy-section {
    margin-bottom: 60px;
    scroll-margin-top: 110px;
}

.policy-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
    position: relative;
    letter-spacing: 0;
    border-bottom: none;
    display: flex;
    align-items: baseline;
}

.policy-section-title::before {
    display: none;
}

.policy-intro {
    font-size: 17px;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 50px;
    text-align: left;
    max-width: 100%;
    background: #f6f6f6;
    padding: 35px;
    border-radius: 2px;
}

.policy-date-box {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    margin: 0 0 50px;
    text-align: left;
    max-width: 100%;
}

.policy-date-box p {
    font-size: 15px;
    color: #666666;
    margin-bottom: 5px;
    font-weight: 400;
}

.policy-date-box p:last-child {
    margin-bottom: 0;
}

.policy-date-box strong {
    color: #1a1a1a;
    font-weight: 400;
}

.policy-text {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.policy-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.policy-list {
    list-style: none;
    padding: 0;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
}

.policy-list li::before {
    content: '•';
    margin-right: 10px;
    color: #1a1a1a;
    font-size: 16px;
}

.policy-divider {
    display: none;
}

/* ─── Section Blocks ─── */
.section-block {
    margin-bottom: 60px;
}

.section-number {
    font-weight: 600;
    margin-right: 10px;
}

/* ─── Headings ─── */
.policy-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    color: #1a1a1a;
}

.policy-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: #1a1a1a;
}

/* ─── Grey Callout Boxes ─── */
.grey-callout {
    background-color: #f6f6f6;
    padding: 35px;
    margin-bottom: 50px;
    font-size: 17px;
    border-radius: 2px;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ─── Paragraphs ─── */
.policy-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* ─── Lists ─── */
.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* ═══════════ POLICY LINKS BAR ═══════════ */
.policy-links-bar {
    background: var(--sq-dark-gray);
    border-top: 1px solid var(--sq-border);
    padding: 24px 0;
    text-align: center;
}

.policy-links-bar a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sq-gray);
    margin: 0 30px;
    transition: color 0.3s;
}

.policy-links-bar a:hover {
    color: var(--sq-accent);
}

.policy-links-bar a.active {
    color: var(--sq-accent);
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
    background: var(--sq-black);
    border-top: 1px solid var(--sq-border);
    padding: 50px 40px 30px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--sq-border);
}

.footer-col-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sq-accent);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 12px;
    color: var(--sq-gray);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--sq-white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    width: 20px;
    height: 20px;
    color: var(--sq-accent);
}

.footer-logo span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--sq-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-copyright {
    font-size: 11px;
    color: var(--sq-gray);
}

/* ═══════════ BACK TO TOP ═══════════ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--sq-accent);
    color: var(--sq-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--sq-white);
    transform: translateY(-3px);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .sq-desktop-nav {
        display: none;
    }

    .sq-mobile-toggle {
        display: block;
    }

    .sq-mobile-drawer.open {
        display: block;
    }

    .policy-wrapper {
        flex-direction: column;
        padding: 40px 20px 60px;
        gap: 30px;
    }

    .policy-nav {
        width: 100%;
        position: static;
        max-height: none;
        padding: 20px;
    }

    .policy-hero-title {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .policy-hero {
        min-height: 320px;
    }

    .policy-hero-content {
        padding: 40px 20px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .policy-hero-title {
        font-size: 22px;
        flex-direction: column;
        gap: 15px;
        letter-spacing: 2px;
    }

    .policy-hero-title::before,
    .policy-hero-title::after {
        width: 50px;
    }

    .policy-hero {
        min-height: 280px;
    }

    .policy-links-bar a {
        margin: 0 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .sq-nav-wrapper {
        padding: 0 20px;
    }
}