﻿/* Rates and charges: hero, six summary cards, explainer, shared FAQ. Reuses the Rinncrest palette, DM Sans,
   IBM Plex Mono for figures, 15px card radius and the .faq-list accordion from site.css. */
.rates-page .breadcrumbs{padding-bottom:4px}
.rates-hero{padding-block:22px 44px;border-bottom:0}
.rates-hero h1{max-width:18ch;font-size:clamp(36px,4vw,56px)}
.rates-hero .intro-copy{max-width:60ch;margin-top:22px}
.rates-hero .review-line{margin-top:22px}
/* Hero art: one illustration cut into three stacked layers (scene, front coin, % badge) so the coin and badge can move on their own.
   Markup: RATES_ART in build/build-pages.cjs. launch.js adds .is-ready/.is-in on scroll: the scene rises in, the badge spins in,
   then the scene floats, the coin gleams and the badge pulses a ring. Without JS or with reduced motion the art simply sits there.
   The scene keeps a wide outline band under the coin so the coin can drift a few pixels without exposing a gap. */
.rates-hero__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,5vw,72px);align-items:center}
.rates-hero__copy{min-width:0}
.rates-hero__art{justify-self:end;width:100%;max-width:520px}
.rates-art{position:relative;aspect-ratio:1213/806}
.rates-art__stage,.rates-art__float,.rates-art__coin,.rates-art__badge{position:absolute;inset:0}
.rates-art img{position:absolute;inset:0;display:block;width:100%;height:100%}
/* Alpha matte of the coin (360px), so the gleam is clipped to the real outline; inline because masks from file:// urls are blocked by CORS. */
.rates-art__coin{transform-origin:84.8% 77%;--coin-matte:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAADvCAQAAAB1LoaKAAAK20lEQVR42u2da4xcZR2Hn3POzLZgUdoCgWapCKjQQkGhrSVUKWqiKFBLjFQJLnhBEwKEgAn4gUiCHzBA1EQMMVw0hhAwBAkRRQJEGrAUC3KpQlsa2pIKlIq0XLrn4oc5c9nZ2Vs7250z8zxfmu5OunO2z/zP7/2/73nfIEOkewj9FYhCiyi0iEKLKLQotIhCiyi0iEKLKLQotIhCiyi0iEKLKLQotIhCiyi0iEKLKLQotIhCiyi0iEKLKLQotIhCiy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v8jYd4grdq/2bYjuVQCi17k6hn8CWWs7imdbUGN9bzYMgRxptYzcM8zvoGkbP27U+t0LK3iRpKzGMpSzieTzCd4TN+u3iN11jDGp5lI4NUH8nN2v+ol0LL3iZqas21gLn0M5vZlCkBMTvZwnbe5vXq4fJAlOfkSVFPoaU9pwCEY5ylFRDlSXpSlVNoaa/YQdN+c1ltULhP+D+xQOCL0XVEIAAAAABJRU5ErkJggg==)}
.rates-art__badge{transform-origin:81% 14.9%}
.rates-art__coin::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 45%,rgba(255,255,255,.75) 50%,transparent 55%) 140% 0/250% 100% no-repeat;-webkit-mask:var(--coin-matte) center/100% 100% no-repeat;mask:var(--coin-matte) center/100% 100% no-repeat}
.rates-art__badge::before{content:"";position:absolute;left:72%;top:1.4%;width:18%;aspect-ratio:1;border:2px solid var(--teal);border-radius:50%;opacity:0}
.rates-art.is-ready:not(.is-in) :is(.rates-art__stage,.rates-art__badge){opacity:0}
.rates-art.is-in .rates-art__stage{animation:rates-art-in .9s cubic-bezier(.16,1,.3,1) both}
.rates-art.is-in .rates-art__float{animation:rates-art-float 7s ease-in-out 1.2s infinite}
.rates-art.is-in .rates-art__coin{animation:rates-coin-drift 5.5s ease-in-out 1.4s infinite}
.rates-art.is-in .rates-art__coin::after{animation:rates-coin-shine 6s ease-in-out 2s infinite}
.rates-art.is-in .rates-art__badge{animation:rates-badge-pop .75s cubic-bezier(.16,1,.3,1) .6s both,rates-badge-idle 4.5s ease-in-out 1.6s infinite}
.rates-art.is-in .rates-art__badge::before{animation:rates-badge-ping 6s ease-out 1.4s infinite}
@keyframes rates-art-in{from{opacity:0;transform:translateY(24px) scale(.95)}}
@keyframes rates-art-float{50%{transform:translateY(-8px)}}
@keyframes rates-coin-drift{50%{transform:translateY(-2px) rotate(.8deg)}}
@keyframes rates-coin-shine{0%{background-position:140% 0}24%,100%{background-position:-40% 0}}
@keyframes rates-badge-pop{from{opacity:0;transform:scale(.3) rotate(-60deg)}}
@keyframes rates-badge-idle{50%{transform:translateY(-5px) rotate(4deg)}}
@keyframes rates-badge-ping{0%{opacity:.55;transform:scale(1)}18%{opacity:0;transform:scale(1.5)}100%{opacity:0;transform:scale(1.5)}}
@media(prefers-reduced-motion:reduce){
  .rates-art *,.rates-art *::before,.rates-art *::after{animation:none!important}
  .rates-art.is-ready:not(.is-in) :is(.rates-art__stage,.rates-art__badge){opacity:1}
}
@media(max-width:899px){
  .rates-hero__grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .rates-hero__art{justify-self:center;max-width:420px}
}
@media(max-width:767px){.rates-hero h1{font-size:38px}}
@media(max-width:479px){.rates-hero__art{max-width:min(320px,100%)}}

.rates-summary{background:var(--mist);border-block:1px solid var(--line);padding-block:clamp(36px,5vw,72px)}
.rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
/* Card type scales from the card's own width (cqw) so each card keeps the same proportions at any column count. */
.rate-card{container-type:inline-size;display:flex;flex-direction:column;gap:22px;min-width:0;min-height:222px;padding:30px;background:#fff;border:1px solid #e1e9e6;border-radius:16px}
.rate-card__title{font-size:16px;font-weight:700;line-height:1.4;letter-spacing:0;color:var(--muted)}
.rate-card__value{margin:0;line-height:1.3;color:var(--navy);overflow-wrap:break-word}
.rate-card__lead{display:block;margin-bottom:4px;font-size:18px;font-weight:400;line-height:1.4;color:var(--muted)}
.rate-card__figure{display:block;font-family:'DM Sans','Helvetica Neue',Arial,sans-serif;font-size:clamp(46px,19cqw,72px);font-weight:800;letter-spacing:-.03em;line-height:1.1;color:var(--navy)}
.rate-card__unit{font-size:.42em;font-weight:500;letter-spacing:0;color:var(--muted)}
.rate-card__figure--word{font-size:clamp(46px,18.5cqw,68px);letter-spacing:-.035em;line-height:1.05}
.rate-card__figure--positive{color:var(--forest)}
.rate-card__figure--range{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.42em;font-size:clamp(18px,9.5cqw,38px);font-weight:700;letter-spacing:-.02em;line-height:1.35}
.rate-card__figure--range+.rate-card__figure--range{margin-top:6px}
.rate-card__figure--name{font-size:clamp(24px,9cqw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.28;text-wrap:balance}
.rate-card__connector{font-size:.62em;font-weight:400;letter-spacing:0;color:var(--muted)}
.rate-card__nowrap{white-space:nowrap}
.rate-card__detail{display:block;margin-top:12px;font-size:16px;line-height:1.55;color:var(--muted)}
.rate-card__figure--name+.rate-card__detail,.rate-card__figure--name+.sr-only+.rate-card__detail{font-size:15px}
.rate-card--pending .pending-fact{display:block;padding:15px 22px;border-radius:11px;background:#edf1ef;font-size:17px;line-height:1.5;color:var(--navy)}
/* Explainer: rate, reducing balance, interest table, APR, KFS, charges (plain-text facts for search and AI Overviews). */
.rates-explainer{padding-block:clamp(48px,6vw,84px);border-bottom:1px solid var(--line)}
.rates-explainer__body{max-width:760px}
.rates-explainer__body h2{margin-top:52px}
.rates-explainer__body h2:first-child{margin-top:0}
/* The table scrolls sideways on phones: pin the caption to the visible edge and cap it at the screen width so its text is never cut off. */
.rates-explainer__body caption{caption-side:bottom;position:sticky;left:0;box-sizing:border-box;max-width:min(100%,calc(100vw - 42px));padding:14px 20px 16px;text-align:left;font-size:14px;line-height:1.55;color:var(--muted)}
/* Header row shares one tint (the sticky first cell was lighter than the rest), and no one-word last line or stranded arrow in the paragraphs. */
.rates-explainer__body .table-scroll thead tr>:first-child{background:var(--mist)}
.rates-explainer__body p{text-wrap:pretty}
.rates-faq{padding-block:clamp(56px,7vw,94px)}
.rates-faq__layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:80px;align-items:start}
.rates-faq .faq-list{min-width:0}
.rates-faq .faq-answer p{margin:0}
.rates-faq .faq-answer p+p{margin-top:12px}

@media(max-width:1023px){
  .rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .rate-card{min-height:210px;padding:28px}
  .rates-faq__layout{grid-template-columns:minmax(0,1fr);gap:28px}
}
@media(max-width:767px){
  .rates-hero{padding-block:14px 32px}
  .rates-hero .intro-copy{margin-top:18px}
  .rates-hero .review-line{margin-top:18px}
}
@media(max-width:639px){
  .rate-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .rate-card{min-height:0;gap:18px;padding:26px 22px}
}
@media(max-width:359px){
  .rate-card{padding:20px 16px}
}
@media print{
  .rates-summary{background:none}
  .rate-card{break-inside:avoid}
}
