/* Loanistry — styles. Design tokens inherited from the Deepix system: Hedvig Letters Serif headings,
   Vend Sans body, ink #12141F on white, soft grey surfaces, 8px radius, category colors. */

@font-face { font-family: 'Hedvig Letters Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hedvig-letters-serif.woff2) format('woff2'); }
@font-face { font-family: 'Vend Sans'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/E21l_d7ijufNwCJPEUscVA9V.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Vend Sans'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/E21l_d7ijufNwCJPEUscWg9VMus.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #12141F;
  --ink-80: rgba(18,20,31,.8);
  --ink-60: rgba(18,20,31,.6);
  --ink-40: rgba(18,20,31,.4);
  --ink-20: rgba(18,20,31,.2);
  --ink-10: rgba(18,20,31,.1);
  --ink-7: rgba(18,20,31,.07);
  --ink-3: rgba(18,20,31,.03);
  --paper: #ffffff;
  --paper-80: rgba(255,255,255,.8);
  --paper-60: rgba(255,255,255,.6);
  --blue: #2240E0; --blue-light: #2291E0;
  --green: #2FC30F; --green-dark: #1A8B01;
  --pink: #F2547A; --red: #BF1316;
  --orange: #F29C00; --orange-dark: #AC6100;
  --grey: #717278;
  --serif: 'Hedvig Letters Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Vend Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px; --radius-sm: 4px; --radius-lg: 12px;
  --gutter: 32px;
  --frame: 1680px;
  --ease: cubic-bezier(.44,0,.56,1);
  --nav-h: 80px;
}
@media (max-width: 809px) { :root { --gutter: 12px; --nav-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.44 var(--sans); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(34,64,224,.2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type scale (Deepix) ---------- */
.h1 { font-family: var(--serif); font-size: 52px; line-height: 1.16; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.h3 { font-family: var(--serif); font-size: 20px; line-height: 1.24; letter-spacing: -.02em; }
.h4 { font-family: var(--serif); font-size: 16px; line-height: 1.32; letter-spacing: -.02em; }
.lg { font-size: 18px; line-height: 1.44; }
.sm { font-size: 12px; line-height: 1.44; }
.muted { color: var(--ink-60); }
.soft { color: var(--ink-80); }
.mono { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; line-height: 1.44; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-60); }
@media (max-width: 809px) { .h1 { font-size: 32px; } .h2 { font-size: 24px; } }

/* ---------- frame ---------- */
.frame { max-width: var(--frame); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
main { position: relative; padding-bottom: var(--gutter); }
.section { padding: 48px 32px; }
.section--tight { padding: 32px; }
@media (max-width: 809px) { .section, .section--tight { padding: 32px 20px; } }
.wrap { max-width: 1024px; margin: 0 auto; }
.grid { display: grid; gap: 12px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1199px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 809px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- buttons & links ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius); font-weight: 500; font-size: 14px; line-height: 1.36; white-space: nowrap; transition: transform .2s var(--ease); }
.btn::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease); }
.btn:hover::after { opacity: 1; }
.btn > * { position: relative; z-index: 1; }
.btn--primary { background: var(--ink); color: #fff; } .btn--primary::after { background: rgba(255,255,255,.2); }
.btn--white { background: #fff; color: var(--ink); } .btn--white::after { background: rgba(18,20,31,.2); }
.btn--ghost { background: var(--ink-3); color: var(--ink); } .btn--ghost::after { background: var(--ink-7); }
.btn--accent { background: var(--blue); color: #fff; } .btn--accent::after { background: rgba(255,255,255,.2); }
.btn--sm { padding: 8px 12px; } .btn--md { padding: 11px 16px; } .btn--lg { padding: 14px 20px; }
.btn--full { width: 100%; }
.link { opacity: .6; transition: opacity .3s var(--ease); font-weight: 500; }
.link:hover { opacity: 1; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-weight: 500; opacity: .6; transition: opacity .3s var(--ease); }
.arrow-link:hover { opacity: 1; }
.arrow-link .arrow-wrap { position: relative; width: 12px; height: 12px; overflow: hidden; }
.arrow-link .arrow { position: absolute; inset: 0; transition: transform .4s var(--ease); }
.arrow-link .arrow.ghost { transform: translateX(-12px); }
.arrow-link:hover .arrow { transform: translateX(12px); }
.arrow-link:hover .arrow.ghost { transform: translateX(0); }
.icon { display: inline-block; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex-shrink: 0; }
.icon--arrow { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(2 3.679)' d='M11.045 2.134L15.982 7.071 1.25 7.071C.56 7.071 0 7.631 0 8.321c0 .69.56 1.25 1.25 1.25h14.732l-4.937 4.937a1.25 1.25 0 101.768 1.768l7.071-7.071a1.25 1.25 0 000-1.768L12.813.366a1.25 1.25 0 00-1.768 1.768z'/%3E%3C/svg%3E"); }
.icon--check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(2.637 5.181)' d='M18.519 1.941c.321-.484.27-1.144-.156-1.572-.486-.49-1.278-.492-1.768-.006L6.34 10.557 2.131 6.375c-.49-.487-1.281-.484-1.768.006a1.25 1.25 0 00.006 1.767l5.09 5.058c.488.484 1.275.484 1.763-.001L18.358 2.137c.061-.061.115-.127.161-.196z'/%3E%3C/svg%3E"); }
.icon--x { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.4 5l12.6 12.6-1.4 1.4L5 6.4zM17.6 5L19 6.4 6.4 19 5 17.6z'/%3E%3C/svg%3E"); }
.icon--chev { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.3 8.7l1.4-1.4 4.3 4.3 4.3-4.3 1.4 1.4-5.7 5.7z'/%3E%3C/svg%3E"); }
.icon--star { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(1.492 1.854)' d='M11.432.616c-.342-.821-1.505-.821-1.847 0L7.175 6.409.922 6.91c-.887.071-1.247 1.178-.571 1.756l4.765 4.082-1.456 6.103c-.206.865.735 1.549 1.494 1.085l5.354-3.27 5.355 3.27c.759.464 1.7-.22 1.493-1.085l-1.455-6.103 4.765-4.082c.675-.578.316-1.685-.571-1.756l-6.254-.501z'/%3E%3C/svg%3E"); }
.icon--bolt { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(4.471 1.059)' d='M8.622.21c.283-.395.907-.195.907.291v8.44h5.029c.406 0 .643.459.406.79L6.436 21.671c-.283.396-.907.196-.907-.291v-8.439H.501c-.407 0-.643-.46-.407-.791z'/%3E%3C/svg%3E"); }

/* ---------- nav ---------- */
.nav-fixed { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.nav { padding-top: 24px; }
.nav-bar { pointer-events: auto; background: #fff; display: flex; align-items: center; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; flex-shrink: 0; box-shadow: inset -1px 0 0 var(--ink-10); }
.nav-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .02em; }
.nav-word { font-family: var(--serif); font-size: 16px; letter-spacing: -.02em; }
.nav-menu { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 20px; height: 56px; padding: 0 16px; }
.nav-items { display: flex; align-items: center; gap: 16px; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; font-weight: 500; opacity: .6; transition: opacity .3s var(--ease); }
.nav-item > a:hover, .nav-item:focus-within > a, .nav-item.is-current > a { opacity: 1; }
.nav-drop { position: absolute; top: 100%; left: -16px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-drop-inner { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(18,20,31,.08), 0 12px 32px rgba(18,20,31,.12); padding: 8px; min-width: 260px; display: flex; flex-direction: column; }
.nav-drop-inner a { padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 500; white-space: nowrap; }
.nav-drop-inner a:hover { background: var(--ink-3); }
.nav-burger { display: none; }
@media (max-width: 809px) {
  .nav { padding-top: 12px; }
  .nav-bar { flex-direction: column; align-items: stretch; }
  .nav-top { display: flex; align-items: center; justify-content: space-between; }
  .nav-burger { display: flex; width: 56px; height: 56px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: inset 1px 0 0 var(--ink-10); }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-menu { display: none; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 20px; border-top: 1px solid var(--ink-10); max-height: calc(100vh - 100px); overflow: auto; }
  .nav-menu.is-open { display: flex; }
  .nav-items { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a { display: flex; justify-content: space-between; padding: 12px 8px; opacity: 1; font-size: 16px; }
  .nav-drop { position: static; padding: 0 0 8px 8px; opacity: 1; visibility: visible; transform: none; }
  .nav-drop-inner { box-shadow: none; padding: 0; min-width: 0; }
  .nav-drop-inner a { white-space: normal; color: var(--ink-60); }
  .nav-cta { margin-top: 12px; }
}
@media (min-width: 810px) { .nav-top { display: contents; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; }
.hero--hub .hero-inner { padding: 260px 32px 40px; display: flex; flex-direction: column; gap: 24px; }
.hero--home .hero-inner { padding: 200px 32px 48px; }
.hero h1 { color: #fff; max-width: 640px; }
.hero .lede { color: var(--paper-80); max-width: 520px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips a { background: rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff; border-radius: 100px; padding: 8px 14px; font-weight: 500; font-size: 13px; transition: background .2s; border: 1px solid rgba(255,255,255,.18); }
.hero-chips a:hover { background: rgba(255,255,255,.26); }
.hero-finder { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 8px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) auto; gap: 8px; max-width: 760px; }
.hero-finder .field-box { box-shadow: none; background: var(--ink-3); }
/* finder: visible field labels + design-system dropdowns */
.hero-finder { grid-template-columns: 1.35fr 1fr 1fr auto; max-width: 820px; padding: 6px; gap: 6px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
.hero-finder .field { position: relative; }
.hero-finder .field .sr-only { position: absolute; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: nowrap; top: 10px; left: 16px; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--ink-60); pointer-events: none; z-index: 1; }
.hero-finder .field-box { padding: 26px 16px 10px; border-radius: calc(var(--radius) - 2px); box-shadow: inset 0 0 0 1px transparent; transition: background .15s, box-shadow .15s; }
.hero-finder .field-box:hover { background: var(--ink-10, #ececef); }
.hero-finder .field-box:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-finder .field-input { font-size: 15px; font-weight: 500; color: var(--ink); padding-right: 20px; text-overflow: ellipsis; }
.hero-finder .field-box .icon--chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .6; }
.hero-finder .btn { height: auto; min-height: 56px; border-radius: calc(var(--radius) - 2px); padding-inline: 22px; white-space: nowrap; }
.hero-finder .field-box.dd { overflow: visible; }
.hero--home { overflow: visible; z-index: 5; }
.hero-finder .field .sr-only { z-index: 1; }
.hero-finder .field:has(.is-open) .sr-only { z-index: 25; }
.hero-finder .field:has(.is-open) { z-index: 40; }
.hero-finder .field-box.is-open { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); z-index: 20; }
.hero-finder .field-box.is-open .icon--chev { transform: translateY(-50%) rotate(180deg); opacity: 1; }
.hero-finder .icon--chev { transition: transform .2s; }
.dd-btn { text-align: left; cursor: pointer; font-family: inherit; white-space: nowrap; overflow: hidden; }
.dd-btn::after { content: ''; position: absolute; inset: 0; }
.dd-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--ink-10), 0 18px 40px -12px rgba(18,20,31,.35); z-index: 30; min-width: 220px; animation: ddIn .14s ease-out; }
.dd-list li { padding: 10px 12px 10px 34px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink); cursor: pointer; position: relative; outline: 0; white-space: nowrap; }
.dd-list li:hover, .dd-list li:focus { background: rgba(18,20,31,.05); }
.dd-list li[aria-selected="true"] { font-weight: 600; }
.dd-list li[aria-selected="true"]::before { content: ''; position: absolute; left: 12px; top: 50%; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(-45deg); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.hero-finder select option { color: var(--ink); background: #fff; font-weight: 400; }
@media (max-width: 809px) {
  .hero--hub .hero-inner { padding: 200px 20px 32px; }
  .hero--home .hero-inner { padding: 160px 20px 32px; }
  .hero-finder { grid-template-columns: 1fr; }
}

/* ---------- page header (non-hero pages) ---------- */
.page-head { padding: 160px 32px 0; }
.page-head .crumbs { margin-bottom: 20px; }
.page-head h1 { max-width: 760px; }
.page-head .lede { max-width: 640px; margin-top: 16px; }
@media (max-width: 809px) { .page-head { padding: 120px 20px 0; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-60); }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin: 0 2px 0 0; color: var(--ink-20); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 12px; color: var(--ink-60); margin-top: 20px; }
.meta .dot { width: 8px; height: 8px; display: inline-block; margin-right: 6px; vertical-align: 1px; }
.meta a { text-decoration: underline; text-underline-offset: 2px; }
.meta a:hover { color: var(--ink); }

/* ---------- answer box ---------- */
.answer { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; border-left: 3px solid var(--ink); }
.answer .eyebrow { color: var(--ink); }
.answer p { font-size: 18px; line-height: 1.44; color: var(--ink-80); max-width: 72ch; }
.answer .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.answer .facts span { font-size: 12px; color: var(--ink-60); }
.answer .facts b { font-weight: 500; color: var(--ink); }

/* ---------- layout: article + sidebar ---------- */
.two-col { display: flex; gap: 64px; align-items: flex-start; }
.two-col .main { flex: 1; min-width: 0; max-width: 760px; }
.two-col .side { width: 320px; flex-shrink: 0; position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1199px) { .two-col .side { display: none; } }
.side-card { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-card .toc a { display: block; padding: 2px 0; font-weight: 500; color: var(--ink); opacity: .6; transition: opacity .3s; }
.side-card .toc a:hover, .side-card .toc a.is-active { opacity: 1; }
.side-card .cta-note { font-size: 12px; color: var(--ink-60); }

/* ---------- prose ---------- */
.prose { font-size: 18px; line-height: 1.44; color: var(--ink-80); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); padding-top: 24px; }
.prose h3 { font-size: 20px; line-height: 1.24; letter-spacing: -.02em; color: var(--ink); padding-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-20); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; }
.prose li { position: relative; padding-left: 23px; }
.prose li + li { margin-top: 4px; }
.prose ul li::before { content: ''; position: absolute; left: 7px; top: 11px; width: 3px; height: 3px; border-radius: 100px; background: var(--ink-80); }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n) '.'; position: absolute; left: 0; top: 0; color: var(--ink-80); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote { background: var(--ink-3); border-radius: var(--radius); padding: 32px 24px; font-family: var(--serif); font-size: 20px; color: var(--ink); text-align: center; }
@media (max-width: 809px) { .prose h2 { font-size: 24px; } .prose h3 { font-size: 16px; } }

/* ---------- callouts ---------- */
.takeaways { background: var(--ink-3); border-radius: var(--radius); padding: 24px; }
.takeaways h3 { margin-bottom: 12px; }
.takeaways li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.44; color: var(--ink-80); }
.takeaways li + li { margin-top: 8px; }
.takeaways li .icon { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; color: var(--green-dark); }
.tip { border: 1px solid var(--ink-10); border-radius: var(--radius); padding: 16px 20px; font-size: 16px; color: var(--ink-80); display: flex; gap: 12px; align-items: flex-start; }
.tip .icon { width: 14px; height: 14px; margin-top: 4px; color: var(--orange); }
.tip b { font-weight: 500; color: var(--ink); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ink-10); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--ink-10); }
table.data th { font-weight: 500; font-size: 12px; color: var(--ink-60); background: var(--ink-3); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td { color: var(--ink-80); font-variant-numeric: tabular-nums; }
table.compare th.sortable { cursor: pointer; user-select: none; }
table.compare th.sortable:hover { color: var(--ink); }
table.compare th.sortable::after { content: ' ↕'; opacity: .5; }
table.compare th.sorted-asc::after { content: ' ↑'; opacity: 1; }
table.compare th.sorted-desc::after { content: ' ↓'; opacity: 1; }
table.compare td:first-child { min-width: 220px; }
table.compare .lender { display: flex; align-items: center; gap: 12px; }
table.compare .lender b { font-weight: 500; color: var(--ink); display: block; }
table.compare .lender small { color: var(--ink-60); font-size: 12px; }
table.compare .cta-cell { text-align: right; white-space: nowrap; }
table.compare tr.is-hidden { display: none; }
.tile { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; color: #fff; font: 500 13px/1 var(--sans); flex-shrink: 0; letter-spacing: .01em; }
.tile--lg { width: 56px; height: 56px; font-size: 18px; }
.tile--xl { width: 72px; height: 72px; font-size: 22px; border-radius: var(--radius-lg); }

/* ---------- rating ---------- */
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 12px; height: 12px; color: var(--ink); }
.stars .icon.dim { color: var(--ink-20); }
.rating small { color: var(--ink-60); font-weight: 400; font-size: 12px; }

/* ---------- chips / segments ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 100px; padding: 8px 14px; font-weight: 500; font-size: 13px; background: var(--ink-3); color: var(--ink); transition: background .2s, color .2s; border: 1px solid transparent; }
.chip:hover { background: var(--ink-7); }
.chip.is-active { background: var(--ink); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; border-radius: 100px; padding: 4px 10px; background: var(--ink-3); color: var(--ink); }
.badge--partner { background: rgba(34,64,224,.08); color: var(--blue); }
.badge--pick { background: var(--ink); color: #fff; }
.dot { display: inline-block; width: 8px; height: 8px; }

/* ---------- product card (roundup detail) ---------- */
.product { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 110px; }
.product-head { display: flex; gap: 16px; align-items: flex-start; }
.product-head .title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.product-head h3 { font-size: 20px; }
.product-head .sub { color: var(--ink-60); }
.product-head .actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.fact { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; }
.fact small { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 4px; }
.fact b { font-weight: 500; font-size: 16px; font-variant-numeric: tabular-nums; }
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.proscons h4 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 8px; }
.proscons li { position: relative; padding-left: 22px; color: var(--ink-80); }
.proscons li + li { margin-top: 6px; }
.proscons li .icon { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; }
.proscons .pros .icon { color: var(--green-dark); }
.proscons .cons .icon { color: var(--red); }
.product .verdict { font-size: 16px; color: var(--ink-80); max-width: 72ch; }
.product .foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-60); }
@media (max-width: 809px) {
  .product { padding: 16px; }
  .product-head { flex-wrap: wrap; }
  .product-head .actions { width: 100%; flex-direction: row; align-items: center; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proscons { grid-template-columns: 1fr; }
}

/* ---------- cards ---------- */
.card { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: background .3s var(--ease); }
a.card:hover { background: var(--ink-7); }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-80); }
.card .kicker { font-size: 12px; color: var(--ink-60); display: flex; align-items: center; gap: 6px; }
.card--tool { gap: 8px; }
.card--tool .num { font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; }
.card-list { display: flex; flex-direction: column; gap: 8px; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--ink-3); border-radius: var(--radius); font-weight: 500; transition: background .3s; }
.row-link:hover { background: var(--ink-7); }
.row-link small { color: var(--ink-60); font-weight: 400; font-size: 12px; }

/* ---------- section header ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { max-width: 420px; }
.sec-head p { color: var(--ink-80); font-size: 18px; margin-top: 8px; max-width: 520px; }
@media (max-width: 809px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--ink-10); }
.faq details:last-child { border-bottom: 1px solid var(--ink-10); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 20px; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); color: var(--ink-60); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .a { padding: 0 0 20px; font-size: 16px; line-height: 1.5; color: var(--ink-80); max-width: 72ch; }
@media (max-width: 809px) { .faq summary { font-size: 16px; } }

/* ---------- compare page ---------- */
.vs-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.vs-card { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vs-mid { font-family: var(--serif); font-size: 30px; color: var(--ink-40); }
.vs-row { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--ink-10); align-items: start; }
.vs-row:last-child { border-bottom: 1px solid var(--ink-10); }
.vs-row h3 { font-family: var(--sans); font-weight: 500; font-size: 14px; }
.vs-row p { color: var(--ink-80); font-size: 16px; }
.vs-row .win { position: relative; padding-left: 20px; }
.vs-row .win::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 100px; background: var(--green); }
@media (max-width: 809px) { .vs-head { grid-template-columns: 1fr; } .vs-mid { text-align: center; } .vs-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- forms / fields ---------- */
.field { position: relative; display: flex; flex-direction: column; width: 100%; }
.field-label { position: absolute; top: -8px; left: 16px; padding: 0 4px; font-size: 12px; z-index: 1; background: #fff; }
.field-box { position: relative; border-radius: var(--radius); padding: 14px 20px; display: flex; align-items: center; gap: 8px; overflow: hidden; width: 100%; box-shadow: inset 0 0 0 1px var(--ink-10); background: #fff; transition: box-shadow .1s linear; }
.field-box:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.field-input { width: 100%; background: transparent; border: 0; outline: 0; font-size: 14px; line-height: 1.44; min-width: 0; }
.field-input::placeholder { color: var(--ink-60); }
.field-box .unit { color: var(--ink-60); font-size: 14px; }
select.field-input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.on-dark .field-label { background: var(--ink); color: #fff; }
.on-dark .field-box { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.on-dark .field-box:focus-within { box-shadow: inset 0 0 0 1px #fff; }
.on-dark .field-input { color: #fff; } .on-dark .field-input::placeholder { color: rgba(255,255,255,.6); }
.checkbox { appearance: none; width: 20px; height: 20px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ink-10); cursor: pointer; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.checkbox:checked { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.checkbox:checked::after { content: ''; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(2.637 5.181)' d='M18.519 1.941c.321-.484.27-1.144-.156-1.572-.486-.49-1.278-.492-1.768-.006L6.34 10.557 2.131 6.375c-.49-.487-1.281-.484-1.768.006a1.25 1.25 0 00.006 1.767l5.09 5.058c.488.484 1.275.484 1.763-.001L18.358 2.137c.061-.061.115-.127.161-.196z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='translate(2.637 5.181)' d='M18.519 1.941c.321-.484.27-1.144-.156-1.572-.486-.49-1.278-.492-1.768-.006L6.34 10.557 2.131 6.375c-.49-.487-1.281-.484-1.768.006a1.25 1.25 0 00.006 1.767l5.09 5.058c.488.484 1.275.484 1.763-.001L18.358 2.137c.061-.061.115-.127.161-.196z'/%3E%3C/svg%3E") center/contain no-repeat; }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.radio-card { display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span { display: block; padding: 14px 16px; border-radius: var(--radius); background: var(--ink-3); font-weight: 500; transition: background .2s, box-shadow .2s; }
.radio-card input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.radio-card:hover span { background: var(--ink-7); }
.radio-card input:checked:hover + span { background: #fff; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.calc-inputs { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.calc-inputs .field-label { background: #f7f7f8; }
.calc-results { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.calc-results .big { font-family: var(--serif); font-size: 44px; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-results .big small { font-family: var(--sans); font-size: 14px; color: var(--paper-60); letter-spacing: 0; margin-left: 6px; }
.calc-results .rows { display: flex; flex-direction: column; }
.calc-results .rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-variant-numeric: tabular-nums; }
.calc-results .rows div span:first-child { color: var(--paper-80); }
.calc-results .rows div.total { font-weight: 500; }
.calc-results .note { font-size: 12px; color: var(--paper-60); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--ink-20); border-radius: 2px; outline: 0; margin: 10px 0 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 100px; background: var(--ink); cursor: pointer; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 100px; background: var(--ink); border: 0; cursor: pointer; }
.amort { margin-top: 12px; }
.amort summary { cursor: pointer; font-weight: 500; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.amort summary::-webkit-details-marker { display: none; }
@media (max-width: 809px) { .calc { grid-template-columns: 1fr; } .calc-results .big { font-size: 36px; } }

/* ---------- qualify flow ---------- */
.qualify { max-width: 560px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.qualify .steps { display: flex; gap: 6px; }
.qualify .steps span { flex: 1; height: 3px; border-radius: 3px; background: var(--ink-10); }
.qualify .steps span.is-done { background: var(--ink); }
.qualify fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.qualify fieldset[hidden] { display: none; }
.qualify legend { font-family: var(--serif); font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.qualify .hint { color: var(--ink-60); font-size: 12px; }
.qualify .nav-row { display: flex; justify-content: space-between; gap: 12px; }
.match { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--ink-3); border-radius: var(--radius); }
.match .t { flex: 1; min-width: 0; }
.match b { font-weight: 500; display: block; }
.match small { color: var(--ink-60); font-size: 12px; }

/* ---------- banner / CTA band ---------- */
.band { position: relative; overflow: hidden; border-radius: 0; color: #fff; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; max-width: 480px; }
.band p { color: var(--paper-80); font-size: 18px; max-width: 520px; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #fff; overflow: hidden; }
.news { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.news form { display: flex; gap: 8px; align-items: flex-start; max-width: 430px; margin-left: auto; width: 100%; }
.foot-main { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 80px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.foot-cols p { font-size: 12px; margin-bottom: 16px; }
.foot-cols a { display: block; padding: 4px 0; font-weight: 500; opacity: .6; transition: opacity .3s; }
.foot-cols a:hover { opacity: 1; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { color: var(--paper-80); max-width: 280px; }
.foot-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.foot-legal .links { display: flex; gap: 24px; }
.foot-legal .links a { font-weight: 500; opacity: .6; } .foot-legal .links a:hover { opacity: 1; }
.foot-legal .copy { color: var(--paper-60); }
.foot-disclosure { color: var(--paper-60); font-size: 12px; max-width: 72ch; line-height: 1.5; }
@media (max-width: 809px) {
  .news { grid-template-columns: 1fr; padding: 32px 20px; }
  .news form { margin-left: 0; max-width: none; }
  .foot-main { padding: 32px 20px 24px; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 12px; }
  .foot-legal { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- motion ---------- */
@keyframes appear { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
.appear-word { display: inline-block; opacity: 0; animation: appear .7s cubic-bezier(.22,1,.36,1) forwards; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .appear-word { animation: none; opacity: 1; } .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- utilities ---------- */
.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-12 { gap: 48px; } .gap-16 { gap: 64px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }
.center { text-align: center; align-items: center; }
.maxw { max-width: 72ch; }
.hide-m { } @media (max-width: 809px) { .hide-m { display: none !important; } }
.hide-d { } @media (min-width: 810px) { .hide-d { display: none !important; } }

/* table column widths on roundups */
table.compare td:nth-child(3) { min-width: 130px; }
table.compare td:nth-last-child(2) { min-width: 120px; }

/* ---------- Loanistry additions: lead capture, ownership, drafts ---------- */
.foot-owner { margin-top: 8px; }
.powered { display: inline-block; margin-top: 8px; font-size: 12px; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.handoff { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.calc-cta { margin-top: 16px; }
.cta-end { background: var(--ink-3); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cta-end .cta-note { font-size: 12px; color: var(--ink-60); }
.draft-note { border: 1px solid var(--ink-10); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; color: var(--ink-80); }
.sticky-cta { display: none; }
@media (max-width: 809px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; transform: translateY(140%); transition: transform .3s; }
  .sticky-cta.is-on { transform: none; }
}
.learn-list .row-link small { display: block; margin-top: 4px; }

/* Application form */
.qualify.apply { max-width: 720px; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.apply-grid--3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 640px) { .apply-grid, .apply-grid--3 { grid-template-columns: 1fr; } }
.apply .q { font-weight: 500; font-size: 14px; }
.apply .q small { font-weight: 400; margin-left: 6px; }
.apply .field { margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-error { color: #B42318; background: #FEF3F2; font-size: 13px; padding: 10px 12px; border-radius: var(--radius); }
.estimate, .apply-result { display: flex; flex-direction: column; gap: 6px; }
.est-head { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.est-ok { color: #1A8B01; } .est-warn { color: #B54708; }
.portal-return { max-width: 720px; margin: 0 auto 16px; background: #fff; border-radius: var(--radius-lg); padding: 16px 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--ink); }
.portal-return[hidden] { display: none; }
.qualify .shake { animation: lo-shake .3s; }
@keyframes lo-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- qualify + apply flow: green, open layout ---------- */
.hero--flow .hero-inner { padding-top: 132px !important; padding-bottom: 72px !important; }
.hero--flow::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.flow-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); gap: 56px; align-items: start; max-width: 1180px; margin: 0 auto; width: 100%; }
.flow-intro { color: #fff; padding-top: 24px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 132px; }
.flow-kicker { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); }
.flow-title { font-family: var(--serif); font-size: 44px; line-height: 1.08; letter-spacing: -.02em; max-width: 460px; }
.flow-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--paper-80); font-size: 15px; }
.flow-trust li { display: flex; gap: 12px; align-items: center; }
.flow-dot { width: 22px; height: 22px; flex: none; border-radius: 100px; background: rgba(255,255,255,.18); position: relative; }
.flow-dot::after { content: ''; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero--flow .qualify { max-width: 680px; width: 100%; margin: 0 auto; padding: 36px; gap: 28px; border-radius: 20px; box-shadow: 0 30px 80px -24px rgba(4,40,20,.55), 0 0 0 1px rgba(255,255,255,.4); scroll-margin-top: 110px; }
.hero--flow .qualify .h3 { font-size: 26px; }
.hero--flow .qualify .row.between .sm.muted { background: rgba(47,195,15,.12); color: var(--green-dark); padding: 5px 10px; border-radius: 100px; font-weight: 500; }
.hero--flow .qualify .steps { gap: 8px; }
.hero--flow .qualify .steps span { height: 6px; border-radius: 6px; background: var(--ink-7); transition: background .3s var(--ease); }
.hero--flow .qualify .steps span.is-done { background: linear-gradient(90deg, var(--green-dark), var(--green)); }
.hero--flow .qualify legend { font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.hero--flow .radio-cards { gap: 10px; }
.hero--flow .radio-card span { position: relative; padding: 18px 44px 18px 18px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ink-10); font-size: 15px; transition: box-shadow .15s, background .15s, transform .15s; }
.hero--flow .radio-card span::after { content: ''; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 100px; box-shadow: inset 0 0 0 1.5px var(--ink-20); transition: all .15s; }
.hero--flow .radio-card:hover span { background: rgba(47,195,15,.05); box-shadow: inset 0 0 0 1px rgba(26,139,1,.45); }
.hero--flow .radio-card input:checked + span { background: rgba(47,195,15,.09); box-shadow: inset 0 0 0 2px var(--green-dark); }
.hero--flow .radio-card input:checked + span::after { background: var(--green-dark); box-shadow: inset 0 0 0 5px var(--green-dark), inset 0 0 0 9px #fff; }
.hero--flow .radio-card input:focus-visible + span { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.hero--flow .radio-card:active span { transform: scale(.99); }
.hero--flow .qualify .nav-row { align-items: center; padding-top: 8px; border-top: 1px solid var(--ink-7); margin-top: 4px; padding-top: 20px; }
.hero--flow .qualify .btn--md { min-height: 46px; padding-inline: 22px; }
.hero--flow .qualify .btn--primary { background: var(--green-dark); }
.hero--flow .qualify .btn--primary:hover { background: #157101; }
.hero--flow .match { background: #fff; box-shadow: inset 0 0 0 1px var(--ink-10); border-radius: 12px; }
.hero--flow .portal-return { border-radius: 16px; }
@media (max-width: 1023px) {
  .flow-shell { grid-template-columns: 1fr; gap: 28px; max-width: 680px; }
  .flow-intro { position: static; padding-top: 0; gap: 14px; }
  .flow-title { font-size: 32px; }
}
@media (max-width: 640px) {
  .hero--flow .hero-inner { padding-top: 104px !important; padding-left: 12px; padding-right: 12px; }
  .hero--flow .qualify { padding: 22px; border-radius: 16px; }
  .hero--flow .qualify legend { font-size: 22px; }
  .hero--flow .radio-cards { grid-template-columns: 1fr; }
  .flow-trust { font-size: 14px; }
}
.hero--flow .qualify h1 { color: var(--ink); max-width: none; }
