/* Review Policy (templates/review-policy.php). Everything is scoped to .rp. */
.rp{--ink:#0D3659;--body:#33445C;--muted:#5B6475;--line:#E6E9F0;--soft:#F5F7FF;--brand:#8F3985;--tint:#F8EFF7;--warm:#FFF8EC;--amber:#F5A524;--red:#B3261E;--redt:#FDEFED;--green:#1B7A43;--greent:#EAF6EF;font-family:Inter,"Inter Fallback",system-ui,sans-serif;color:var(--body);background:#fff;-webkit-font-smoothing:antialiased}
.rp *,.rp *:before,.rp *:after{box-sizing:border-box}
.rp svg{flex:none}
.rp [hidden]{display:none!important}
.rp-wrap{display:block;max-width:1232px;margin:0 auto;padding:0 16px}
.rp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rp ol,.rp ul{list-style:none;margin:0;padding:0}
.rp :focus-visible{outline:3px solid #C77BBE;outline-offset:2px}
.rp [tabindex="-1"]:focus{outline:none}

/* hero */
.rp-hero{position:relative;z-index:6;color:#fff;background:radial-gradient(ellipse 70% 120% at 72% 0,#5A3468 0,rgba(90,52,104,0) 70%),#0D3659}
.rp-hero-g{display:grid;gap:28px;padding-top:32px;padding-bottom:44px}
.rp-hero-t{min-width:0}
.rp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#E7B6E0}
.rp-eyebrow:before{content:"";width:18px;height:2px;border-radius:2px;background:currentColor}
.rp .rp-hero h1{margin:14px 0 0;font-size:38px;line-height:1.08;letter-spacing:-.03em;font-weight:800;color:#fff;text-align:left}
.rp-find{position:relative;display:flex;align-items:center;margin-top:24px;max-width:560px;height:58px;padding:0 10px 0 20px;border-radius:30px;background:#fff;color:var(--brand);box-shadow:0 16px 40px rgba(4,20,36,.28)}
.rp-find:focus-within{box-shadow:0 0 0 3px #E7B6E0,0 16px 40px rgba(4,20,36,.28)}
.rp .rp-find input{flex:1;min-width:0;height:100%;padding:0 12px;border:0;background:none;font:500 16px/1.2 Inter,"Inter Fallback",system-ui,sans-serif;color:var(--ink);outline:none;box-shadow:none;-webkit-appearance:none;appearance:none}
.rp-find input::placeholder{color:#5B6475;opacity:1}
.rp-find input::-webkit-search-cancel-button{display:none}
.rp-x{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.rp-x:hover{background:var(--soft)}
.rp-res{position:absolute;left:0;right:0;top:66px;padding:8px;border-radius:20px;background:#fff;color:var(--body);box-shadow:0 24px 60px rgba(4,20,36,.32);z-index:8}
.rp-count{margin:0;padding:8px 12px;font-size:13px;font-weight:600;color:var(--muted)}
.rp-res ul{max-height:min(380px,50vh);overflow:auto}
.rp-res a{display:block;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.45;color:var(--body);text-decoration:none}
.rp-res a:hover,.rp-res a:focus{background:var(--tint)}
.rp-res b{display:block;font-size:14px;font-weight:700;color:var(--ink)}
.rp-res mark{background:#FFE3A6;color:inherit;border-radius:3px}
.rp .rp-pdf{display:inline-flex;align-items:center;gap:10px;margin-top:18px;min-height:44px;font-size:16px;color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:5px}
.rp-pdf strong{font-weight:600;color:inherit}
.rp .rp-pdf:hover{color:#fff;text-decoration-color:#fff}
.rp-art{position:relative;width:288px;margin-bottom:26px}
.rp-art img{display:block;width:188px;height:188px;object-fit:cover;border-radius:24px}
.rp-paper{position:absolute;right:0;bottom:-40px;width:172px;padding:16px 18px 18px;border-radius:20px 20px 20px 4px;background:#FFFDF8;box-shadow:0 20px 44px rgba(4,20,36,.34);transform:rotate(-3deg)}
.rp-stars{display:flex;gap:4px;margin-bottom:14px}
.rp-stars svg{width:22px;height:22px;fill:#FFF3DC;stroke:var(--amber);stroke-width:1.8;stroke-linejoin:round}
.rp-paper i{display:block;height:2px;margin-top:13px;border-radius:2px;background:#E4DCCB}
.rp-paper i.s{width:55%}
.rp-pen{position:absolute;right:-10px;bottom:-12px;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(143,57,133,.4)}

/* contents: phone and tablet bar */
.rp-toc-m{position:sticky;top:65px;z-index:5;background:#fff;border-bottom:1px solid var(--line)}
.rp-toc-m summary{cursor:pointer;list-style:none}
.rp-toc-m summary::-webkit-details-marker{display:none}
.rp-toc-m summary:focus-visible{outline-offset:-3px}
.rp-toc-m summary .rp-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;color:var(--brand)}
.rp-toc-m summary .rp-wrap>span{min-width:0}
.rp-toc-m b{display:block;font-size:12px;line-height:1.3;font-weight:600;color:var(--muted)}
.rp-toc-m em{display:block;font-style:normal;font-size:15px;line-height:1.3;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp-toc-m[open] summary svg{transform:rotate(180deg)}
.rp-toc-m nav{max-height:60vh;overflow:auto;padding-top:4px;padding-bottom:14px}
.rp-toc{display:none}
.rp-toc a,.rp-toc-m a{display:flex;gap:10px;min-height:44px;align-items:center;padding:6px 10px;border-radius:10px;font-size:15px;line-height:1.35;color:var(--body);text-decoration:none}
.rp-toc a span,.rp-toc-m a span{flex:none;min-width:22px;font-weight:700;color:var(--brand)}
.rp-toc a.is-top,.rp-toc-m a.is-top{font-size:13px;font-weight:700;color:var(--ink)}
.rp-toc a:hover,.rp-toc-m a:hover{background:var(--soft);color:var(--ink)}
.rp .rp-toc a.is-on,.rp .rp-toc-m a.is-on{background:var(--tint);color:#6E2B66;font-weight:600}

/* text */
.rp-grid{padding-top:32px;padding-bottom:72px}
.rp-body{min-width:0;font-size:16px;line-height:1.65}
.rp-body p{margin:0 0 16px}
.rp-body h2,.rp-body h3{scroll-margin-top:140px}
.rp-body strong{font-weight:700;color:var(--ink)}
.rp-body a{color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.rp-body a:hover{text-decoration:none}
.rp-body .rp-top h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.01em;font-weight:800;color:var(--ink);text-align:left}
.is-intro{position:relative;padding:26px 22px 24px;border-radius:24px 24px 24px 6px;background:var(--warm)}
.is-intro p{margin:12px 0 0;font-size:17px;line-height:1.65;color:#3B4557}
.is-group{margin-top:56px}
.rp-sec{margin-top:40px;padding-top:36px;border-top:1px solid var(--line)}
.is-group+.rp-sec{margin-top:24px;padding-top:24px;border-top:0}
.rp-body .rp-sec h3{display:flex;align-items:flex-start;gap:14px;margin:0 0 18px;font-size:22px;line-height:1.25;letter-spacing:-.01em;font-weight:800;color:var(--ink);text-align:left}
.rp-h{padding-top:5px;min-width:0}
/* the number sits in a review bubble */
.rp-n{position:relative;flex:none;display:grid;place-items:center;min-width:40px;height:36px;padding:0 8px;border-radius:12px;background:var(--brand);color:#fff;font-size:16px;line-height:1;letter-spacing:0}
.rp-n:after{content:"";position:absolute;left:9px;bottom:-7px;width:12px;height:8px;background:inherit;clip-path:polygon(0 0,100% 0,0 100%)}

/* lists */
.rp-it{display:flex;gap:14px;padding:12px 0}
.rp-tx{min-width:0;flex:1}
.rp-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;margin-top:-1px;background:var(--soft);color:var(--brand)}
.is-yes .rp-ic{background:var(--greent);color:var(--green)}
.is-no .rp-ic{background:var(--redt);color:var(--red)}
.rp-it.is-plain .rp-ic{background:none;color:var(--brand)}
.is-info>.rp-ic,.is-act>.rp-ic{width:44px;height:44px;border-radius:14px;margin-top:0;background:var(--tint)}
.rp-it.is-act,.rp-it.is-note{margin-top:14px;padding:18px;border-radius:18px;background:var(--soft)}
.rp-it.is-act .rp-ic{background:#fff}
.rp-it.is-note{background:var(--warm)}
.rp-it.is-note .rp-ic{background:#fff;color:#8A5A00}
.rp-it.is-lead{padding:0 0 4px}
.rp-it.is-info{padding:12px 0}
.rp-it.is-info .rp-tx{padding-top:8px}
.rp-it.is-plain{padding:6px 0}
.rp-s4 .is-no{padding:9px 0}

.rp-s1 .rp-list{display:grid;gap:14px}
.rp-s1 .rp-it{flex-direction:column;gap:12px;padding:20px;border-radius:20px}
.rp-s1 .is-yes{background:var(--greent)}.rp-s1 .is-no{background:var(--redt)}
.rp-s1 .rp-it .rp-ic{width:36px;height:36px;background:#fff}
.rp-both{display:flex;align-items:center;max-width:440px;margin:4px 0 22px}
.rp-both>span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--ink);color:#fff}
.rp-both>span.t{background:var(--brand)}
.rp-both>div{position:relative;flex:1;height:44px;margin:0 8px}
.rp-both>div>svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#C9CFDB;stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round}
.rp-both path{vector-effect:non-scaling-stroke}
.rp-both b{position:absolute;width:22px;height:22px;animation:rpgo 5s ease-in-out infinite alternate}
.rp-both b.a{top:1px;left:12%}.rp-both b.b{bottom:1px;right:12%;animation-name:rpback}
.rp-both b svg{display:block;width:22px;height:22px;fill:var(--amber);stroke:#fff;stroke-width:1.5}
@keyframes rpgo{to{left:78%}}@keyframes rpback{to{right:78%}}
@media (prefers-reduced-motion:reduce){.rp-both b{animation:none}}

.rp-s4 .rp-list{margin-top:4px}
.rp-rules{border-top:1px solid var(--line)}
.rp-rule{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}
.rp-rule .rp-ic{width:44px;height:44px;margin:0;border-radius:14px;grid-row:1/span 2}
.rp-rule>strong{font-size:17px;line-height:1.35;align-self:end;padding-bottom:4px}
.rp-rule .rp-rt{grid-column:2}
.rp-rule:last-child{border-bottom:0;padding-bottom:0}
.rp-rule.is-plain .rp-ic{background:var(--soft)}
.rp-s6>p:last-child{margin:22px 0 0;padding:22px 20px;border-radius:20px 20px 20px 6px;background:var(--warm)}
.rp-s6>p:last-child strong{display:block;margin-bottom:6px;font-size:18px;line-height:1.35}

.rp-hit{animation:rphit 2.6s ease-out;border-radius:12px}
@keyframes rphit{0%,45%{background-color:#FFE9BD;box-shadow:0 0 0 8px #FFE9BD}}

/* other policies */
.rp-more{background:var(--soft)}
.rp-more .rp-wrap{padding-top:52px;padding-bottom:60px}
.rp .rp-more h2{margin:0 0 20px;font-size:26px;line-height:1.2;letter-spacing:-.02em;font-weight:800;color:var(--ink);text-align:left}
.rp-cards{display:grid;gap:0 40px}
.rp-cards a{display:block;padding:16px 0;border-bottom:1px solid #DDE2EE;text-decoration:none}
.rp-cards b{display:block;font-size:16px;color:var(--ink)}
.rp-cards span{display:block;margin-top:2px;font-size:14px;line-height:1.45;color:var(--muted)}
.rp-cards a:hover b{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.rp-contact{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:26px;font-size:15px}
.rp-contact a{color:var(--brand);font-weight:600}
.rp-plain{max-width:820px;padding-top:40px;padding-bottom:72px}
.rp-plain h3{margin:28px 0 10px;font-size:20px;color:var(--ink)}.rp-plain p,.rp-plain li{margin:0 0 12px}.rp-plain ul{list-style:disc;padding-left:22px}

@media (min-width:640px){
 .rp-wrap{padding-left:24px;padding-right:24px}
 .rp .rp-hero h1{font-size:48px}
 .rp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rp-s1 .rp-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .is-intro{padding:34px 36px 36px}
}
@media (min-width:768px){
 .rp-hero-g{grid-template-columns:minmax(0,1fr) 260px;align-items:center;padding-top:56px;padding-bottom:68px}
 .rp-art{width:auto;margin:0}
 .rp-art img{width:74%;height:auto;aspect-ratio:1}
 .rp-paper{right:8px;bottom:-18px;width:66%}
}
@media (min-width:1080px){
 .rp-wrap{padding-left:40px;padding-right:40px}
 .rp-hero-g{grid-template-columns:minmax(0,1fr) 400px;gap:56px;padding-top:64px;padding-bottom:84px}
 .rp .rp-hero h1{font-size:64px;letter-spacing:-.04em}
 .rp-find{margin-top:30px;height:64px;border-radius:32px;padding-left:24px}
 .rp-res{top:74px}
 .rp-art{width:400px}
 .rp-paper{padding:24px 26px 28px}.rp-stars svg{width:30px;height:30px}.rp-paper i{margin-top:17px}
 .rp-toc-m{display:none}
 .rp-grid{display:grid;grid-template-columns:288px minmax(0,780px);gap:72px;padding-top:64px;padding-bottom:104px}
 .rp-toc{display:block;position:sticky;top:110px;align-self:start;max-height:calc(100vh - 130px);overflow:auto;scrollbar-width:thin}
 .rp-toc p{margin:0 0 8px 10px;font-size:14px;font-weight:600;color:var(--muted)}
 .rp-toc a{min-height:38px;font-size:14.5px}
 .rp-toc a.is-top{margin:2px 0}
 .rp-body{font-size:17px}
 .rp-body h2,.rp-body h3{scroll-margin-top:120px}
 .rp-body .rp-top h2{font-size:30px}
 .rp-body .is-group h2{font-size:26px}
 .is-intro p{font-size:18px}
 .rp-body .rp-sec h3{font-size:26px}
 .rp-h{padding-top:2px}
 .rp-rule{grid-template-columns:44px 190px minmax(0,1fr);column-gap:18px;padding:22px 0}
 .rp-rule .rp-ic{grid-row:auto}
 .rp-rule>strong{align-self:start;padding:8px 0 0}
 .rp-rule .rp-rt{grid-column:3;padding-top:6px}
 .rp-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 36px}
}
@media print{.rp-toc,.rp-toc-m,.rp-find,.rp-art{display:none!important}.rp-hero{background:none;color:#000}.rp .rp-hero h1,.rp-eyebrow,.rp .rp-pdf{color:#000}.rp-grid{display:block}}
