/* Altus Readability Checker — frontend styles.
 * HEADING RULE: theme forces .page-body h2/h3 white, so every heading inside
 * the white card carries a dark colour with a selector that beats the theme.
 */
.rc-root{max-width:760px;margin:0 auto;padding:8px 0 8px}
.rc-card{background:#fff;border-radius:20px;padding:40px 40px 36px;color:#243447;
  box-shadow:0 24px 70px rgba(3,8,20,.35)}
@media(max-width:640px){.rc-card{padding:28px 22px}}
.rc-badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:#0e63d8;background:#e8f1fd;border-radius:999px;
  padding:7px 16px;margin-bottom:18px}
.rc-card h2,.rc-card h3,.page-body .rc-card h2,.page-body .rc-card h3{color:#0f2033}
.rc-title{font-size:30px;line-height:1.2;margin:0 0 10px;font-weight:700}
.rc-sub{font-size:16px;line-height:1.65;color:#4a5c74;margin:0 0 22px}
.rc-label{display:block;font-weight:700;font-size:14px;margin:0 0 8px;color:#0f2033}
.rc-textarea{width:100%;min-height:190px;border:2px solid #d7e0ee;border-radius:12px;
  padding:14px 16px;font-size:15px;line-height:1.6;color:#16283e;font-family:inherit;
  resize:vertical;box-sizing:border-box}
.rc-textarea:focus{outline:none;border-color:#2e6bff;box-shadow:0 0 0 3px rgba(46,107,255,.15)}
.rc-samples{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.rc-linkbtn{background:none;border:none;color:#0e63d8;font-size:14px;font-weight:600;
  cursor:pointer;padding:4px 2px;text-decoration:underline;text-underline-offset:3px}
.rc-linkbtn:hover{color:#0a4cab}
.rc-count{font-size:13px;color:#7b8ba0;margin:6px 0 16px}
.rc-btn{display:inline-block;background:linear-gradient(135deg,#2e6bff,#0e63d8);
  color:#fff;font-weight:700;font-size:16px;border:none;border-radius:999px;
  padding:14px 34px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.rc-btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(46,107,255,.35)}
.rc-btn:disabled{opacity:.6;cursor:wait;transform:none}
.rc-error{background:#fdecec;color:#b42323;border:1px solid #f5c6c6;border-radius:10px;
  padding:12px 16px;font-size:14px;margin:16px 0 0}
/* results */
.rc-verdict{background:#f2f7ff;border-left:4px solid #2e6bff;border-radius:0 12px 12px 0;
  padding:16px 20px;font-size:15px;line-height:1.65;color:#243447;margin:22px 0}
.rc-score{display:flex;gap:26px;align-items:center;margin:24px 0;flex-wrap:wrap}
.rc-ring{width:150px;height:150px;border-radius:50%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;color:#fff;flex-shrink:0;
  background:conic-gradient(var(--rc,#2e6bff) calc(var(--p,0)*1%),#e4eaf3 0)}
.rc-ring-inner{width:118px;height:118px;border-radius:50%;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center}
.rc-age{font-size:42px;font-weight:800;color:#0f2033;line-height:1}
.rc-age-cap{font-size:12px;color:#7b8ba0;text-transform:uppercase;letter-spacing:.08em;margin-top:4px}
.rc-score-meta{flex:1;min-width:220px}
.rc-flesch{font-size:15px;color:#4a5c74;margin:0 0 6px}
.rc-flesch b{color:#0f2033;font-size:19px}
.rc-band{display:inline-block;font-size:13px;font-weight:700;padding:6px 14px;border-radius:999px;
  background:#e8f1fd;color:#0e63d8;margin-bottom:10px}
.rc-band.easy{background:#e7f6ec;color:#1c7c3e}
.rc-band.hard{background:#fdecec;color:#b42323}
.rc-track{height:10px;background:#e4eaf3;border-radius:999px;overflow:hidden;max-width:320px}
.rc-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#2e6bff,#00c2ff);
  width:0;transition:width .8s ease}
.rc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:6px 0 8px}
@media(max-width:560px){.rc-stats{grid-template-columns:repeat(2,1fr)}}
.rc-stat{background:#f6f9fd;border-radius:12px;padding:14px 12px;text-align:center}
.rc-stat b{display:block;font-size:21px;color:#0f2033}
.rc-stat span{font-size:12.5px;color:#7b8ba0}
.rc-sec-title{font-size:21px;margin:30px 0 12px;font-weight:700}
.rc-grades{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:560px){.rc-grades{grid-template-columns:1fr}}
.rc-grade{background:#f6f9fd;border-radius:12px;padding:14px 16px}
.rc-grade b{display:block;font-size:17px;color:#0f2033}
.rc-grade span{font-size:13px;color:#7b8ba0;line-height:1.5}
.rc-fix{background:#fff;border:1px solid #e2e9f4;border-radius:12px;padding:16px 18px;margin:0 0 12px}
.rc-fix-title{font-weight:700;color:#0f2033;font-size:15px;margin:0 0 6px}
.rc-fix p{font-size:14px;color:#4a5c74;margin:0 0 8px;line-height:1.6}
.rc-fix q{font-size:13.5px;color:#5b6c84;font-style:italic;display:block;
  border-left:3px solid #d7e0ee;padding-left:12px;margin:8px 0;line-height:1.55;quotes:"“" "”"}
.rc-swap{font-size:14px;color:#4a5c74;margin:0 0 6px;line-height:1.55}
.rc-swap code{background:#eef3fa;color:#0e63d8;padding:2px 8px;border-radius:6px;font-size:13px}
.rc-swap .rc-arrow{color:#0e63d8;font-weight:700}
.rc-none{font-size:14px;color:#1c7c3e;background:#e7f6ec;border-radius:10px;padding:12px 16px;margin:0 0 12px}
.rc-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 6px}
.rc-btn-ghost{background:#fff;color:#0e63d8;border:2px solid #2e6bff;font-size:15px;padding:11px 26px}
.rc-btn-ghost:hover{box-shadow:0 8px 20px rgba(46,107,255,.22)}
.rc-copy-msg{font-size:14px;color:#1c7c3e;margin:8px 0 0}
/* email gate */
.rc-gate{margin-top:28px;background:#f6f9fd;border-radius:14px;padding:26px}
.rc-gate h3{margin:0 0 8px;font-size:19px}
.rc-gate p{font-size:14px;color:#4a5c74;margin:0 0 16px;line-height:1.6}
.rc-field{margin-bottom:14px}
.rc-input{width:100%;border:2px solid #d7e0ee;border-radius:10px;padding:12px 14px;
  font-size:15px;color:#16283e;box-sizing:border-box;font-family:inherit}
.rc-input:focus{outline:none;border-color:#2e6bff}
.rc-gate-done{text-align:center;padding:10px 0}
.rc-tick{width:56px;height:56px;border-radius:50%;background:#1c7c3e;color:#fff;
  font-size:28px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
.rc-fineprint{font-size:12.5px;color:#8b98ad;line-height:1.6;margin:26px 0 0}
.rc-book{margin-top:26px;text-align:center}
