/* Policy book (policy-book.js, page-flip.js): Front Page's Terms, Privacy and Refund policies as a book in a window.
 * Page sizes are in cqw so a page laid out once scales whole. */
.policy-book-open{overflow:hidden}
.policy-book-overlay{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(3,8,18,.78);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.policy-book-panel{display:flex;flex-direction:column;align-items:center;width:min(760px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:16px 16px 18px;border:1px solid var(--line,#222d3e);border-radius:18px;background:var(--panel,#111722);color:var(--text,#edf2f9);box-shadow:0 32px 92px rgba(0,0,0,.55);box-sizing:border-box}
.policy-book-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;width:100%;margin-bottom:16px}
.policy-book-head strong{margin-right:auto;font:800 16px/1.2 Manrope,system-ui}
.policy-book-tabs{display:flex;gap:6px}
.policy-book-tabs button{min-height:32px;padding:0 13px;border:1px solid var(--line,#222d3e);border-radius:999px;background:transparent;color:var(--text,#edf2f9);font:700 12px/1 inherit;font-family:inherit;cursor:pointer}
.policy-book-tabs button[aria-current="true"]{border-color:var(--accent2,#2563eb);background:var(--accent2,#2563eb);color:#fff}
.policy-book-close{width:34px;height:34px;padding:0;border:0;border-radius:10px;background:var(--panel3,#1b2534);color:var(--text,#edf2f9);font-size:20px;line-height:1;cursor:pointer}
.policy-book-body{display:flex;justify-content:center;width:100%}
.policy-book-status{margin:60px 0;color:var(--muted,#8c9aae);font-size:13px;text-align:center}
.policy-book-status a,.policy-book-page-link{color:var(--accent,#3b82f6)}
.policy-book-page-link{margin-top:12px;font-size:12px}
.policy-book{max-width:672px}
/* The cover, in the site's colors, with its icon. */
.policy-cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 10cqw;text-align:center;color:#fff;background:radial-gradient(circle at 50% 32%,rgba(59,130,246,.42),transparent 58%),linear-gradient(160deg,#1d4ed8 0%,#14306f 42%,#0a0e15 100%)}
.policy-cover-icon{width:28cqw;height:28cqw;border-radius:7cqw;box-shadow:0 2cqw 7cqw rgba(0,0,0,.4)}
.policy-cover-title{margin:7cqw 0 0;font:800 9cqw/1 Manrope,system-ui;letter-spacing:-.03em}
.policy-cover-sub{margin:3cqw 0 0;color:#bfdbfe;font-size:3.4cqw;letter-spacing:.24em;text-transform:uppercase}
.policy-cover-foot{position:absolute;bottom:8cqw;margin:0;color:rgba(255,255,255,.62);font-size:3cqw}
.policy-back-cover .policy-cover-icon{width:16cqw;height:16cqw;border-radius:4cqw}
.policy-back-title{margin:6cqw 0 0;font:800 6cqw/1.1 Manrope,system-ui}
.policy-back-text{margin:3cqw 0 0;color:rgba(255,255,255,.75);font-size:3.4cqw;line-height:1.6}
/* A page of policy text. */
.policy-page{display:flex;flex-direction:column;height:100%;padding:9cqw 8cqw 6cqw;box-sizing:border-box}
.policy-page-body{flex:1;min-height:0;overflow:hidden;font-size:3.7cqw;line-height:1.5}
.policy-page-body>:first-child{margin-top:0}
.policy-page-body h1{margin:0 0 1.5cqw;font:800 7.5cqw/1.15 Manrope,system-ui;letter-spacing:-.02em}
.policy-page-body h2{margin:5cqw 0 1.5cqw;font:800 4.8cqw/1.25 Manrope,system-ui}
.policy-page-body h3{margin:4cqw 0 1cqw;font:800 4.2cqw/1.3 Manrope,system-ui}
.policy-page-body p{margin:0 0 2.5cqw}
.policy-page-body ul,.policy-page-body ol{margin:0 0 2.5cqw;padding-left:5cqw}
.policy-page-body li{margin:0 0 1.5cqw}
.policy-page-body li.policy-cont{list-style:none}
.policy-page-body .policy-updated{margin-bottom:4cqw;color:#a1a1aa;font-size:3.2cqw}
.policy-page-body .policy-summary{padding-left:3cqw;border-left:.8cqw solid #3b82f6;color:#d4d4d8}
.policy-page-body a{color:#60a5fa}
.policy-page-foot{display:flex;justify-content:space-between;gap:4cqw;margin:3cqw 0 0;color:#71717a;font-size:2.8cqw;font-variant-numeric:tabular-nums}
:root.light .policy-page-body .policy-updated,:root.light .policy-page-foot{color:#71717a}
:root.light .policy-page-body .policy-summary{color:#3f3f46}
:root.light .policy-page-body a{color:#2563eb}
/* Where pages are laid out before the book opens (a 400 px page, off screen). */
.policy-measure{position:fixed;top:0;left:-10000px;width:400px;height:533.333px;visibility:hidden;pointer-events:none;container-type:inline-size}
@media(max-width:560px){.policy-book-overlay{padding:8px}.policy-book-panel{padding:12px 10px 14px;border-radius:14px}.policy-book-head strong{flex-basis:100%}}
