@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* =========================================================
   GLAMSILK LEGAL PAGES
   Shared stylesheet
========================================================= */

:root {
    --primary: #005947;
    --primary-dark: #004a3b;
    --primary-light: #eaf5ee;

    --text: #202d2a;
    --muted: #647b92;

    --white: #ffffff;
    --background: #ffffff;

    --border: #dce8e3;
    --border-light: #e8efec;

    --container: 1100px;

    --radius: 16px;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   PAGE CONTAINER
========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #edf2f0;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.logo {
    text-decoration: none;
    color: var(--primary);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #111;
}

/* Back button */

.back-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    border: 1px solid var(--border);
    border-radius: 50px;

    color: var(--primary);
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.back-shop:hover {
    background: var(--primary-light);
    border-color: #c7ded5;
}

/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
    padding: 34px 0 38px;
    background: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 16px;

    color: #60758a;

    font-size: 14px;
    font-weight: 500;
}

.breadcrumb a {
    text-decoration: none;
    color: #60758a;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--primary);
    font-weight: 700;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* Small green pill */

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 16px;

    border: 1px solid #cce2d7;
    background: var(--primary-light);

    border-radius: 50px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.6px;
    text-transform: uppercase;

    margin-bottom: 17px;
}

/* Heading */

.legal-hero h1 {
    color: var(--primary);

    font-size: clamp(42px, 6vw, 66px);

    line-height: 1.08;
    letter-spacing: -2.8px;

    font-weight: 800;

    margin-bottom: 13px;
}

.legal-hero h1 span {
    color: #111;
}

.hero-description {
    max-width: 850px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;

    font-weight: 400;
}

/* =========================================================
   MAIN LEGAL AREA
========================================================= */

.legal-area {
    padding: 18px 0 80px;
    background: #fff;
}

/* =========================================================
   LEGAL CARD
========================================================= */

.legal-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;

    overflow: hidden;
}

/* =========================================================
   LAST UPDATED
========================================================= */

.policy-meta {
    padding: 18px 28px;

    background: #f8fbf9;

    border-bottom: 1px solid var(--border-light);

    color: #71858a;

    font-size: 12px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* =========================================================
   INTRO
========================================================= */

.policy-intro {
    padding: 30px 32px;

    border-bottom: 1px dashed var(--border);
}

.policy-intro p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   POLICY SECTIONS
========================================================= */

.policy-section {
    padding: 30px 32px;

    border-bottom: 1px dashed var(--border);
}

.policy-section:last-child {
    border-bottom: none;
}

/* Section heading */

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;
}

.section-number {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    border-radius: 50%;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;
}

.section-title h2 {
    color: var(--primary);

    font-size: 20px;
    line-height: 1.35;

    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Paragraph */

.policy-section p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.85;

    margin-bottom: 12px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   LIST
========================================================= */

.policy-list {
    padding-left: 22px;
    margin-top: 10px;
}

.policy-list li {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 7px;

    padding-left: 4px;
}

.policy-list li::marker {
    color: var(--primary);
}

/* =========================================================
   HIGHLIGHT BOX
========================================================= */

.highlight-box {
    margin: 18px 0;

    padding: 17px 20px;

    background: var(--primary-light);

    border: 1px solid #d4e8de;

    border-left: 4px solid var(--primary);

    border-radius: 0 12px 12px 0;
}

.highlight-box p {
    color: #355f54;

    font-size: 13px;
    line-height: 1.7;

    margin: 0;
}

.highlight-box strong {
    color: var(--primary);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-box {
    margin-top: 5px;

    padding: 25px;

    background: #f8fbf9;

    border: 1px solid var(--border);

    border-radius: 15px;
}

.contact-box h3 {
    color: var(--primary);

    font-size: 18px;
    font-weight: 700;

    margin-bottom: 12px;
}

.contact-box p {
    margin-bottom: 7px;
}

.contact-box a {
    color: var(--primary);

    font-weight: 600;

    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--border-light);

    background: #f8fbf9;

    padding: 35px 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 20px;
    font-weight: 800;

    text-decoration: none;
}

.footer-brand p {
    color: #71818c;

    font-size: 12px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 20px;

    flex-wrap: wrap;
}

.footer-links a {
    color: #52666e;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    color: #8a989d;

    font-size: 11px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    /* Header */

    .header-inner {
        min-height: 68px;
    }

    .logo {
        font-size: 21px;
    }

    .back-shop {
        padding: 8px 13px;
        font-size: 11px;
    }

    /* Hero */

    .legal-hero {
        padding: 25px 0 28px;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 7px;
        margin-bottom: 13px;
    }

    .hero-badge {
        padding: 6px 13px;
        font-size: 10px;
        margin-bottom: 14px;
    }

    .legal-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
    }

    /* Main */

    .legal-area {
        padding: 8px 0 50px;
    }

    .legal-card {
        border-radius: 16px;
    }

    .policy-meta {
        padding: 14px 18px;
        font-size: 10px;
    }

    .policy-intro {
        padding: 22px 19px;
    }

    .policy-section {
        padding: 24px 19px;
    }

    .section-title {
        gap: 10px;
        align-items: flex-start;
    }

    .section-number {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .section-title h2 {
        font-size: 17px;
    }

    .policy-section p,
    .policy-list li {
        font-size: 13px;
    }

    .policy-list {
        padding-left: 19px;
    }

    .highlight-box {
        padding: 14px 15px;
    }

    .contact-box {
        padding: 20px;
    }

    /* Footer */

    .footer-top {
        flex-direction: column;
        gap: 25px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 420px) {

    .back-shop {
        font-size: 0;
        width: 38px;
        height: 38px;
        padding: 0;

        justify-content: center;
    }

    .back-shop::before {
        content: "←";
        font-size: 17px;
    }

    .legal-hero h1 {
        font-size: 38px;
    }
}