/* Loans Today — design tokens from the app UI kit (Figma: Loans Today / Colors) */
:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --text: #0a1020;
  --text-2: rgba(10, 16, 32, 0.6);
  --text-3: rgba(10, 16, 32, 0.4);
  --accent: #318cf6;
  --accent-dark: #1569cc;
  --accent-press: #2a78d4;
  --red: #cb2626;
  --line: #eeeeee;
  --muted: #a2a2a2;
  --soft: #f0f4f6;
  --gradient: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.1);
  --radius-card: 13px;
  --radius-btn: 9px;
  --radius-tile: 10px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 10px 28px;
  border: 0; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--secondary { background: var(--soft); color: var(--text); }
.btn--secondary:hover { background: #e4eaee; }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: #eef5ff; }
.btn--ghost { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--gradient);
  display: grid; place-items: center; color: #fff;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.logo__mark svg { width: 20px; height: 20px; }
.logo__img {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.logo__mark.has-img { background: transparent; }
.logo__mark.has-img .logo__img { display: block; }
.logo__mark.has-img svg { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--text-2); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: var(--soft); border-radius: var(--radius-btn); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }

/* ---------- Hero (blue band like the app header) ---------- */
.hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, var(--bg) 100%);
  pointer-events: none; display: none;
}
.hero__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 72px var(--gutter) 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.2); font-size: 13px; font-weight: 500; letter-spacing: 0;
}
.eyebrow--blue { background: rgba(49, 140, 246, 0.1); color: var(--accent); }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); letter-spacing: -0.03em; margin: 20px 0 18px; }
.hero__lead { font-size: 17px; opacity: .75; max-width: 520px; line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; max-width: 520px; }
.step {
  background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-tile);
  min-height: 80px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.step__n {
  width: 23px; height: 23px; border-radius: 5px; background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; font-size: 15px; font-weight: 500; line-height: 1;
}
.step__t { font-size: 15px; font-weight: 500; line-height: 0.95; letter-spacing: -0.01em; }

/* ---------- Amount card (Main screen) ---------- */
.card {
  background: var(--surface); color: var(--text);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.amount { padding: 24px; display: flex; flex-direction: column; gap: 30px; max-width: 460px; width: 100%; justify-self: end; }
.amount__head { display: flex; flex-direction: column; gap: 10px; }
.amount__head h2 { font-size: 24px; }
.amount__head p { color: var(--text-2); }
.amount__value { font-size: clamp(52px, 6vw, 72px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount__body { display: flex; flex-direction: column; gap: 20px; }
.amount__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-top: -6px; }
.amount__note { font-size: 12px; line-height: 1.2; color: var(--text-2); text-align: center; margin-top: -14px; }

/* Range slider — red fill + white pill handle (app UI kit) */
.range {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 17px; border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 var(--p), rgba(10, 16, 32, 0.05) var(--p) 100%);
}
.range::-moz-range-track { height: 17px; border-radius: 999px; background: rgba(10, 16, 32, 0.05); }
.range::-moz-range-progress { height: 17px; border-radius: 999px; background: var(--red); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 63px; height: 32px; margin-top: -7.5px; border: 0; border-radius: 999px;
  background: #fff url("../icons/grip.svg") center / 12px 16px no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}
.range::-moz-range-thumb {
  width: 63px; height: 32px; border: 0; border-radius: 999px;
  background: #fff url("../icons/grip.svg") center / 12px 16px no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(49, 140, 246, 0.4), 0 0 10px rgba(0, 0, 0, 0.12); }

/* ---------- Stat tiles (Rates screen) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-tile);
  padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff;
}
.tile__label { background: rgba(255, 255, 255, 0.2); border-radius: 5px; padding: 4px 10px; font-size: 15px; font-weight: 500; line-height: 0.95; white-space: nowrap; }
.tile__value { font-size: 15px; font-weight: 500; line-height: 0.95; white-space: nowrap; }
.hero__tiles { padding: 0 var(--gutter) 40px; margin-top: -48px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.section--tight { padding: 64px 0; }
.section__head { max-width: 640px; margin-bottom: 48px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section__head h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; }
.section__head p { color: var(--text-2); font-size: 17px; line-height: 1.4; }

/* Feature rows with onboarding photos */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #e9edf2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media::after {
  content: ""; position: absolute; inset: 55% 0 0 0;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, rgba(248, 248, 248, 0.0) 30%, rgba(10, 16, 32, 0.0) 100%);
}
.feature__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.feature__text h3 { font-size: clamp(34px, 4vw, 41px); letter-spacing: -0.02em; max-width: 420px; }
.feature__text p { color: var(--text-2); font-size: 17px; line-height: 1.4; max-width: 440px; }
.checks { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("../icons/check.svg") center / 12px no-repeat;
}

/* List rows (Rates / Account screens) */
.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 18px 20px; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
a.row:hover { border-color: #dfe6ee; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.row__main { display: flex; align-items: center; gap: 14px; }
.row__icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; }
.row__icon img { width: 26px; height: 26px; object-fit: contain; }
.row__title { font-size: 15px; font-weight: 500; }
.row__sub { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.row__arrow { flex: none; width: 15px; height: 15px; display: grid; place-items: center; transform: rotate(-90deg); }
.row__arrow img { width: 10px; }
.note { font-size: 13px; color: var(--text-2); line-height: 1.3; margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Details panel (blue) */
.panel { background: var(--gradient); color: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.panel h3 { font-size: 24px; }
.panel p { opacity: .65; }
.panel .tiles { grid-template-columns: 1fr; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; }
.calc__form { padding: 28px 32px; display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.field:first-child { padding-top: 4px; }
.field__top { display: flex; justify-content: space-between; font-size: 13px; }
.field__top span:last-child { color: var(--text-2); }
.field__input { display: flex; align-items: baseline; gap: 4px; font-size: 26px; letter-spacing: -0.02em; }
.field__input input {
  width: 100%; border: 0; background: transparent; padding: 0; font-size: 26px; outline: none;
  -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.field__input input::-webkit-outer-spin-button, .field__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__input input::placeholder { color: var(--text-3); }
.field__affix { color: var(--text-3); }
.field .range { margin-top: 14px; }
.calc__result { background: var(--gradient); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.calc__label { font-size: 15px; opacity: .7; }
.calc__big { font-size: clamp(48px, 5vw, 62px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.calc__list { display: flex; flex-direction: column; gap: 10px; }
.calc__list .tile { padding: 14px 16px; }
.calc__disc { font-size: 12px; line-height: 1.25; opacity: .7; }

/* ---------- Lender cards ---------- */
.lenders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lender { padding: 20px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); box-shadow: none; }
.lender__head { display: flex; justify-content: space-between; align-items: center; }
.lender__name { font-size: 19px; font-weight: 500; color: #1c2f3a; }
.rating { display: flex; align-items: center; gap: 7px; color: var(--red); font-size: 15px; font-weight: 500; }
.stars { display: flex; }
.stars img { width: 14px; height: 14px; }
.lender hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.lender__label { font-size: 13px; font-weight: 600; color: #1c2f3a; }
.lender__desc { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.lender__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.lender__details div { border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 12px 6px; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.2; color: #1c2f3a; }
.lender__details span { display: block; opacity: .6; margin-top: 4px; }
.lender__foot { font-size: 12px; color: var(--text-2); text-align: center; line-height: 1.2; }
.badge { display: inline-flex; height: 23px; align-items: center; padding: 0 8px; border-radius: 5px; background: rgba(49, 140, 246, 0.1); color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0; }

/* ---------- App section ---------- */
.app { background: var(--gradient); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; overflow: hidden; }
.app h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin: 16px 0; }
.app p { opacity: .75; font-size: 17px; line-height: 1.4; }
.app .checks li::before { background-color: rgba(255, 255, 255, 0.2); }
.phones { display: flex; justify-content: center; gap: 18px; align-items: flex-end; }
.phone {
  width: 220px; flex: none; border-radius: 34px; padding: 8px; background: #0a1020;
  box-shadow: 0 30px 60px rgba(4, 22, 54, 0.35);
}
.phone img { border-radius: 27px; width: 100%; height: auto; }
.phone--back { width: 190px; opacity: .95; margin-bottom: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: var(--radius-btn); background: #0a1020; color: #fff; text-decoration: none; }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1; letter-spacing: 0; }
.store b { display: block; font-size: 17px; font-weight: 500; line-height: 1.1; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-size: 17px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 15px; height: 15px; background: url("../icons/arrow-right.svg") center / 10px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); line-height: 1.45; }

/* ---------- CTA ---------- */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; }
.cta p { color: var(--text-2); font-size: 17px; }
.cta .btn { margin-top: 12px; }

/* ---------- Page header (inner pages, like app modal header) ---------- */
.phead { background: var(--gradient); color: #fff; padding: 64px 0 56px; }
.phead h1 { font-size: clamp(36px, 4.6vw, 52px); letter-spacing: -0.03em; margin-top: 16px; }
.phead p { opacity: .7; font-size: 17px; margin-top: 14px; max-width: 600px; line-height: 1.4; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .9; }
.crumb img { width: 18px; height: 18px; }

/* Numbered how-it-works steps */
.hsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hstep { padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: none; border: 1px solid var(--line); }
.hstep__n { width: 32px; height: 32px; border-radius: 8px; background: rgba(49, 140, 246, 0.1); color: var(--accent); display: grid; place-items: center; font-weight: 500; }
.hstep h3 { font-size: 19px; }
.hstep p { color: var(--text-2); }

/* Money flow */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flow .card { padding: 28px; box-shadow: none; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.flow h3 { font-size: 21px; }
.flow p { color: var(--text-2); }

/* Legal / prose */
.prose { max-width: 760px; padding: 56px 0 96px; }
.prose section { padding: 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.prose section:first-child { padding-top: 0; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 21px; line-height: 1.2; }
.prose h3 { font-size: 17px; line-height: 1.2; margin-top: 8px; }
.prose p, .prose li { color: var(--text-2); line-height: 1.45; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.prose a { color: var(--text); }
.prose .updated { font-size: 13px; color: var(--text-2); }

/* Support form (Support screen) */
.support { display: grid; grid-template-columns: 1fr 0.8fr; gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.form { padding: 12px 28px 28px; }
.form .field { padding: 18px 0; }
.form label { font-size: 13px; }
.form input, .form textarea {
  border: 0; background: transparent; padding: 0; font-size: 15px; outline: none; width: 100%; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form .btn { margin-top: 28px; }
.form__ok { display: none; margin-top: 16px; font-size: 13px; color: var(--text-2); text-align: center; }
.form.is-sent .form__ok { display: block; }
.contact { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 13px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__about { color: var(--text-2); margin-top: 16px; max-width: 320px; line-height: 1.45; }
.footer h4 { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--text); font-size: 15px; }
.footer ul a:hover { color: var(--accent); }
.footer__disc { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--text-2); line-height: 1.45; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.footer__disc strong { color: var(--text); font-weight: 500; }
.footer__bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .amount { justify-self: stretch; max-width: none; }
  .lenders { grid-template-columns: 1fr 1fr; }
  .hsteps { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .mnav { position: fixed; inset: 68px 0 0 0; background: var(--bg); z-index: 49; padding: 24px var(--gutter); flex-direction: column; gap: 4px; overflow-y: auto; }
  .menu-open .mnav { display: flex; }
  .menu-open { overflow: hidden; }
  .mnav a:not(.btn) { text-decoration: none; font-size: 22px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 20px; }
  .feature, .grid-2, .calc, .support { grid-template-columns: 1fr; gap: 32px; }
  .feature--rev .feature__media { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .tiles { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .hero__in { padding-bottom: 72px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .amount { padding: 16px; }
  .lenders, .hsteps { grid-template-columns: 1fr; }
  .calc__form, .calc__result { padding: 20px 16px; }
  .app { padding: 40px 20px; border-radius: 20px; }
  .phone { width: 46%; border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 21px; }
  .phone--back { width: 40%; }
  .footer__top { grid-template-columns: 1fr; }
  .form { padding: 4px 16px 20px; }
  .tile { flex-wrap: wrap; }
}


/* =====================================================================
   Homepage v2
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--outline { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px #dce1ea; }
.btn--outline:hover { background: var(--soft); }

/* ---------- Hero: people + situations ---------- */
.hero--people { background: var(--bg); color: var(--text); }
.hero--people::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 65%; height: 130%; pointer-events: none;
  background: radial-gradient(45% 45% at 55% 50%, rgba(49, 140, 246, 0.16), rgba(49, 140, 246, 0) 70%);
}
.hero--people .hero__in { position: relative; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 64px; padding-bottom: 88px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero__kicker { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero--people h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.04; margin: 20px 0 18px; max-width: 540px; }
.hero--people .hero__lead { color: var(--text-2); opacity: 1; font-size: 18px; line-height: 1.5; max-width: 480px; }
.hero--people .btn--primary { box-shadow: 0 8px 20px rgba(49, 140, 246, 0.28); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 40px 0 0; }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats dt { font-size: 14px; color: var(--text-2); }
.hero__stats dd { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.mosaic__col { display: flex; flex-direction: column; gap: 16px; }
.mosaic__col--offset { margin-top: 56px; }
.mosaic__tile { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 0.95; background: linear-gradient(160deg, #e4eaf3, #ccd8e8); }
.mosaic__tile--tall { aspect-ratio: 3 / 4; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic__tile:hover img { transform: scale(1.03); }
.mosaic__tag {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 20px rgba(10, 16, 32, 0.12);
}
.mosaic__tag b { color: var(--accent-dark); font-weight: 600; }
.mosaic__offer {
  border-radius: 22px; padding: 20px; background: var(--gradient); color: #fff;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 40px rgba(21, 105, 204, 0.25);
}
.mosaic__offer span, .mosaic__offer small { color: rgba(255, 255, 255, 0.85); }
.mosaic__offer span { font-size: 14px; }
.mosaic__offer b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.mosaic__offer small { font-size: 12px; }

/* ---------- Lender cards (lightened) ---------- */
.lender {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: none;
  display: flex; flex-direction: column; gap: 18px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lender:hover { border-color: #c9d8f2; box-shadow: 0 18px 40px rgba(10, 16, 32, 0.08); transform: translateY(-2px); }
.lender.reveal.is-in:hover { transform: translateY(-2px); }
.lender__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lender__name { font-size: 20px; font-weight: 600; color: var(--text); }
.rating { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 15px; font-weight: 600; }
.rating__star { width: 16px; height: 16px; fill: #f5a524; }
.lender__best { align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--accent-dark); background: rgba(49, 140, 246, 0.1); padding: 5px 10px; border-radius: 8px; }
.lender__desc { font-size: 15px; line-height: 1.5; color: var(--text-2); margin: -6px 0 0; }
.lender__apr { display: flex; flex-direction: column; gap: 4px; }
.lender__apr span { font-size: 13px; color: var(--text-2); }
.lender__apr b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.lender__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding-top: 18px; border-top: 1px solid #eef1f5; }
.lender__meta div { display: flex; flex-direction: column; gap: 4px; }
.lender__meta dt { font-size: 13px; color: var(--text-2); }
.lender__meta dd { margin: 0; font-size: 16px; font-weight: 600; }
.lender .btn { margin-top: auto; color: var(--accent-dark); box-shadow: inset 0 0 0 1.5px var(--accent); }
.lender .btn:hover { background: var(--accent); color: #fff; }

/* ---------- Realistic phone frame ---------- */
.device {
  position: relative; width: 250px; flex: none; padding: 6px; border-radius: 46px;
  border: 3px solid transparent;
  background: linear-gradient(#050507, #050507) padding-box,
    linear-gradient(150deg, #8a8c99 0%, #3a3b45 14%, #2a2b33 32%, #6e707c 50%, #24252c 68%, #3b3c46 86%, #9a9ca8 100%) border-box;
  box-shadow: 0 40px 80px -16px rgba(10, 16, 32, 0.45);
}
.device::before, .device::after { content: ""; position: absolute; width: 4px; background: #4a4b55; }
.device::before { left: -6px; top: 92px; height: 140px; border-radius: 2px 0 0 2px; background: linear-gradient(to bottom, #4a4b55 0 24px, transparent 24px 42px, #4a4b55 42px 90px, transparent 90px 100px, #4a4b55 100px 140px); }
.device::after { right: -6px; top: 150px; height: 74px; border-radius: 0 2px 2px 0; }
.device__screen { position: relative; aspect-ratio: 402 / 874; border-radius: 38px; overflow: hidden; background: #fff; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.device--back { width: 215px; margin-bottom: 32px; }

/* ---------- App section: light, so blue stays for the final CTA ---------- */
.app { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.app p { color: var(--text-2); opacity: 1; }
.app .checks li::before { background-color: var(--accent); }
.phones { gap: 28px; }

/* ---------- Final CTA: blue panel with a phone ---------- */
.section--cta { padding-top: 24px; }
.cta-panel {
  position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, #3b90f3 0%, #1e6fda 55%, #1559be 100%);
  color: #fff; display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 440px;
}
.cta-panel::before { content: ""; position: absolute; right: 4%; top: -30%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)); pointer-events: none; }
.cta-panel__text { position: relative; padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cta-panel h2 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.03em; max-width: 520px; }
.cta-panel p { font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); max-width: 460px; }
.cta-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 14px; }
.cta-panel__link { color: #fff; font-size: 16px; font-weight: 500; text-underline-offset: 3px; }
.cta-panel__link:hover { color: #dce9fd; }
.cta-panel__media { position: relative; }
.cta-panel__media .device { position: absolute; left: 50%; top: 56px; margin-left: -140px; width: 280px; box-shadow: 0 40px 80px -10px rgba(5, 20, 50, 0.55); }

/* ---------- Footer: navy, clearly separate from the page ---------- */
.footer { background: #0a1a33; border-top: 0; color: #c3cddc; }
.footer .logo { color: #fff; }
.footer__about { color: #c3cddc; }
.footer h4 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.footer ul a { color: #c3cddc; }
.footer ul a:hover { color: #fff; }
.footer__disc { border-top-color: rgba(255, 255, 255, 0.1); color: #9aa7ba; font-size: 13px; line-height: 1.6; }
.footer__disc strong { color: #dce3ec; }
.footer__bottom { color: #9aa7ba; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom a { color: #c3cddc; }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 1020px) {
  .hero--people .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel__media { min-height: 340px; }
}
@media (max-width: 600px) {
  .hero--people .hero__in { padding-top: 40px; padding-bottom: 64px; }
  .hero__stats { gap: 22px; }
  .hero__stats dd { font-size: 18px; }
  .mosaic { gap: 10px; }
  .mosaic__col { gap: 10px; }
  .mosaic__col--offset { margin-top: 32px; }
  .mosaic__tag { left: 8px; bottom: 8px; padding: 6px 10px; font-size: 12px; }
  .mosaic__offer { padding: 14px; }
  .mosaic__offer b { font-size: 19px; }
  .cta-panel { border-radius: 24px; }
  .cta-panel__text { padding: 40px 24px 8px; }
  .cta-panel__media .device { width: 230px; margin-left: -115px; top: 32px; }
  .device { width: 46%; }
  .device--back { width: 40%; }
  .cta-panel__media .device { width: 230px; }
}

/* Hero mosaic: larger, so it holds its own against the sections below */
.hero--people .hero__in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; }
.hero--people h1 { font-size: clamp(40px, 4.8vw, 58px); }
.mosaic { gap: 20px; margin-right: -24px; }
.mosaic__col { gap: 20px; }
.mosaic__col--offset { margin-top: 72px; }
.mosaic__tile { border-radius: 26px; }
.mosaic__offer { border-radius: 26px; padding: 24px; }
.mosaic__offer b { font-size: 30px; }
@media (max-width: 1240px) { .mosaic { margin-right: 0; } }
@media (max-width: 1020px) { .hero--people .hero__in { grid-template-columns: 1fr; } }
.hero--people .hero__stats { gap: 28px; flex-wrap: nowrap; }
.hero--people .hero__stats dd { font-size: 18px; white-space: nowrap; }
@media (max-width: 600px) { .hero--people .hero__stats { flex-wrap: wrap; gap: 20px; } }

/* App section: the front phone overlaps the back one */
.phones { position: relative; gap: 0; align-items: flex-end; padding: 24px 0 8px; }
.phones .device--back { z-index: 0; margin: 0 -72px 40px 0; transform: rotate(-6deg); transform-origin: bottom right; box-shadow: 0 30px 60px -20px rgba(10, 16, 32, 0.35); }
.phones .device:not(.device--back) { z-index: 1; box-shadow: -24px 40px 80px -16px rgba(10, 16, 32, 0.45); }
@media (max-width: 600px) {
  .phones .device--back { margin-right: -14%; margin-bottom: 24px; }
}

/* =====================================================================
   Inner pages v2
   ===================================================================== */
.phead h1:first-child { margin-top: 0; }

/* Calculator: quick examples + what the numbers mean */
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.presets__label { font-size: 15px; color: var(--text-2); margin-right: 4px; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #dce1ea; background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: rgba(49, 140, 246, 0.1); border-color: var(--accent); color: var(--accent-dark); }
.explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.explain div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.explain h3 { font-size: 18px; }
.explain p { color: var(--text-2); line-height: 1.45; }

/* How we make money: equal badges + arrows between steps */
.flow .hstep__n { width: auto; min-width: 32px; padding: 0 10px; align-self: flex-start; }
.flow--arrows { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.flow--arrows .card { height: 100%; }
.flow__arrow { width: 36px; height: 36px; border-radius: 50%; background: rgba(49, 140, 246, 0.1); color: var(--accent); display: grid; place-items: center; }
.flow__arrow svg { width: 18px; height: 18px; }

/* FAQ: grouped */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { max-width: 820px; margin: 0 auto 16px; font-size: 22px; letter-spacing: -0.02em; }
.faq-more { text-align: center; margin-top: 40px; }
.faq p a { color: var(--accent-dark); }

/* Support: topic dropdown in the form's style */
.form .field__label { font-size: 13px; }
.dd { position: relative; }
.dd__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0; border: 0; background: none; font-size: 15px; text-align: left; cursor: pointer; color: var(--text);
}
.dd__btn svg { flex: none; color: var(--text-3); transition: transform .2s; }
.dd.is-open .dd__btn svg { transform: rotate(180deg); color: var(--accent); }
.dd__list {
  position: absolute; left: -12px; right: -12px; top: calc(100% + 10px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 18px 44px rgba(10, 16, 32, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s;
}
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.dd__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: var(--radius-btn); font-size: 15px; cursor: pointer; }
.dd__list li:hover, .dd__list li.is-focus { background: var(--soft); }
.dd__list li[aria-selected="true"] { color: var(--accent-dark); }
.dd__check { opacity: 0; }
.dd__list li[aria-selected="true"] .dd__check { opacity: 1; }

/* Legal / disclosures: no dividers between sections */
.prose section { border-bottom: 0; padding: 20px 0; }

@media (max-width: 860px) {
  .explain { grid-template-columns: 1fr; }
  .flow--arrows { grid-template-columns: 1fr; }
  .flow__arrow { justify-self: center; transform: rotate(90deg); }
}

/* ---------- How it works: vertical timeline ---------- */
.timeline-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.timeline__intro { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.timeline__intro h2 { font-size: clamp(30px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.1; }
.timeline__intro p { color: var(--text-2); font-size: 17px; line-height: 1.5; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tstep { position: relative; display: flex; gap: 24px; padding-bottom: 32px; }
.tstep:last-child { padding-bottom: 0; }
.tstep:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 60px; bottom: 6px; width: 2px; background: rgba(49, 140, 246, 0.25); }
.tstep__icon { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--gradient); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(49, 140, 246, 0.7); }
.tstep__icon svg { width: 24px; height: 24px; }
.tstep__card { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tstep__n { font-size: 13px; font-weight: 500; color: var(--accent-dark); }
.tstep__card h3 { font-size: 22px; line-height: 1.15; }
.tstep__card p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.tstep__need { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.tstep__need > span:first-child { color: var(--text-2); margin-right: 2px; }
.tag-chip { padding: 4px 10px; border-radius: 999px; background: var(--soft); }

.bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bcard__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(49, 140, 246, 0.1); display: grid; place-items: center; }
.bcard__icon img { width: 22px; height: 22px; }
.bcard h3 { font-size: 18px; }
.bcard p { color: var(--text-2); line-height: 1.5; }

/* ---------- How we make money: receipt ---------- */
.receipt-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.receipt-stage { position: relative; display: flex; justify-content: center; padding: 16px 0 28px; }
.receipt-stage::before { content: ""; position: absolute; inset: -10% 0; background: radial-gradient(45% 45% at 50% 50%, rgba(49, 140, 246, 0.16), rgba(49, 140, 246, 0) 70%); pointer-events: none; }
.receipt {
  position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 16px 16px 0 0; padding: 32px 32px 28px;
  box-shadow: 0 30px 60px -20px rgba(10, 16, 32, 0.18); transform: rotate(-1.5deg);
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 10px 0, #fff 10px, transparent 10.5px) 0 0 / 20px 12px repeat-x; }
.receipt__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--text-2); }
.receipt__brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--text); }
.receipt__brand .logo__mark { width: 26px; height: 26px; border-radius: 7px; }
.receipt__brand .logo__mark svg { width: 15px; height: 15px; }
.receipt__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 14px; border-top: 2px dashed #e3e7ed; font-size: 16px; font-weight: 500; }
.receipt__total b { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--accent-dark); }
.receipt > p { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.receipt-text { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.receipt-text h2 { font-size: clamp(32px, 3.8vw, 40px); letter-spacing: -0.03em; line-height: 1.08; }
.receipt-text p { color: var(--text-2); font-size: 17px; line-height: 1.5; }

.influence { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.influence__card { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.influence__card--may { background: var(--bg); border: 1px solid var(--line); }
.influence__card--never { background: rgba(49, 140, 246, 0.05); border: 1px solid rgba(49, 140, 246, 0.3); }
.influence__tag { align-self: flex-start; font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 6px; }
.influence__card--may .influence__tag { color: #8a5a00; background: #fff3d6; }
.influence__card--never .influence__tag { color: var(--accent-dark); background: rgba(49, 140, 246, 0.12); }
.influence ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.influence li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.influence li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.influence__card--may li::before { background: #f5a524; }
.influence__card--never li::before { background: var(--accent); }

.qcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.qcard h3 { font-size: 18px; }
.qcard p { color: var(--text-2); line-height: 1.5; }
.qcard a { color: var(--accent-dark); }

@media (max-width: 1020px) {
  .timeline-wrap, .receipt-wrap { grid-template-columns: 1fr; gap: 40px; }
  .timeline__intro { position: static; }
}
@media (max-width: 860px) {
  .bcards, .influence, .qcards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tstep { gap: 14px; }
  .tstep__icon { width: 44px; height: 44px; border-radius: 13px; }
  .tstep:not(:last-child)::before { left: 21px; top: 52px; }
  .tstep__card { padding: 20px; }
  .receipt { padding: 26px 22px 22px; }
  .receipt__total b { font-size: 32px; }
  .influence__card { padding: 24px; }
}

/* =====================================================================
   Corporate homepage (Loans Offer Today LLC)
   ===================================================================== */
.more-link { display: inline-block; margin-top: 8px; color: var(--accent-dark); font-weight: 500; text-underline-offset: 4px; }
.more-link:hover { color: var(--accent); }
.footer__address { font-style: normal; font-size: 14px; line-height: 1.6; color: #c3cddc; margin-top: 14px; }
.footer__address a { color: #c3cddc; }
.footer__dns { color: #fff; font-weight: 500; }

/* Who we are */
.who { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.who__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.who__text h2 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.who__text p { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.who__media { position: relative; padding-bottom: 48px; }
.who__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #e4eaf3, #ccd8e8); }
.who__photo img { width: 100%; height: 100%; object-fit: cover; }
.who__facts { position: absolute; right: -16px; bottom: 0; width: min(340px, 80%); margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 22px; box-shadow: 0 20px 50px rgba(10, 16, 32, 0.12); }
.who__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.who__facts div:last-child { border-bottom: 0; }
.who__facts dt { font-size: 14px; color: var(--text-2); }
.who__facts dd { margin: 0; font-size: 14px; font-weight: 500; text-align: right; }

/* Three steps */
.steps3 { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps3__n { width: 40px; height: 40px; border-radius: 12px; background: rgba(49, 140, 246, 0.1); color: var(--accent-dark); display: grid; place-items: center; font-weight: 600; margin-bottom: 6px; }
.steps3 h3 { font-size: 20px; }
.steps3 p { color: var(--text-2); line-height: 1.5; }

/* Know the numbers first */
.numbers { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 16px; }
.mini-calc, .glance { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mini-calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-calc__head h3, .glance h3 { font-size: 20px; }
.mini-calc__head span { font-size: 12px; color: var(--text-2); }
.mini-calc__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.mini-field__box { height: 48px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; gap: 6px; padding: 0 14px; color: var(--text-2); font-size: 17px; }
.mini-field__box:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.mini-field__box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-weight: 500; color: var(--text); }
.mini-field .range { width: 100%; }
.mini-calc__result { border-radius: 16px; background: var(--gradient); color: #fff; padding: 20px 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.mini-calc__result > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.mini-calc__result > div:first-child span { font-size: 13px; opacity: .85; }
.mini-calc__result > div:first-child b { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini-calc__side { display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: 13px; }
.mini-calc__side b { font-size: 15px; font-variant-numeric: tabular-nums; margin-left: 6px; }
.glance .tile { margin: 0; }
.glance .note { margin: 0; }
.glance .more-link { margin-top: auto; }

/* Representative examples */
.ex-table { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; }
.ex-table table { width: 100%; min-width: 720px; border-collapse: collapse; }
.ex-table th, .ex-table td { padding: 18px 22px; text-align: right; font-size: 16px; border-bottom: 1px solid #f2f2f2; font-variant-numeric: tabular-nums; }
.ex-table thead th { font-size: 13px; font-weight: 500; color: var(--text-2); border-bottom-color: var(--line); }
.ex-table th:first-child, .ex-table td:first-child { text-align: left; }
.ex-table tbody th { font-weight: 500; }
.ex-table tbody tr:last-child th, .ex-table tbody tr:last-child td { border-bottom: 0; }
.ex-total { color: var(--accent-dark); font-weight: 600; }

/* Three consents */
.consents { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.consent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.consent-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.consent-list__box { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.consent-list__box svg { width: 15px; height: 15px; }
.consent-list__n { font-size: 13px; font-weight: 500; color: var(--accent-dark); }
.consent-list h3 { font-size: 19px; margin: 4px 0 6px; }
.consent-list p { color: var(--text-2); line-height: 1.5; }
.consents__media { display: flex; justify-content: center; }
.consents__media .device { width: 280px; }

/* Clear outcomes */
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.outcome { background: var(--bg); border-radius: 20px; padding: 32px; display: flex; gap: 20px; align-items: flex-start; }
.outcome__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.outcome__icon svg { width: 24px; height: 24px; }
.outcome__icon--ok { background: #eaf3fe; color: var(--accent); }
.outcome__icon--no { background: #fcebeb; color: #cb2626; }
.outcome h3 { font-size: 21px; margin-bottom: 8px; }
.outcome p { color: var(--text-2); line-height: 1.5; }

@media (max-width: 1020px) {
  .who, .numbers, .consents { grid-template-columns: 1fr; }
  .steps3, .outcomes { grid-template-columns: 1fr; }
  .who__facts { right: 12px; }
}
@media (max-width: 600px) {
  .mini-calc__fields { grid-template-columns: 1fr; }
  .who__media { padding-bottom: 0; }
  .who__facts { position: static; width: 100%; margin-top: 12px; box-shadow: none; }
  .outcome { padding: 24px; }
  .consents__media .device { width: 240px; }
}
.glance .tile { background: #f0f6fe; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.glance .tile__label { background: none; padding: 0; color: var(--accent-dark); font-size: 14px; font-weight: 500; }
.glance .tile__value { color: var(--text); font-size: 16px; font-weight: 600; }
.app .more-link { display: block; margin: -16px 0 24px; }

/* =====================================================================
   About us
   ===================================================================== */
.section--flush { padding-top: 0; }
.ab-hero { background: var(--surface); padding-top: 80px; }
.ab-hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.ab-hero__kicker { font-size: 15px; color: var(--text-2); }
.ab-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; max-width: 880px; text-wrap: balance; }
.ab-hero__lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 640px; }
.ab-hero__photo { width: 100%; margin-top: 32px; aspect-ratio: 16 / 9; border-radius: 28px 28px 0 0; overflow: hidden; background: linear-gradient(160deg, #e4eaf3, #ccd8e8); }
.ab-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.approach li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.approach__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.approach__top .steps3__n { margin: 0; }
.approach__tag { font-size: 12px; color: var(--accent-dark); background: #eaf3fe; padding: 4px 10px; border-radius: 999px; }
.approach h3 { font-size: 21px; }
.approach p { color: var(--text-2); line-height: 1.5; }
.approach a { color: var(--accent-dark); }

.name-note { border-radius: 24px; background: var(--gradient); color: #fff; padding: 48px; display: flex; gap: 32px; align-items: center; }
.name-note__icon { flex: none; width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }
.name-note__icon svg { width: 34px; height: 34px; }
.name-note h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 10px; }
.name-note p { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.88); max-width: 720px; }

.role { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.role__intro { display: flex; flex-direction: column; gap: 12px; }
.role__intro h2 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.role__intro p { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.role__table table { min-width: 520px; }
.role__table th, .role__table td { text-align: left; }
.role__table td:last-child { color: var(--text-2); font-size: 15px; }
.role__yes { color: var(--accent-dark); font-weight: 600; }
.role__no { font-weight: 600; }

.bynum { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bynum div { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.bynum div + div { border-left: 1px solid var(--line); }
.bynum dt { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent-dark); line-height: 1; }
.bynum dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }

.paidbar { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.paidbar h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.paidbar p { color: var(--text-2); line-height: 1.5; max-width: 640px; }
.paidbar .btn { color: var(--accent-dark); box-shadow: inset 0 0 0 1.5px var(--accent); }

.cdetails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cdetail { background: var(--bg); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ab-ico { width: 48px; height: 48px; border-radius: 14px; background: #eaf3fe; color: var(--accent); display: grid; place-items: center; }
.ab-ico svg { width: 22px; height: 22px; }
.cdetail h3 { font-size: 19px; }
.cdetail p { line-height: 1.55; }
.cdetail p span { color: var(--text-2); font-size: 15px; }
.cdetail a { color: var(--accent-dark); }

@media (max-width: 1020px) {
  .approach, .cdetails { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; gap: 28px; }
  .bynum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bynum div + div { border-left: 0; }
  .bynum div { border-top: 1px solid var(--line); }
  .bynum div:nth-child(-n+2) { border-top: 0; }
  .bynum div:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .ab-hero { padding-top: 48px; }
  .ab-hero__photo { aspect-ratio: 4 / 3; border-radius: 20px 20px 0 0; }
  .name-note { flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 20px; }
  .bynum dt { font-size: 34px; }
  .paidbar { padding: 26px 22px; }
}
.ab-hero__photo img { object-position: 45% 30%; }

/* =====================================================================
   How it works (corporate)
   ===================================================================== */
.prestep { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.prestep__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.prestep__text h2 { font-size: 30px; letter-spacing: -0.02em; }
.prestep__text p { color: var(--text-2); }
.prestep__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prestep__card { background: #f0f6fe; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; transition: background .2s; }
.prestep__card:hover { background: #e3effd; color: var(--text); }
.prestep__card b { font-weight: 600; color: var(--accent-dark); }
.prestep__card span { font-size: 14px; color: var(--text-2); line-height: 1.45; }

.substeps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: sub; }
.substeps li { counter-increment: sub; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.substeps li::before { content: counter(sub); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.substeps b { font-weight: 600; font-size: 15px; }
.substeps span { font-size: 14px; color: var(--text-2); line-height: 1.45; }

.continue { margin-top: 16px; background: var(--bg); border-radius: 20px; padding: 28px 32px; }
.continue h3 { font-size: 20px; margin-bottom: 12px; }
.continue ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); line-height: 1.5; }

.elig { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: start; }
.elig__text { display: flex; flex-direction: column; gap: 14px; }
.elig__text h2 { font-size: clamp(30px, 3.8vw, 40px); letter-spacing: -0.03em; line-height: 1.08; }
.elig__text > p { color: var(--text-2); font-size: 17px; }
.elig__text .checks { margin: 4px 0; }
.elig__aside { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.elig__aside h3 { font-size: 20px; margin-bottom: 4px; }
.elig__aside .tile { background: #f0f6fe; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.elig__aside .tile__label { background: none; padding: 0; color: var(--accent-dark); font-size: 14px; font-weight: 500; }
.elig__aside .tile__value { color: var(--text); font-size: 16px; font-weight: 600; }
.elig__aside .note { margin: 0; }

@media (max-width: 1020px) {
  .prestep, .elig { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prestep { padding: 24px 20px; }
  .prestep__links { grid-template-columns: 1fr; }
  .continue { padding: 24px 20px; }
}

/* =====================================================================
   Rates & terms
   ===================================================================== */
.rstats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rstats div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.rstats dt { font-size: 14px; color: var(--text-2); }
.rstats dd { margin: 0; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.rstats p { font-size: 14px; color: var(--text-2); }
.rule60 { margin-top: 16px; border-radius: 16px; background: #eaf3fe; padding: 18px 22px; display: flex; gap: 12px; align-items: center; font-size: 16px; }
.rule60 svg { flex: none; width: 22px; height: 22px; color: var(--accent-dark); }
.rule60 b { font-weight: 600; }

.aprx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.aprx__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aprx__text h2 { font-size: clamp(30px, 3.6vw, 36px); letter-spacing: -0.03em; }
.aprx__text p { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.aprx__card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.aprx__label { font-size: 14px; color: var(--text-2); }
.aprx__bar { display: flex; height: 56px; border-radius: 12px; overflow: hidden; font-size: 14px; font-weight: 500; }
.aprx__bar span { display: flex; align-items: center; padding: 0 16px; }
.aprx__bar span:first-child { flex: 7; background: var(--accent); color: #fff; }
.aprx__bar span:last-child { flex: 3; background: #9cc6fa; color: var(--text); }
.aprx__eq { display: flex; justify-content: space-between; font-size: 15px; }
.aprx__eq span:last-child { color: var(--text-2); }
.aprx__card .note { margin: 0; }

.ex-table--wide { min-width: 880px; }
.costbar-cell { width: 180px; }
.costbar { display: flex; height: 10px; min-width: 120px; border-radius: 6px; overflow: hidden; background: rgba(203, 38, 38, 0.75); }
.costbar span { display: block; height: 100%; background: var(--accent); }
.ex-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.ex-legend .note { flex: 1 1 420px; margin: 0; }
.ex-legend span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg--amt { background: var(--accent); }
.lg--cost { background: rgba(203, 38, 38, 0.75); }

.rinfos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 14px; }
.rinfo { background: var(--bg); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.rinfo h3 { font-size: 20px; }
.rinfo ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); line-height: 1.5; }
.rinfo li::marker { color: var(--accent); }
.note a { color: var(--accent-dark); }

.ownnums { border-radius: 24px; background: var(--gradient); color: #fff; padding: 44px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 16px; }
.ownnums h2 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 8px; }
.ownnums p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 600px; }
.btn--white { background: #fff; color: var(--accent-dark); }
.btn--white:hover { background: #f0f6fe; color: var(--accent-dark); }

@media (max-width: 1020px) {
  .rstats, .rinfos { grid-template-columns: 1fr; }
  .aprx { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .rstats dd { font-size: 32px; }
  .ownnums { padding: 32px 24px; }
}
.paysteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: ps; }
.paysteps li { counter-increment: ps; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #eaf3fe; font-size: 15px; font-weight: 500; }
.paysteps li::before { content: counter(ps); width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }

/* FAQ (corporate) */
.faq-topics { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; margin: 0 auto 48px; }
.faq-topics .chip { text-decoration: none; display: inline-flex; align-items: center; }
.faq-group { scroll-margin-top: 96px; }
.faq-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.faq-link { background: var(--bg); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; transition: background .2s; }
.faq-link:hover { background: #eaf3fe; color: var(--text); }
.faq-link b { font-weight: 600; color: var(--accent-dark); }
.faq-link span { font-size: 14px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 1020px) { .faq-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .faq-links { grid-template-columns: 1fr; } }

/* Loan glossary */
.gl { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.gl-tools { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.gl-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; height: 52px; }
.gl-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49, 140, 246, 0.15); }
.gl-search svg { width: 18px; height: 18px; color: var(--text-2); flex: none; }
.gl-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 15px; color: var(--text); }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-letters a { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--accent-dark); text-decoration: none; }
.gl-letters a:hover { background: #eaf3fe; }
.gl-letters a.is-off { opacity: .35; pointer-events: none; }
.gl-status { font-size: 14px; color: var(--text-2); min-height: 1.4em; }
.gl-group { scroll-margin-top: 96px; }
.gl-group + .gl-group { margin-top: 32px; }
.gl-group[hidden] { display: none; }
.gl-letter { font-size: 28px; font-weight: 600; color: var(--accent-dark); margin-bottom: 12px; }
.gl-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gl-term { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; scroll-margin-top: 96px; }
.gl-term[hidden] { display: none; }
.gl-term:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49, 140, 246, 0.15); }
.gl-term dt { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.gl-term dd { margin: 0; color: var(--text-2); line-height: 1.55; }
.gl-term dd a { color: var(--accent-dark); }
.gl-more { display: inline-block; margin-left: 8px; font-weight: 500; text-underline-offset: 3px; }
.gl-empty { padding: 24px; border-radius: 16px; background: var(--surface); color: var(--text-2); }
@media (max-width: 1020px) {
  .gl { grid-template-columns: 1fr; gap: 24px; }
  .gl-tools { position: static; }
}

/* Security & privacy */
.dmap-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 28px; }
.dmap-head .section__head { margin-bottom: 0; }
.dmap-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
.dmap-badge > span { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.dmap-badge svg { width: 12px; height: 12px; }
.dmap table { min-width: 760px; }
.dmap th, .dmap td { text-align: left; }
.dmap tbody th { width: 32%; }
.dmap td:nth-child(2) { color: var(--text-2); font-size: 15px; }
.dpill { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #eaf3fe; color: var(--accent-dark); }
.dpill--plain { background: var(--soft); color: var(--text); }
.dnone { font-size: 15px; }
.dnone b { color: var(--accent-dark); }

.protect { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 56px; }
.protect__intro { display: flex; flex-direction: column; gap: 12px; }
.protect__intro h2 { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.03em; }
.protect__intro p { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.protect__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.ditem2 { display: flex; gap: 16px; align-items: flex-start; }
.ditem2 h3 { font-size: 18px; margin-bottom: 6px; }
.ditem2 p { color: var(--text-2); line-height: 1.5; }

.never { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 16px; }
.never__card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.never__card h3 { font-size: 22px; }
.never__card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.never__card li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.never__x { flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fcebeb; color: #cb2626; display: grid; place-items: center; }
.never__x svg { width: 11px; height: 11px; }
.safe { border-radius: 20px; background: #0a1a33; color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.safe__tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: #0a1a33; background: #ffd37a; padding: 5px 10px; border-radius: 999px; }
.safe h3 { font-size: 22px; }
.safe p { color: #c3cddc; line-height: 1.55; }
.safe a { color: #fff; }

.controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.control { background: var(--bg); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.control h3 { font-size: 19px; }
.control p { color: var(--text-2); line-height: 1.5; }
.control .more-link { margin-top: auto; }

.policies { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.policies h2 { font-size: 22px; }
.policies > div { display: flex; flex-wrap: wrap; gap: 10px; }
.policies .btn { height: 44px; }

@media (max-width: 1020px) {
  .protect, .never { grid-template-columns: 1fr; gap: 28px; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .protect__items, .controls { grid-template-columns: 1fr; }
  .never__card, .safe { padding: 26px 22px; }
}
.mailcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.mailcard b { display: block; font-weight: 600; margin-bottom: 4px; }
.mailcard span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.mailcard .ab-ico { width: 40px; height: 40px; border-radius: 12px; }

/* Legal pages */
.legal-lt { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; align-items: start; }
.ltoc { position: sticky; top: 96px; padding: 56px 0 0; }
.ltoc__title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ltoc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 180px); overflow: auto; }
.ltoc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--text-2); text-decoration: none; }
.ltoc a:hover { background: var(--surface); color: var(--text); }
.prose section { scroll-margin-top: 96px; border-bottom: 0; }
.prose section:target { background: #f0f6fe; border-radius: 16px; padding: 24px; margin: 0 -24px; }
.prose__intro p { color: var(--text); }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-dark); }
.callout { display: block; padding: 18px 20px; border-radius: 12px; background: #eaf3fe; color: var(--text); font-size: 14px; line-height: 1.55; }
.example-note { padding: 16px 20px; border-radius: 12px; background: var(--surface); border-left: 3px solid var(--accent); }
.example-note p { color: var(--text); }
@media (max-width: 1020px) {
  .legal-lt { grid-template-columns: 1fr; gap: 0; }
  .ltoc { position: static; padding-top: 32px; }
  .ltoc ol { max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .ltoc a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
  .prose section:target { margin: 0 -12px; padding: 16px 12px; }
}

/* App webview. Rules apply only with html.in-app; the public page is unchanged. */
html.in-app:has(body[data-app-page="support"]),
html.in-app body[data-app-page="support"] {
  background: transparent;
  min-height: 0;
  color-scheme: light;
}
html.in-app body[data-app-page="support"] .skip,
html.in-app body[data-app-page="support"] .header,
html.in-app body[data-app-page="support"] .mnav,
html.in-app body[data-app-page="support"] .phead,
html.in-app body[data-app-page="support"] .contact,
html.in-app body[data-app-page="support"] .footer,
html.in-app body[data-app-page="support"] .form .btn { display: none !important; }
html.in-app body[data-app-page="support"] .support {
  display: block;
  padding-top: 8px;
  padding-bottom: 0;
}
html.in-app body[data-app-page="support"] .form {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
html.in-app body[data-app-page="support"] .form .field { padding: 14px 0 10px; }
html.in-app body[data-app-page="support"] .form .field:first-child { padding-top: 6px; }
html.in-app body[data-app-page="support"] .form label,
html.in-app body[data-app-page="support"] .form .field__label { font-size: 13px; }
html.in-app body[data-app-page="support"] .form input:not([type="hidden"]),
html.in-app body[data-app-page="support"] .form textarea,
html.in-app body[data-app-page="support"] .form .dd__btn {
  display: flex;
  width: 100%;
  height: 1.3em;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.3;
  font-family: inherit;
  resize: none;
  overflow: hidden;
}
html.in-app body[data-app-page="support"] .form .dd__btn svg { display: none; }
html.in-app body[data-app-page="support"] .form__thanks { display: none; }
html.in-app body[data-app-page="support"] .form.is-sent .form__thanks {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-2);
  text-align: left;
}
html.in-app body[data-app-page="support"] .form .field.is-invalid { border-bottom-color: var(--red); }
html.in-app body[data-app-page="support"] .form .field.is-invalid label { color: var(--red); }
html.in-app body[data-app-page="support"] .form__ok,
html.in-app body[data-app-page="support"] .form.is-sent .form__ok { display: none !important; }

html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) {
  background: var(--bg);
  color-scheme: light;
}
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) :is(.skip, .header, .mnav, .phead, .footer, .ltoc) { display: none !important; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .legal-lt { display: block; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose {
  max-width: none;
  padding: 8px 0 48px;
}
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose section { gap: 8px; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose h2,
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose h3 {
  margin-bottom: 8px;
  line-height: normal;
  letter-spacing: -0.02em;
  color: var(--text);
}
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose h2 { margin-top: 22px; font-size: 21px; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose h2:first-child,
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose__intro + section h2,
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose section:first-child h2 { margin-top: 0; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose h3 { margin-top: 22px; font-size: 17px; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose p,
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose li {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-2);
}
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose ul { gap: 2px; padding-left: 22px; }
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) .prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.in-app body:is([data-app-page="privacy"], [data-app-page="terms"]) main { padding-bottom: 48px; }

.app-only { display: none; }
html.in-app body:is([data-app-page="how-it-works"], [data-app-page="how-we-make-money"]) {
  background: var(--bg);
  color-scheme: light;
}
html.in-app body:is([data-app-page="how-it-works"], [data-app-page="how-we-make-money"]) :is(.skip, .header, .mnav, .phead, .footer, .section) {
  display: none !important;
}
html.in-app .app-only { display: block; }
html.in-app .app-screen {
  padding: 8px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html.in-app .app-steps,
html.in-app .app-parties,
html.in-app .app-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html.in-app .app-steps li,
html.in-app .app-parties li,
html.in-app .app-note,
html.in-app .app-qa,
html.in-app .app-stats {
  background: var(--surface);
  border-radius: 13px;
  padding: 16px;
}
html.in-app .app-steps li { display: flex; gap: 14px; align-items: flex-start; }
html.in-app .app-steps__n {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(49, 140, 246, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
}
html.in-app .app-parties__who {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
html.in-app .app-steps h2,
html.in-app .app-parties h2,
html.in-app .app-qa h2,
html.in-app .app-note h3,
html.in-app .app-stats h2 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.2;
}
html.in-app .app-steps p,
html.in-app .app-parties p,
html.in-app .app-qa p,
html.in-app .app-note p,
html.in-app .app-lead,
html.in-app .app-stats > p,
html.in-app .app-steps li li,
html.in-app .app-steps .substeps span {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-2);
}
html.in-app .app-lead { margin: 0; }
html.in-app .app-steps .substeps,
html.in-app .app-steps ul,
html.in-app .app-qa ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html.in-app .app-block { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
html.in-app .app-block > h2 { font-size: 21px; letter-spacing: -0.02em; padding: 8px 0 0; line-height: 1.2; }
html.in-app .app-stats { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
html.in-app .app-stats dl { margin: 8px 0 0; }
html.in-app .app-stats dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
html.in-app .app-stats dt { color: var(--text-2); font-size: 15px; }
html.in-app .app-stats dd { margin: 0; font-size: 15px; font-weight: 500; text-align: right; }
html.in-app .app-qa + .app-qa { margin-top: 0; }
html.in-app .app-qa a { color: var(--accent); }
