/* ============================================================
   SmallByzLoans — 2026 Design System
   Aurora gradients · glass surfaces · fluid type · motion
   ============================================================ */

:root {
  /* Color */
  --navy-950: #040b18;
  --navy-900: #07111f;
  --navy-800: #0b1d33;
  --navy-700: #123252;
  --ink: #0e1c2e;
  --muted: #5b6b7d;
  --line: #e3eaf2;
  --surface: #f6f9fc;
  --card: #ffffff;
  --brand: #10b981;
  --brand-bright: #34d399;
  --brand-dark: #067a56;
  --brand-deep: #064e38;
  --gold: #fbbf24;
  --violet: #8b5cf6;
  --sky: #38bdf8;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(8, 20, 36, .06);
  --shadow-md: 0 14px 40px rgba(8, 20, 36, .10);
  --shadow-lg: 0 30px 80px rgba(4, 11, 24, .22);
  --shadow-brand: 0 14px 36px rgba(16, 185, 129, .35);

  --pad-x: clamp(20px, 4.5vw, 72px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -.015em;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }

.gradient-text {
  background: linear-gradient(92deg, var(--brand-bright), var(--sky) 55%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-dark {
  background: linear-gradient(92deg, var(--brand-dark), #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--brand-dark);
  font-size: .78rem;
  margin: 0 0 14px;
}

.center { text-align: center; margin-top: 38px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--r-pill);
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: wait; opacity: .7; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #0ea66f 100%);
  color: #03130c;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-bright), var(--brand)); box-shadow: 0 18px 44px rgba(16, 185, 129, .45); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

.btn-dark { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.btn-dark:hover { background: var(--navy-700); }

.btn-lg { min-height: 56px; padding: 15px 32px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 20px; font-size: .9rem; }
.full { width: 100%; margin-top: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px var(--pad-x);
  background: rgba(4, 11, 24, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  transition: box-shadow .3s ease;
}

.site-header.scrolled { box-shadow: 0 10px 40px rgba(4, 11, 24, .5); }

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo img { display: block; height: 22px; width: auto; }
.footer-logo img { height: 26px; }

@media (max-width: 420px) {
  .logo img { height: 17px; }
}

.site-header nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  align-items: center;
  font-weight: 600;
  font-size: .93rem;
}

.site-header nav a { color: #c7d5e4; transition: color .2s ease; }
.site-header nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-bright);
  font-weight: 800;
  white-space: nowrap;
  font-size: .93rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(800px 520px at -10% 30%, rgba(16, 185, 129, .18), transparent 60%),
    radial-gradient(700px 480px at 50% 110%, rgba(56, 189, 248, .12), transparent 60%),
    linear-gradient(168deg, var(--navy-950) 0%, var(--navy-900) 55%, #06203a 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) var(--pad-x) clamp(56px, 8vw, 110px);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 300px at 70% 20%, rgba(52, 211, 153, .14), transparent 70%);
  pointer-events: none;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); opacity: .8; }
  to { transform: translate3d(-60px, 40px, 0); opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .85fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-copy { align-self: center; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .3);
  color: var(--brand-bright);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 26px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 11px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-text {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  max-width: 620px;
  color: #c9d8e8;
}

.hero-text strong { color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 14px;
}

.hero-microcopy { color: #8fa6bd; font-size: .86rem; font-weight: 600; margin: 0 0 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 3vw, 44px);
  justify-content: start;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--brand-bright);
  line-height: 1.1;
}

.hero-stats .stat span:last-child {
  color: #8fa6bd;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- Lead form card ---------- */
.lead-card {
  position: relative;
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 90px rgba(52, 211, 153, .12);
  align-self: start;
  overflow: hidden;
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--sky), var(--violet));
}

.lead-card-top { padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 34px) 0; }
.lead-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-bottom: 8px; }
.lead-card-top p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }

.form-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: #ecfdf5;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: 14px;
}

.form-progress {
  height: 6px;
  border-radius: var(--r-pill);
  background: #e8eef5;
  overflow: hidden;
  margin-bottom: 4px;
}

.form-progress span {
  display: block;
  height: 100%;
  width: 4%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transition: width .4s ease;
}

.lead-card form { padding: 8px clamp(22px, 3vw, 34px) clamp(24px, 3vw, 32px); }

label {
  display: block;
  font-weight: 700;
  margin: 13px 0 6px;
  font-size: .88rem;
}

input, select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #d4dfea;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font: inherit;
  background: #fbfdfe;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder { color: #a4b3c2; }

input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}

.hide-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-trust {
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 14px 0 6px;
}

.fine-print { font-size: .74rem; color: #8a97a6; margin: 0; line-height: 1.5; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #b8c9da;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) var(--pad-x); max-width: 1400px; margin: 0 auto; }
.section-tint { background: linear-gradient(180deg, #eef5fa 0%, var(--surface) 100%); max-width: none; }
.section-tint > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cfe9dd;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #ecfdf5, #d8f5ea);
  font-size: 1.5rem;
  margin-bottom: 18px;
  border: 1px solid #c9eedd;
}

.card-tag {
  display: inline-block;
  color: var(--brand-dark);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.card p { color: var(--muted); margin-top: 0; }

.card-featured {
  border: 2px solid var(--brand);
  box-shadow: 0 18px 50px rgba(16, 185, 129, .16);
}

.card-ribbon {
  position: absolute;
  top: 18px;
  right: -1px;
  background: linear-gradient(135deg, var(--brand), #0d9468);
  color: #03130c;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 16px;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
}

.mini-list li { position: relative; padding-left: 26px; }
.mini-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

.card-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--brand-dark);
  font-size: .95rem;
  transition: gap .2s ease;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Comparison table ---------- */
.compare-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 980px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 16px 22px; font-size: .95rem; }
.compare-row > div:nth-child(2) { color: var(--muted); }

.compare-head { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; }
.compare-head > div { font-size: .92rem; }

.compare-us {
  background: #f0fdf7;
  font-weight: 700;
  color: var(--brand-deep);
  border-left: 2px solid var(--brand);
}

.compare-head .compare-us { background: rgba(16, 185, 129, .2); color: var(--brand-bright); }

.table-note { color: #8a97a6; font-size: .8rem; max-width: 980px; margin-top: 12px; }

/* ---------- Split / qualify ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .68fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.split > div > .btn { margin-top: 28px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 13px;
  color: #2b3b4d;
}

.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #0d9468);
  color: #03130c;
  font-weight: 900;
  font-size: .8rem;
  display: grid;
  place-items: center;
}

.stat-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(400px 280px at 110% -10%, rgba(139, 92, 246, .35), transparent 65%),
    linear-gradient(155deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

.stat-box-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, .25), transparent 70%);
  bottom: -90px;
  left: -60px;
  pointer-events: none;
}

.stat-box-kicker {
  display: inline-block;
  color: var(--brand-bright);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  margin-bottom: 14px;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.stat-box p { color: #b9cadc; margin: 0 0 24px; position: relative; }
.stat-box .btn { position: relative; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700;
  color: #243a50;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.industry-grid a span { font-size: 1.35rem; }

.industry-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  counter-reset: step;
  margin: 0;
}

.steps li {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  counter-increment: step;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.steps strong, .steps span { display: block; }
.steps strong { font-family: var(--font-display); font-size: 1.12rem; }
.steps span { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ---------- SEO content ---------- */
.seo-content > p:not(.eyebrow) { max-width: 880px; color: #33465a; }
.seo-content a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.keyword-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.keyword-panels article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.keyword-panels p { color: var(--muted); margin-bottom: 0; }

/* ---------- Blog cards ---------- */
.blog-card { padding-top: 26px; }

.blog-cat {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: #eef2ff;
  color: #4f46e5;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 14px;
}

.blog-card h3 { font-size: 1.18rem; line-height: 1.3; }
.blog-card h3 a:hover { color: var(--brand-dark); }
.blog-card p { font-size: .95rem; }

.blog-meta { margin-top: auto; color: #93a3b4; font-size: .84rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s ease;
}

details[open] { border-color: var(--brand); }

summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.02rem;
  padding: 19px 54px 19px 24px;
  position: relative;
  list-style: none;
  user-select: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform .25s ease, background .25s ease;
}

details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); background: var(--brand); color: #03130c; }

details p { color: var(--muted); margin: 0; padding: 0 24px 20px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  margin: clamp(24px, 4vw, 72px) var(--pad-x);
  max-width: 1400px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 80px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(640px 380px at 85% 0%, rgba(139, 92, 246, .35), transparent 65%),
    radial-gradient(520px 340px at 10% 100%, rgba(16, 185, 129, .3), transparent 65%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  text-align: center;
}

@media (min-width: 1544px) { .cta { margin-left: auto; margin-right: auto; } }

.cta-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

.cta .eyebrow { color: var(--brand-bright); }
.cta h2 { position: relative; }
.cta > p:not(.eyebrow) { color: #c2d3e4; font-size: 1.1rem; position: relative; }

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #c2d2e2; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-grid p { color: #8da1b5; font-size: .93rem; margin: 10px 0; max-width: 320px; }
.footer-address a { color: var(--brand-bright); font-weight: 800; }

.footer-grid strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-size: .98rem;
}

.footer-grid div > a {
  display: block;
  color: #8da1b5;
  margin-bottom: 11px;
  font-size: .93rem;
  transition: color .2s ease;
}

.footer-grid div > a:hover { color: var(--brand-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px var(--pad-x) 28px;
}

.footer-bottom p {
  color: #6e8296;
  font-size: .8rem;
  max-width: 1400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 11, 24, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(110%);
  transition: transform .35s ease;
}

.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 50px; }
.sticky-cta .btn-dark { flex: 0 0 auto; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .65, .25, 1), transform .7s cubic-bezier(.2, .65, .25, 1);
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-glow, .pulse-dot { animation: none; }
  .btn, .card, .steps li, .industry-grid a { transition: none; }
}

/* ============================================================
   BLOG / ARTICLE / LEGAL PAGES
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 80% -20%, rgba(139, 92, 246, .25), transparent 60%),
    radial-gradient(600px 400px at 0% 60%, rgba(16, 185, 129, .16), transparent 60%),
    linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: clamp(48px, 6.5vw, 84px) var(--pad-x);
  text-align: center;
}

.page-hero .eyebrow { color: var(--brand-bright); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero p:not(.eyebrow) { color: #c2d3e4; max-width: 660px; margin: 0 auto; font-size: 1.08rem; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: #8fa6bd;
  margin-bottom: 18px;
  font-weight: 600;
}

.breadcrumbs a { color: var(--brand-bright); }
.breadcrumbs span { opacity: .5; }

/* Blog listing */
.blog-grid-wrap { padding: clamp(48px, 6vw, 80px) var(--pad-x); max-width: 1400px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Article */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--pad-x) 24px;
}

.article-wrap h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 44px; }
.article-wrap h3 { margin-top: 32px; }
.article-wrap p, .article-wrap li { color: #33465a; font-size: 1.04rem; }
.article-wrap a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-wrap ul, .article-wrap ol { padding-left: 24px; }
.article-wrap li { margin-bottom: 8px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: #8fa6bd;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 18px;
}

.article-lead { font-size: 1.16rem !important; color: #1f3247 !important; font-weight: 500; }

.callout {
  background: #f0fdf7;
  border: 1px solid #c9eedd;
  border-left: 4px solid var(--brand);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.callout p { margin: 0; font-size: .98rem !important; }

.article-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(440px 280px at 90% 0%, rgba(139, 92, 246, .3), transparent 65%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 44px);
  text-align: center;
  margin: 44px 0;
}

.article-cta h2, .article-cta h3 { color: #fff; margin-top: 0 !important; }
.article-cta p { color: #c2d3e4 !important; }
.article-cta .btn { margin-top: 8px; }

.article-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
  font-weight: 700;
}

/* Legal pages */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--pad-x); }
.legal-wrap h2 { font-size: 1.4rem; margin-top: 36px; }
.legal-wrap p, .legal-wrap li { color: #33465a; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .lead-card { max-width: 680px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .three, .steps { grid-template-columns: 1fr; }
  .compare-row > div { padding: 13px 14px; font-size: .86rem; }
}

@media (max-width: 720px) {
  .nav-phone { display: none; }
  .two-col, .keyword-panels, .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sticky-cta { display: flex; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  body { padding-bottom: 78px; }
}
