/* rs_rotation_v1: shared preview and specification. */
.rotation-preview{padding:20px 0 52px}
.rotation-card{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:20px 44px;padding:36px 40px;border-radius:22px;background:linear-gradient(120deg,#102144,#133660);color:#fff;box-shadow:0 16px 40px #142b4f18}
.rotation-eyebrow{display:block;color:#82dceb;font-size:12px;font-weight:700;letter-spacing:.12em;margin-bottom:14px}
.rotation-card h2{font-size:clamp(25px,3vw,34px);max-width:620px;margin-bottom:14px}
.rotation-card p{color:#d5e1f3;max-width:680px}
.rotation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:24px}
.rotation-link{color:#fff;font-weight:600}
.rotation-offer{display:flex;flex-direction:column;justify-content:center;border-left:1px solid #ffffff30;padding-left:32px;font-size:14px;color:#d5e1f3}
.rotation-offer strong{font-size:66px;line-height:1.2;color:#fff;letter-spacing:-.04em}
.rotation-offer strong span{font-size:38px}
.rotation-offer small{display:block;margin-top:18px;color:#9db5d6}
.rotation-card .rotation-fineprint{grid-column:1/-1;font-size:12px;color:#a9bfdc;margin:0}
.rotation-hero{padding:42px 0 48px;background:linear-gradient(120deg,#102144,#133660);color:#fff}
.rotation-back{display:inline-block;color:#b9d4f4;margin-bottom:28px}
.rotation-hero h1{max-width:860px;font-size:clamp(32px,4.7vw,56px);line-height:1.12;letter-spacing:-.035em}
.rotation-intro{max-width:850px;margin-top:24px;font-size:19px;color:#d5e1f3}
.rotation-terms{margin-top:20px;color:#d5e1f3;font-size:14px}
.rotation-hero .rotation-fineprint{font-size:13px;color:#a9bfdc;max-width:760px;margin-top:14px}
.rotation-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:36px;padding-top:28px;border-top:1px solid #ffffff30}
.rotation-stats strong{display:block;font-size:28px}.rotation-stats span{font-size:13px;color:#a9bfdc}
.rotation-body{display:grid;grid-template-columns:235px minmax(0,1fr);gap:56px;padding-top:52px;padding-bottom:64px}
.rotation-toc nav{position:sticky;top:110px;display:grid;gap:14px;font-size:14px;line-height:1.45}
.rotation-toc a{color:var(--muted)}.rotation-toc a:hover{color:var(--accent)}
.rotation-article{min-width:0}.rotation-article section{margin-bottom:38px;scroll-margin-top:104px}
.rotation-article h2{font-size:26px;margin-bottom:18px}.rotation-article p{margin:0 0 16px;color:#485770;line-height:1.85;overflow-wrap:anywhere}
.rotation-bottom-cta{padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff}
.rotation-page a:focus-visible,.rotation-preview a:focus-visible{outline:3px solid #06b6d4;outline-offset:5px}
@media(max-width:800px){.rotation-card{grid-template-columns:1fr;padding:26px;gap:24px}.rotation-offer{border-left:0;border-top:1px solid #ffffff30;padding:20px 0 0}.rotation-offer strong{font-size:48px}.rotation-offer small{margin-top:10px}.rotation-body{grid-template-columns:1fr;gap:32px}.rotation-toc nav{position:static;border-bottom:1px solid var(--line);padding-bottom:24px}.rotation-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rotation-intro{font-size:17px}.rotation-article h2{font-size:23px}}
@media(max-width:420px){.rotation-card{padding:22px}.rotation-actions{align-items:flex-start;flex-direction:column}.rotation-card .btn,.rotation-hero .btn{white-space:normal;text-align:center}.rotation-stats strong{font-size:24px}}

@media(max-width:360px){.site-header .brand-sub{display:none}.site-header .brand{min-width:0}}

.rotation-page .btn{max-width:100%;white-space:normal;text-align:center;justify-content:center;overflow-wrap:anywhere}
.rotation-page .rotation-stats strong{font-size:clamp(21px,2.2vw,28px)}

/* Public mathematical reference; readable and selectable without JS. */
.rotation-rules{margin-top:48px;padding-top:32px;border-top:2px solid var(--accent);min-width:0}
.rules-index{padding:22px;background:#edf3ff;border:1px solid #d3e0f6;border-radius:14px;margin:24px 0 36px}
.rules-index ol{padding-left:24px;columns:2;column-gap:28px}.rules-index li{break-inside:avoid;margin:0 0 9px;font-size:14px;line-height:1.5}
.rules-section{scroll-margin-top:105px;min-width:0;margin:0 0 38px}.rules-section h3{font-size:23px;margin:0 0 18px}.rules-number{color:#2563eb}
.rules-formula{max-width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;background:#102144;color:#e7f1ff;border:1px solid #254466;padding:20px;border-radius:12px;line-height:1.8;font-size:14px;margin:20px 0}
.rules-formula code{background:transparent;color:inherit;padding:0;font-size:inherit;font-family:ui-monospace,Consolas,monospace}
.rules-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #d7e0ee;border-radius:12px;margin-top:20px}.rules-table{border-collapse:collapse;width:100%;font-size:14px}.rules-table td,.rules-table th{padding:11px 14px;border-bottom:1px solid #d7e0ee;text-align:left}.rules-table th{background:#edf3ff}.rules-table code{overflow-wrap:anywhere;white-space:normal}.rules-table th[scope=row]{font-weight:500}
.rules-sources{font-size:13px}.rules-sources dt{margin-top:14px;font-weight:600;overflow-wrap:anywhere}.rules-sources dd{margin:4px 0 0}.rules-sources code{overflow-wrap:anywhere;word-break:break-all}
.rules-toc-link{font-weight:700;color:#1d4ed8!important}.rotation-toc nav{max-height:calc(100vh - 125px);overflow-y:auto}
@media(max-width:800px){.rotation-toc nav{max-height:none;overflow:visible}.rules-index ol{columns:1}.rules-section h3{font-size:21px}.rules-formula{font-size:13px;padding:14px}.rules-table td,.rules-table th{padding:9px;font-size:12px}}

.rotation-rules{overflow-wrap:anywhere}.rotation-rules .rules-formula code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.rotation-rules .rules-table code{white-space:normal;overflow-wrap:anywhere}

