/* ============================================================
   LendSwiftHub — global stylesheet
   Light, airy theme: white + soft mint/sky accents.
   ============================================================ */

:root {
  --teal: #7c3aed;
  --teal-600: #7c3aed;
  --teal-700: #6d28d9;
  --teal-grad: linear-gradient(135deg, #6d28d9, #8b5cf6 55%, #6366f1);
  --sky: #6366f1;
  --sky-100: #eef0ff;
  --mint-100: #f2eefe;
  --bg: #f7f5fe;
  --bg-2: #efebfc;
  --card: #ffffff;
  --ink: #2b2a52;
  --ink-2: #1f1e3d;
  --muted: #6c6992;
  --muted-2: #9c97c2;
  --line: #e6e3f5;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --nav-h: 78px;
  --shadow: 0 24px 60px -24px rgba(76, 29, 149, .20);
  --shadow-sm: 0 10px 30px -14px rgba(76, 29, 149, .22);
  --shadow-card: 0 6px 22px -12px rgba(76, 29, 149, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--teal-600); }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { line-height: 1.22; color: var(--ink-2); font-weight: 800; letter-spacing: -0.01em; }
p { color: var(--muted); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal-grad); color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(109, 40, 217, .55);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 18px 34px -14px rgba(109, 40, 217, .6); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn.white { background: #fff; color: var(--teal-700); box-shadow: 0 14px 30px -12px rgba(49, 26, 99, .35); }
.btn.white:hover { color: var(--teal-700); }
.btn.ghost { background: transparent; color: var(--teal-700); box-shadow: none; box-shadow: inset 0 0 0 1.5px var(--teal); }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); background: var(--mint-100);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow.sky { background: var(--sky-100); color: #0284c7; }

/* ------------------------------ HEADER ------------------------------ */
#header {
  position: fixed; inset: 0 0 auto; z-index: 950;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
#header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(10, 60, 80, .35); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; color: var(--ink-2); letter-spacing: -0.02em; }
.logo:hover { color: var(--ink-2); }
.logo .mark {
  width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--teal-grad); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .6);
}
.logo .mark svg { width: 62%; height: 62%; }

.nav { display: flex; align-items: center; gap: 26px; height: var(--nav-h); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2.5px;
  background: var(--teal-grad); border-radius: 2px; transition: right .22s ease;
}
.nav-links a:hover { color: var(--ink-2); }
.nav-links a:hover::after { right: 0; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.trust { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.trust .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px 6px; }
.burger span { width: 24px; height: 2.5px; border-radius: 3px; background: var(--ink-2); transition: transform .25s ease, opacity .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile slide-down menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 890;
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; padding: 10px 22px 18px;
  transform: translateY(-120%); opacity: 0; pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
}
.mobile-menu.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 12px 4px; color: var(--ink); font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin-top: 10px; }

/* ------------------------------ HERO ------------------------------ */
.hero {
  position: relative; padding: calc(var(--nav-h) + 56px) 0 84px;
  background:
    radial-gradient(1000px 480px at 12% -10%, rgba(139, 92, 246, .20), transparent 60%),
    radial-gradient(860px 460px at 95% 12%, rgba(99, 102, 241, .18), transparent 55%),
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 58%, rgba(247, 245, 254, .72) 100%),
    url(../images/hero-banner.jpg) center 30% / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}
.badge-secure {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  color: var(--teal-700); font-weight: 700; font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px; margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.badge-secure svg { color: var(--teal-600); }

.hero-title { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 18px; }
.hero-title .out { position: relative; color: var(--teal-600); white-space: nowrap; }
.hero-title .out::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 11px;
  background: linear-gradient(90deg, rgba(139, 92, 246, .28), rgba(99, 102, 241, .28));
  border-radius: 6px; z-index: -1;
}
.hero-sub { font-size: 17.5px; max-width: 520px; margin-bottom: 30px; }

.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  flex: 0 0 auto; min-width: 128px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-card);
}
.stat .big { font-size: 21px; font-weight: 900; color: var(--ink-2); letter-spacing: -0.01em; }
.stat .lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* lead form card */
.loan-card {
  position: relative; z-index: 1; isolation: isolate;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(76, 29, 149, .28);
  padding: 24px 24px 8px; overflow: hidden;
}
.loan-card::before {
  content: ""; position: absolute; inset: -1px -1px auto; height: 6px;
  background: var(--teal-grad); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.loan-card .card-head { margin-bottom: 14px; }
.loan-card .card-eyebrow {
  font-weight: 800; font-size: 24px; line-height: 1.1;
  color: var(--ink-2); letter-spacing: -0.01em;
}
.loan-card .card-sub {
  margin-top: 5px; font-size: 13.5px; font-weight: 700;
  color: var(--teal-600); letter-spacing: .01em;
}
.loan-card .card-trust {
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
}
.loan-card .card-trust span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted);
}
.loan-card .card-trust svg { width: 14px; height: 14px; color: var(--teal-600); flex: none; }
.loan-card .main-form { width: 100%; }
.loan-card #omFormLoader, .loan-card .zp_form_loader { display: none !important; }
.loan-card #omForm {
  max-width: 100% !important; width: 100% !important;
  overflow-x: hidden;
}
.loan-card #omForm .om-input, .loan-card #omForm input, .loan-card #omForm select {
  max-width: 100% !important;
}
.loan-card .vendor-fixed,
.loan-card .main-form { margin: 0 !important; padding: 0 !important; }
.loan-card .vendor-fixed > div { margin-bottom: 0 !important; }
/* ---- third-party form: kill built-in white space ---- */
.loan-card #omForm-root {
  margin: 0 auto !important; min-height: 0 !important; height: auto !important;
  width: 100% !important; max-width: 100% !important;
}
.loan-card #omForm-root > div { min-height: 0 !important; }
.loan-card #omForm-root #omUnscrBox { padding-top: 0 !important; }
.loan-card #omForm {
  background: transparent !important; padding: 0 !important; min-height: 0 !important;
  height: auto !important; max-height: none !important;
}
.loan-card #omForm .om-input__container,
.loan-card #omForm .om-select__container { padding: 6px 0 !important; }
.loan-card #omForm .om-navigation {
  display: flex !important; gap: 12px !important; align-items: stretch !important;
  width: 100% !important; margin: 4px auto 0 !important; margin-bottom: 0 !important;
}
.loan-card #omForm .om-navigation + * { margin-top: 0 !important; padding-top: 0 !important; }
/* ---- third-party form: theme button to brand violet ---- */
.loan-card #omForm .om-navigation__next,
.loan-card #omForm .om-navigation__submit {
  background: var(--teal-grad) !important; color: #fff !important; border: 0 !important;
  border-radius: 14px !important; min-height: 54px !important;
  font-weight: 700 !important; font-size: 15px !important;
  letter-spacing: .02em !important; text-transform: none !important;
  box-shadow: 0 12px 24px -12px rgba(109, 40, 217, .55) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: auto !important; flex: 1 1 auto !important;
}
.loan-card #omForm .om-navigation__next:hover,
.loan-card #omForm .om-navigation__submit:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 30px -14px rgba(109, 40, 217, .7) !important;
  background: linear-gradient(135deg, #5b21b6, #7c3aed 55%, #4f46e5) !important;
}
.loan-card #omForm .om-navigation__next svg { width: 20px !important; height: 20px !important; flex: none !important; }
.loan-card #omForm .om-navigation__next:disabled,
.loan-card #omForm .om-navigation__submit:disabled {
  background: #dcd8ef !important; color: #8a87ad !important;
  box-shadow: none !important; cursor: not-allowed !important;
}
.loan-card #omForm .om-progress-bar__complete-line {
  background: var(--teal-grad) !important;
}
.loan-card #omForm-root select:focus,
.loan-card #omForm-root input:focus { border-color: var(--teal-600) !important; outline: none !important; }
/* ---- third-party form: theme back (prev) button to brand ---- */
.loan-card #omForm .om-navigation__prev {
  flex: 0 0 54px !important; width: 54px !important; min-width: 54px !important;
  min-height: 54px !important; height: 54px !important; padding: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  background: #ffffff !important; background-image: none !important;
  border: 1.5px solid #cbbdee !important; border-radius: 14px !important;
  cursor: pointer !important; font-size: 0 !important; color: transparent !important;
  box-shadow: 0 8px 18px -10px rgba(76, 29, 149, .32) !important;
  transition: border-color .2s ease, background-color .2s ease !important;
}
.loan-card #omForm .om-navigation__prev:hover {
  background: var(--mint-100) !important;
  border-color: var(--teal-600) !important;
}
.loan-card #omForm .om-navigation__prev::before {
  content: "" !important; display: block !important;
  width: 11px !important; height: 11px !important;
  border-left: 2.6px solid var(--teal-600) !important;
  border-bottom: 2.6px solid var(--teal-600) !important;
  border-radius: 1px !important;
  transform: rotate(45deg) !important; margin-left: 4px !important;
}
/* ---- third-party form: squeeze remaining built-in gaps ---- */
.loan-card #omForm .om-progress-bar {
  margin: 0 auto 12px !important;
}
.loan-card #omForm .om-step-label { margin-bottom: 6px !important; }
.loan-card #omForm .om-info-block { margin-bottom: 8px !important; }
.loan-card #omForm .om-info-block__save { margin: 10px auto !important; }
.loan-card #omForm .om-verification-footer {
  margin-top: 10px !important; padding-top: 10px !important;
}
.loan-card #omForm .om-navigation + *,
.loan-card #omForm-root > div > div > :last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
/* ---- third-party form: kill dynamic bottom spacing on every step/click ---- */
.loan-card #omForm-root * { margin-bottom: 0 !important; }
.loan-card #omForm .om-navigation,
.loan-card #omForm .om-navigation > *,
.loan-card #omForm-root > div > div { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.loan-card #omForm .om-main-wrapper_loader,
.loan-card #omForm .om-main-wrapper_error { min-height: 0 !important; }
@media (max-width: 640px) {
  .loan-card { padding: 24px 16px; }
}

/* ------------------------------ SECTIONS ------------------------------ */
section { padding: 84px 0; }
.sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.sec-head p { font-size: 16.5px; }

/* steps */
#how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 26px 30px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: 18px; right: 20px; font-size: 44px; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px rgba(109, 40, 217, .25);
  letter-spacing: -0.03em; line-height: 1;
}
.step-card .step-img {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  margin: 0 0 20px; box-shadow: var(--shadow-sm);
}
.step-card .step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.step-card:hover .step-img img { transform: scale(1.05); }
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; }

/* use cases */
.usecases { background: var(--bg); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.uc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.uc-img { aspect-ratio: 8 / 5; overflow: hidden; }
.uc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.uc:hover .uc-img img { transform: scale(1.05); }
.uc-body { padding: 22px 22px 24px; }
.uc-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.uc-body p { font-size: 14.5px; }

/* why */
#why { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.why-left .why-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); margin-bottom: 26px;
}
.why-left h2 { font-size: clamp(27px, 3.2vw, 38px); margin-bottom: 14px; }
.why-left p { font-size: 16.5px; margin-bottom: 26px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
  transition: transform .22s ease, background .22s ease;
}
.feat:hover { background: var(--sky-100); transform: translateY(-4px); }
.feat .check {
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-grad); color: #fff;
}
.feat .check svg { width: 20px; height: 20px; }
.feat h3 { font-size: 15.5px; margin-bottom: 6px; }
.feat p { font-size: 13.8px; }

/* blog */
.blog { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-link { color: inherit; }
.post-link:hover { color: inherit; }
.thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .thumb img { transform: scale(1.05); }
.post .body { padding: 24px; }
.cat {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-600); background: var(--mint-100);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.post h3 { font-size: 18px; margin-bottom: 10px; transition: color .2s ease; }
.post:hover h3 { color: var(--teal-600); }
.meta { font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* FAQ */
#faq { background: #fff; }
.faq-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.faq-head h2 { font-size: clamp(26px, 3.2vw, 37px); margin-bottom: 12px; }
.faq-head p { font-size: 16px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: border-color .22s ease, box-shadow .22s ease;
}
.faq-item.open { border-color: rgba(124, 58, 237, .45); box-shadow: var(--shadow-card); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer; border: 0; background: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 22px; font-size: 15.5px; font-weight: 800; color: var(--ink-2);
}
.plus {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--mint-100); color: var(--teal-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--teal-grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14.8px; }

/* CTA */
.cta { position: relative; padding: 0; }
.cta .wrap { padding-top: 84px; padding-bottom: 84px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--teal-grad);
  padding: 64px 40px; text-align: center;
  box-shadow: 0 40px 80px -32px rgba(76, 29, 149, .5);
}
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.cta-inner p { color: rgba(255, 255, 255, .88); font-size: 16.5px; margin-bottom: 26px; }
.cta-shape { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta-shape { top: -130px; left: -70px; }
.cta-shape.two { top: auto; bottom: -160px; right: -60px; width: 380px; height: 380px; }

/* ------------------------------ FOOTER ------------------------------ */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 70px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 46px; }
.foot-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; }
.foot-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; }
.foot-col a:hover { color: var(--teal-600); }
.foot-legal { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.foot-legal p { font-size: 12.4px; color: var(--muted-2); line-height: 1.7; margin-bottom: 16px; }
.foot-legal p strong { color: var(--muted); }
.copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; }
.copy a { color: var(--muted-2); }
.copy a:hover { color: var(--teal-600); }

/* article layout (blog / legal / contact subpages) */
.page-hero { padding: calc(var(--nav-h) + 46px) 0 40px; }
.article-wrap { max-width: 780px; margin: 0 auto; padding: 0 22px; }
.article-head { padding: calc(var(--nav-h) + 52px) 0 8px; text-align: center; }
.article-head .cat { margin-bottom: 14px; }
.article-title { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 12px; }
.article-meta { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.article-meta p { font-size: 15.5px; color: var(--muted); max-width: 560px; margin: 10px auto 0; }
.article-hero-img { max-width: 900px; margin: 26px auto 0; padding: 0 22px; }
.article-hero-img img {
  width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.article-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 46px 48px; margin: 34px 0 70px;
}
.article-body .lead { font-size: 18px; color: var(--ink-2); font-weight: 600; margin-bottom: 22px; }
.article-body h2 { font-size: 24px; margin: 30px 0 12px; }
.article-body h3 { font-size: 18px; margin: 22px 0 10px; }
.article-body p { font-size: 15.8px; margin-bottom: 14px; }
.article-body ul { margin: 0 0 16px; padding-left: 22px; font-size: 15.8px; color: var(--muted); }
.article-body li { margin-bottom: 8px; }
.article-body li strong, .article-body p strong { color: var(--ink-2); }
.article-body .hl, .article-body .callout {
  background: var(--mint-100); border-left: 4px solid var(--teal); border-radius: 12px;
  padding: 16px 20px; margin: 20px 0; font-size: 15px; color: var(--ink-2);
}
.article-body .callout { background: var(--sky-100); border-left-color: var(--sky); }
.article-back {
  display: inline-block; margin-top: 24px; font-weight: 800; font-size: 14.5px;
}
.legal-head { text-align: left; }
.legal-head .article-meta { margin-top: 8px; }
.updated { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted-2); margin-bottom: 20px; }

/* contact page */
.contact-single { margin: 30px 0 70px; }
.contact-info--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.contact-info .info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 26px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-info .ic {
  flex: 0 0 46px; height: 46px; border-radius: 14px; font-size: 22px;
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-info p { font-size: 14px; }
.contact-info .info-card p { display: inline-block; }

/* embed mode (opened in homepage modal) */
body.embed { padding-top: 0; }
body.embed #header,
body.embed .mobile-cta { display: none; }
body.embed .hero { padding-top: 34px; }
.embed-frame { border: 0; }

/* ------------------------------ MODAL ------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10, 34, 50, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative; width: min(960px, 100%); height: min(86vh, 900px);
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(5, 20, 35, .5);
  animation: modalIn .28s ease;
}
@keyframes modalIn { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink-2); font-size: 16px;
  box-shadow: 0 8px 20px -8px rgba(10, 34, 60, .4);
  transition: transform .2s ease;
}
.modal-close:hover { transform: rotate(90deg); }
.modal-frame { width: 100%; height: 100%; border: 0; background: var(--bg); }
body.modal-open { overflow: hidden; }

/* ------------------------------ MOBILE STICKY CTA ------------------------------ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
}
.mobile-cta.show { display: block; }
.mobile-cta .btn { width: 100%; }
body { padding-bottom: 0; }
body:has(.mobile-cta.show) { padding-bottom: 76px; }

/* ------------------------------ REVEAL ------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------ RESPONSIVE ------------------------------ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-col-form { order: -1; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .uc-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links, .trust, .nav-right .btn-sm { display: none; }
  .burger { display: inline-flex; }
  .nav-right { gap: 10px; }
  .hero { padding-top: calc(var(--nav-h) + 34px); }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .uc-grid, .blog-grid, .feat-grid { grid-template-columns: 1fr; }
  .hero-stats .stat { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); }
  .stat .big { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .article-card, .legal-card, .page-card { padding: 28px 22px; }
  .cta-inner { padding: 48px 22px; }
}