/* Skypay Business, round 3: the focused application (one question per screen), Studio-styled. */
.application-open .landing, .application-open nav.site-nav, .application-open .header-actions, .application-open footer.site-foot { display: none; }
.application-open header.site-head { border-bottom: 1px solid var(--line); }
.application-open .header-inner { max-width: 760px; padding: 20px 40px; }
.application-open .brand img { height: 27px; }
.application-open .brand > span { font-size: 20px; }
#application[hidden] { display: none; }
.app-page { min-height: calc(100vh - 72px); background: #f8faf9; padding-bottom: 50px; }
.app-heading { max-width: 760px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 20px; }
.app-heading > span { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--muted); }
.app-heading .text-link { font-size: 11px; }
.application { max-width: 760px; padding-top: 27px; }
.form-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.form-top small { font-size: 10px; }
.progress { height: 5px; background: var(--line); border-radius: 5px; margin-bottom: 24px; }
.progress span { height: 100%; display: block; background: var(--accent); border-radius: 5px; transition: width .2s; }
.step-content { background: #fff; border: 1px solid #e1e9e4; border-radius: 18px; padding: 30px 35px; box-shadow: 0 10px 30px #193c2d05; }
.step-content h2 { font-size: 30px; outline: 0; margin-bottom: 10px; letter-spacing: -.055em; line-height: 1.13; }
.step-content > p { font-size: 13px; margin-bottom: 24px; }
.step-content .amount { margin-top: 28px; }
.step-content .amount > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.step-content .amount-input > span, .step-content .amount-input input { font-size: 45px; }
.step-content h3 { font-size: 14px; margin-top: 26px; margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 23px; }
.choices.one { grid-template-columns: 1fr; }
.choices button { border: 1px solid var(--line); background: #fff; border-radius: 10px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 16px; color: var(--ink); font-size: 13px; min-height: 62px; }
.choices button.selected, .purpose-choices button.selected { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choices button > span.tick { width: 19px; height: 19px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.choices button:not(.selected) > span.tick svg.check { display: none; }
.choices button.selected > span.tick { background: var(--accent); color: #fff; border-color: var(--accent); }
.choices button.selected > span.tick svg.plus { display: none; }
.choices button small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.purpose-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.purpose-choices button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: relative; padding: 18px 10px; font-size: 12px; font-weight: 650; }
.purpose-choices button > svg.ic { color: var(--accent); width: 30px; height: 30px; stroke-width: 1.5; }
.purpose-choices button > .corner { position: absolute; right: 10px; top: 10px; color: var(--accent); }
.field { display: block; font-size: 12px; font-weight: 600; margin: 18px 0; }
.field input, .field select { display: block; margin-top: 8px; padding: 15px; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 400; }
.field.is-error input { border-color: #a22c20; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.info-note { background: var(--soft); padding: 15px; font-size: 11px; line-height: 1.7; color: var(--muted); border-radius: 8px; margin: 18px 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.7; margin-top: 18px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.consent a { text-decoration: underline; }
.sub-fields { padding: 1px 18px 18px; background: var(--paper); border-radius: 10px; margin-top: 20px; }
.requested-summary { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 25px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.requested-summary strong { color: var(--ink); font-size: 13px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.form-actions .primary { min-width: 160px; }
.back { display: flex; align-items: center; gap: 6px; background: none; color: var(--muted); font-size: 12px; padding: 8px 0; }
.error { background: #fff0eb; color: #a22c20; padding: 12px; border-radius: 6px; font-size: 12px !important; margin-top: 20px; }
.app-reassurance { display: flex; align-items: center; gap: 8px; font-size: 11px !important; margin: 18px 0 0; }
.app-reassurance svg { color: var(--accent); }
.large-icon { display: grid; place-items: center; background: var(--soft); color: var(--accent); border-radius: 50%; width: 60px; height: 60px; margin: 10px 0 23px; }
.review { margin: 25px 0; }
.review > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 12px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.success p { font-size: 13px; }
/* abr lookup */
.abr-results { display: grid; gap: 6px; margin-top: 8px; }
.abr-results button { text-align: left; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.abr-results button:hover { border-color: var(--accent); }
.abr-results b { font-size: 13px; font-weight: 650; }
.abr-results small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.abr-status { font-size: 11px; margin: 8px 0 0; }
.entity { border: 1px solid var(--accent); background: var(--soft); border-radius: 12px; padding: 16px 18px; margin-top: 16px; }
.entity b { display: block; font-size: 15px; margin-bottom: 10px; letter-spacing: -.02em; }
.entity dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 16px; margin: 0; }
.entity dt { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 2px; }
.entity dd { margin: 0; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.entity .text-link { margin-top: 12px; font-size: 11px; }
/* capacity reveal */
.capacity { background: var(--soft); border-radius: 12px; padding: 22px 24px; margin-top: 24px; }
.capacity > span { display: block; font-size: 9px; letter-spacing: .09em; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.capacity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.capacity-grid strong { display: block; font-size: 34px; letter-spacing: -.06em; font-weight: 450; line-height: 1.05; font-variant-numeric: tabular-nums; }
.capacity-grid small { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.capacity p { font-size: 10px; margin: 16px 0 0; }
/* otp */
.otp { display: flex; gap: 12px; margin-top: 22px; }
.otp input { width: 62px; height: 70px; text-align: center; font-size: 30px; font-weight: 500; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; }
.otp input:focus { border-color: var(--accent); }
.done-ready { margin: 22px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
/* inline mode (Quick start): the card lives in the hero */
.app-inline .step-content { box-shadow: 0 14px 45px #173d3210; }
.app-inline .app-heading { display: none; }
.app-inline .application { padding-top: 0; }
@media (max-width: 720px) {
  .application-open .header-inner { padding: 18px 22px; }
  .app-heading { flex-wrap: wrap; padding-top: 18px; } .app-heading > span { font-size: 8px; }
  .application { padding-top: 23px; padding-inline: 16px; }
  .step-content { padding: 25px 20px; } .step-content h2 { font-size: 27px; }
  .purpose-choices { gap: 10px; } .purpose-choices button { min-height: 110px; }
  .choices { grid-template-columns: 1fr; } .choices button { padding: 16px 12px; font-size: 12px; min-height: 60px; }
  .form-actions .primary { min-width: 140px; font-size: 12px; }
  .two-col { grid-template-columns: 1fr; gap: 0; } .field input { font-size: 16px; }
  .step-content .amount-input input { font-size: 43px; }
  .capacity-grid { grid-template-columns: 1fr; } .otp input { width: 56px; height: 64px; }
}
.app-inline .app-page { min-height: 0; background: none; padding: 0; }
.app-inline .application { padding: 0; max-width: none; }
.app-inline .form-top, .app-inline .progress { padding-inline: 4px; }
/* Testing-only skip control (remove before launch) */
.skip-test { display: block; margin: 14px auto 0; background: none; border: 0; padding: 6px 10px; font: inherit; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.skip-test:hover { color: var(--ink); }
/* Range flow: result screen */
.range-result { display: grid; gap: 10px; margin: 24px 0 14px; }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.range-row:first-child { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.range-row span { font-size: 14px; font-weight: 600; color: var(--ink); }
.range-row strong { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-align: right; grid-row: span 2; align-self: center; }
.range-row small { font-size: 13px; color: var(--muted); }
.range-vs { font-size: 14px; color: var(--ink); margin: 0 0 6px; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-list li { display: flex; gap: 12px; align-items: flex-start; }
.fit-list li > svg { flex: none; margin-top: 3px; color: var(--accent); }
.fit-list b { display: block; font-size: 15px; color: var(--ink); }
.fit-list span { font-size: 13px; color: var(--muted); }
.next-call { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--soft, #f5f5f7); }
.next-call svg { flex: none; margin-top: 2px; color: var(--accent); }
.next-call p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.borrow-out .note.carry { margin-top: 10px; }
@media (max-width: 720px) { .range-row { padding: 16px; } .range-row strong { font-size: 22px; } }
@media (max-width: 720px) { .range-row { grid-template-columns: 1fr; gap: 4px; } .range-row strong { grid-row: auto; text-align: left; font-size: 26px; order: 2; } .range-row span { order: 1; } .range-row small { order: 3; } }
/* Range flow: borrow section starts the application instead of showing a number */
.borrow-out.start-out { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.start-steps { display: flex; flex-direction: column; gap: 4px; }
.start-steps b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.start-steps span { font-size: 14px; color: var(--muted); }
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.start-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); }
.start-list svg { flex: none; color: var(--accent); }
/* Range flow (Pure Range): larger, easier-to-read form text */
html[data-flow="range"] .step-content > p { font-size: 17px; line-height: 1.55; }
html[data-flow="range"] .choices button { font-size: 16px; min-height: 64px; }
html[data-flow="range"] .purpose-choices b { font-size: 15px; }
html[data-flow="range"] .field { font-size: 15px; }
html[data-flow="range"] .field input, html[data-flow="range"] .field select { font-size: 17px; }
html[data-flow="range"] .step-content h3 { font-size: 17px; }
html[data-flow="range"] .form-top, html[data-flow="range"] .form-top small { font-size: 13px; }
html[data-flow="range"] .requested-summary { font-size: 14px; }
html[data-flow="range"] .requested-summary strong { font-size: 16px; }
html[data-flow="range"] .consent { font-size: 14px; line-height: 1.6; }
html[data-flow="range"] .info-note, html[data-flow="range"] .error { font-size: 14px !important; }
html[data-flow="range"] .back, html[data-flow="range"] .app-heading .text-link { font-size: 15px; }
html[data-flow="range"] .app-heading > span { font-size: 12px; }
html[data-flow="range"] .entity, html[data-flow="range"] .abr-results button { font-size: 15px; }
/* Contact step: mobile with inline code */
.mobile-row { position: relative; display: flex; align-items: stretch; margin-top: 8px; }
.mobile-row input { margin-top: 0 !important; padding-right: 150px !important; }
.mobile-row .text-code { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 980px; padding: 10px 16px; cursor: pointer; white-space: nowrap; }
.mobile-row .verified { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.otp-wrap { margin: -4px 0 18px; padding: 18px; border-radius: 14px; background: var(--soft, #f5f5f7); }
.otp-wrap > p { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.otp-wrap .otp-inline { margin-top: 0; }
.otp-wrap .verify-btn { margin-top: 14px; padding: 13px 26px; }
.otp-wrap small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.large-icon.party { font-size: 30px; background: #e9f6ee; }
@media (max-width: 720px) { .mobile-row input { padding-right: 132px !important; } .mobile-row .text-code { font-size: 13px; padding: 9px 13px; } }
.info-note .entity-line { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.form-actions .back { white-space: nowrap; }
/* Code entry: one field, fits any phone, iOS can autofill it from Messages */
.otp-single { display: block; width: 100%; max-width: 320px; box-sizing: border-box; height: 64px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 28px; font-weight: 600; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; }
.otp-single::placeholder { color: #c7c7cc; letter-spacing: .45em; }
.otp-single:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,139,72,.15); }
.otp-wrap .verify-btn { width: 100%; max-width: 320px; justify-content: center; }
/* Submit stays grey until the mobile is verified */
.form-actions .primary.is-locked { background: #d2d2d7; color: #fff; box-shadow: none; cursor: not-allowed; }
.form-actions .primary.is-locked:hover { background: #d2d2d7; }
.recaptcha-note { font-size: 12px !important; color: var(--muted); margin: 14px 0 0; }
.recaptcha-note a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }
@media (max-width: 400px) { .otp-single { font-size: 24px; letter-spacing: .35em; } .mobile-row input { font-size: 16px !important; } }
/* Phones: less padding around the form card, so fields get the width */
@media (max-width: 720px) {
  .application { padding-inline: 12px !important; }
  .step-content { padding: 26px 18px 22px !important; border-radius: 18px; }
  .step-content h2 { font-size: 30px !important; line-height: 1.08; }
  html[data-flow="range"] .step-content > p { font-size: 16px; }
  .field { margin: 14px 0; }
  .otp-wrap { padding: 16px 14px; }
}
