/* =========================================================
   SHIFTIFY CORPORATE POLICY PAGES
   Compact Corporate Standard
   ========================================================= */

.policy-page {
    min-height: 100vh;
    background: #f7f8fa;
    color: #111827;
    font-family: inherit;
}

.policy-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.policy-hero {
    position: relative;
    overflow: hidden;
    background: #111827;
    color: #fff;
    border-bottom: 1px solid #1f2937;
}

.policy-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(90deg, #fff 1px, transparent 1px),
        linear-gradient(#fff 1px, transparent 1px);
    background-size: 38px 38px;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
    padding: 42px 0 38px;
}

.policy-eyebrow {
    margin-bottom: 24px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #9ca3af;
}

.policy-hero-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.policy-hero-label {
    display: inline-block;
    margin-bottom: 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #9ca3af;
}

.policy-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 700;
}

.policy-hero h1 span {
    display: block;
    color: #d1d5db;
}

.policy-hero p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.7;
}

.policy-hero-badge {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border: 1px solid #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.policy-hero-badge span {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.policy-hero-badge small {
    margin-top: 7px;
    color: #9ca3af;
    font-size: 8px;
    letter-spacing: .16em;
}


/* =========================================================
   META
   ========================================================= */

.policy-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e5e7eb;
    background: #fff;
    margin: 26px 0 42px;
}

.policy-meta-item {
    min-height: 72px;
    padding: 16px 20px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.policy-meta-item:last-child {
    border-right: 0;
}

.policy-meta-item span,
.policy-info-grid span {
    display: block;
    margin-bottom: 6px;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .14em;
    color: #9ca3af;
    text-transform: uppercase;
}

.policy-meta-item strong {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}


/* =========================================================
   SECTION
   ========================================================= */

.policy-section {
    margin-bottom: 52px;
}

.policy-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.policy-section-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.policy-label {
    display: block;
    margin-bottom: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #9ca3af;
}

.policy-section-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.025em;
}


/* =========================================================
   CARD
   ========================================================= */

.policy-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 24px;
}

.policy-card p {
    margin: 0 0 13px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.75;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.policy-card p strong {
    color: #111827;
    font-weight: 700;
}


/* =========================================================
   GRID
   ========================================================= */

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.policy-card-numbered {
    position: relative;
    padding: 22px;
}

.policy-card-number {
    display: block;
    margin-bottom: 20px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
}

.policy-card-numbered h3 {
    margin: 0 0 9px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.policy-card-numbered p {
    margin: 0;
    font-size: 11px;
}


/* =========================================================
   LIST
   ========================================================= */

.policy-list-card {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.policy-list-row {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid #edf0f2;
}

.policy-list-row:last-child {
    border-bottom: 0;
}

.policy-list-row > span {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-right: 1px solid #edf0f2;
    color: #9ca3af;
    font-size: 9px;
    font-weight: 700;
}

.policy-list-row p {
    margin: 0;
    padding: 13px 18px;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.6;
}

.policy-list-row p strong {
    color: #111827;
    font-weight: 700;
}


/* =========================================================
   HIGHLIGHT
   ========================================================= */

.policy-highlight {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: #111827;
    color: #fff;
}

.policy-highlight-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.policy-highlight h3 {
    margin: 0 0 7px;
    font-size: 14px;
}

.policy-highlight p {
    margin: 0 0 14px;
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.7;
}

.policy-highlight p:last-child {
    margin-bottom: 0;
}

.policy-highlight a {
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

.policy-highlight a span {
    margin-left: 7px;
}


/* =========================================================
   INVESTIGATION / PROCESS STEPS
   ========================================================= */

.policy-steps {
    display: grid;
    gap: 10px;
}

.policy-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.policy-step-number {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #111827;
    font-size: 10px;
    font-weight: 700;
}

.policy-step h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.policy-step p {
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.7;
}

.policy-step p strong {
    color: #111827;
    font-weight: 700;
}


/* =========================================================
   INFO GRID
   ========================================================= */

.policy-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.policy-info-grid > div {
    padding-right: 20px;
    border-right: 1px solid #e5e7eb;
}

.policy-info-grid > div:not(:first-child) {
    padding-left: 20px;
}

.policy-info-grid > div:last-child {
    border-right: 0;
}

.policy-info-grid strong {
    color: #374151;
    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   ACCEPTANCE / FINAL STATEMENT
   ========================================================= */

.policy-acceptance {
    margin: 10px 0 60px;
    padding: 28px;
    border: 1px solid #dfe3e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.policy-acceptance h2 {
    margin: 0 0 8px;
    font-size: 20px;
    letter-spacing: -.025em;
}

.policy-acceptance p {
    max-width: 680px;
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.7;
}

.policy-acceptance-mark {
    min-width: 180px;
    padding-left: 25px;
    border-left: 1px solid #e5e7eb;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.policy-acceptance-mark small {
    display: block;
    margin-top: 5px;
    font-size: 7px;
    color: #9ca3af;
    letter-spacing: .12em;
}


/* =========================================================
   UTILITY SPACING
   ========================================================= */

.policy-section-spaced {
    margin-top: 12px;
}

.policy-highlight-spaced {
    margin-top: 12px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 800px) {

    .policy-container {
        width: min(100% - 28px, 1180px);
    }


    /* HERO */

    .policy-hero-content {
        padding: 30px 0;
    }

    .policy-hero-main {
        align-items: flex-start;
    }

    .policy-hero-badge {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .policy-hero-badge span {
        font-size: 21px;
    }

    .policy-hero h1 {
        font-size: 32px;
    }


    /* META */

    .policy-meta {
        grid-template-columns: 1fr;
    }

    .policy-meta-item {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .policy-meta-item:last-child {
        border-bottom: 0;
    }


    /* GRID */

    .policy-grid {
        grid-template-columns: 1fr;
    }


    /* INFO */

    .policy-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .policy-info-grid > div,
    .policy-info-grid > div:not(:first-child) {
        padding: 0;
        border: 0;
    }


    /* PROCESS */

    .policy-step {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }


    /* ACCEPTANCE */

    .policy-acceptance {
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-acceptance-mark {
        width: 100%;
        padding: 16px 0 0;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .policy-container {
        width: calc(100% - 20px);
    }


    /* HERO */

    .policy-eyebrow {
        margin-bottom: 18px;
        font-size: 8px;
        line-height: 1.5;
    }

    .policy-hero-main {
        gap: 14px;
    }

    .policy-hero h1 {
        font-size: 27px;
        line-height: 1.08;
    }

    .policy-hero p {
        font-size: 11px;
        line-height: 1.65;
    }

    .policy-hero-badge {
        display: none;
    }


    /* META */

    .policy-meta {
        margin: 18px 0 32px;
    }

    .policy-meta-item {
        min-height: 62px;
        padding: 13px 15px;
    }

    .policy-meta-item strong {
        font-size: 10px;
        line-height: 1.4;
    }


    /* SECTION */

    .policy-section {
        margin-bottom: 38px;
    }

    .policy-section-heading {
        gap: 10px;
        margin-bottom: 13px;
    }

    .policy-section-number {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 8px;
    }

    .policy-section-heading h2 {
        font-size: 18px;
    }


    /* CARDS */

    .policy-card {
        padding: 18px;
    }

    .policy-card p {
        font-size: 11px;
        line-height: 1.7;
    }

    .policy-card-numbered {
        padding: 18px;
    }

    .policy-card-number {
        margin-bottom: 15px;
    }

    .policy-card-numbered h3 {
        font-size: 13px;
    }

    .policy-card-numbered p {
        font-size: 10.5px;
    }


    /* LIST */

    .policy-list-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .policy-list-row p {
        padding: 12px;
        font-size: 10px;
        line-height: 1.6;
    }

    .policy-list-row > span {
        font-size: 8px;
    }


    /* HIGHLIGHT */

    .policy-highlight {
        padding: 18px;
        gap: 12px;
    }

    .policy-highlight-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
        font-size: 11px;
    }

    .policy-highlight h3 {
        font-size: 13px;
    }

    .policy-highlight p {
        font-size: 10px;
        line-height: 1.65;
    }


    /* PROCESS */

    .policy-steps {
        gap: 8px;
    }

    .policy-step {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .policy-step-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 8px;
    }

    .policy-step h3 {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .policy-step p {
        font-size: 10px;
        line-height: 1.65;
    }


    /* ACCEPTANCE */

    .policy-acceptance {
        margin-bottom: 40px;
        padding: 20px;
    }

    .policy-acceptance h2 {
        font-size: 18px;
    }

    .policy-acceptance p {
        font-size: 10px;
        line-height: 1.65;
    }

    .policy-acceptance-mark {
        min-width: 0;
        font-size: 12px;
    }

}