
body{margin:0;background:#ffffff}
a{color:#003337}a:hover{color:#45050e}
.hero{background:#003337 url(../assets/backgrounds/bg-1.jpg) center/cover no-repeat;position:relative;overflow:hidden;isolation:isolate}
.hero>header,.hero>section{position:relative;z-index:1}.hero>header{z-index:5}
.dots{position:absolute;inset:-3%;z-index:0;pointer-events:none;background:url(../assets/backgrounds/bg-2.jpg) center/cover no-repeat;mix-blend-mode:screen;animation:dotdrift 20s ease-in-out infinite alternate;will-change:transform}
@keyframes dotdrift{0%{transform:translate(0,0) scale(1)}33%{transform:translate(-1.2%,0.8%) scale(1.02)}66%{transform:translate(0.8%,-0.6%) scale(1.01)}100%{transform:translate(1.4%,0.6%) scale(1.03)}}
@media (prefers-reduced-motion:reduce){.dots{animation:none}}
.tile{cursor:pointer;font:inherit;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.tile:hover{border-color:#45050e !important;transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(0,51,55,.45)}
.tile-row{max-width:100%}
@media (max-width:640px){.tile-row{flex-basis:100%!important;min-width:0!important;min-height:calc(44 * var(--u))!important;padding-top:calc(5 * var(--u))!important;padding-bottom:calc(5 * var(--u))!important}.tile-row>span:first-child{width:calc(34 * var(--u))!important;height:calc(34 * var(--u))!important}.tiles-row{gap:calc(8 * var(--u))!important}}
/* Phones: the hero card is held at the intent picker's height (main.js lockCard), so the steps with the most tiles are compacted to fit inside it: the state picker goes two across, and tiles with a sub line stack as single-column icon-beside-text rows */
@media (max-width:640px){.tiles-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tiles-sub{grid-template-columns:1fr!important;gap:calc(10 * var(--u))!important}.tile-sub{flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;min-height:0!important;padding:calc(12 * var(--u)) calc(16 * var(--u))!important;gap:calc(14 * var(--u))!important}.tile-sub>span:first-child{width:calc(40 * var(--u))!important;height:calc(40 * var(--u))!important}.tile-sub>span:last-child{align-items:flex-start!important}}
/* Phones: the contact fields stack as a single column and share the card's spare height evenly, so the four rows fill the space between the heading and the consent line */
@media (max-width:640px){.contact-fields{grid-template-columns:1fr!important;align-content:stretch!important;gap:calc(10 * var(--u))!important}.contact-cell .field{flex:1}.contact-fields .field{min-height:calc(48 * var(--u))!important}}
/* Phones: while the contact step shows, the card is capped at its locked height (main.js lockCard sets --lock) and the fields + consent line scroll inside it, so error bubbles never grow the card. Every flex level down to the scroller needs min-height:0 or the cap is ignored. */
@media (max-width:640px){[data-intent].has-contact{max-height:var(--lock);overflow:hidden}[data-intent].has-contact .intent-flow,[data-intent].has-contact .flow,[data-intent].has-contact .flow>div{min-height:0}.contact-scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:2px}}
.tile:focus-visible,.cta:focus-visible,.link:focus-visible,.range:focus-visible,.faq summary:focus-visible{outline:2px solid #003337;outline-offset:2px}
/* Text fields show focus on their own border (no ring outside the box) */
.field:focus-visible{outline:none;border-color:#003337!important}
.cta{font-family:inherit}
.field:focus{border-color:#45050e !important}
/* Slider: a 10px teal track (the filled part up to the thumb is a darker teal, drawn from the --fill percentage main.js sets) with a white round thumb. */
.range{-webkit-appearance:none;appearance:none;height:28px;background:transparent;cursor:pointer;--fill:0%}
.range::-webkit-slider-runnable-track{height:10px;border-radius:999px;background:linear-gradient(90deg,#3f7478 var(--fill),#a7c2c4 var(--fill))}
.range::-moz-range-track{height:10px;border-radius:999px;background:#a7c2c4}
.range::-moz-range-progress{height:10px;border-radius:999px;background:#3f7478}
.range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:26px;height:26px;margin-top:-8px;border-radius:50%;background:#ffffff;border:2px solid #3f7478;box-shadow:0 2px 6px rgba(0,51,55,.3)}
.range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#ffffff;border:2px solid #3f7478;box-shadow:0 2px 6px rgba(0,51,55,.3)}
.faq summary{cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq[open] .chev{transform:rotate(180deg)}
/* Phones: --u is the phone unit. It is 1px on a 390px screen and above, and shrinks in step with the screen below that, so every phone size below is written as calc(N * var(--u)) and the 390px layout scales down whole (0.82x at 320px) instead of wrapping. The nowrap headings further down carry their own width-fitting formulas. */
:root{--u:1px;--qs:26px}
@media (min-width:641px){.herosec>.intent.card{margin-top:48px}}
@media (max-width:640px){:root{--u:min(1px,100vw / 390)}h1{font-size:42px!important}h2{font-size:calc(26 * var(--u))!important}.herosec{padding:0 calc(16 * var(--u)) calc(56 * var(--u))!important;gap:calc(16 * var(--u))!important}.herosec>.intent.card{margin-top:0}.herosec>div:first-child{font-size:calc(15 * var(--u))!important}.card{padding:calc(20 * var(--u))!important;border-radius:calc(22 * var(--u))!important}.bigval{font-size:calc(26 * var(--u))!important}header{padding:calc(16 * var(--u))!important}aside{position:static!important}header nav{margin-left:auto!important}.navlink{display:none!important}header{flex-wrap:nowrap!important;gap:calc(12 * var(--u))!important}header img{height:calc(22 * var(--u))!important}header nav{gap:0!important;flex-wrap:nowrap!important}header nav a{white-space:nowrap}.strip-sec{padding:calc(28 * var(--u)) calc(16 * var(--u)) calc(24 * var(--u))!important;gap:calc(16 * var(--u))!important}.strip-head{flex-wrap:nowrap!important;gap:calc(10 * var(--u))!important}.strip-head>span:first-child{font-size:calc(26 * var(--u))!important}.strip-head>span:last-child{font-size:calc(18 * var(--u))!important}.strip{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:calc(24 * var(--u))!important}.strip>div{height:calc(40 * var(--u))!important;flex:0 0 calc(25% - calc(18 * var(--u)))!important}.strip>div:nth-child(n+5){display:none!important}.strip img{height:calc(26 * var(--u))!important}}
.pick{cursor:pointer;font:inherit}
.pick:focus-visible{outline:2px solid #003337;outline-offset:2px}
[hidden]{display:none!important}
[data-strip] img{transition:opacity .5s ease,filter .5s ease}
html{scroll-behavior:smooth}
.navlink[aria-current]{text-decoration:underline!important;text-underline-offset:6px;text-decoration-thickness:2px}
@media (max-width:640px){header nav>[data-book]{padding:calc(8 * var(--u)) calc(14 * var(--u))!important;font-size:calc(14 * var(--u));white-space:nowrap}}
.err{color:#45050e;font-size:14px;font-weight:700;line-height:1.4}
.field[aria-invalid="true"]{border-color:#45050e!important;background:#fff9f8!important}
/* Typed-answer steps (main.js type 'text'): the box reads at the slider's exact-amount size. The rate and repayment boxes are a third of the card wide, centred, their $ / % / per-month tags filled end-caps (the lender strip's colour) with a divider line, clipped to the box's corners; the caret bubble beneath matches the box's width */
.adorn{position:relative;display:flex}.adorn .field{width:100%;box-sizing:border-box;height:52px!important;font-size:max(16px,calc(18 * var(--u)))!important}
.adorn-tag{position:absolute;top:1.5px;bottom:1.5px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:max(15px,calc(16 * var(--u)));color:#003337;background:#f2ded6;pointer-events:none}
.adorn-l{left:1.5px;border-right:1.5px solid #5e9a9e;border-radius:12px 0 0 12px}.adorn-r{right:1.5px;border-left:1.5px solid #5e9a9e;border-radius:0 12px 12px 0}
.adorn-percent,.adorn-money{width:33.33%;margin:0 auto;overflow:hidden;border-radius:14px}.ferr-percent,.ferr-money{width:33.33%;margin-left:auto;margin-right:auto;box-sizing:border-box}
.adorn-percent,.ferr-percent{min-width:150px}.adorn-percent .adorn-r{width:44px}.adorn-percent .field{padding-right:60px!important}
.adorn-money,.ferr-money{min-width:240px}.adorn-money .adorn-l{width:40px}.adorn-money .adorn-r{width:76px}.adorn-money .field{padding-left:54px!important;padding-right:90px!important}
/* The equity-purpose box is double height (a textarea, so the words wrap), padded like the single-line boxes */
.adorn-free .field{height:104px!important;padding:12px 16px!important;line-height:1.4;resize:none;font-family:inherit}
/* Desktop: the boxes read a size up (taller, bigger type, the capped ones a touch wider); phones put the box straight under the question rather than centred in the spare height */
@media (min-width:641px){.adorn .field{height:60px!important;font-size:20px!important}.adorn-free .field{height:120px!important}.adorn-tag{font-size:17px}.adorn-percent,.ferr-percent,.adorn-money,.ferr-money{width:40%}.adorn-percent .adorn-r{width:50px}.adorn-percent .field{padding-right:66px!important}.adorn-money .adorn-l{width:44px}.adorn-money .adorn-r{width:84px}.adorn-money .field{padding-left:58px!important;padding-right:98px!important}}
@media (max-width:640px){.text-wrap{justify-content:flex-start!important;padding-top:calc(6 * var(--u))}}
/* Contact-step field errors: a small bubble under the offending box with a caret pointing up at it, so the message reads as attached to that box */
.ferr{position:relative;margin-top:6px;padding:7px 12px;border-radius:10px;background:#45050e;color:#fff;font-size:13px;font-weight:700;line-height:1.35}.ferr::before{content:"";position:absolute;top:-6px;left:18px;border:6px solid transparent;border-top:0;border-bottom-color:#45050e}
[data-flow] h2:focus{outline:none}
.person:focus-visible{outline:2px solid #003337;outline-offset:3px}
.legal h2{margin:40px 0 14px;font-size:28px;line-height:1.15;font-weight:700;color:#45050e}
.legal h2:first-child{margin-top:0}
.legal h3{margin:28px 0 10px;font-size:21px;font-weight:700;color:#45050e}
.legal p,.legal li{font-size:17px;line-height:1.6}
.legal p{margin:0 0 14px}
.legal ul{margin:0 0 18px;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal li::marker{color:#5e9a9e}
@media (max-width:640px){.legal h2{font-size:24px!important}}
/* How it works: four interlocking chevron steps (ordered list, no visible numbers).
   Every step keeps the same text column (notch + 16px on the left, tip + 8px on the right, the
   flat ends matched to it) and the title is held to two lines so the paragraphs line up across the row */
.steps-sec{max-width:1280px;margin:0 auto;padding:96px 40px 112px;box-sizing:border-box;display:flex;flex-direction:column;gap:52px;background:#ffffff}
.steps-title{margin:0;text-align:center;font-size:48px;font-weight:800;line-height:1.15;letter-spacing:-.01em;color:#45050e}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch;font-family:"Avenir Next",Avenir,"Nunito Sans",sans-serif}
.step{margin:0 -14px 0 0;padding:28px 36px 28px 44px;display:flex;flex-direction:column;gap:10px;text-align:left;clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%,28px 50%)}
.step:nth-child(1){background:#eef4f3;padding-left:28px;border-radius:14px 0 0 14px;clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%)}
.step:nth-child(2){background:#dde9e7}
.step:nth-child(3){background:#c9dad8}
.step:nth-child(4){background:#45050e;margin-right:0;padding-right:28px;border-radius:0 14px 14px 0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,28px 50%)}
.step h3{margin:0;min-height:2.6em;font-size:18px;font-weight:700;line-height:1.3;color:#003337;text-wrap:balance}
.step p{margin:0;font-size:15px;font-weight:400;line-height:1.5;color:#1f3433}
.step:nth-child(4) h3{color:#ffffff}
.step:nth-child(4) p{color:#f1e6e8}
/* Under 1060px the chevrons run out of room for the titles: a 2x2 grid of plain rounded blocks */
@media (max-width:1060px){.steps{grid-template-columns:repeat(2,1fr);gap:12px}.step,.step:nth-child(1),.step:nth-child(4){margin:0;padding:28px 24px;clip-path:none;border-radius:14px}.step h3{min-height:0}}
@media (max-width:900px){.steps-sec{padding:72px 24px 80px;gap:36px}.steps-title{font-size:32px}}
/* Phone: one column of downward chevrons that interlock the same way the desktop row does (a 20px tip, a
   matching 20px notch in the top of the next step, and the steps overlapping by half the tip for the pale seam) */
@media (max-width:600px){.steps-sec{padding:calc(72 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));gap:calc(36 * var(--u))}.steps{grid-template-columns:1fr;gap:0}.step,.step:nth-child(1),.step:nth-child(4){margin:0 0 -10px;padding:calc(44 * var(--u)) calc(24 * var(--u));gap:calc(10 * var(--u));text-align:center;align-items:center;border-radius:0;clip-path:polygon(0 0,50% 20px,100% 0,100% calc(100% - 20px),50% 100%,0 calc(100% - 20px))}.step:nth-child(1){padding-top:calc(28 * var(--u));border-radius:14px 14px 0 0;clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),50% 100%,0 calc(100% - 20px))}.step:nth-child(4){margin-bottom:0;padding-bottom:calc(28 * var(--u));border-radius:0 0 14px 14px;clip-path:polygon(0 0,50% 20px,100% 0,100% 100%,0 100%)}.step h3{font-size:calc(18 * var(--u))}.step p{font-size:calc(15 * var(--u))}}
.intent{width:100%;max-width:720px;margin-top:12px;background:#ffffff;color:#003337;border-radius:24px;padding:32px;box-sizing:border-box;display:flex;flex-direction:column;gap:24px;text-align:left;box-shadow:0 30px 80px -20px rgba(0,0,0,.45)}
.intent-head{display:flex;flex-direction:column;gap:6px}
.intent-head h2{margin:0;font-size:30px;font-weight:800;line-height:1.15;color:#45050e}
.intent-head p{margin:0;font-size:17px;font-weight:400;color:#003337}
.intent-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.intent-opt{position:relative;display:flex;flex-direction:column;align-items:center;gap:20px;padding:24px;border:1px solid #5e9a9e;border-radius:20px;background:#ffffff;color:#003337;text-align:center;text-decoration:none;cursor:pointer;font:inherit;box-sizing:border-box;transition:background .15s ease}
.intent-opt:hover{background:#fff9f8;color:#003337}
.intent-opt:focus-visible{outline:2px solid #5e9a9e;outline-offset:2px}
.intent-top{display:flex;justify-content:center}
.intent-icon{flex:none;width:64px;height:64px;border-radius:16px;background:#fff9f8;border:1px solid #f2ded6;display:flex;align-items:center;justify-content:center}
.intent-icon svg{width:30px;height:30px}
.intent-chev{position:absolute;top:50%;right:24px;transform:translateY(-50%);width:22px;height:22px}
.intent-text{display:flex;flex-direction:column;align-items:center;gap:6px}
.intent-title{font-size:22px;font-weight:800;line-height:1.2;color:#45050e;white-space:nowrap}
.intent-desc{font-size:16px;line-height:1.4}
/* Tinted reassurance band across the top edge of the card: negative margins cancel the card padding so it runs edge to edge; the -4px bottom margin trims the card's 24px gap to 20px above the heading */
.intent-band{list-style:none;margin:-32px -32px -4px;padding:12px 24px;background:#f0f6f6;border-radius:24px 24px 0 0;display:flex;justify-content:center;flex-wrap:wrap;gap:24px;font-size:12px;font-weight:500;color:#23484b}
.intent-band li{display:inline-flex;align-items:center;gap:7px}
.intent-band svg{width:15px;height:15px;flex:none}
/* Side by side, the two options share the list's two rows (icon row, text row) through a subgrid, so the icon, the title and the first line of the description sit at the same height in both whatever each description wraps to; the list's spare height is split evenly between the rows, which keeps the pair visually centred */
@media (min-width:561px){.intent-list{flex:1;grid-template-rows:auto auto}.intent-opt{display:grid;grid-template-rows:subgrid;grid-row:span 2;justify-items:center}.intent-top{align-self:end}.intent-text{align-self:start}.intent-chev{right:14px}}
@media (max-width:560px){.intent-list{grid-template-columns:1fr}}
@media (max-width:640px){.intent-band{margin:calc(-20 * var(--u)) calc(-20 * var(--u)) calc(-12 * var(--u));padding:calc(12 * var(--u)) calc(16 * var(--u));border-radius:calc(22 * var(--u)) calc(22 * var(--u)) 0 0;flex-wrap:nowrap;gap:calc(18 * var(--u));font-size:calc(12 * var(--u))}.intent-band li{white-space:nowrap;gap:calc(6 * var(--u))}.intent-band svg{width:calc(15 * var(--u));height:calc(15 * var(--u))}}
@media (max-width:480px){.intent{padding:20px}.intent-icon{width:52px;height:52px}.intent-icon svg{width:26px;height:26px}.intent-title{font-size:20px}}
/* Quiz card: on desktop it holds the intent panel's height (402px) so the box never resizes between steps */
@media (min-width:641px){.card{min-height:402px}}
/* ABN lookup (js/abn-lookup.js): the search box with its spinner, the matches that drop under it, the picked business card */
.abn-row{position:relative;display:flex}
.abn-spinner{position:absolute;top:50%;right:16px;width:18px;height:18px;margin-top:-9px;border:2.5px solid #f2ded6;border-top-color:#5e9a9e;border-radius:50%;animation:abn-spin .7s linear infinite;pointer-events:none}
@keyframes abn-spin{to{transform:rotate(360deg)}}
.abn-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;max-height:264px;overflow-y:auto;background:#ffffff;border:1.5px solid #5e9a9e;border-radius:14px;box-shadow:0 18px 40px -16px rgba(0,51,55,.45)}
.abn-pick{display:block;width:100%;text-align:left;background:#ffffff;border:0;border-bottom:1px solid #f2ded6;padding:11px 16px;cursor:pointer;font:inherit;color:#003337}
.abn-pick:last-child{border-bottom:0}
.abn-pick:hover,.abn-pick:focus-visible{background:#fff9f8;outline:none}
.abn-pick b{display:block;font-size:15px;color:#45050e}
.abn-pick span{display:block;font-size:13px;margin-top:2px}
.abn-pick.is-cancelled b{color:#003337;font-weight:400}
.abn-result{background:#fff9f8;border:1px solid #f2ded6;border-radius:16px;padding:14px 18px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.abn-result b{font-size:18px;color:#45050e}
.abn-kicker{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.abn-hint{font-size:13px;text-align:center}
/* ---- Online Service, Real People (home): full-bleed maroon section; the heading band and the two broker cards sit in the site's 1200px column, and the cards are pulled up by a negative margin so they overlap the band's bottom padding. On desktop .ppl-cards has six rows (a flexible spacer, then name, role, tag, bio, CTA) and each card is a subgrid spanning them with its photo down the left column, so the two cards share row heights: the name, role, tag and bio start on the same lines in both, the longer bio ends just above its CTA and the shorter one leaves its spare line there. "Book a chat" swaps that card to the broker's calendar in place (.is-cal, main.js openCal): the card becomes a plain column holding the Back button and the calendar, still spanning the six rows, so the other card grows to match it. The iframe follows the height the GHL widget reports until it settles on the month view (585px; main.js wireCalSize), then locks at the first click inside it, so the card never grows further: once a day is picked the widget lists its time slots and that scrolls inside the iframe. The widget page is transparent and draws its calendar in a box with a 1px border and 8px corners, inset 16px top and bottom; from 1200px .ppl-cal (overflow hidden, the widget's own beige #f9efe9 behind) crops that away with the iframe's negative margins, so the calendar meets the Back bar and the card's edges with no line. Narrower layouts leave the iframe at its plain 100% width. The spacer row soaks up the card's free height so the text sits at the bottom; a ::before spacer spanning the rows keeps a card at least 330px and it grows with its text; the photo is height:0 / min-height:100% so it fills the card without its own 2:3 height setting the rows. ---- */
.ppl{background:#45050e;font-family:"Avenir Next",Avenir,"Nunito Sans",sans-serif}
.ppl-band{background:#45050e;padding:88px 24px 200px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.ppl-band h2{margin:0;font-size:48px;font-weight:800;line-height:1.15;color:#ffffff;white-space:nowrap}
.ppl-band p{margin:0;max-width:560px;font-size:17px;line-height:1.6;color:#f2ded6;text-wrap:pretty}
.ppl-cards{max-width:1248px;margin:-140px auto 0;padding:0 24px 88px;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(28px,1fr) repeat(5,auto);column-gap:16px;row-gap:0}
.ppl-card{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;column-gap:28px;row-gap:8px;padding-right:28px;background:#ffffff;border-radius:16px;overflow:hidden;text-decoration:none;color:#003337}
.ppl-card::before{content:"";grid-column:1;grid-row:1 / -1;min-height:330px}
.ppl-card img{grid-column:1;grid-row:1 / -1;width:240px;height:0;min-height:100%;object-fit:cover;object-position:center 10%;display:block}
.ppl-info{display:contents}
.ppl-name,.ppl-role,.ppl-tag,.ppl-bio,.ppl-link{grid-column:2;justify-self:start}
.ppl-name{grid-row:2}
.ppl-role{grid-row:3}
.ppl-tag{grid-row:4}
.ppl-bio{grid-row:5}
.ppl-link{grid-row:6;justify-self:center;margin-bottom:28px}
.ppl-id{display:contents}
.ppl-name{font-size:20px;font-weight:700;color:#45050e}
.ppl-role{font-size:16px;color:#003337}
.ppl-tag{background:#f2ded6;color:#45050e;font-size:13px;font-weight:700;padding:5px 10px;border-radius:999px}
.ppl-bio{display:block;margin-top:4px;font-size:14px;line-height:1.55;color:#003337}
.ppl-link{margin-top:12px;font-size:15px;font-weight:700;color:#ffffff;background:#5e9a9e;border:0;border-radius:999px;padding:12px 26px;font-family:inherit;cursor:pointer;transition:background .2s ease,transform .2s ease}
.ppl-link:hover{background:#45050e;transform:translateY(-1px)}
.ppl-link:focus-visible{outline:2px solid #003337;outline-offset:3px}
.ppl-cal{display:flex;flex-direction:column;flex:1;overflow:hidden;background:#f9efe9;text-align:center;color:#003337;font-size:15px}
.ppl-cal p{margin:0;padding:20px 24px 0}
.ppl-cal iframe{width:100%;height:585px;flex:none;border:0;display:block;transition:height .3s ease,opacity .3s ease}
.ppl-cal.is-empty iframe{height:220px}
/* While the widget loads (openCal adds .is-loading, calReady removes it on the first height reply) the iframe is kept invisible under a centred "Loading <broker>'s calendar" cover, so a half-drawn widget never shows */
.ppl-cal{position:relative}
.ppl-cal-wait{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:24px;font-weight:700}
.ppl-cal.is-loading .ppl-cal-wait{display:flex}
.ppl-cal.is-loading iframe{opacity:0}
.ppl-card.is-cal{display:flex;flex-direction:column;gap:0;height:auto;padding:0}
.ppl-card.is-cal::before{content:none}
.ppl-back{display:block;width:100%;background:#f2ded6;border:0;padding:12px 22px;font-family:inherit;font-size:14px;font-weight:700;color:#45050e;text-align:left;cursor:pointer}
/* 1200px and up: the widget's bordered box and its 16px top/bottom margin are cropped by the iframe's negative margins inside the overflow-hidden .ppl-cal */
@media (min-width:1200px){.ppl-cal iframe{width:calc(100% + 2px);margin:-17px -1px}}
/* Below 900px: one column of stacked cards (photo on top), a shallower band and overlap. The heading rule carries !important to beat the global phone h2 rule above. */
@media (max-width:900px){.ppl-band{padding:56px 24px 160px}.ppl-band h2{font-size:32px!important;white-space:normal}.ppl-cards{grid-template-columns:minmax(0,560px);grid-template-rows:none;row-gap:16px;padding:0 24px 56px;margin-top:-110px}.ppl-card{display:flex;flex-direction:column;grid-row:auto;padding:0}.ppl-card::before{content:none}.ppl-card img{width:100%;height:320px;min-height:0;border-radius:16px 16px 0 0}.ppl-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px}.ppl-bio,.ppl-link{grid-row:auto}.ppl-link{align-self:center;margin-bottom:0}}
/* Phones (640px and below): the card is a grid drawn at 375px and scaled with --u. Row one is the portrait on the left with the identity block (name, title, tag) beside it; the one-sentence bio and the full-width pill CTA span both columns underneath. The stack gives every card the same height (grid-auto-rows:1fr) and the bio row soaks up the difference so the CTAs line up at the bottom; while a calendar is open (.ppl-cards.is-open, main.js openCal) the rows go back to auto so the other card is not stretched to the calendar's height. .ppl-info is display:contents so its children sit straight on the grid. The 16px side padding around the cards stays fixed. */
@media (max-width:640px){.ppl-band{padding:48px 16px 120px}.ppl-cards{padding:0 16px 48px;margin-top:-80px;gap:16px;grid-auto-rows:1fr}.ppl-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:center;column-gap:calc(16 * var(--u));row-gap:calc(14 * var(--u));height:auto;text-align:left;padding:calc(20 * var(--u));border-radius:14px}.ppl-card img{grid-row:1;width:calc(112 * var(--u));height:calc(130 * var(--u));min-height:0;border-radius:14px;object-position:center 20%}.ppl-info{display:contents}.ppl-id{grid-row:1;grid-column:2;align-self:center;display:flex;flex-direction:column;align-items:flex-start;gap:calc(6 * var(--u));min-width:0}.ppl-name{font-size:calc(22 * var(--u));font-weight:900;line-height:1.2}.ppl-role{font-size:calc(15 * var(--u));color:#22262b}.ppl-tag{margin-top:2px;font-size:calc(13 * var(--u));font-weight:800;padding:3px 9px;border-radius:10px}.ppl-bio{grid-column:1 / -1;margin:0;text-align:center;font-size:calc(15 * var(--u));line-height:1.5;color:#22262b;text-wrap:pretty}.ppl-link{grid-column:1 / -1;margin:0;height:calc(50 * var(--u));padding:0 calc(20 * var(--u));font-size:calc(16 * var(--u));font-weight:800;background:#5d9a9e}.ppl-link:hover{background:#4e8589;transform:none}.ppl-link:active{background:#3f7478}.ppl-link:focus-visible{outline:2px solid #45050e;outline-offset:2px}.ppl-card.is-cal{display:block;padding:0}.ppl-cards.is-open{grid-auto-rows:auto}}
/* ---- Group footer: one teal band holding the Find a Loan Group tree (eyebrow, group lockup, connector tree, three brand cards) and the legal row. The band is full-bleed; .gf-in is the same width and side padding as .faqs-in so the cards and legal row line up with the FAQ grid above. Logos are single-colour SVG masks so they take their card's text colour in every state. Desktop is a centred column; below 820px it goes left-aligned with the brands stacked on a spine (the breakpoint sits above 720px so the card logos stay on one line). ---- */
.gf{background:#00313a;color:#ffffff;padding:32px 0 24px}
.gf-in{max-width:1248px;margin:0 auto;padding:0 24px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}
.gf-eyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.5;color:#f3ddd6;text-align:center;white-space:nowrap}
/* Group lockup: THE and GROUP share the wordmark's baseline. The logo span holds no text, so its baseline is its bottom edge, which is where the mark's letters sit. */
.gf-lockup{display:flex;align-items:baseline;gap:8px;margin-top:8px;font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.gf-lockup .gf-logo{height:25px}
.gf-logo{display:inline-block;height:18px;max-width:100%;background:currentColor;-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat}
.gf-logo-loan{--logo:url(../assets/logos/brand/find-a-loan.svg);aspect-ratio:2459.45/380.45}
.gf-logo-mortgage{--logo:url(../assets/logos/brand/find-a-mortgage.svg);aspect-ratio:2545.88/337.26}
.gf-logo-commercial{--logo:url(../assets/logos/brand/find-commercial.svg);aspect-ratio:2369.6/246.82}
/* Card logos: --asc is the ascender height (tops of f/d/l down to the baseline), the letter height of a 24px wordmark. The mortgage mark's viewBox also holds the g descender, so its baseline sits at 76.5% of its box; its box is 1/.765 taller so its letters match the other two, and those two carry the difference as bottom margin so all three boxes end on the same line and the descriptions line up too. */
.gf-card .gf-logo{--asc:18px;height:var(--asc);margin-bottom:calc(var(--asc) * .307)}
.gf-card .gf-logo-mortgage{height:calc(var(--asc) / .765);margin-bottom:0}
.gf-nav{width:100%;margin-top:14px}
/* Tree: a 28px strip over the cards drawn with bordered spans in percentages, so each arm lands on its card's centre (--c = cardW/2 from either edge, 50% in the middle, with cardW = (100% - 2 gaps)/3) at any width. The trunk starts 10px above the strip, just under the lockup. Every stroke is 2px and centred on its line, hence the 1px offsets. */
.gf-tree{position:relative;height:28px;--c:calc((100% - 40px) / 6);--muted:#7a8f95}
.gf-tree span{position:absolute;box-sizing:border-box}
.gf-tree-trunk{left:calc(50% - 1px);top:-10px;width:2px;height:12px;background:#ffffff}
.gf-tree-left{left:calc(var(--c) - 1px);right:50%;top:0;bottom:0;border-top:2px solid #ffffff;border-left:2px solid #ffffff;border-top-left-radius:8px}
.gf-tree-right{left:50%;right:calc(var(--c) - 1px);top:0;bottom:0;border-top:2px solid var(--muted);border-right:2px solid var(--muted);border-top-right-radius:8px}
.gf-tree-drop{left:calc(50% - 1px);top:2px;bottom:0;width:2px;background:var(--muted)}
.gf-brands{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.gf-brand{min-width:0;display:flex}
.gf-card{position:relative;box-sizing:border-box;flex:1;min-height:124px;border-radius:12px;padding:30px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.gf-top{display:flex;justify-content:center;align-items:center;max-width:100%}
.gf-desc{margin:0;font-size:13px;line-height:1.45;text-wrap:balance}
/* Current card: the brand gradient (teal left, dark red right) covers the card and is centred so the card crops the middle at any size; hover lifts it with a light wash */
.gf-card-current{background:#4a0410 url(../assets/backgrounds/bg-gradient.jpg) center/cover no-repeat;color:#ffffff;text-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:inset 0 0 0 2px #f3ddd6;text-decoration:none;transition:box-shadow .15s ease}
.gf-card-current:hover{box-shadow:inset 0 0 0 2px #f3ddd6,inset 0 0 0 200px rgba(255,255,255,.08)}
.gf-card-link{background:#ffffff;color:#00313a;text-decoration:none;transition:background .15s ease}
.gf-card-link:hover{background:#f3ddd6;color:#00313a}
/* Find a Loan and Find Commercial cards: hovering fades in that brand's gradient (--grad, set per card from the backgrounds folder) behind white text; the gradient lives on a pseudo-element so its opacity can animate, kept behind the content by the card's own stacking context */
.gf-card-grad{overflow:hidden;isolation:isolate;transition:color .2s ease}
.gf-card-grad-loan{--grad:url(../assets/backgrounds/bg-gradient-loan.jpg)}
.gf-card-grad-commercial{--grad:url(../assets/backgrounds/bg-gradient-commercial.jpg)}
.gf-card-grad::before{content:"";position:absolute;inset:0;z-index:-1;background:#00313a var(--grad) center/cover no-repeat;opacity:0;transition:opacity .2s ease}
.gf-card-grad:hover{background:#ffffff;color:#ffffff;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.gf-card-grad:hover::before{opacity:1}
.gf-card-link:focus-visible,.gf-card-current:focus-visible,.gf-privacy:focus-visible{outline:2px solid #f3ddd6;outline-offset:2px}
.gf-arrow{position:absolute;top:12px;right:12px;width:22px;height:22px;flex:none}
.gf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Legal row: the 1px divider sits 24px under the cards with 16px to the row; the legal text takes the free space and the hours/address stay pinned to the right edge. */
.gf-bottom{box-sizing:border-box;width:100%;margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2);display:flex;justify-content:space-between;align-items:flex-end;gap:40px}
.gf-legal{margin:0;flex:1 1 0;min-width:0;max-width:640px;font-size:12px;line-height:1.6;color:rgba(255,255,255,.78)}
.gf-privacy{margin-left:6px;font-weight:700;color:#ffffff}
.gf-privacy:hover{color:#f3ddd6}
.gf-contact{margin:0 0 0 auto;flex:none;display:flex;flex-direction:column;text-align:right;font-size:13px;line-height:1.6}
/* Phones: left-aligned, brands stacked as equal-height rows (grid-auto-rows:1fr, so a wrapped description stretches all three) indented 30px. Each row's pseudo-elements draw its spine segment 21px left of the row: row 1 blush down to its centre with a stub in, then muted; row 2 muted with a stub; row 3 a muted elbow. Heights are in % of the row so the stubs stay on the centre when a description wraps. The lockup is centred at a fixed 224px, so .gf-nav::before draws a right-angle elbow out of its left edge (50% - 112px, at its vertical middle) across to the spine, then down into it (left 8px = the 30px indent minus the 22px spine offset). The eyebrow stays on one line by shrinking with the viewport (it needs about 32.5px of width per 1px of font size inside the 20px gutters). */
@media (max-width:819px){.gf-in{padding:0 20px;align-items:flex-start}.gf-eyebrow{align-self:center;font-size:min(11px,calc((100vw - 40px) / 32.5))}.gf-lockup{align-self:center;width:224px;justify-content:center;gap:7px;font-size:11px}.gf-lockup .gf-logo{height:21px}.gf-tree{display:none}.gf-nav{position:relative;margin-top:28px}.gf-nav::before{content:"";position:absolute;top:-37px;left:8px;right:calc(50% + 116px);height:29px;box-sizing:border-box;border-top:2px solid #f3ddd6;border-left:2px solid #f3ddd6}.gf-brands{display:grid;grid-template-columns:1fr;grid-auto-rows:1fr;gap:10px;margin-left:30px}.gf-brand{position:relative}.gf-brand::before,.gf-brand::after{content:"";position:absolute;left:-22px;width:22px;box-sizing:border-box;pointer-events:none;--muted:rgba(243,221,214,.35)}.gf-brand:nth-child(1)::before{top:-8px;height:calc(50% + 9px);border-left:2px solid #f3ddd6;border-bottom:2px solid #f3ddd6}.gf-brand:nth-child(1)::after{top:calc(50% + 1px);height:calc(50% + 9px);width:2px;background:var(--muted)}.gf-brand:nth-child(2)::before{top:0;height:calc(100% + 10px);width:2px;background:var(--muted)}.gf-brand:nth-child(2)::after{top:calc(50% - 1px);height:2px;background:var(--muted)}.gf-brand:nth-child(3)::before{top:0;height:calc(50% + 1px);border-left:2px solid var(--muted);border-bottom:2px solid var(--muted);border-bottom-left-radius:10px}.gf-card{min-height:0;border-radius:10px;padding:12px 14px;align-items:stretch;gap:5px;text-align:left}.gf-top{justify-content:space-between;gap:8px}.gf-card .gf-logo{--asc:15px;margin-bottom:0}.gf-arrow{position:static}.gf-desc{font-size:12px;line-height:1.4}.gf-bottom{margin-top:24px;flex-direction:column;align-items:flex-start;gap:12px}.gf-contact{margin-left:0;text-align:left}.gf-legal{max-width:none}}
/* Home hero card: the intent picker and the two quizzes share one card; main.js showIntent() swaps which view is shown */
.intent-pick,.intent-flow{flex:1;display:flex;flex-direction:column;gap:24px}
.flow{flex:1;display:flex;flex-direction:column;gap:16px}
/* FAQs: beige section with plain white tab pill and accordions. Tabs swap the buy / refinance panels; each panel is a two-column grid of accordions, one column on phones */
.faqs{background:#f2ded6}
.faqs-in{max-width:1248px;margin:0 auto;padding:96px 24px 104px;box-sizing:border-box;display:flex;flex-direction:column;gap:36px}
.faqs-head{display:flex;text-align:center;justify-content:center}
.faqs-head h2{margin:0;font-size:40px;font-weight:700;color:#45050e}
.faq-tabs{display:flex;gap:6px;align-self:center;background:#ffffff;border-radius:999px;padding:6px}
.faq-tab{border:0;background:none;padding:12px 24px;border-radius:999px;font:inherit;font-weight:700;font-size:16px;color:#003337;cursor:pointer;transition:background .15s ease,color .15s ease}
.faq-tab[aria-selected="true"]{background:#45050e;color:#ffffff}
.faq-tab:focus-visible{outline:2px solid #003337;outline-offset:2px}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;align-items:start}
.faq{background:#ffffff;border-radius:16px;padding:0 22px}
.faq[open] summary{padding-bottom:8px}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;box-sizing:border-box;font-weight:700;font-size:18px;color:#45050e}
.faq p{margin:0;padding:0 0 20px;font-size:16px;line-height:1.5}
.faq .chev{flex-shrink:0;transition:transform .2s ease}
@media (max-width:767px){.faqs-in{padding:calc(64 * var(--u)) calc(24 * var(--u)) calc(72 * var(--u));gap:calc(28 * var(--u))}.faqs-head h2{font-size:30px}.faq-grid{grid-template-columns:1fr;gap:calc(14 * var(--u))}.faq-tab{padding:calc(10 * var(--u)) calc(16 * var(--u));font-size:calc(15 * var(--u))}.faq{padding:0 calc(18 * var(--u))}.faq summary{padding:calc(18 * var(--u)) 0;gap:calc(10 * var(--u));font-size:calc(15 * var(--u))}.faq p{padding-bottom:calc(20 * var(--u));font-size:calc(16 * var(--u))}}
/* ---- Phone verify screen (js/phone-verify.js): the SMS code step after the contact details. The screen markup is the findaloan.com.au form's partial verbatim, so its base classes (.screen .q .sub .field .req-tag .note) are styled here for the quiz card, and the theme tokens its own CSS block reads are mapped to this site's palette. ---- */
:root{--ocean:#5e9a9e;--muted:#5b7a7c;--fire:#45050e;--sky:#fff9f8;--line-solid:#5e9a9e;--radius-sm:14px;--font-brand:inherit}
[data-flow] .screen{flex:1;display:flex;flex-direction:column;gap:12px}
[data-flow] .screen .q{margin:0;font-size:26px;font-weight:700;color:#45050e}
[data-flow] .screen .sub{margin:0;font-size:16px;line-height:1.4}
[data-flow] .screen .field{display:flex;flex-direction:column;gap:6px}
[data-flow] .screen .field label{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}
[data-flow] .screen .req-tag{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#45050e;background:#f2ded6;padding:2px 8px;border-radius:999px}
[data-flow] .screen .field input{width:100%;box-sizing:border-box;height:52px;border:1.5px solid #5e9a9e;border-radius:14px;padding:0 16px;font:inherit;font-size:20px;letter-spacing:.08em;color:#003337;background:#ffffff}
[data-flow] .screen .field input:focus{border-color:#45050e;outline:none}
[data-flow] .screen .note{display:flex;gap:8px;align-items:flex-start;background:#fff9f8;border:1px solid #f2ded6;border-radius:14px;padding:10px 14px;font-size:14px;line-height:1.4}
/* Quiz inputs stay at 16px: anything smaller makes iOS zoom the page on focus */
@media (max-width:640px){[data-flow] .screen .q{font-size:calc(24 * var(--u))!important}[data-flow] .screen .sub{font-size:calc(16 * var(--u))}}
/* Phone verify screen (lib/phone-verify.js) */
.vmsg {
  min-height: 20px;
  margin: 4px 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.vmsg.err {
  color: var(--fire);
}
.vmsg.ok {
  color: #1e8e3e;
}
[data-theme='dark'] .vmsg.ok {
  color: #6fcf8f;
}
.vactions {
  display: flex;
  gap: 10px;
}
.vactions .btn-abn {
  padding: 12px 18px;
}
.btn-vresend {
  background: transparent;
  color: var(--ocean);
  border: 1.5px solid var(--line-solid);
}
/* ---- shared button rule the verify screen uses (forms.css 1235-1260) ---- */
.btn-abn {
  flex: none;
  background: var(--ocean);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.btn-abn:active {
  transform: scale(0.98);
}
.btn-abn:disabled {
  opacity: 0.5;
  cursor: default;
}
/* --qs is the question size: the quiz headings (main.js H2) and the first step's "What are you looking to do?" share it. On phones it shrinks so that first heading fits one line in the card (card width = 100vw - 72u; the heading is 14.9x its font size wide) */
@media (max-width:640px){:root{--qs:min(calc(26 * var(--u)),calc((100vw - 72 * var(--u)) / 14.9))}.intent-head h2,.flow h2{font-size:var(--qs)!important}.intent-head h2{white-space:nowrap}}
@media (max-width:640px){.steps-title,.ppl-band h2,.faqs-head h2,.herosec h1{white-space:nowrap!important}.herosec h1{font-size:min(42px,calc((100vw - 32px) / 13.2))!important}.steps-title{font-size:min(26px,calc((100vw - 48px) / 19.6))!important}.ppl-band h2{font-size:min(32px,calc((100vw - 48px) / 15.4))!important}.faqs-head h2{font-size:min(26px,calc((100vw - 48px) / 13.5))!important}}
