/* Home v3 (2026-10-27) — linked only from the home page (/ and /es). Loads after site.css.
   Approved design: canvas "RRG Lending — Home page redesign" (JJ, Oct 26 23:59). Light and dark follow the device appearance.
   Rules: 15px minimum font size, 44px+ touch targets, prefers-reduced-motion respected. Hero film and its overlay come from site.css unchanged. */
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/public-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/public-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/public-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/public-sans-latin-700-normal.woff2) format('woff2')}

.hv3{
  --hv-sans:'Public Sans',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --hv-serif:'Source Serif 4','New York',Georgia,serif;
  --hv-base:#F5F7FB;--hv-text:#0B1424;--hv-body:#1F2C45;--hv-muted:#4F5B73;
  --hv-card:#FFFFFF;--hv-border:rgba(27,47,82,.10);--hv-line:rgba(27,47,82,.12);--hv-soft:rgba(27,47,82,.08);
  --hv-shadow:0 1px 2px rgba(11,20,36,.05),0 16px 40px rgba(27,47,82,.10);
  --hv-link:#2A4677;--hv-btn:#0B1424;--hv-btn-t:#FFFFFF;--hv-well:#F2F5FA;
  --hv-ok:#1E7A4F;--hv-ok-s:rgba(30,122,79,.12);--hv-blue:#2A4677;--hv-blue-s:rgba(61,99,163,.12);
  --hv-gold:#7A5714;--hv-gold-s:rgba(185,138,62,.18);--hv-grey:#5E6A82;
  --hv-quote-surface:rgba(255,255,255,.97);--hv-input-line:#7A8591;--hv-action:#2A4677;--hv-action-hover:#21385F;--hv-action-text:#FFFFFF;--hv-error:#9A3412;--hv-focus:#2A4677;--hv-q:#2A4677;--hv-flag:rgba(185,138,62,.16);
  background:var(--hv-base);
}
.hv3 main,.hv3 .hv-hero,.hv3 .howvid,.hv3 .hv-sec,.hv3 .hv-ctasec{font-family:var(--hv-sans)}
.hv-anchor{position:relative;top:-24px;display:block;height:0}

/* ---------- hero: brand film + overlay unchanged (site.css .hero / .hq .shade); copy left, quote card right ---------- */
.hv3 .hv-hero{height:auto;min-height:0;padding-bottom:80px}
.hv-hin{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:64px;align-items:center;padding-top:calc(150px + env(safe-area-inset-top,0px))}
.hv-hcopy{display:flex;flex-direction:column;gap:24px}
.hv3 .hv-hcopy .label{font-family:var(--hv-sans);font-size:15px;font-weight:700;letter-spacing:.14em;color:#D6E0F0}
.hv3 .hv-hero h1{font-family:var(--hv-serif);font-weight:500;font-size:clamp(44px,5.6vw,80px);line-height:1.02;letter-spacing:-.015em;max-width:12ch;margin:0;color:#fff}
.hv3 .hv-hero .hq-call{margin:0;font-size:clamp(17px,1.35vw,19px);color:#E2E9F5}

/* quote card */
.hv-card{scroll-margin-top:96px;outline:none}
.hv-card .qc{box-sizing:border-box;display:flex;flex-direction:column;gap:16px;min-height:560px;padding:32px;border-radius:28px;background:var(--hv-quote-surface);color:var(--hv-text);border:1px solid var(--hv-input-line);box-shadow:0 30px 80px rgba(0,0,0,.38);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.hv-card p{margin:0;max-width:none;font-size:15px;color:var(--hv-muted)}
.qc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.qc-label{font-size:15px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--hv-q)}
.qc-live{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hv-ok)}
.qc-live::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--hv-ok);animation:hvPulse 1.8s ease-in-out infinite}
.qc-back,.qc-close{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px 0 6px;border:0;border-radius:999px;background:transparent;color:var(--hv-text);font:600 16px var(--hv-sans);cursor:pointer}
.qc-close{padding:0 14px;border:1px solid var(--hv-line)}
.qc-back:hover,.qc-close:hover{background:var(--hv-soft)}
.qc-stepn{font-size:15px;font-weight:600;color:var(--hv-muted)}
.qc-dots{display:flex;gap:6px}
.qc-dots i{flex:1;height:6px;border-radius:999px;background:var(--hv-line);transition:background .3s ease}
.qc-dots i.on{background:var(--hv-q)}
.qc-pane{display:flex;flex-direction:column;gap:16px}
.qc-pane.on{animation:hvIn .4s cubic-bezier(.2,.7,.2,1)}
.qc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.qc-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.qc-f>span{font-size:15px;font-weight:600;color:var(--hv-muted)}
.qc-f small{font-size:15px;color:var(--hv-muted)}
.qc-f input,.qc-f textarea{box-sizing:border-box;width:100%;min-height:60px;padding:12px 16px;border-radius:16px;border:1px solid var(--hv-input-line);background:var(--hv-well);color:var(--hv-text);font:600 clamp(22px,1.9vw,26px)/1.2 var(--hv-sans);font-variant-numeric:tabular-nums;outline:none;transition:border-color .15s,background .15s}
.qc-f .qc-sm{min-height:52px;font:400 17px/1.4 var(--hv-sans)}
.qc-f textarea.qc-sm{min-height:96px;resize:vertical}
.qc-f .qc-year{max-width:180px}
.qc-f input:focus,.qc-f textarea:focus{border-color:var(--hv-focus);background:var(--hv-well);box-shadow:0 0 0 3px var(--hv-focus)}
.qc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.qc-ask{margin:4px 0 0!important;font-size:16px!important;font-weight:600;color:var(--hv-text)!important}
.qc-title{margin:0;font-family:var(--hv-serif);font-size:clamp(26px,2.2vw,30px);font-weight:600;line-height:1.2;color:var(--hv-text);outline:none}
.qc-chips{display:flex;flex-wrap:wrap;gap:10px}
.qc-chips button{min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--hv-input-line);background:transparent;color:var(--hv-text);font:600 16px var(--hv-sans);cursor:pointer;transition:all .2s ease}
.qc-chips button:hover{border-color:var(--hv-q)}
.qc-chips button:focus-visible,.hw-step:focus-visible{outline:3px solid var(--hv-q);outline-offset:2px}
.qc-f input[aria-invalid="true"],.qc-f textarea[aria-invalid="true"]{border-color:var(--hv-error);box-shadow:0 0 0 2px var(--hv-error)}
.qc-retry{margin-left:8px;min-height:36px;padding:4px 14px;border-radius:999px;border:1px solid currentColor;background:transparent;color:inherit;font:700 15px var(--hv-sans);cursor:pointer}
.qc-retry:focus-visible{outline:3px solid var(--hv-q);outline-offset:2px}
.qc-chips button[aria-pressed="true"]{background:var(--hv-action);border-color:var(--hv-action);color:var(--hv-action-text)}
.qc-flag{padding:10px 14px;border-radius:12px;font-size:15px!important;font-weight:600;background:var(--hv-flag);color:var(--hv-gold)!important;animation:hvIn .3s ease}
.qc-fix{margin-left:4px;min-height:36px;padding:4px 12px;border-radius:999px;border:1px solid currentColor;background:var(--hv-card);color:var(--hv-gold);font:700 15px var(--hv-sans);cursor:pointer}
.qc-note{text-align:center}
.qc-left{text-align:left}
.qc-strong{font-weight:600;color:var(--hv-text)!important}
.qc-err{min-height:0;font-size:15px!important;font-weight:600;color:var(--hv-error)!important}
.qc-err:empty{display:none}
.qc-warn{font-size:15px!important;color:var(--hv-gold)!important;font-weight:600}
.qc-warn:empty{display:none}
.qc-go{margin-top:auto;min-height:58px;width:100%;border:0;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:10px;font:700 19px var(--hv-sans);background:var(--hv-action);color:var(--hv-action-text);box-shadow:0 10px 24px rgba(42,70,119,.28);cursor:pointer}
.qc-go:hover{background:var(--hv-action-hover)}
.qc-go:focus-visible{outline:3px solid var(--hv-focus);outline-offset:3px}
.qc-go:disabled{opacity:.6;cursor:wait}
.qc-result{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:20px;background:var(--hv-well);border:1px solid var(--hv-line)}
.qc-rl{font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hv-muted)}
.qc-big{font-family:var(--hv-serif);font-size:clamp(38px,3.4vw,46px);font-weight:600;line-height:1.05;color:var(--hv-text);font-variant-numeric:tabular-nums}
.qc-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.qc-tile{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;background:var(--hv-card);border:1px solid var(--hv-line)}
.qc-tv{font-size:20px;font-weight:700;color:var(--hv-text);font-variant-numeric:tabular-nums}
.qc-next{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.qc-next li{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;background:var(--hv-well)}
.qc-next b{font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hv-q)}
.qc-next span{font-size:16px;color:var(--hv-body)}

/* ---------- trust points, part of the hero copy ---------- */
.hv-hero-trust{color:#fff}
.hv-trust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.hv-trust-grid>div{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;column-gap:10px;padding:22px 20px 22px 0;border-top:1px solid rgba(255,255,255,.18)}
.hv-trust-grid>div:nth-child(even){padding-left:20px;padding-right:0;border-left:1px solid rgba(255,255,255,.18)}
.hv-trust-icon{display:flex;color:rgba(255,255,255,.8);padding-top:3px}
.hv-trust-grid span:last-child{display:flex;flex-direction:column;gap:7px;font-size:15px;line-height:1.5;color:rgba(255,255,255,.78)}
.hv-trust-grid b{font-size:17px;font-weight:600;line-height:1.4;color:#fff}
@media (max-width:430px){
  .hv-trust-grid{grid-template-columns:minmax(0,1fr)}
  .hv-trust-grid>div,.hv-trust-grid>div:nth-child(even){padding:16px 0;border-left:0}
}

/* A 40px glass surface inside a 44px hit area, below both hero columns. */
.hv3 .hv-hero .vpause{top:auto;right:22px;bottom:22px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:inline-flex;justify-content:center;border:0;background:transparent;box-shadow:none;outline:none;isolation:isolate}
.hv3 .hv-hero .vpause::before{content:"";position:absolute;inset:2px;z-index:-1;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(11,20,36,.35);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.hv3 .hv-hero .vpause:hover::before{background:rgba(11,20,36,.6)}
.hv3 .hv-hero .vpause:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hv3 .hv-hero .vpause svg{width:16px;height:16px;fill:currentColor}

/* ---------- section shell ---------- */
.hv-sec{position:relative;padding:112px 32px 0;scroll-margin-top:24px}
.hv-wrap{max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:44px}
.hv-narrow{max-width:880px;gap:28px}
.hv-head{display:flex;flex-direction:column;gap:12px;max-width:760px}
.hv-kick{margin:0;font-size:15px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hv-link)}
.hv-head h2{margin:0;font-family:var(--hv-serif);font-weight:500;font-size:clamp(34px,3.7vw,52px);line-height:1.08;letter-spacing:-.01em;color:var(--hv-text)}
.hv-lede{margin:0;font-size:clamp(18px,1.5vw,21px);color:var(--hv-muted)}
.hv-muted{margin:0;font-size:15px;line-height:1.5;color:var(--hv-muted)}
.hv-muted a{color:var(--hv-link);font-weight:600}
.hv-small{font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hv-muted)}
.hv-check{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--hv-ok-s);color:var(--hv-ok);margin-top:2px}
.hv-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.hv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font:700 17px var(--hv-sans);text-decoration:none;background:var(--hv-btn);color:var(--hv-btn-t);box-shadow:0 8px 20px rgba(11,20,36,.18);border:1px solid transparent}
.hv-btn:hover{background:var(--hv-action);color:var(--hv-action-text)}
.hv-btn.hv-ghost{background:transparent;color:var(--hv-text);border-color:var(--hv-line);box-shadow:none;font-weight:600}
.hv-btn.hv-ghost:hover{background:var(--hv-soft)}

/* ---------- how it works (stream 11's video, steps copy and guide unchanged; container restyled) ---------- */
.hv3 .howvid{background:transparent;padding:112px 32px 0}
.hv3 .howvid .wrap{max-width:1240px;padding:0}
.hv3 .howvid .head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:44px}
.hv3 .howvid .label{font-family:var(--hv-sans);font-size:15px;font-weight:700;letter-spacing:.14em;color:var(--hv-link)}
.hv3 .howvid h2{font-family:var(--hv-serif);font-weight:500;font-size:clamp(34px,3.7vw,52px);line-height:1.08;letter-spacing:-.01em;color:var(--hv-text);margin:0}
.hv3 .howvid .sub{max-width:760px;font-size:clamp(18px,1.5vw,21px);color:var(--hv-muted)}
.hv3 .vidbox{border-radius:26px;box-shadow:var(--hv-shadow)}
/* A11Y-13: the how-it-works video fills .vidbox (overflow hidden), so its outline is drawn inside the clip */
.hv3 .vidbox video:focus-visible{outline:4px solid var(--hv-q,#2A4677);outline-offset:-4px;box-shadow:inset 0 0 0 7px #fff}
.hv3 .vidbox:focus-within{box-shadow:var(--hv-shadow),0 0 0 3px var(--hv-q,#2A4677)}
.hv3 .hsteps{margin-top:24px;gap:18px}
.hv3 .hsteps li{padding:22px;border-radius:20px;border-color:var(--hv-border);background:var(--hv-card)}
.hv3 .hsteps .n{color:var(--hv-btn-t);width:32px;height:32px;font-size:15px;font-weight:700;background:var(--hv-btn)}
.hv3 .hsteps b{font-size:18px;font-weight:700;color:var(--hv-text)}
.hv3 .hsteps li>span:last-child{font-size:16px;color:var(--hv-muted)}
.hv3 .hguide{border-radius:16px;border-color:var(--hv-border)}
.hv3 .hguide>summary{font-size:16px;min-height:44px;color:var(--hv-link)}

/* ---------- portal walkthrough ---------- */
.hw{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:48px;align-items:start}
.hw-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.hw-step{font-size:15px;width:100%;display:flex;align-items:flex-start;gap:14px;padding:11px 18px;border-radius:18px;border:1px solid transparent;background:transparent;color:var(--hv-text);text-align:left;font-family:var(--hv-sans);cursor:pointer;min-height:52px;transition:all .3s ease}
.hw-step:hover{background:var(--hv-soft)}
.hw-step[aria-current="step"]{padding:16px 18px;border-color:var(--hv-border);background:var(--hv-card);box-shadow:var(--hv-shadow)}
.hw-n{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:700;background:var(--hv-soft);color:var(--hv-muted)}
.hw-step[aria-current="step"] .hw-n{background:var(--hv-btn);color:var(--hv-btn-t)}
.hw-tx{display:flex;flex-direction:column;gap:4px;min-width:0}
.hw-t{font-size:18px;font-weight:600;color:var(--hv-body);padding-top:3px}
.hw-step[aria-current="step"] .hw-t{font-weight:700;color:var(--hv-text)}
.hw-b{display:none;font-size:16px;line-height:1.5;color:var(--hv-muted)}
.hw-step[aria-current="step"] .hw-b{display:block;animation:hvIn .4s cubic-bezier(.2,.7,.2,1)}
.hw-stage{position:relative;min-height:700px}
.hw-browser{width:calc(100% - 120px);max-width:720px;overflow:hidden;border-radius:22px;background:var(--hv-card);border:1px solid var(--hv-border);box-shadow:var(--hv-shadow)}
.hw-bbar{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid var(--hv-line)}
.hw-bbar i{width:11px;height:11px;border-radius:50%;background:var(--hv-soft);border:1px solid var(--hv-line)}
.hw-bbar span{margin-left:12px;flex:1;text-align:center;padding:5px 12px;border-radius:999px;font-size:15px;color:var(--hv-muted);background:#EEF2F8}
.hw-bbody{height:500px}
.hw-phone{position:absolute;right:0;top:96px;width:300px;height:610px;box-sizing:border-box;padding:11px;border-radius:48px;background:#0B1424;box-shadow:0 0 0 1px rgba(184,203,234,.18),0 40px 80px rgba(11,20,36,.35)}
.hw-pscreen{width:100%;height:100%;border-radius:38px;overflow:hidden}
.hw-pp{position:absolute;left:0;bottom:16px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--hv-line);background:var(--hv-card);color:var(--hv-text);font:600 15px var(--hv-sans);cursor:pointer}
.hw-pp .hw-i-play{display:none}.hw-pp.paused .hw-i-play{display:block}.hw-pp.paused .hw-i-pause{display:none}

/* portal mini-screens (portal-v2 tokens; example data only, rate and fee always "—") */
.ss{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;background:#F2F5FA;color:#0B1424;font-family:var(--hv-sans);font-size:15px;line-height:1.45}
.ss-bar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;border-bottom:1px solid rgba(27,47,82,.12)}
.ss-narrow .ss-bar{padding:30px 16px 10px}
.ss-word{font-family:var(--hv-serif);font-weight:600;font-size:17px;letter-spacing:.04em;color:#0B1424}
.ss-word small{font-family:var(--hv-sans);font-size:15px;font-weight:700;letter-spacing:.18em;color:#4F5B73;margin-left:4px}
.ss-who{display:flex;align-items:center;gap:8px}
.ss-co{font-size:15px;color:#4F5B73}
.ss-av{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:35% 20%;background:#D3DEF0}
.ss-body{position:relative;flex:1;min-height:0}
.ss-sc{position:absolute;inset:0;box-sizing:border-box;padding:26px;display:none;flex-direction:column;justify-content:center;overflow:hidden}
.ss-narrow .ss-sc{padding:14px}
.ss-sc.on{display:flex;animation:hvIn .45s cubic-bezier(.2,.7,.2,1)}
.ss-col{display:flex;flex-direction:column;gap:14px}
.ss-narrow .ss-col{gap:10px}
.ss-center{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.ss-narrow .ss-center{gap:8px}
.ss-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:start}
.ss-narrow .ss-split{grid-template-columns:minmax(0,1fr);gap:10px}
.ss-title{margin:0;font-family:var(--hv-serif);font-size:24px;font-weight:600;line-height:1.2;color:#0B1424}
.ss-narrow .ss-title{font-size:20px}
.ss-sub{margin:4px 0 0;font-size:15px;color:#4F5B73}
.ss-card{box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:18px;background:var(--sample-card);border:1px solid var(--sample-line);box-shadow:0 10px 30px rgba(11,20,36,.08);text-align:left}
.ss-narrow .ss-card{padding:12px;gap:6px}
.ss-lbl{font-size:15px;font-weight:600;color:#4F5B73}
.ss-val{font-size:15px;font-weight:600;color:#0B1424}
.ss-big{font-family:var(--hv-serif);font-size:40px;font-weight:600;line-height:1.1;color:#0B1424}
.ss-narrow .ss-big{font-size:30px}
.ss-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ss-tile{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:rgba(233,239,248,.9)}
.ss-tv{font-size:17px;font-weight:600}
.ss-meta{font-size:15px;color:#4F5B73}
.ss-btn{align-self:stretch;text-align:center;padding:12px 18px;border-radius:999px;font-size:15px;font-weight:700;background:#0B1424;color:#fff}
.ss-btn-sm{align-self:auto;padding:8px 18px}
.ss-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ss-narrow .ss-form{grid-template-columns:minmax(0,1fr);gap:6px}
.ss-field{display:flex;flex-direction:column;gap:3px;padding:10px 14px;border-radius:14px;background:var(--sample-card);border:1px solid var(--sample-line)}
.ss-narrow .ss-field{padding:7px 12px}
.ss-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid rgba(27,47,82,.12)}
.ss-narrow .ss-row{padding:3px 0}
.ss-signrow{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:6px}
.ss-sig{font-family:var(--hv-serif);font-style:italic;font-size:22px;border-bottom:1px solid rgba(27,47,82,.12);padding-bottom:2px}
.ss-ai{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;background:var(--sample-card);border:1px solid var(--sample-line);box-shadow:0 10px 30px rgba(11,20,36,.08)}
.ss-narrow .ss-ai{padding:10px;gap:6px}
.ss-aih{display:flex;align-items:center;gap:8px}
.ss-aidot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:800;background:#0B1424;color:#fff}
.ss-qb{align-self:flex-end;max-width:88%;padding:8px 12px;border-radius:14px 14px 4px 14px;font-size:15px;background:rgba(61,99,163,.13)}
.ss-ab{align-self:flex-start;max-width:94%;padding:8px 12px;border-radius:14px 14px 14px 4px;font-size:15px;background:rgba(233,239,248,.9);color:#1F2C45}
.ss-narrow .ss-sc[data-i="3"] .ss-ai,.ss-narrow .ss-sc[data-i="4"] .ss-topic:nth-of-type(n+3){display:none}
.ss-call{display:flex;flex-direction:column;gap:10px;min-width:0}
.ss-video{position:relative;height:250px;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#B9E3F7 0%,#D8EEF9 100%)}
.ss-narrow .ss-video{height:250px}
.ss-lender{position:absolute;left:50%;bottom:0;height:100%;width:auto;transform:translateX(-50%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
.ss-pip{position:absolute;right:12px;bottom:12px;width:104px;height:78px;object-fit:cover;object-position:30% 30%;border-radius:12px;border:2px solid rgba(255,255,255,.9);box-shadow:0 8px 20px rgba(11,20,36,.3)}
.ss-narrow .ss-pip{width:78px;height:100px;object-position:28% 30%}
.ss-live{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:15px;font-weight:600;background:rgba(11,20,36,.62);color:#F2F5FA}
.ss-live i{width:8px;height:8px;border-radius:50%;background:#62C996}
.ss-dock{display:flex;justify-content:center;gap:10px}
.ss-ctl{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(27,47,82,.08);color:#0B1424}
.ss-leave{height:44px;padding:0 16px;border-radius:999px;display:grid;place-items:center;font-size:15px;font-weight:700;background:#B42318;color:#fff}
.ss-topics b{font-size:15px}
.ss-topic{padding:8px 12px;border-radius:12px;font-size:15px;font-weight:600;background:rgba(233,239,248,.9)}
.ss-narrow .ss-topic{padding:5px 10px}
.ss-okc{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:rgba(30,122,79,.12);color:#1E7A4F}
.ss-okc-lg{width:64px;height:64px}
.ss-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.ss-chip{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;font-size:15px;font-weight:600;white-space:nowrap}
.ss-wrap{white-space:normal}
.ss-ok{background:rgba(30,122,79,.12);color:#1E7A4F}.ss-blue{background:rgba(61,99,163,.13);color:#2A4677}
.ss-gold{background:rgba(185,138,62,.18);color:#7A5714}.ss-grey{background:rgba(27,47,82,.08);color:#5E6A82}
.ss-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ss-list{width:100%;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:var(--sample-card);border:1px solid var(--sample-line);text-align:left}
.ss-lrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-bottom:1px solid rgba(27,47,82,.12)}
.ss-narrow .ss-lrow{padding:7px 10px;flex-wrap:wrap;gap:4px}
.ss-lrow:last-child{border-bottom:0}
.ss-drop{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;border:1.5px dashed rgba(27,47,82,.2);border-radius:16px}
.ss-narrow .ss-drop{display:none}
.ss-ring-bg{stroke:rgba(27,47,82,.12)}.ss-ring-fg{stroke:#2A4677}
.ss-ring-sm .ss-ring-fg{stroke:#1E7A4F}
.ss-ring-t{font:700 24px var(--hv-sans);fill:#0B1424}.ss-ring-s{font:400 15px var(--hv-sans);fill:#4F5B73}
.ss-ring-sm .ss-ring-t{font-size:26px}
.ss-pulse{animation:hvPulse 1.6s ease-in-out infinite}

/* ---------- tabs (programs, Work with RRG) ---------- */
.hv-tabs{align-self:flex-start;max-width:100%;box-sizing:border-box;display:flex;gap:4px;padding:5px;overflow-x:auto;border-radius:999px;background:var(--hv-card);border:1px solid var(--hv-border);scrollbar-width:none}
.hv-tabs::-webkit-scrollbar{display:none}
.hv-tab{flex:none;min-height:44px;padding:10px 22px;border:0;border-radius:999px;background:transparent;color:var(--hv-body);font:600 16px var(--hv-sans);white-space:nowrap;cursor:pointer;transition:all .2s ease}
.hv-tab:hover{background:var(--hv-soft)}
.hv-tab[aria-selected="true"]{background:var(--hv-btn);color:var(--hv-btn-t)}
.hv-panel{animation:hvIn .4s cubic-bezier(.2,.7,.2,1)}

/* programs */
.pg-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border-radius:28px;overflow:hidden;background:var(--hv-card);border:1px solid var(--hv-border);box-shadow:var(--hv-shadow)}
.pg-panel[hidden]{display:none}
.pg-media{position:relative;min-height:560px;background:#0B1424;overflow:hidden}
.pg-media img,.pg-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pg-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,13,24,0) 45%,rgba(7,13,24,.78) 100%)}
.pg-cap{position:absolute;z-index:1;left:32px;bottom:30px;display:flex;flex-direction:column;gap:2px}
.pg-ltvl{font-size:15px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#D6E0F0}
.pg-cap .t{font-family:var(--hv-serif);font-size:clamp(30px,2.8vw,40px);font-weight:600;line-height:1.1;color:#fff}
.pg-info{display:flex;flex-direction:column;gap:20px;padding:44px}
.pg-info h3{margin:0;font-family:var(--hv-serif);font-weight:600;font-size:clamp(28px,2.4vw,34px);line-height:1.15;color:var(--hv-text)}
.pg-desc{margin:0;font-size:clamp(17px,1.35vw,19px);line-height:1.55;color:var(--hv-body)}
.pg-group{display:flex;flex-direction:column;gap:10px}
.pg-chips{display:flex;flex-wrap:wrap;gap:8px}
.pg-chips span{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;font-size:15px;font-weight:600;background:var(--hv-well);color:var(--hv-text);border:1px solid var(--hv-line)}
.pg-docs{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.pg-docs li{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.45;color:var(--hv-body)}
.pg-info .go{display:inline-flex;align-items:center;min-height:52px;padding:0 22px;border-radius:999px;font:600 17px var(--hv-sans);text-decoration:none;color:var(--hv-text);border:1px solid var(--hv-line)}
.pg-info .go:hover{background:var(--hv-soft)}

/* Work with RRG */
.pt-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;padding:44px;border-radius:28px;background:var(--hv-card);border:1px solid var(--hv-border);box-shadow:var(--hv-shadow)}
.pt-panel[hidden]{display:none}
.pt-left{display:flex;flex-direction:column;gap:22px;min-width:0}
.pt-left h3{margin:0;font-family:var(--hv-serif);font-weight:600;font-size:clamp(28px,2.4vw,34px);line-height:1.15;color:var(--hv-text)}
.pt-points{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:18px}
.pt-points li{display:flex;gap:14px;align-items:flex-start}
.pt-points li>span:last-child{display:flex;flex-direction:column;gap:2px}
.pt-points b{font-size:18px;font-weight:700;color:var(--hv-text)}
.pt-points li>span:last-child>span{font-size:16px;line-height:1.5;color:var(--hv-muted)}
.pv{align-self:center;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#F2F5FA;border:1px solid var(--hv-line);box-shadow:var(--hv-shadow)}
.pv-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid var(--hv-line)}
.pv-name{font-size:15px;color:var(--hv-muted)}
.pv-body{display:flex;flex-direction:column;gap:10px;padding:16px}
.pv-ref{display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-radius:16px;background:var(--hv-blue-s)}
.pv-ref span{font-size:15px;color:var(--hv-muted)}.pv-ref b{font-size:16px;color:var(--hv-text)}
.pv-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:16px;background:var(--hv-card);border:1px solid var(--hv-line)}
.pv-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.pv-tx b{font-size:16px;color:var(--hv-text)}.pv-tx span{font-size:15px;color:var(--hv-muted)}
.pv-req{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:18px;background:var(--hv-card);border:1px solid var(--hv-border);box-shadow:var(--hv-shadow)}
.pv-lbl{font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hv-muted)}
.pv-req b{font-size:16px;color:var(--hv-text)}.pv-meta{font-size:15px;color:var(--hv-muted)}
.pv-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.pv-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-size:15px;font-weight:700;background:var(--hv-btn);color:#fff}
.pv-btn.pv-ghost{background:transparent;color:var(--hv-text);border:1px solid var(--hv-line)}

/* ---------- Ask us anything (the #faq anchor preserves existing navigation links) ---------- */
.hv-ask-heading{margin:0 0 12px;font:600 17px/1.4 var(--hv-sans);color:var(--hv-text)}
.hv3 .hv-ask{margin:0;padding:24px;border-radius:24px;border-color:var(--hv-border);background:var(--hv-card)}
.hv3 .hv-ask label{font-size:17px}
.hv3 .hv-ask .ask-row input{min-height:48px;font-size:16px;border-radius:14px}
.hv3 .hv-ask .ask-row{align-items:center}
.hv3 .hv-ask .ask-row .btn{flex:none;height:48px;min-height:48px;border-radius:999px;font-size:16px;font-weight:700;padding:0 22px}
@media (max-width:560px){.hv3 .hsteps{gap:12px;border:0;background:transparent}.hv3 .hsteps li,.hv3 .hsteps li+li{border:1px solid var(--hv-border);border-radius:20px;background:var(--hv-card)}}
.hv3 .hv-ask .ask-fine,.hv3 .hv-ask .ask-mail p{font-size:15px}
.hv3 .ask-out p{font-size:16px}

/* ---------- closing band ---------- */
.hv-ctasec{padding:112px 32px}
.hv-cta{position:relative;overflow:hidden;max-width:1240px;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:28px;padding:88px 64px;border-radius:30px;background:#0B1424}
.hv-cta img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.hv-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,13,24,.88) 0%,rgba(7,13,24,.55) 70%,rgba(7,13,24,.35) 100%)}
.hv-cta h2,.hv-cta .hv-btns{position:relative;z-index:1}
.hv-cta h2{margin:0;max-width:720px;font-family:var(--hv-serif);font-weight:500;font-size:clamp(32px,3.5vw,50px);line-height:1.1;color:#fff}
.hv-btn.hv-light{min-height:56px;padding:0 28px;font-size:18px;background:#E9EFF8;color:#0B1424}
.hv-btn.hv-light:hover{background:#fff}
.hv-btn.hv-ghostlight{min-height:56px;padding:0 24px;font-size:18px;font-weight:600;background:transparent;color:#fff;border-color:rgba(233,239,248,.4);box-shadow:none}
.hv-btn.hv-ghostlight:hover{border-color:#fff}

@keyframes hvIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes hvPulse{0%,100%{opacity:.45}50%{opacity:1}}

/* ---------- tablet ---------- */
@media (max-width:1140px){
  .hv-hin{grid-template-columns:minmax(0,1fr);gap:40px}
  .hv-card .qc{max-width:640px}
  .hw{grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:32px}
  .hw-browser{width:100%}
  .hw-phone{display:none}
}
@media (max-width:980px){
  .pg-panel,.pt-panel{grid-template-columns:minmax(0,1fr)}
  .pg-media{min-height:320px}
}

/* ---------- phones (canvas "compact") ---------- */
@media (max-width:900px){
  .hw{grid-template-columns:minmax(0,1fr);gap:24px}
  .hw-stage{order:-1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:14px}
  .hw-browser{display:none}
  .hw-phone{display:block;position:relative;top:auto;right:auto}
  .hw-pp{position:static}
}
@media (max-width:720px){
  .hv3 .hv-hero{padding-bottom:88px}
  .hv-hin{padding-top:calc(112px + env(safe-area-inset-top,0px));gap:32px}
  .hv-hcopy{gap:18px}
  .hv-card .qc{min-height:0;padding:22px;border-radius:24px}
  .qc-fields{grid-template-columns:minmax(0,1fr)}
  .hv-card.qc-sheet{position:fixed;inset:0;z-index:80;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--hv-card);padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)}
  .hv-card.qc-sheet .qc{min-height:100%;border-radius:0;border:0;box-shadow:none;padding:16px 16px 24px}
  .hv-sec,.hv3 .howvid{padding:64px 16px 0}
  .hv-wrap{gap:28px}
  .hv-narrow{gap:22px}
  .hv-tab{padding:10px 16px}
  .pg-media{min-height:260px}
  .pg-cap{left:20px;bottom:20px}
  .pg-info,.pt-panel{padding:24px 20px}
  .pt-panel{gap:28px}
  .hv3 .hv-ask{padding:18px}
  .hv-ctasec{padding:64px 16px}
  .hv-cta{padding:48px 22px;border-radius:24px}
  .hv-cta .hv-btns,.hv-cta .hv-btn{width:100%}
}
html.qc-open,html.qc-open body{overflow:hidden}
html.qc-open .hv-hin{z-index:90}
html.qc-open .stickycta{display:none!important}

@media (prefers-reduced-motion: reduce){
  .qc-pane.on,.hw-step[aria-current="step"] .hw-b,.ss-sc.on,.hv-panel,.qc-flag{animation:none}
  .qc-live::before,.ss-pulse{animation:none}
  .hw-step,.hv-tab,.qc-chips button,.qc-dots i{transition:none}
  /* N5: no hero crossfade and no button, link or field transitions */
  .hv3 .hero video,.hv3 .btn,.hv3 a,.hv3 button,.hv3 input,.hv3 textarea,.hv3 select,.hv3 summary::after{transition:none!important}
}

/* 360px overflow (QA round 2): the 12-column footer grid keeps 11 gutters of 32px, which is 352px of gaps on a phone */
@media (max-width:720px){
  .hv3 footer .wrap,.hv3 footer .areas{grid-template-columns:minmax(0,1fr);column-gap:0}
  .hv3 .hv-hero video{max-width:100%}
}

/* UX-17: on a short desktop window the quote card (result step, with a note) keeps its button inside the screen */
@media (min-width:981px) and (max-height:900px){
  .hv-card .qc{min-height:0;padding:24px 28px;gap:12px}
  .qc-pane{gap:12px}
  .qc-result{padding:14px 16px;gap:6px}
  .qc-big{font-size:clamp(32px,3vw,40px)}
  .qc-tile{padding:8px 12px}
  .qc-go{min-height:52px}
  .qc-next li{padding:8px 12px}
}

/* R3 FIX2 (UX-17c): the hero eyebrow and the live tag stay on one line on phones. Spanish capitals cannot fit 358px at the 14px floor, so on phones the eyebrow is sentence case with tighter tracking; under 360px it may wrap */
.qc-live{white-space:nowrap;flex:none}
@media (max-width:480px){
  .hv3 .hv-hcopy .label{font-size:14px;letter-spacing:.01em;text-transform:none}
}
@media (min-width:360px) and (max-width:480px){.hv3 .hv-hcopy .label{white-space:nowrap}}

:root[data-theme=dark] .hv3{color:var(--hv-text);--hv-base:#101723;--hv-text:#EDF2FA;--hv-body:#D4DEED;--hv-muted:#B6C4D8;--hv-card:#192334;--hv-border:rgba(186,205,235,.22);--hv-line:rgba(186,205,235,.22);--hv-soft:rgba(186,205,235,.10);--hv-link:#A9C9FA;--hv-btn:#DCE8FC;--hv-btn-t:#101723;--hv-well:#131D2C;--hv-ok:#84D5AD;--hv-blue:#A9C9FA;--hv-gold:#DFC187;--hv-grey:#B6C4D8;--hv-q:#A9C9FA;--hv-quote-surface:rgba(20,34,60,.96);--hv-input-line:#8296B2;--hv-action:#2B6CA3;--hv-action-hover:#245C8D;--hv-action-text:#FFFFFF;--hv-error:#FFB59E;--hv-focus:#A9C9FA}
@media(prefers-color-scheme:dark){
 :root:not([data-theme=light]) .hv3{color:var(--hv-text);--hv-base:#101723;--hv-text:#EDF2FA;--hv-body:#D4DEED;--hv-muted:#B6C4D8;--hv-card:#192334;--hv-border:rgba(186,205,235,.22);--hv-line:rgba(186,205,235,.22);--hv-soft:rgba(186,205,235,.10);--hv-link:#A9C9FA;--hv-btn:#DCE8FC;--hv-btn-t:#101723;--hv-well:#131D2C;--hv-ok:#84D5AD;--hv-blue:#A9C9FA;--hv-gold:#DFC187;--hv-grey:#B6C4D8;--hv-q:#A9C9FA;--hv-quote-surface:rgba(20,34,60,.96);--hv-input-line:#8296B2;--hv-action:#2B6CA3;--hv-action-hover:#245C8D;--hv-action-text:#FFFFFF;--hv-error:#FFB59E;--hv-focus:#A9C9FA}
}

.ss-sc{--sample-card:rgba(255,255,255,.86);--sample-line:rgba(27,47,82,.10);color:#0B1424;color-scheme:light}
