/* LoanDesk product home page */
:root {
  --ink: #0d2b1f;
  --ink-2: #4b5a53;
  --brand: #0a3a24;
  --brand-2: #17804f;
  --gold: #f5b82e;
  --gold-ink: #3d2a00;
  --gold-text: #a87407;
  --bg: #ffffff;
  --band: #f1f0ea;
  --line: #e2e6e3;
  --radius: 18px;
  --display: ui-rounded, 'SF Pro Rounded', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, Roboto, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Oriya', sans-serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Oriya', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--text); color: var(--ink); background: var(--bg); }
img { display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font: 700 1.02rem var(--text); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn.gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 30px rgb(245 184 46 / .35); }
.btn.outline { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn.outline:hover { background: rgb(255 255 255 / .08); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: .95rem; box-shadow: none; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: #082a1b; color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo img { border-radius: 8px; }
.logo b { font: 800 1.2rem var(--display); }
.logo small { color: rgb(255 255 255 / .7); font-size: .78rem; margin-top: 4px; }
.top-nav { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid rgb(255 255 255 / .3); border-radius: 99px; }
.lang-toggle button { border: 0; background: none; color: rgb(255 255 255 / .85); font: 600 .9rem var(--text); padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.lang-toggle button:hover { color: #fff; }
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.signin { position: relative; }
.signin summary { list-style: none; cursor: pointer; font-weight: 600; padding: 8px 6px; }
.signin summary::-webkit-details-marker { display: none; }
.signin-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: #fff; color: var(--ink); border-radius: 14px; padding: 6px; box-shadow: 0 18px 50px rgb(0 0 0 / .25); }
.signin-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.signin-menu a:hover { background: #eef5f1; }
.signin-menu small { display: block; color: var(--ink-2); }

/* hero */
.hero { color: #fff; background: radial-gradient(900px 500px at 85% 10%, rgb(23 128 79 / .45), transparent 60%), linear-gradient(160deg, #0b3d29 0%, #072519 70%); padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; border-radius: 99px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); font-weight: 600; font-size: .9rem; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.06; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-style: normal; color: var(--gold); }
.lead { font-size: 1.12rem; color: rgb(255 255 255 / .86); max-width: 560px; margin: 22px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: rgb(255 255 255 / .88); font-size: .95rem; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

.mock { position: relative; min-height: 420px; }
.mock-card { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .35); padding: 18px 20px; }
.mock-card h4 { margin: 0 0 12px; font: 800 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mock-card.plan { left: 0; top: 10px; width: 78%; }
.mock-card.plan .row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.mock-card .amt { font-weight: 700; color: #b02a37; font-variant-numeric: tabular-nums; }
.tag { font-size: .72rem; padding: 2px 8px; border-radius: 99px; }
.tag.warn { background: #fff0d3; color: #8a5200; }
.tag.bad { background: #fde3e6; color: #b02a37; }
.tag.mid { background: #ffe9d6; color: #b45309; }
.mock-card.today { right: 0; top: 150px; width: 56%; }
.mock-card.today .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.mock-card.today .total { border-top: 2px solid var(--brand); margin-top: 8px; padding-top: 10px; font: 800 1.05rem var(--display); }
.mock-pill { position: absolute; left: 14%; bottom: 0; background: #fff; color: var(--brand); border-radius: 12px; padding: 12px 18px; font-weight: 800; box-shadow: 0 16px 40px rgb(0 0 0 / .3); font-size: .92rem; }

/* strip */
.strip { background: #082a1b; color: rgb(255 255 255 / .78); padding: 18px 0; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-size: .95rem; }
.strip b { color: #fff; }

/* sections */
.section { padding: 84px 0; }
.band { background: var(--band); }
.eyebrow { margin: 0 0 10px; font: 800 .85rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; color: var(--brand); font-weight: 900; }
.sub { color: var(--ink-2); font-size: 1.08rem; max-width: 720px; margin: 14px 0 36px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { border-radius: var(--radius); padding: 26px; border: 1px solid; }
.f .ico { font-size: 1.4rem; }
.f h3 { margin: 12px 0 8px; font-size: 1.15rem; color: var(--brand); }
.f p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.f.green { background: #f0f7f3; border-color: #cfe5d8; }
.f.blue { background: #eef4fb; border-color: #d3e1f2; }
.f.sand { background: #fdf6ea; border-color: #f1dfbd; }
.f.lilac { background: #f4f2fb; border-color: #dfdaf2; }
.f.mint { background: #eef8f6; border-color: #cbe7e1; }
.f.rose { background: #fbf1f2; border-color: #f0d5d9; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; font: 800 1rem var(--display); }
.steps h3 { margin: 16px 0 8px; font-size: 1.12rem; color: var(--brand); }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan-card.best { border: 2px solid var(--gold); box-shadow: 0 16px 40px rgb(245 184 46 / .18); }
.plan-card h3 { font-size: 1.35rem; color: var(--brand); margin-bottom: 12px; }
.plan-card ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.note { color: var(--ink-2); margin-top: 26px; }

/* final call to action + demo form */
.final { color: #fff; background: radial-gradient(800px 400px at 15% 0%, rgb(23 128 79 / .45), transparent 60%), linear-gradient(160deg, #0b3d29, #072519); padding: 80px 0; scroll-margin-top: 66px; }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.final h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; font-weight: 900; }
.final p { color: rgb(255 255 255 / .85); font-size: 1.08rem; }
.demo-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.demo-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.demo-form input, .demo-form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #c9d3ce; border-radius: 10px; width: 100%; }
.demo-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form .hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; min-height: 1.2em; font-size: .92rem; }
.form-msg.ok { color: #146c43; font-weight: 600; }
.form-msg.bad { color: #b02a37; }

.foot { background: #061d13; color: rgb(255 255 255 / .7); padding: 26px 0; font-size: .9rem; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .hero-grid, .final-grid { grid-template-columns: 1fr; }
  .mock { min-height: 380px; max-width: 520px; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .top-row { min-height: 60px; }
  .logo small, .top-nav .btn { display: none; }
  .lang-toggle button { padding: 5px 8px; font-size: .8rem; }
  .signin summary { font-size: .9rem; }
  .top-nav { gap: 8px; }
  .hero { padding: 44px 0 60px; }
  .cta-row .btn { flex: 1 1 100%; }
  .mock { min-height: 440px; }
  .mock-card.plan { width: 94%; }
  .mock-card.today { width: 70%; top: 170px; }
  .mock-pill { left: 0; }
  .section { padding: 60px 0; }
  .demo-form .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
