:root {
    --policy-ink: #1b2b41;
    --policy-body: #4d6379;
    --policy-muted: #66758a;
    --policy-purple: #3c267f;
    --policy-purple-dark: #25145f;
    --policy-green: #126b3c;
    --policy-gold: #bd8b17;
    --policy-line: #e1e4f0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body.policy-page {
    margin: 0;
    color: var(--policy-ink);
    background:
        radial-gradient(ellipse 45% 24% at 89% 8%, rgba(91, 67, 165, .12), transparent 80%),
        radial-gradient(ellipse 40% 30% at 3% 38%, rgba(71, 111, 185, .09), transparent 80%),
        #f6f7ff;
    font: 400 16px/1.75 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}
a { color: var(--policy-purple); }
a:focus-visible { outline: 3px solid var(--policy-green); outline-offset: 3px; border-radius: 4px; }
.policy-shell { width: min(1216px, calc(100% - 48px)); margin-inline: auto; }
.policy-skip { position: fixed; top: -5rem; left: 1rem; z-index: 30; padding: .65rem 1rem; border-radius: 0 0 8px 8px; background: var(--policy-purple-dark); color: #fff; }
.policy-skip:focus { top: 0; }
.policy-progress { position: fixed; inset: 0 0 auto; z-index: 20; height: 4px; background: transparent; pointer-events: none; }
.policy-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--policy-purple), var(--policy-green)); }

.policy-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(60, 38, 127, .1); background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.policy-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.policy-brand { display: inline-flex; align-items: center; gap: .8rem; min-width: 0; color: var(--policy-ink); text-decoration: none; }
.policy-brand img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.policy-brand span { display: grid; line-height: 1.25; }
.policy-brand small { color: var(--policy-green); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.policy-brand strong { font-size: 1rem; letter-spacing: -.02em; }
.policy-return { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 43px; padding: .55rem .9rem; border: 1px solid #d9d3ec; border-radius: 11px; background: #fff; color: var(--policy-purple-dark); font-size: .84rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.policy-return svg { width: 17px; height: 17px; flex: none; }
.policy-return:hover { background: #f5f1ff; border-color: #baa9e1; transform: translateY(-1px); }

.policy-layout { display: grid; grid-template-columns: 228px minmax(0, 860px); justify-content: center; align-items: start; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3.5rem) 5rem; }
.policy-nav { position: sticky; top: 112px; display: grid; gap: .25rem; padding: 1.1rem; border: 1px solid rgba(225, 228, 240, .95); border-radius: 16px; background: rgba(255, 255, 255, .82); box-shadow: 0 12px 35px rgba(42, 35, 100, .045); }
.policy-nav p { margin: 0 0 .55rem; padding: 0 .75rem; color: var(--policy-muted); font-size: .69rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.policy-nav a { display: flex; align-items: center; gap: .75rem; min-height: 43px; padding: .55rem .75rem; border-radius: 9px; color: #53637a; font-size: .83rem; font-weight: 650; line-height: 1.3; text-decoration: none; transition: background .2s ease, color .2s ease; }
.policy-nav a span { color: #98a0b4; font-size: .67rem; font-weight: 800; letter-spacing: .06em; }
.policy-nav a:hover { background: #f5f1ff; color: var(--policy-purple); }
.policy-nav a.is-active { background: #eee9fa; color: var(--policy-purple-dark); }
.policy-nav a.is-active span { color: var(--policy-purple); }

.policy-document { --policy-document-pad: clamp(1.5rem, 4vw, 3.5rem); position: relative; min-width: 0; overflow: hidden; padding: 0 var(--policy-document-pad) clamp(2rem, 4vw, 3.5rem); border: 1px solid #e1e3f0; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(40, 35, 101, .07), 0 4px 16px rgba(40, 35, 101, .035); }
.policy-document::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--policy-purple) 0 72%, #e8ba2d 72% 86%, var(--policy-green) 86%); }
.policy-intro { margin: 0 calc(0px - var(--policy-document-pad)); padding: clamp(2rem, 4vw, 3.5rem) var(--policy-document-pad) 2.5rem; border-bottom: 1px solid var(--policy-line); background: linear-gradient(125deg, #fbfaff 0%, #f6f4ff 52%, #f8faff 100%); }
.policy-eyebrow { display: inline-block; margin: 0 0 1rem; padding: .38rem .7rem; border: 1px solid #d7c9a7; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--policy-green); font-size: .69rem; font-weight: 800; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.policy-intro h1 { max-width: 18ch; margin: 0; color: var(--policy-ink); font-size: clamp(2.15rem, 4.1vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.055em; text-wrap: balance; }
.policy-lead { max-width: 64ch; margin: 1.15rem 0 0; color: var(--policy-body); font-size: clamp(1rem, 1.3vw, 1.09rem); line-height: 1.75; }
.policy-date { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 1.35rem 0 0; padding: .38rem .7rem; border: 1px solid #e3e2ed; border-radius: 8px; background: #fff; color: var(--policy-body); font-size: .8rem; line-height: 1.4; }
.policy-date svg { width: 16px; height: 16px; margin-right: .2rem; color: var(--policy-purple); }
.policy-date strong { color: var(--policy-ink); }
.policy-notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .8rem; max-width: 72ch; margin-top: 1.5rem; padding: 1rem 1.15rem; border: 1px solid #e9dec3; border-left: 4px solid var(--policy-gold); border-radius: 10px; background: #fffaf0; color: #584722; font-size: .89rem; line-height: 1.7; }
.policy-notice svg { width: 20px; height: 20px; margin-top: .18rem; color: #9a6d0a; }
.policy-notice p { margin: 0; }

.policy-section { scroll-margin-top: 110px; padding-top: clamp(2.4rem, 4vw, 3.25rem); }
.policy-section + .policy-section { margin-top: 2.7rem; border-top: 1px solid var(--policy-line); }
.policy-section h2 { display: flex; align-items: center; gap: .85rem; margin: 0 0 1.4rem; color: var(--policy-ink); font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 750; line-height: 1.3; letter-spacing: -.04em; }
.policy-section-number { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 9px; background: #eee9fa; color: var(--policy-purple); font-size: .76rem; font-weight: 800; letter-spacing: 0; }
.policy-section h3 { max-width: 68ch; margin: 1.9rem 0 .5rem; color: #2d3853; font-size: 1rem; font-weight: 750; line-height: 1.5; }
.policy-section p, .policy-section ul { max-width: 72ch; color: #46586d; font-size: .94rem; line-height: 1.8; }
.policy-section p { margin: .65rem 0; }
.policy-section ul { margin: .75rem 0 1.2rem; padding-left: 1.35rem; }
.policy-section li { padding-left: .25rem; margin-block: .45rem; }
.policy-section li::marker { color: var(--policy-purple); }
.policy-section a { font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.policy-section a:hover { color: var(--policy-purple-dark); }

.policy-document-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .7rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--policy-line); }
.policy-document-footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .58rem .85rem; border: 1px solid #d9d3ec; border-radius: 10px; background: #fff; color: var(--policy-purple-dark); font-size: .8rem; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.policy-document-footer a:hover { background: #f5f1ff; border-color: #baa9e1; }
.policy-document-footer .policy-top-link { margin-right: auto; border-color: transparent; }
.policy-document-footer .policy-primary-link { border-color: var(--policy-purple); background: var(--policy-purple); color: #fff; }
.policy-document-footer .policy-primary-link:hover { border-color: var(--policy-purple-dark); background: var(--policy-purple-dark); }
.policy-site-footer { padding: 1.6rem 0; border-top: 1px solid #e4e5ef; color: var(--policy-muted); font-size: .78rem; text-align: center; }

@media (max-width: 900px) {
    .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .policy-nav { position: static; display: flex; align-items: center; gap: .45rem; overflow-x: auto; padding: .7rem; scrollbar-width: thin; }
    .policy-nav p { flex: none; margin: 0 .4rem 0 0; padding: 0 .4rem; white-space: nowrap; }
    .policy-nav a { flex: none; min-height: 38px; padding: .45rem .65rem; white-space: nowrap; }
}
@media (max-width: 560px) {
    .policy-shell { width: min(100% - 28px, 1216px); }
    .policy-header-inner { min-height: 70px; gap: .6rem; }
    .policy-brand { gap: .5rem; }
    .policy-brand img { width: 38px; height: 38px; }
    .policy-brand small { font-size: .56rem; }
    .policy-brand strong { font-size: .82rem; }
    .policy-return { min-height: 38px; gap: .35rem; padding: .45rem .55rem; font-size: .7rem; }
    .policy-return svg { width: 14px; height: 14px; }
    .policy-layout { padding-block: 1rem 3rem; }
    .policy-nav p { display: none; }
    .policy-nav a { font-size: .76rem; }
    .policy-document { border-radius: 16px; }
    .policy-intro { padding-bottom: 2rem; }
    .policy-eyebrow { font-size: .6rem; }
    .policy-intro h1 { font-size: clamp(2rem, 8.3vw, 2.75rem); }
    .policy-section h2 { gap: .65rem; }
    .policy-section-number { width: 1.9rem; height: 1.9rem; font-size: .68rem; }
    .policy-document-footer { justify-content: stretch; }
    .policy-document-footer a { flex: 1 1 auto; }
    .policy-document-footer .policy-top-link { flex-basis: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .policy-return, .policy-nav a, .policy-document-footer a { transition: none; }
}
@media print {
    .policy-header, .policy-nav, .policy-progress, .policy-skip, .policy-site-footer, .policy-document-footer { display: none; }
    html { scroll-padding-top: 0; }
    body.policy-page { background: #fff; }
    .policy-layout { display: block; width: 100%; padding: 0; }
    .policy-document { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
    .policy-document::before { display: none; }
    .policy-intro { margin: 0; padding: 0 0 1rem; background: none; }
    .policy-section { padding-top: 1.4rem; }
    .policy-section + .policy-section { margin-top: 1.4rem; }
}
