/* BankIQ sandbox landing. Flat surfaces, 1px hairlines, typographic hierarchy; colour lives in the data and the
   brand preview, never on card edges. Mobile first; the console behind it is desktop-only. */
:root {
  --ink: #0B1626; --ink-2: #26364A; --ink-3: #4A5A70;
  --paper: #F6F7F9; --card: #FFFFFF; --hair: #DDE3E8; --hair-2: #EAEEF2;
  --brand: #1B55E9; --brand-soft: #E5EDFD; --green: #2E7D28; --red: #B42318;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #F2F5F9; --ink-2: #D4DCE6; --ink-3: #A9B6C6; --paper: #0D141E; --card: #131C28; --hair: #253244; --hair-2: #1C2736; --brand-soft: #18233A; }
}
:root[data-theme="dark"] { --ink: #F2F5F9; --ink-2: #D4DCE6; --ink-3: #A9B6C6; --paper: #0D141E; --card: #131C28; --hair: #253244; --hair-2: #1C2736; --brand-soft: #18233A; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: Montserrat, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
@media (min-width: 640px) { body { font-size: 15px; } }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .lp-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .lp-wrap { padding: 0 32px; } }

/* top */
.lp-top { border-bottom: 1px solid var(--hair); background: var(--card); }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.lp-word { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.lp-glyph { width: 28px; height: 28px; border-radius: 6px; background: var(--ink); color: var(--card); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.lp-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair); border-radius: 5px; padding: 4px 10px; white-space: nowrap; }

/* hero */
.lp-hero { border-bottom: 1px solid var(--hair); }
.lp-hero-in { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 32px 0 40px; }
@media (min-width: 1024px) { .lp-hero-in { grid-template-columns: 1fr 520px; gap: 56px; padding: 56px 0 64px; align-items: start; } }
.lp-over { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.lp-over::after { content: ""; display: block; width: 28px; height: 2px; background: var(--brand); margin-top: 8px; transition: background-color .2s ease-out; }
.lp-pitch h1 { font-size: 30px; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin: 16px 0 14px; max-width: 18ch; }
@media (min-width: 768px) { .lp-pitch h1 { font-size: 36px; } }
@media (min-width: 1024px) { .lp-pitch h1 { font-size: 48px; } }
.lp-lede { font-size: 15px; color: var(--ink-2); max-width: 56ch; margin: 0 0 24px; }
@media (min-width: 640px) { .lp-lede { font-size: 16px; } }
.lp-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.lp-facts li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 640px) { .lp-facts li { grid-template-columns: 190px 1fr; gap: 16px; } }
.lp-facts b { font-size: 14px; }
.lp-facts span { color: var(--ink-3); font-size: 14px; }

/* the journey */
.lp-journey { background: var(--card); border: 1px solid var(--hair); border-radius: 8px; padding: 20px; }
@media (min-width: 640px) { .lp-journey { padding: 28px; } }
.lp-steps { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 8px; }
.lp-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 6px 12px 6px 6px; border: 1px solid var(--hair); border-radius: 999px; transition: border-color .15s ease-out, color .15s ease-out; }
.lp-steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: var(--hair-2); color: var(--ink-2); }
.lp-steps li.on { color: var(--ink); border-color: var(--brand); }
.lp-steps li.on span { background: var(--brand); color: #fff; }
.lp-steps li.done span { background: var(--green); color: #fff; }
.lp-step h2 { font-size: 20px; letter-spacing: -.01em; margin: 0 0 4px; }
@media (min-width: 768px) { .lp-step h2 { font-size: 22px; } }
.lp-hint { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
@media (min-width: 640px) { .lp-hint { font-size: 14px; } }
.lp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.lp-field > span { font-weight: 600; font-size: 13px; }
.lp-field i { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.lp-field input { font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--hair); border-radius: 6px; padding: 11px 12px; min-height: 44px; transition: border-color .15s ease-out; width: 100%; }
.lp-field input:focus { outline: none; border-color: var(--brand); }
.lp-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 640px) { .lp-row { grid-template-columns: 1fr 120px; } }
.lp-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-sw { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--hair); background: var(--card); padding: 5px; cursor: pointer; transition: border-color .15s ease-out; }
.lp-sw i { display: block; width: 100%; height: 100%; border-radius: 5px; }
.lp-sw:hover { border-color: var(--ink-3); }
.lp-sw[aria-checked="true"] { border: 2px solid var(--ink); padding: 4px; }
.lp-sw:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lp-hexrow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.lp-hexrow input { width: 120px; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; border: 1px solid var(--hair); border-radius: 6px; padding: 9px 10px; min-height: 44px; color: var(--ink); background: var(--card); }
.lp-hexrow .lp-hint { margin: 0; }
.lp-logo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-upload input { display: none; }
.lp-logo .lp-hint { margin: 0; flex: 1 1 200px; }

/* the brand preview: a miniature of the console, in the bank's colour */
.lp-preview { display: grid; grid-template-columns: 150px 1fr; border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; margin: 4px 0 18px; background: #fff; min-height: 128px; }
.lp-pv-side { border-right: 1px solid #DDE3E8; padding: 10px; }
.lp-pv-logo { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #EAEEF2; color: #10233A; }
.lp-pv-logo b { display: block; font-size: 12px; line-height: 1.2; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-pv-logo small { display: block; font-size: 12px; color: #4A5A70; }
.lp-pv-mark { width: 26px; height: 26px; border-radius: 5px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; overflow: hidden; }
.lp-pv-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lp-pv-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.lp-pv-nav span { font-size: 12px; color: #10233A; padding: 3px 6px; border-radius: 4px; }
.lp-pv-nav span.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.lp-pv-main { background: #F7F8FA; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.lp-pv-bar { height: 10px; width: 55%; background: #DDE3E8; border-radius: 3px; }
.lp-pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-pv-kpis i { height: 34px; background: #fff; border: 1px solid #DDE3E8; border-radius: 4px; }
.lp-pv-btn { align-self: flex-start; font-size: 12px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 4px; padding: 5px 10px; }

.lp-err { color: var(--red); font-size: 14px; min-height: 0; margin: 0 0 10px; }
.lp-err:empty { display: none; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out, transform .1s ease-in-out; }
.lp-btn:hover { filter: brightness(.94); }
.lp-btn:active { transform: scale(.98); }
.lp-btn.ghost { background: var(--card); color: var(--ink); border-color: var(--hair); font-size: 14px; min-height: 44px; }
.lp-btn.ghost:hover { border-color: var(--ink-3); filter: none; }
.lp-btn:focus-visible, .lp-link:focus-visible, .lp-role:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lp-link { background: none; border: 0; padding: 10px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); cursor: pointer; transition: color .15s ease-out; }
.lp-link:hover { text-decoration: underline; }

.lp-roles { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 8px; }
@media (min-width: 640px) { .lp-roles { grid-template-columns: 1fr 1fr; } }
.lp-role { text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--hair); border-radius: 6px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 44px; transition: border-color .15s ease-out, background-color .15s ease-out; }
.lp-role:hover { border-color: var(--brand); background: var(--brand-soft); }
.lp-role .t { display: flex; align-items: center; gap: 9px; }
.lp-role .t b { font-size: 14px; }
.lp-role .av { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lp-role .p { font-size: 12px; color: var(--ink-3); }
.lp-role .w { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* sections */
.lp-sec { padding: 40px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 1024px) { .lp-sec { padding: 64px 0; } }
.lp-alt { background: var(--card); }
.lp-h2 { font-size: 20px; letter-spacing: -.015em; margin: 14px 0 24px; max-width: 32ch; }
@media (min-width: 768px) { .lp-h2 { font-size: 24px; } }
.lp-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hair); }
@media (min-width: 768px) { .lp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lp-grid { grid-template-columns: 1fr 1fr 1fr; } }
.lp-grid > div { padding: 18px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 768px) { .lp-grid > div { padding: 20px 24px 20px 0; } }
.lp-grid b { font-size: 15px; }
.lp-grid p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; max-width: 42ch; }
.lp-also { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .lp-also { grid-template-columns: 1fr 1fr; align-items: end; } }
.lp-links { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .lp-links { grid-template-columns: 1fr 1fr; } }
.lp-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--hair); border-radius: 6px; color: var(--ink); text-decoration: none; min-height: 44px; transition: border-color .15s ease-out; }
.lp-links a:hover { border-color: var(--brand); }
.lp-links a b::after { content: " \2192"; color: var(--brand); }
.lp-links span { font-size: 13px; color: var(--ink-3); }
.lp-trust { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .lp-trust { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.lp-trust b { font-size: 15px; }
.lp-trust p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; }
.lp-foot { padding: 24px 0; }
.lp-foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
@media (min-width: 640px) { .lp-foot-in { font-size: 13px; } }
.lp-step[hidden] { display: none; }
.lp-step { animation: lp-in .22s ease-out; }
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-step { animation: none; } * { transition: none !important; } }
@media (max-width: 420px) { .lp-tag { font-size: 12px; letter-spacing: .04em; padding: 4px 8px; } .lp-word span:last-child { display: none; } }
