/* rd-content-pages.css: the content, account and legal pages on the light design (18 Nov 2026).
   It replaces the old dark <style> block of each page. Loaded after css/redesign.css.

   Each page opts in with <body class="rd rd-<page>">. The rules below are keyed on the page's own markup
   (class names unchanged) and scoped by that body class, so one page's rules never reach another:
     rd-blog      blog.html            rd-compare   compare.html        rd-agents    agents.html
     rd-404       404.html             rd-legal     legal/*.html        rd-reset     reset-password.html
     rd-checkout  checkout-complete    rd-stop      letters-stop.html   rd-deal      shared-deal.html
   The shared parts (buttons, fields, pop-up sign-in forms, the confirm pop-up) use plain .rd.
   Colours are the tokens declared in css/redesign.css. Inter only (body.rd sets --font-display to Inter). */

/* ---------- Shared parts (every page on .rd) ---------- */
body.rd { min-height: 100vh; }
.rd .hidden { display: none !important; }
.rd .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.rd h1, .rd h2, .rd h3 { font-family: var(--font); color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.01em; }
.rd p { color: var(--text); }
.rd .muted { color: var(--muted); }
.rd .err { color: var(--bad); font-size: 14px; min-height: 18px; margin-top: 8px; }
.rd .btn { box-sizing: border-box; min-height: 44px; padding: 10px 16px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 600 15px/1.2 var(--font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.rd .btn:hover { border-color: var(--muted); color: var(--ink); }
.rd .btn-gold { background: var(--action); border-color: var(--action); color: #fff; }
.rd .btn-gold:hover { background: var(--action-dark); border-color: var(--action-dark); color: #fff; }
.rd .btn[disabled] { opacity: .6; cursor: default; }
.rd .field label, .rd .auth-field label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.rd .field input, .rd .field select, .rd .auth-field input {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border-radius: var(--r-input);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 16px/1.3 var(--font);
}
.rd .field input:focus, .rd .field select:focus, .rd .auth-field input:focus { outline: 3px solid rgba(27,149,209,.35); border-color: var(--action); }
.rd .divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.rd .divider div { flex: 1; height: 1px; background: var(--line); }
.rd .social-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 14px; margin-bottom: 10px; border-radius: var(--r-input); font: 600 15px var(--font); cursor: pointer; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.rd .social-btn:hover { background: var(--page); }
.rd .fn-gate { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-input); border: 1px solid var(--line); background: var(--page); font-size: 14px; line-height: 1.5; color: var(--text); }
.rd .fn-gate:focus { outline: none; }
.rd .fn-gate p { margin: 0 0 10px; color: var(--text); }
.rd .fn-gate.fn-gate-busy p { margin: 0; }
.rd .fn-gate .fn-gate-btn { width: 100%; min-height: 40px; padding: 8px 16px; border: 1px solid var(--action); background: #fff; color: var(--action); border-radius: var(--r-input); font: 600 14px var(--font); cursor: pointer; }
.rd .fn-gate .fn-gate-btn:hover { background: var(--tint); }
.rd .fn-gate.fn-gate-nudge { border-color: var(--action); }
.rd .fn-gate + .g-recaptcha:empty { margin-bottom: 0 !important; }
.rd .auth-deferred { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Pop-up forms (blog sign-in) and the confirm pop-up (legal pages, blog) ---------- */
.rd .overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(5,16,54,.55); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.rd .modal-card { position: relative; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; max-width: 440px; width: 100%; box-shadow: 0 16px 40px rgba(5,16,54,.2); max-height: 92vh; overflow-y: auto; }
.rd .modal-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; }
.rd .modal-close:hover { color: var(--ink); }
.rd .auth-field { margin-bottom: 12px; }
.rd .password-input { position: relative; }
.rd .password-input input { padding-right: 46px; }
.rd .password-toggle { position: absolute; right: 1px; top: 1px; bottom: 1px; width: 44px; display: grid; place-items: center; border: 0; border-radius: 0 var(--r-input) var(--r-input) 0; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.rd .password-toggle:hover { color: var(--ink); }
.rd .password-toggle:focus-visible { outline: 2px solid var(--action); outline-offset: -3px; }
.rd .password-toggle svg { width: 20px; height: 20px; pointer-events: none; }
.rd .password-toggle .eye-closed { display: none; }
.rd .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.rd .password-toggle[aria-pressed="true"] .eye-closed { display: block; }
.rd .auth-forgot { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); text-decoration: underline; }
.rd .auth-error { color: var(--bad); font-size: 14px; min-height: 18px; margin-bottom: 8px; }
.rd .auth-terms { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rd .auth-terms a { color: var(--action); text-decoration: underline; }
.rd .modal-card[data-step="authenticator"] > :not(.modal-close):not(#authModalTitle):not(#totpForm) { display: none !important; }
.rd .auth-toggle { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-input); overflow: hidden; margin-bottom: 16px; }
.rd .auth-toggle button { flex: 1; min-height: 40px; padding: 8px 0; border: none; background: #fff; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.rd .auth-toggle button.active { background: var(--tint); color: var(--ink); }
#authModalTitle { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.rd .modal-card h1, .rd .modal-card h2, .rd .modal-card h3 { font-family: var(--font); }

/* ---------- Blog (blog.html) ---------- */
.rd-blog .wrap { max-width: 1080px; }
.rd-blog header.page { padding: 28px 0 8px; }
.rd-blog header.page h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.rd-blog header.page p { color: var(--muted); max-width: 640px; line-height: 1.55; margin: 0 0 6px; font-size: 16px; }
.rd-blog .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px,100%),1fr)); gap: 16px; padding: 20px 0 48px; }
.rd-blog .grid > .card { display: flex; flex-direction: column; gap: 10px; cursor: pointer; overflow: hidden; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .15s; }
.rd-blog .grid > .card:hover { border-color: var(--action); }
.rd-blog .card .meta { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rd-blog .card h3 { font-size: 17px; line-height: 1.35; font-weight: 600; }
.rd-blog .card .teaser { color: var(--text); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd-blog .card .more { color: var(--action); font-size: 14px; font-weight: 600; }
.rd-blog .card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.rd-blog .card .hero { height: 158px; background-size: cover; background-position: center; background-color: var(--tint); position: relative; }
.rd-blog .card .hero.fallback { background-image: none; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.rd-blog .hero.consent-hold, .rd-blog .post-hero.consent-hold { background-image: none; background-color: var(--tint); }
.rd-blog .lock-chip { position: absolute; bottom: 10px; right: 10px; background: #fff; border: 1px solid var(--line-strong); color: var(--text); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.rd-blog .lock-icon { vertical-align: -1px; margin-right: 6px; }
.rd-blog .post-hero { height: 220px; background-size: cover; background-position: center; border-radius: var(--r-card); margin-bottom: 14px; background-color: var(--tint); }
.rd-blog .locked-note { border: 1px dashed var(--line-strong); border-radius: var(--r-card); padding: 14px; color: var(--text); font-size: 15px; text-align: center; margin: 6px 0 12px; background: #fff; }
.rd-blog .subscribe-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; margin-top: 22px; }
.rd-blog .subscribe-bar input { flex: 1; min-width: 220px; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 16px var(--font); }
.rd-blog #postModal .modal-card { max-height: 88vh; }
.rd-blog #postBody h2, .rd-blog #postBody h3, .rd-blog #postBody h4 { margin: 18px 0 8px; line-height: 1.3; }
.rd-blog #postBody p { margin: 0 0 12px; }
.rd-blog #postBody ul, .rd-blog #postBody ol { margin: 0 0 12px; padding-left: 22px; }
.rd-blog #postBody a { color: var(--action); }
.rd-blog #postBody table { border-collapse: collapse; margin: 0 0 12px; font-size: 14px; width: 100%; }
.rd-blog #postBody th, .rd-blog #postBody td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.rd-blog .empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--r-card); padding: 28px; text-align: center; color: var(--text); font-size: 15px; line-height: 1.6; }
.rd-blog #postModal .muted, .rd-blog #postModal p { color: var(--text); }
.rd-blog #newsletterForm { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.rd-blog #blogPagination a { color: var(--action); }

/* ---------- Compare (compare.html) ---------- */
.rd-compare .wrap { max-width: 1120px; }
.rd-compare header.page { padding: 28px 0 6px; }
.rd-compare header.page h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.rd-compare header.page p { color: var(--muted); max-width: 720px; line-height: 1.55; margin: 0; font-size: 16px; }
.rd-compare .audience { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rd-compare .audience span { border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--text); background: #fff; }
.rd-compare .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; margin-bottom: 16px; }
.rd-compare .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.rd-compare .field label { font-size: 13px; }
.rd-compare .field input, .rd-compare .field select { font-size: 15px; }
.rd-compare .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 10px; margin: 16px 0; }
.rd-compare .tile { background: #fff; border: 1px solid #CFE3F1; border-radius: var(--r-input); padding: 12px; }
.rd-compare .tile .lbl { font-size: 12px; color: var(--muted); }
.rd-compare .tile .val { font-size: 22px; font-weight: 600; margin-top: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rd-compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rd-compare th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rd-compare td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.rd-compare .badge { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.rd-compare .badge.good { background: var(--good-tint); color: var(--good); }
.rd-compare .badge.hot, .rd-compare .badge.warn { background: var(--bad-tint); color: var(--bad); }
.rd-compare .badge.pro, .rd-compare .badge.ok { background: var(--tint); color: var(--action-dark); border-color: var(--tint-line); }
.rd-compare .note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 12px; }
.rd-compare .btn-spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rd-spin .7s linear infinite; vertical-align: -1px; margin-right: 2px; }
@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd-compare .footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rd-compare .footer-links a { white-space: nowrap; }
.rd-compare .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 14px; }
.rd-compare .form-grid .span-2 { grid-column: span 2; }
.rd-compare .hint { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.rd-compare .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 26px 0 12px; }
.rd-compare .sec-head h2 { font-size: 20px; margin: 0 0 4px; }
.rd-compare .sec-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 660px; line-height: 1.55; }
.rd-compare .sec-head > div { min-width: 0; }
.rd-compare .winner-call { border: 1px solid var(--action); background: var(--tint); border-radius: 999px; padding: 7px 15px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.rd-compare .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.rd-compare .cmp { min-width: 900px; font-size: 14px; }
.rd-compare .cmp th { padding: 11px 12px; vertical-align: bottom; }
.rd-compare .cmp th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12px; margin-top: 4px; }
.rd-compare .cmp td { vertical-align: top; padding: 12px; }
.rd-compare .cmp tr:last-child td { border-bottom: none; }
.rd-compare .cmp .num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.rd-compare .cmp .sub { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; white-space: normal; }
.rd-compare .cmp .strat { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 200px; border-right: 1px solid var(--line); }
.rd-compare .cmp thead .strat { background: #fff; }
.rd-compare .cmp tr.winner td { background: var(--tint); }
.rd-compare .cmp tr.winner .strat { box-shadow: inset 3px 0 0 var(--action); }
.rd-compare .cmp .name { font-weight: 600; font-size: 15px; color: var(--ink); }
.rd-compare .cmp .pill { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; background: var(--action); color: #fff; margin-top: 6px; }
.rd-compare .link-btn { background: none; border: none; padding: 0; margin-top: 7px; color: var(--action); font: 600 13px var(--font); cursor: pointer; text-decoration: underline; min-height: 32px; }
.rd-compare .detail td { background: var(--page); }
.rd-compare .detail .dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 8px 20px; margin-top: 12px; font-size: 14px; }
.rd-compare .detail .dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.rd-compare .detail .dl span { color: var(--muted); }
.rd-compare .assume { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 12px; margin-top: 14px; }
.rd-compare .a-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px; }
.rd-compare .a-card.mine { border-color: var(--action); }
.rd-compare .a-card label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.rd-compare .a-card input, .rd-compare .a-card select { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 10px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 15px var(--font); }
.rd-compare .a-tag { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.rd-compare .a-card.mine .a-tag { color: var(--action); }
.rd-compare .grp { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; margin-top: 14px; overflow: hidden; }
.rd-compare .grp.shared { border-color: var(--line-strong); background: var(--page); }
.rd-compare .grp > summary { list-style: none; cursor: pointer; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 44px; box-sizing: border-box; }
.rd-compare .grp > summary::-webkit-details-marker { display: none; }
.rd-compare .grp > summary:hover { background: var(--tint); }
.rd-compare .grp-title { font-weight: 600; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.rd-compare .grp-title .chev { color: var(--muted); font-size: 12px; transition: transform .15s; }
.rd-compare .grp[open] .grp-title .chev { transform: rotate(90deg); }
.rd-compare .grp-meta { font-size: 13px; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.rd-compare .grp-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rd-compare .grp-body { padding: 0 15px 15px; }
.rd-compare .grp-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.rd-compare .grp .assume { margin-top: 11px; }
.rd-compare .mine-count { color: var(--action); }
.rd-compare .a-card.price { border-color: var(--action); background: var(--tint); }
.rd-compare .a-card .scope-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.rd-compare .row-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 9px; }
.rd-compare .mini { display: inline-block; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-family: var(--font); white-space: nowrap; min-height: 32px; box-sizing: border-box; }
.rd-compare .mini.gold { background: var(--action); border-color: var(--action); color: #fff; }
.rd-compare .mini[disabled] { opacity: .6; cursor: default; }
.rd-compare .saved-line { font-size: 13px; color: var(--good); line-height: 1.45; white-space: normal; }
.rd-compare .save-blocked { font-size: 13px; color: var(--muted); line-height: 1.45; white-space: normal; max-width: 230px; }
.rd-compare .save-err { font-size: 13px; color: var(--bad); line-height: 1.45; white-space: normal; max-width: 230px; }
.rd-compare .save-blocked a, .rd-compare .save-err a, .rd-compare .ref-link { color: var(--action); }
.rd-compare .allowance { font-size: 13px; color: var(--muted); margin-top: 10px; }
.rd-compare .ref-line { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--muted); margin-top: 10px; }
.rd-compare .ref-line b { color: var(--ink); }
.rd-compare .ref-link { word-break: break-all; font-size: 14px; }
.rd-compare .seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: #fff; gap: 3px; }
.rd-compare .seg button { border: none; background: none; color: var(--text); font: 600 14px var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.rd-compare .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rd-compare .seg-wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.rd-compare .seg-wrap .q { font-size: 14px; color: var(--muted); }
.rd-compare .pitch { color: var(--text); font-size: 15px; margin-top: 12px; line-height: 1.5; }
@media (max-width: 640px) {
  .rd-compare .wrap { padding: 0 16px; }
  .rd-compare header.page { padding: 20px 0 4px; }
  .rd-compare header.page h1 { font-size: 24px; }
  .rd-compare .panel { padding: 16px; }
  .rd-compare .form-grid .span-2 { grid-column: span 1; }
  .rd-compare .cmp .strat { min-width: 150px; }
  .rd-compare .winner-call { white-space: normal; border-radius: 14px; line-height: 1.4; }
  .rd-compare .sec-head h2 { font-size: 18px; }
}

/* ---------- Agents (agents.html) ---------- */
.rd-agents .wrap { max-width: 980px; }
.rd-agents header.page { padding: 28px 0 8px; }
.rd-agents header.page h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.rd-agents .sub { color: var(--muted); max-width: 680px; line-height: 1.6; margin: 0; font-size: 16px; }
.rd-agents .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin: 24px 0 48px; align-items: start; }
.rd-agents .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.rd-agents .card h3 { color: var(--ink); font-size: 17px; margin: 0 0 10px; font-weight: 600; }
.rd-agents .card p, .rd-agents .card li { color: var(--text); font-size: 15px; line-height: 1.6; }
.rd-agents .card ul { margin-left: 18px; }
.rd-agents .signin-note { font-size: 15px; line-height: 1.55; color: var(--text); background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--r-input); padding: 10px 13px; margin: 0 0 14px; }
.rd-agents code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--ink); background: var(--page); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; }
.rd-agents pre { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px; font-size: 13px; color: var(--text); overflow-x: auto; white-space: pre; font-family: ui-monospace, Menlo, Consolas, monospace; }
.rd-agents .keybox { background: var(--good-tint); border: 1px solid var(--good); border-radius: var(--r-input); padding: 14px; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--ink); user-select: all; flex: 1 1 auto; min-width: 0; }
.rd-agents .keyrow { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.rd-agents .btn-copy { background: #fff; border: 1px solid var(--good); color: var(--good); min-width: 110px; flex: 0 0 auto; }
.rd-agents .btn-copy.copied { background: var(--good); color: #fff; }
.rd-agents .keywarn { font-size: 14px; color: var(--bad); margin: 10px 0 0; }
.rd-agents .next { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rd-agents .next h4 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.rd-agents .next ol { margin: 0 0 12px; padding-left: 20px; }
.rd-agents .next li { margin-bottom: 8px; }
.rd-agents .next li b { color: var(--ink); }
.rd-agents .card p b { color: var(--ink); }
.rd-agents .card a { color: var(--action); }
@media (max-width: 760px) {
  .rd-agents .cols { grid-template-columns: 1fr; gap: 16px; }
  .rd-agents pre { white-space: pre-wrap; word-break: break-word; }
}

/* ---------- 404 (404.html) ---------- */
.rd-404 .wrap { max-width: 760px; }
.rd-404 .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; margin: 40px 0; }
.rd-404 .code { font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.rd-404 h1 { font-size: 26px; margin: 6px 0 10px; }
.rd-404 p { color: var(--text); line-height: 1.6; margin: 0 0 12px; }
.rd-404 .path { word-break: break-all; color: var(--muted); font-size: 13px; }
.rd-404 .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 12px; margin-top: 20px; }
.rd-404 .tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 15px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.rd-404 .tile:hover { border-color: var(--action); }
.rd-404 .tile b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.rd-404 .tile span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Legal pages (legal/privacy-policy.html, legal/terms-of-use.html) ---------- */
.rd-legal .wrap { max-width: 760px; padding: 32px 20px 72px; }
.rd-legal h1 { font-size: 30px; margin-bottom: 6px; letter-spacing: -.02em; }
.rd-legal h2 { font-size: 20px; color: var(--ink); margin: 34px 0 10px; scroll-margin-top: 90px; }
.rd-legal p, .rd-legal li { font-size: 16px; line-height: 1.65; color: var(--text); }
.rd-legal ul { padding-left: 20px; }
.rd-legal li { margin-bottom: 6px; }
.rd-legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.rd-legal .back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
.rd-legal .back:hover { color: var(--ink); }
.rd-legal address.contact-block { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; line-height: 1.6; color: var(--text); }
.rd-legal .toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 20px; margin: 24px 0; }
.rd-legal .toc-title { color: var(--ink); margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.rd-legal .toc ol { margin: 0; padding-left: 22px; }
.rd-legal .toc li { margin-bottom: 2px; }
.rd-legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 18px; }
.rd-legal th, .rd-legal td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid var(--line); }
.rd-legal th { color: var(--ink); background: var(--page); }
.rd-legal .draft-banner { background: var(--bad-tint); border: 1px solid #F4C2BD; border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 30px; font-size: 15px; color: var(--bad); }
.rd-legal .draft-banner b { color: var(--ink); }
.rd-legal .critical-banner { background: var(--warn-tint); border: 2px solid var(--gold); border-radius: var(--r-card); padding: 18px 20px; margin: 24px 0; font-size: 15px; color: var(--text); }
.rd-legal .critical-banner b { color: var(--ink); }
.rd-legal .placeholder { background: var(--warn-tint); padding: 1px 6px; border-radius: 4px; color: var(--warn); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.rd-legal .modal-card { text-align: left; }
@media (max-width: 768px) { .rd-legal .back { padding: 14px 0; margin-bottom: 10px; } }
@media print {
  @page { margin: 18mm 16mm; }
  body.rd-legal { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.5; }
  .rd-legal #siteNav, .rd-legal #siteFooter, .rd-legal #siteFooterCookie, .rd-legal #daConsentBar, .rd-legal #daConsentSpacer, .rd-legal .back, .rd-legal .nav-toggle, .rd-legal .app-bar, .rd-legal #appBar, .rd-legal #cookiePrefsLink, .rd-legal .overlay { display: none !important; }
  .rd-legal .wrap { max-width: none; padding: 0; }
  .rd-legal a { color: #000 !important; text-decoration: underline; }
  .rd-legal h1, .rd-legal h2, .rd-legal h3 { color: #000 !important; break-after: avoid; page-break-after: avoid; }
  .rd-legal .toc-title { break-after: avoid; page-break-after: avoid; }
  .rd-legal p, .rd-legal li, .rd-legal table, .rd-legal tr, .rd-legal address { break-inside: avoid; page-break-inside: avoid; }
  .rd-legal p, .rd-legal li { orphans: 3; widows: 3; }
  .rd-legal .toc, .rd-legal address.contact-block { background: none !important; border: 1px solid #888 !important; }
  .rd-legal th, .rd-legal td { border-color: #888 !important; background: none !important; color: #000 !important; }
}

/* ---------- Password reset (reset-password.html) ---------- */
.rd-reset { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px; box-sizing: border-box; }
.rd-reset main { width: 100%; display: flex; justify-content: center; }
.rd-reset .card { max-width: 400px; width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.rd-reset h1 { font-size: 24px; margin: 0 0 8px; }
.rd-reset p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.rd-reset label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.rd-reset input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 16px var(--font); margin-bottom: 14px; }
.rd-reset input:focus { outline: 3px solid rgba(27,149,209,.35); border-color: var(--action); }
.rd-reset input[aria-invalid="true"] { border-color: var(--bad); }
.rd-reset button { width: 100%; min-height: 44px; padding: 12px; border-radius: var(--r-input); border: 1px solid var(--action); background: var(--action); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.rd-reset button:hover { background: var(--action-dark); border-color: var(--action-dark); }
.rd-reset button.password-toggle { width: 44px; min-height: 0; padding: 0; background: transparent; border: 0; color: var(--muted); }
.rd-reset button.password-toggle:hover { color: var(--ink); }
.rd-reset .error { color: var(--bad); font-size: 14px; margin-bottom: 12px; min-height: 1em; }
.rd-reset .closed { color: var(--text); background: var(--page); border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px 14px; }
.rd-reset .success { text-align: center; }
.rd-reset .success a { color: var(--action); font-weight: 600; }
.rd-reset .password-input { position: relative; }
.rd-reset .password-input input { padding-right: 46px; }
.rd-reset .password-toggle { position: absolute; right: 1px; top: 1px; bottom: 15px; width: 44px; display: grid; place-items: center; border-radius: 0 var(--r-input) var(--r-input) 0; cursor: pointer; padding: 0; }
.rd-reset .password-toggle:focus-visible { outline: 2px solid var(--action); outline-offset: -3px; }
.rd-reset .password-toggle svg { width: 20px; height: 20px; pointer-events: none; }
.rd-reset .password-toggle .eye-closed { display: none; }
.rd-reset .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.rd-reset .password-toggle[aria-pressed="true"] .eye-closed { display: block; }
.rd-reset .hint { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }
.rd-reset .hint.bad { color: var(--bad); }
@media (max-width: 480px) { .rd-reset .card { padding: 22px 18px; } }
@media (max-width: 768px) { .rd-reset .password-toggle { top: 0; bottom: auto; height: 44px; } }

/* ---------- Checkout result (checkout-complete.html) ---------- */
.rd-checkout .wrap { max-width: 640px; }
.rd-checkout .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; margin: 32px 0 40px; }
.rd-checkout h1 { font-size: 24px; margin: 0 0 10px; }
.rd-checkout p { color: var(--text); line-height: 1.6; margin: 0 0 12px; font-size: 16px; }
.rd-checkout .status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.rd-checkout .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.rd-checkout .balance { font-size: 32px; font-weight: 600; color: var(--ink); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.rd-checkout .muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.rd-checkout .spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid var(--line-strong); border-top-color: var(--action); border-radius: 50%; animation: rd-spin .8s linear infinite; vertical-align: middle; margin-right: 8px; }
.rd-checkout a { color: var(--action); }

/* ---------- Letters stop (letters-stop.html) ---------- */
.rd-stop .wrap { max-width: 680px; padding: 32px 20px 72px; }
.rd-stop h1 { font-size: 26px; margin: 0 0 10px; line-height: 1.25; }
.rd-stop h2 { font-size: 19px; color: var(--ink); margin: 30px 0 8px; }
.rd-stop p { color: var(--text); font-size: 16px; line-height: 1.6; }
.rd-stop .muted { color: var(--muted); font-size: 14px; }
.rd-stop .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; margin: 20px 0; }
.rd-stop .field { margin-bottom: 14px; }
.rd-stop .field input { max-width: 320px; font-size: 16px; letter-spacing: .04em; }
.rd-stop .err { font-size: 14px; min-height: 20px; margin-top: 12px; color: var(--bad); }
.rd-stop .done { border-color: var(--good); }
.rd-stop .done h2 { color: var(--good); margin-top: 0; }
.rd-stop ul { padding-left: 20px; color: var(--text); font-size: 15px; }
.rd-stop li { margin-bottom: 6px; }
.rd-stop a { color: var(--action); }
.rd-stop .btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Shared deal (shared-deal.html) ---------- */
.rd-deal header.bar { border-bottom: 1px solid var(--line); background: #fff; padding: 12px 0; margin-bottom: 24px; }
.rd-deal header.bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0; gap: 12px; }
.rd-deal header.bar img { height: 28px; width: auto; display: block; }
.rd-deal .wrap { max-width: 780px; padding: 0 20px 56px; }
.rd-deal .chip { font-size: 13px; color: var(--action-dark); border: 1px solid var(--tint-line); background: var(--tint); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.rd-deal h1 { font-size: 26px; margin: 0 0 4px; }
.rd-deal .sub { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.rd-deal .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; margin-bottom: 14px; }
.rd-deal .hero-figure { font-size: 38px; font-weight: 600; margin: 2px 0 0; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rd-deal .hero-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.rd-deal .rows { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.rd-deal .row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 15px; }
.rd-deal .row span { color: var(--muted); }
.rd-deal .row b { font-weight: 600; color: var(--ink); }
.rd-deal .score { display: inline-block; border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; }
.rd-deal .reasons { margin: 10px 0 0; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.6; }
.rd-deal .cta { display: inline-block; background: var(--action); color: #fff; border-radius: var(--r-input); padding: 11px 20px; font-weight: 600; text-decoration: none; font-size: 15px; margin-top: 6px; }
.rd-deal .cta:hover { background: var(--action-dark); color: #fff; }
.rd-deal .note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.rd-deal .err { color: var(--bad); }
