:root {
    --bg: #ffffff;
    --card: #ffffff;
    --line: rgba(36, 22, 15, 0.1);

    --ink: #24160f;
    --muted: #746457;
    --soft: #9b8b80;

    --red: #b85b4d;
    --orange: #e99b45;
    --yellow: #f4c95d;
    --green: #6fae75;
    --blue: #5278c7;
    --violet: #8b5fbf;

    --accent: var(--red);

    --shadow: 0 22px 70px rgba(36, 22, 15, 0.07);
    --shadow-soft: 0 14px 34px rgba(36, 22, 15, 0.05);

    --radius-xl: 34px;
    --radius-lg: 24px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Manrope", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 10% 8%, rgba(184, 91, 77, 0.045), transparent 26%),
        radial-gradient(circle at 88% 14%, rgba(244, 201, 93, 0.05), transparent 28%);
}

a {
    color: inherit;
    text-decoration: none;
}

.policy-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.policy-header {
    position: sticky;
    top: 0;
    z-index: 60;

    padding: 18px 0 0;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-shell {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;

    padding: 18px 24px;

    border-radius: 28px;
    border: 1px solid rgba(36, 22, 15, 0.08);

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));

    box-shadow:
        0 12px 30px rgba(36, 22, 15, 0.04),
        0 2px 8px rgba(36, 22, 15, 0.03);

    overflow: hidden;
}

/* subtle premium glow */

.header-shell::before {
    content: "";

    position: absolute;
    inset: 0;

    background: radial-gradient(circle at left top, rgba(184, 91, 77, 0.06), transparent 28%),
        radial-gradient(circle at right top, rgba(82, 120, 199, 0.05), transparent 26%);

    pointer-events: none;
}

/* =========================
   BRAND
========================= */

.brand {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 18px;

    min-width: 0;
}

.brand-logo-wrap {
    position: relative;

    width: 82px;
    height: 82px;

    flex-shrink: 0;

    border-radius: 24px;

    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(248, 248, 248, 1));

    border: 1px solid rgba(36, 22, 15, 0.06);

    box-shadow: 0 10px 24px rgba(36, 22, 15, 0.05);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
}

.brand:hover .brand-logo-wrap {
    transform: translateY(-2px);

    box-shadow: 0 18px 36px rgba(36, 22, 15, 0.08);
}

.brand img {
    width: 64px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* =========================
   BRAND COPY
========================= */

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-copy strong {
    font-size: 20px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.06em;

    color: var(--ink);
}

.brand-copy span {
    font-size: 13px;
    line-height: 1.5;

    color: var(--muted);

    letter-spacing: 0.02em;
}

/* =========================
   BUTTON
========================= */

.back-btn {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 999px;
    border: 1px solid rgba(36, 22, 15, 0.08);

    background: #fff;

    color: var(--ink);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;

    box-shadow: 0 10px 24px rgba(36, 22, 15, 0.045);

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease),
        background 0.3s var(--ease);
}

.back-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(184, 91, 77, 0.18);

    background: linear-gradient(180deg, #fff, rgba(184, 91, 77, 0.03));

    box-shadow: 0 18px 40px rgba(184, 91, 77, 0.1);
}

/* Main */

.policy-main {
    padding: 86px 0 96px;
}

.policy-hero {
    text-align: center;
    padding: 0 12px;
    animation: policyFadeUp 0.8s var(--ease) both;
}

.policy-kicker {
    display: inline-flex;
    padding: 8px 14px;

    border-radius: 999px;
    border: 1px solid rgba(184, 91, 77, 0.16);
    background: #fff;

    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    box-shadow: 0 10px 26px rgba(36, 22, 15, 0.04);
}

.policy-hero h1 {
    margin: 24px 0 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.policy-hero p {
    width: min(720px, 100%);
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* Card */

.policy-card {
    position: relative;
    width: min(890px, 100%);
    margin: 54px auto 0;
    padding: 2px;
    border-radius: var(--radius-xl);
    background: conic-gradient(
        from 180deg,
        var(--red),
        var(--orange),
        var(--yellow),
        var(--green),
        var(--blue),
        var(--violet),
        var(--red)
    );
    box-shadow: var(--shadow);
}

.policy-card::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: calc(var(--radius-xl) - 2px);
    background: #fff;
    z-index: 0;
}

.policy-card > * {
    position: relative;
    z-index: 1;
}

.policy-card-inner {
    padding: clamp(24px, 4vw, 52px);
    border-radius: calc(var(--radius-xl) - 2px);
    background: #fff;
}

/* If you do not want to add policy-card-inner in HTML */
.policy-card:not(:has(.policy-card-inner)) {
    padding: clamp(24px, 4vw, 52px);
}

.policy-card:not(:has(.policy-card-inner))::before {
    inset: 2px;
}

/* Sections */

.policy-section {
    position: relative;
    padding: 24px 0 24px 26px;
    border-bottom: 1px solid rgba(36, 22, 15, 0.08);

    opacity: 0;
    transform: translateY(22px);
    animation: policySectionIn 0.7s var(--ease) both;
}

.policy-section:nth-child(1) {
    animation-delay: 0.08s;
}
.policy-section:nth-child(2) {
    animation-delay: 0.16s;
}
.policy-section:nth-child(3) {
    animation-delay: 0.24s;
}
.policy-section:nth-child(4) {
    animation-delay: 0.32s;
}
.policy-section:nth-child(5) {
    animation-delay: 0.4s;
}
.policy-section:nth-child(6) {
    animation-delay: 0.48s;
}
.policy-section:nth-child(7) {
    animation-delay: 0.56s;
}

.policy-section:first-child {
    padding-top: 0;
}

.policy-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.policy-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 29px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(184, 91, 77, 0.1);
}

.policy-section:first-child::before {
    top: 5px;
}

.policy-section h2 {
    margin: 0 0 10px;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.policy-section p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.policy-section p + p {
    margin-top: 12px;
}

/* Final confirmation note */

.policy-note {
    margin-top: 34px;
    padding: 22px 24px;
    border-radius: 26px;
    border: 1px solid rgba(184, 91, 77, 0.14);
    background: linear-gradient(180deg, rgba(184, 91, 77, 0.045), rgba(255, 255, 255, 0.95));
    box-shadow: 0 14px 34px rgba(36, 22, 15, 0.045);

    opacity: 0;
    transform: translateY(22px);
    animation: policySectionIn 0.7s var(--ease) 0.68s both;
}

.policy-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.policy-note p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

/* Footer */

.policy-footer {
    padding: 0 0 54px;
}

.footer-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 22px 26px;

    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;

    box-shadow: var(--shadow-soft);
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.28s var(--ease);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Animation */

@keyframes policyFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes policySectionIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .policy-shell {
        width: min(100% - 22px, 1120px);
    }

    .policy-header {
        padding-top: 12px;
    }

    .header-shell {
        width: min(100% - 20px, 1120px);

        padding: 14px 14px;

        border-radius: 24px;

        gap: 12px;
    }

    .brand {
        gap: 12px;
    }

    .brand-logo-wrap {
        width: 62px;
        height: 62px;

        border-radius: 18px;
    }

    .brand img {
        width: 48px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy span {
        font-size: 11px;
    }

    .back-btn {
        min-height: 44px;

        padding: 0 16px;

        font-size: 12px;
    }

    .policy-main {
        padding: 56px 0 74px;
    }

    .policy-hero h1 {
        font-size: clamp(34px, 12vw, 52px);
        line-height: 1;
    }

    .policy-hero p {
        font-size: 14px;
        line-height: 1.75;
    }

    .policy-card {
        margin-top: 38px;
        border-radius: 28px;
    }

    .policy-card::before {
        border-radius: 26px;
    }

    .policy-card-inner,
    .policy-card:not(:has(.policy-card-inner)) {
        padding: 24px 18px;
    }

    .policy-section {
        padding: 22px 0 22px 22px;
    }

    .policy-section h2 {
        font-size: 18px;
    }

    .policy-section p {
        font-size: 13.5px;
        line-height: 1.78;
    }

    .policy-note {
        padding: 20px;
        border-radius: 22px;
    }

    .footer-shell {
        border-radius: 22px;
        padding: 20px;
    }
}