/* ============================================================
   PAPIRA — POLICY / FAQ PAGE
   Extends styles.css + landing-animated.css for shared brand.
   Wider layout, multi-column where content allows.
   ============================================================ */

.policy-page {
    color: #0f172a;
    /* Quiet atmosphere — not flat gray; color stays in the Papira family */
    background-color: #f4f6f9;
    background-image:
        radial-gradient(ellipse 120% 80% at 100% 0%, rgba(196, 147, 42, 0.09), transparent 52%),
        radial-gradient(ellipse 90% 60% at 0% 40%, rgba(13, 27, 42, 0.045), transparent 48%),
        linear-gradient(180deg, #fafbfd 0%, #f4f6f9 100%);
    background-attachment: fixed;
}

@media (max-width: 720px) {
    .policy-page {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-refund-card,
    .policy-contact-card--full {
        transition: border-color 0.15s, box-shadow 0.15s;
    }

    .policy-refund-card:hover,
    .policy-contact-card--full:hover {
        transform: none;
    }
}

.policy-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 40px 80px;
}

@media (max-width: 720px) {
    .policy-main {
        padding: 36px 20px 60px;
    }
}

/* ─── Header (full width, big) ─── */
.policy-header {
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: end;
}

@media (max-width: 900px) {
    .policy-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.policy-header-text {
    min-width: 0;
}

.policy-title {
    margin: 8px 0 16px;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #0f172a;
}

.policy-lead {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.65;
    color: #475569;
}

.policy-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 14px;
    background: linear-gradient(165deg, #ffffff 0%, #faf8f5 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 40px rgba(15, 23, 42, 0.06);
}

.policy-toc a {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #475569;
    text-decoration: none;
    font-size: 0.84em;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.policy-toc a:hover {
    background: rgba(255, 251, 235, 0.95);
    color: var(--papira-navy);
    border-color: var(--papira-amber-line);
    box-shadow: 0 2px 8px rgba(196, 147, 42, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.policy-section {
    margin-bottom: 56px;
    scroll-margin-top: 80px;
}

.policy-section-title {
    margin: 0 0 24px;
    font-size: 1.55em;
    font-weight: 720;
    letter-spacing: -0.015em;
    color: #0f172a;
    line-height: 1.25;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--papira-amber);
    display: inline-block;
}

.policy-section p {
    margin: 0 0 14px;
    font-size: 1em;
    line-height: 1.7;
    color: #334155;
}

.policy-section p strong {
    color: #0f172a;
    font-weight: 700;
}

/* ─── Two-column section layout (label + content) ─── */
.policy-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .policy-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.policy-row-intro {
    position: sticky;
    top: 24px;
}

.policy-row-intro p {
    margin: 0;
    font-size: 0.96em;
    line-height: 1.65;
    color: #475569;
}

.policy-row-intro p strong {
    color: #0f172a;
}

.policy-row-content {
    min-width: 0;
    padding: 22px 26px 26px;
    background: linear-gradient(168deg, #ffffff 0%, #fafbfd 42%, #fffdfa 100%);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 40px rgba(15, 23, 42, 0.055);
}

@media (max-width: 900px) {
    .policy-row-content {
        padding: 18px 20px 22px;
    }
}

/* ─── Two-column lists (good/bad side by side) ─── */
.policy-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 720px) {
    .policy-two-col {
        grid-template-columns: 1fr;
    }
}

.policy-col-card {
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    /* Sits on the “sheet” — flatter than the outer column so it doesn’t stack heavy frames */
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.policy-col-card--good {
    background: linear-gradient(155deg, #ffffff 0%, #fffbf7 45%, #faf6f0 100%);
    border-color: rgba(196, 147, 42, 0.14);
}

.policy-col-card--bad {
    background: linear-gradient(155deg, #fbfcfe 0%, #f4f6f9 100%);
    border-color: rgba(148, 163, 184, 0.35);
}

.policy-row-content .policy-col-card {
    box-shadow: none;
}

.policy-col-card-title {
    margin: 0 0 12px;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--papira-amber);
}

.policy-col-card--bad .policy-col-card-title {
    color: #64748b;
    letter-spacing: 0.06em;
}

.policy-col-card .policy-list {
    margin: 0;
}

.policy-col-card--good .policy-list li,
.policy-col-card--bad .policy-list li {
    color: #334155;
}

/* ─── Emphasis box ─── */
.policy-emphasis {
    margin: 18px 0 0 !important;
    padding: 16px 20px;
    background: linear-gradient(145deg, #fffdf8 0%, #fff9f0 55%, #ffffff 100%);
    border: 1px solid rgba(196, 147, 42, 0.2);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 6px 20px rgba(196, 147, 42, 0.07);
    font-size: 0.96em !important;
    color: #334155 !important;
    font-weight: 550;
}

.policy-subhead {
    margin: 28px 0 12px;
    font-size: 1.05em;
    font-weight: 700;
    color: #0f172a;
}

.policy-subhead em {
    color: #0f172a;
    font-style: normal;
    font-weight: 800;
}

/* ─── Lists ─── */
.policy-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.policy-list li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 0.95em;
    line-height: 1.55;
    color: #334155;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    top: 6px;
    color: #94a3b8;
    font-weight: 700;
}

/* Good/bad lists: same quiet bullets as body copy (landing-style restraint) */
.policy-list--good li::before,
.policy-list--bad li::before {
    content: '';
    width: 5px;
    height: 5px;
    left: 10px;
    top: 14px;
    border-radius: 50%;
    background: #cbd5e1;
    font-weight: 400;
}

.policy-list--good li::before {
    background: radial-gradient(circle at 30% 30%, #e8c77a, var(--papira-amber));
    box-shadow: 0 0 0 2px rgba(196, 147, 42, 0.12);
}

.policy-list--bad li::before {
    background: #94a3b8;
    box-shadow: none;
}

/* ─── Callouts (kept for legacy markup) ─── */
.policy-callout {
    margin: 20px 0;
    padding: 20px 22px;
    border-radius: 12px;
}

.policy-callout--warn {
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 16px rgba(15, 23, 42, 0.04);
}

.policy-callout--warn > strong {
    display: block;
    font-size: 1em;
    color: #0f172a;
    margin-bottom: 12px;
}

.policy-callout--warn .policy-list li {
    color: #334155;
}

.policy-callout--info {
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.policy-callout--info p {
    color: #475569;
    margin-bottom: 12px;
}

.policy-callout--info p:last-child {
    margin-bottom: 0;
}

.policy-callout-note {
    margin: 14px 0 0 !important;
    padding-top: 14px;
    border-top: 1px solid rgba(180, 83, 9, 0.2);
    font-size: 0.95em !important;
    color: #78350f !important;
}

.policy-callout-cta {
    background: white;
    padding: 14px 16px !important;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-top: 14px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.policy-callout-cta strong {
    color: var(--papira-navy);
}

/* ═══════════════════════════════════════════════════════════
   REFUNDS — same card language as the rest of the page
   ═══════════════════════════════════════════════════════════ */
.policy-section--refunds .policy-section-title {
    border-bottom-color: var(--papira-amber);
}

.policy-refund-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0 0 24px;
    padding: 16px;
    background: linear-gradient(
        168deg,
        rgba(196, 147, 42, 0.09) 0%,
        rgba(245, 241, 235, 0.45) 42%,
        rgba(255, 255, 255, 0.55) 100%
    );
    border-radius: 14px;
    border: 1px solid rgba(196, 147, 42, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

@media (max-width: 720px) {
    .policy-refund-grid {
        grid-template-columns: 1fr;
    }
}

.policy-refund-card {
    padding: 20px;
    background: linear-gradient(175deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.policy-refund-card:hover {
    border-color: rgba(196, 147, 42, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.policy-refund-card--yes {
    background: linear-gradient(175deg, #ffffff 0%, #fffdfa 100%);
}

.policy-refund-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    background: linear-gradient(145deg, rgba(196, 147, 42, 0.18) 0%, rgba(13, 27, 42, 0.1) 100%);
    color: var(--papira-navy);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.policy-refund-card h3 {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 700;
    color: #0f172a;
}

.policy-refund-card p {
    margin: 0 !important;
    font-size: 0.9em !important;
    line-height: 1.55;
    color: #475569;
}

/* "We do NOT refund for" — cooler slab under the warm refund well */
.policy-no-refund-card {
    padding: 20px 22px;
    background: linear-gradient(175deg, #eef2f7 0%, #e8edf4 55%, #f0f3f8 100%);
    border: 1px solid rgba(100, 116, 139, 0.22);
    border-radius: 12px;
    margin: 18px 0 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 6px 20px rgba(15, 23, 42, 0.05);
}

.policy-no-refund-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.policy-no-refund-card-head svg {
    flex-shrink: 0;
    color: #475569;
    opacity: 0.9;
}

.policy-no-refund-card-title {
    margin: 0;
    font-size: 0.96em;
    font-weight: 700;
    color: #0f172a;
}

.policy-no-refund-card .policy-list {
    margin: 0;
}

.policy-no-refund-card .policy-list li {
    color: #334155;
}

.policy-no-refund-card .policy-list--bad li::before {
    background: #cbd5e1;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT — single email, centered card
   ═══════════════════════════════════════════════════════════ */
.policy-contact-single {
    margin: 0 0 14px;
}

.policy-contact-card--full {
    padding: 28px 32px;
    background: linear-gradient(168deg, #ffffff 0%, #faf8f5 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.policy-contact-card--full:hover {
    border-color: rgba(196, 147, 42, 0.28);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.policy-contact-card--full .policy-contact-kicker {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--papira-amber);
    margin-bottom: 8px;
}

.policy-contact-card--full .policy-contact-label {
    font-size: 0.95em;
    font-weight: 550;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.55;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.policy-contact-card--full .policy-contact-link {
    display: inline-block;
    font-size: 1.15em;
    font-weight: 700;
    color: var(--papira-navy);
    text-decoration: none;
    word-break: break-all;
    border-bottom: 2px solid var(--papira-amber);
    padding-bottom: 2px;
    transition: color 0.15s, border-color 0.15s;
}

.policy-contact-card--full .policy-contact-link:hover {
    color: var(--papira-amber);
}

.policy-contact-sla {
    margin: 0 !important;
    font-size: 0.86em !important;
    color: #64748b !important;
    font-style: italic;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   FAQ — TWO COLUMNS
   ═══════════════════════════════════════════════════════════ */
.policy-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

@media (max-width: 900px) {
    .policy-faq-grid {
        grid-template-columns: 1fr;
    }
}

.policy-faq {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    margin-bottom: 0;
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

.policy-faq:hover {
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.policy-faq[open] {
    border-color: rgba(196, 147, 42, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 8px 28px rgba(196, 147, 42, 0.1);
    grid-row: span 1;
}

.policy-faq summary {
    list-style: none;
    padding: 14px 18px;
    font-size: 0.93em;
    font-weight: 650;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color 0.15s, background 0.18s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
}

.policy-faq summary::-webkit-details-marker {
    display: none;
}

.policy-faq summary::after {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.2s;
}

.policy-faq[open] summary::after {
    transform: rotate(180deg);
}

.policy-faq[open] summary {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.55) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.policy-faq summary:hover {
    color: var(--papira-amber);
}

.policy-faq p {
    padding: 0 18px 16px;
    margin: 0;
    font-size: 0.92em;
    line-height: 1.6;
    color: #475569;
}

.policy-faq p a {
    color: var(--papira-navy);
    border-bottom: 1px solid var(--papira-amber-line);
    text-decoration: none;
    transition: color 0.15s;
}

.policy-faq p a:hover {
    color: var(--papira-amber);
}

/* ═══════════════════════════════════════════════════════════
   FINE PRINT — compact strip, two-column
   ═══════════════════════════════════════════════════════════ */
.policy-section--fineprint .policy-section-title {
    border-bottom-color: var(--papira-amber-line);
    font-size: 1.15em;
}

.policy-section--fineprint {
    padding: 24px 28px;
    background: linear-gradient(165deg, #f1f5f9 0%, #e8edf4 45%, #f4f6f9 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (max-width: 720px) {
    .policy-section--fineprint {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.policy-section--fineprint .policy-section-title {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.policy-section--fineprint p,
.policy-section--fineprint .policy-list li {
    font-size: 0.92em;
    color: #475569;
}

.policy-section--fineprint .policy-emphasis {
    margin-top: 0 !important;
    align-self: center;
    background: linear-gradient(165deg, #ffffff 0%, #fafbfd 100%);
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.policy-final-cta {
    margin-top: 64px;
    padding: 48px 32px;
    text-align: center;
    background: linear-gradient(185deg, #fff8e8 0%, #fffbeb 35%, #ffffff 100%);
    border: 1px solid rgba(196, 147, 42, 0.22);
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 16px 48px rgba(196, 147, 42, 0.12);
}

.policy-final-cta h2 {
    margin: 0 0 10px;
    font-size: 1.7em;
    font-weight: 760;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.policy-final-cta p {
    margin: 0 0 20px;
    font-size: 0.96em;
    color: #64748b;
}