/* RateReady content pages (built by site_pages.py). Rides on styles.css tokens, nav, buttons and footer. */
.sub { background: var(--white); }
.nav-links a[aria-current="page"] { color: #fff; }
.pg-narrow { max-width: 1040px; }

.pg-hero { position: relative; overflow: hidden; color: var(--on-dark); padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(40px, 5vw, 72px);
  background: radial-gradient(70% 90% at 85% 0%, #17398a 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, #0f2a66 0%, transparent 60%), var(--n950); }
.pg-eyebrow { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
  padding: 7px 11px; border: 1px solid rgba(124,237,2,.35); border-radius: 999px; margin-bottom: 18px; }
.pg-hero h1 { font-family: var(--display); font-weight: 750; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; color: #fff; max-width: 18em; }
.pg-lead { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--on-dark-2); max-width: 40em; }

.pg-body { padding: clamp(40px, 5vw, 80px) 0; }
.pg-body h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; letter-spacing: -.01em; margin: clamp(36px, 4vw, 56px) 0 14px; color: var(--ink); }
.pg-body h2:first-child { margin-top: 0; }
.pg-body p { font-size: 17px; line-height: 1.7; color: var(--slate); max-width: 44em; margin: 0 0 14px; }
.pg-body p strong { color: var(--ink); }

.pg-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 2px; }
.pg-steps li { counter-increment: s; position: relative; padding: 22px 0 18px 64px; border-top: 1px solid var(--line); }
.pg-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 500 14px/1 var(--mono); color: var(--blue);
  width: 42px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--ice); }
.pg-steps h3 { font-family: var(--display); font-size: 21px; line-height: 1.25; margin: 2px 0 8px; color: var(--ink); }
.pg-steps p { margin-bottom: 8px; }

.pg-table { margin: 18px 0 8px; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; overflow-x: auto; }
.pg-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.pg-table th, .pg-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); }
.pg-table thead th { border-top: 0; background: var(--paper); font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.pg-table thead th:empty { padding: 0; }
.pg-table tbody th { width: 34%; font-weight: 600; color: var(--ink); }
.pg-table td { color: var(--slate); }

.pg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
.pg-stats div { background: var(--white); padding: 18px 20px; }
.pg-stats dt { font: 700 clamp(30px, 3vw, 46px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.pg-stats div:last-child dt { color: var(--blue); }
.pg-stats dd { margin: 8px 0 0; font-size: 14px; color: var(--mute); }

.pg-quote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--cyan); background: #f5fdea; font: 600 clamp(18px, 1.5vw, 22px)/1.4 var(--display); color: var(--ink); border-radius: 0 var(--r2) var(--r2) 0; }
.pg-list { margin: 8px 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.pg-list li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.6; color: var(--slate); max-width: 44em; }
.pg-list li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 11px; border: solid var(--blue); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

.pg-faq details { border-top: 1px solid var(--line); }
.pg-faq details:last-child { border-bottom: 1px solid var(--line); }
.pg-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--display); color: var(--ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--text); color: var(--blue); transition: transform 180ms var(--ease); }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { padding-bottom: 18px; }
.pg-faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.pg-next { margin-top: 36px !important; }
.pg-next a { font-weight: 600; color: var(--blue-lo); text-decoration: none; border-bottom: 1px solid currentColor; }
.pg-next a:hover { color: var(--blue); }

.pg-cta { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(36px, 4vw, 60px) 0; }
.pg-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.pg-cta h2 { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin-bottom: 8px; }
.pg-cta p { color: var(--slate); max-width: 38em; }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--on-dark-2); text-decoration: none; }
.foot-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .pg-stats { grid-template-columns: 1fr 1fr; }
  .pg-table tbody th { width: auto; }
  .pg-steps li { padding-left: 54px; }
}
@media (max-width: 560px) {
  .pg-table table, .pg-table tbody, .pg-table tr, .pg-table th, .pg-table td { display: block; width: 100%; }
  .pg-table thead { display: none; }
  .pg-table tbody tr { border-top: 1px solid var(--line); padding: 12px 14px; }
  .pg-table tbody tr:first-child { border-top: 0; }
  .pg-table th, .pg-table td { border: 0; padding: 2px 0; }
  .pg-table tbody th { margin-bottom: 4px; }
}

/* ---- resources (7 Nov 2026) ---- */
.rs-case { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(180deg, var(--ice) 0%, var(--white) 55%); transition: border-color 160ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .rs-case:hover { border-color: var(--blue-hi); box-shadow: 0 18px 40px -24px rgba(0,98,184,.45); transform: translateY(-2px); } }
.rs-case:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.rs-tag { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-lo); margin-bottom: 14px; }
.rs-case h3 { font: 700 clamp(22px, 2.2vw, 32px)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; max-width: 22em; }
.rs-case .pg-stats { margin: 22px 0 18px; }
.rs-go { font-weight: 600; color: var(--blue-lo); border-bottom: 1px solid currentColor; }

.rs-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 10px; }
.rs-proof div { border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 20px 16px; background: var(--white); position: relative; overflow: hidden; }
.rs-proof div::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--blue), var(--cyan)); }
.rs-proof b { display: block; font: 700 clamp(26px, 2.4vw, 36px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.rs-proof p { font-size: 15px !important; line-height: 1.55 !important; margin: 0 !important; }
.rs-note { font-size: 13.5px !important; color: var(--mute) !important; }

.rs-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.rs-doc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r3); padding: 22px; background: var(--paper); }
.rs-pdf { align-self: flex-start; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: #fff; background: var(--blue); border-radius: 6px; padding: 7px 9px; margin-bottom: 16px; }
.rs-doc h3 { font: 700 20px/1.25 var(--display); color: var(--ink); margin: 0 0 8px; }
.rs-doc p { font-size: 15px !important; line-height: 1.55 !important; }
.rs-doc .rs-meta { font: 500 12px/1 var(--mono) !important; color: var(--mute) !important; text-transform: uppercase; letter-spacing: .06em; margin: auto 0 16px !important; padding-top: 6px; }
.rs-doc .btn { align-self: flex-start; }

.rs-form { margin-top: clamp(36px, 4vw, 56px); scroll-margin-top: calc(var(--nav-h) + 16px); border-radius: var(--r3); color: var(--on-dark);
  background: radial-gradient(70% 120% at 100% 0%, #17398a 0%, transparent 60%), var(--n950); padding: clamp(22px, 3.4vw, 44px); }
.rs-form h2 { color: #fff !important; margin-top: 0 !important; }
.rs-form > div > p { color: var(--on-dark-2) !important; }
#lead { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.rs-wide { grid-column: 1 / -1; }
.rs-f { display: grid; gap: 7px; font: 500 13px/1.2 var(--text); color: var(--on-dark-2); }
.rs-f input, .rs-f select { min-height: 48px; padding: 0 14px; border-radius: var(--r1); border: 1px solid var(--line-dark); background: rgba(255,255,255,.06);
  color: #fff; font: 400 16px/1.2 var(--text); }
.rs-f select option { color: var(--ink); }
.rs-f input::placeholder { color: rgba(169,184,219,.6); }
.rs-f input:focus-visible, .rs-f select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.rs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--on-dark-2); }
.rs-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.rs-consent a { color: var(--sky); }
.rs-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rs-status { margin: 0 !important; font-size: 15px !important; color: var(--cyan) !important; }
.rs-status.bad { color: #ffb4a8 !important; }
#lead.done .rs-f, #lead.done .rs-consent { opacity: .55; }

@media (max-width: 900px) { .rs-proof, .rs-docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .rs-proof, .rs-docs, #lead { grid-template-columns: 1fr; } .rs-case .pg-stats { grid-template-columns: 1fr 1fr; } }

/* insights (7 Nov 2026) */
.ins-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.ins-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(20px, 2.6vw, 30px); background: #fff; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .ins-card:hover { border-color: var(--blue-hi); box-shadow: 0 18px 40px -24px rgba(0,98,184,.45); transform: translateY(-2px); } }
.ins-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.ins-card h3 { font: 700 clamp(20px, 1.8vw, 26px)/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; }
.ins-card p { font-size: 16px !important; margin: 0 0 18px !important; }
.ins-more { margin-top: auto; font-weight: 600; color: var(--blue-lo); }
@media (max-width: 720px) { .ins-list { grid-template-columns: 1fr; } }
.ins-card { overflow: hidden; }
.ins-img { display: block; width: calc(100% + 2 * clamp(20px, 2.6vw, 30px)); max-width: none; height: auto; margin: calc(-1 * clamp(20px, 2.6vw, 30px)) calc(-1 * clamp(20px, 2.6vw, 30px)) 20px; border-bottom: 1px solid var(--line); }
