/* ============================================================
   Find-Money.com  — Public Marketing Site CSS
   ============================================================ */

:root {
  --navy:         #0B1F4D;
  --navy-light:   #1a3266;
  --blue:         #4F6EF7;
  --blue-light:   #6B84F9;
  --blue-dark:    #3B58E5;
  --green:        #22C55E;
  --green-light:  #4ADE80;
  --gold:         #F5B544;
  --bg:           #F8FAFC;
  --card:         #FFFFFF;
  --text:         #111827;
  --text-muted:   #6B7280;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm:    0 1px 3px rgba(11,31,77,.07);
  --shadow-md:    0 4px 20px rgba(11,31,77,.09);
  --shadow-lg:    0 12px 48px rgba(11,31,77,.13);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.public-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────── */
.pub-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pub-container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ──────────────────────────────────────────── */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.pub-nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 12px;
}
.pub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.pub-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
}
.pub-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.3px;
}
.pub-logo-text span { color: var(--blue); }

.pub-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
  list-style: none;
}
.pub-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.pub-nav-links a:hover, .pub-nav-links a.active {
  color: var(--navy);
  background: var(--border-light);
}
.pub-nav-links a i {
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .15s;
}
.pub-nav-links a:hover i {
  transform: translateY(-1px);
}

.pub-nav-spacer { flex: 1; }

.pub-nav-actions { display: flex; align-items: center; gap: 8px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  border: none; background: transparent; cursor: pointer;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.btn-ghost i { font-size: 13px; flex-shrink: 0; transition: transform .15s; }
.btn-ghost:hover { color: var(--navy); background: var(--border-light); text-decoration: none; }
.btn-ghost:hover i { transform: translateY(-1px); }

.btn-primary-sm {
  font-size: 14px; font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 9px 20px;
  border-radius: 9px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary-sm:hover { background: var(--blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, #1b3a7a 55%, #0f2b5e 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(79,110,247,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(34,197,94,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,110,247,.2);
  border: 1px solid rgba(79,110,247,.35);
  color: #93AAFD;
  font-size: 12px; font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--green-light); font-style: normal; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
}
.btn-hero-primary:hover {
  background: var(--green-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,.45);
  text-decoration: none;
}
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 16px; font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  text-decoration: none;
}
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.trust-badge {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.trust-badge i { color: var(--green-light); }

/* Dashboard preview mockup */
.hero-mockup {
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
}
.mockup-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mockup-title { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600; }
.mockup-badge {
  background: rgba(34,197,94,.2);
  color: var(--green-light);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.mockup-score-row {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
}
.score-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0% 75%, rgba(255,255,255,.1) 75% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.score-ring::before {
  content: '';
  position: absolute;
  width: 62px; height: 62px;
  background: #1a3266;
  border-radius: 50%;
}
.score-ring-val {
  position: relative; z-index: 1;
  color: #fff; font-size: 22px; font-weight: 800;
}
.score-label { color: rgba(255,255,255,.7); font-size: 13px; }
.score-label strong { color: #fff; display: block; font-size: 15px; }
.mockup-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px;
}
.metric-card {
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.metric-label { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.metric-val { color: #fff; font-size: 20px; font-weight: 700; }
.metric-val.up { color: var(--green-light); }
.metric-val.alert { color: #FB923C; }
.mockup-chat {
  background: rgba(79,110,247,.15);
  border-left: 3px solid var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 14px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.5;
}
.mockup-chat strong { color: #93AAFD; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--card); }
.section-dark { background: var(--navy); }

.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label i { font-size: 11px; }

.section-head {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
.section-head.light { color: #fff; }
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
}
.section-sub.light { color: rgba(255,255,255,.7); }
.section-intro { margin-bottom: 56px; }

/* ── Feature Cards ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-blue  { background: rgba(79,110,247,.1); color: var(--blue); }
.icon-green { background: rgba(34,197,94,.1); color: var(--green); }
.icon-gold  { background: rgba(245,181,68,.1); color: var(--gold); }
.icon-navy  { background: rgba(11,31,77,.08); color: var(--navy); }
.icon-teal  { background: rgba(20,184,166,.1); color: #14B8A6; }
.icon-purple{ background: rgba(139,92,246,.1); color: #8B5CF6; }

.feature-card h3 {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── How It Works ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 0 auto; }
.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
}
.pricing-card.highlighted {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79,110,247,.08);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.pricing-price {
  font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 22px; vertical-align: super; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.btn-pricing {
  display: block; text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 15px; font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-pricing:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-pricing-outline {
  display: block; text-align: center;
  background: transparent;
  color: var(--blue);
  font-size: 15px; font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn-pricing-outline:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

/* ── Find cards (home page value props) ──────────────────── */
.find-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.find-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.find-card i { font-size: 28px; color: var(--green-light); margin-bottom: 14px; }
.find-card h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.find-card p { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.55; }

/* ── Blog cards ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; color: inherit; }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 48px;
  flex-shrink: 0;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.blog-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px; color: var(--text-muted);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 16px; max-width: 500px; margin: 0 auto 32px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
details.faq-item summary {
  font-size: 15px; font-weight: 600; color: var(--navy);
  padding: 20px 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '\f067';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Support form ─────────────────────────────────────────── */
.support-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pub-form label {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 6px;
}
.pub-form input,
.pub-form textarea,
.pub-form select {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px; color: var(--text); font-family: var(--font);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  margin-bottom: 16px;
}
.pub-form input:focus,
.pub-form textarea:focus,
.pub-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,110,247,.12);
}
.pub-form textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--blue);
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 13px 28px; border-radius: var(--radius);
  border: none; cursor: pointer; width: 100%;
  transition: background .15s, transform .1s;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── Auth forms ───────────────────────────────────────────── */
.auth-section {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px;
  background: var(--bg);
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px 44px;
  width: 100%; max-width: 480px;
}
.auth-card.wide { max-width: 520px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .pub-logo { justify-content: center; }
.auth-card h1 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.auth-field input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 15px; color: var(--text); font-family: var(--font);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,110,247,.12);
  background: var(--card);
}
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-auth {
  display: block; width: 100%;
  background: var(--blue);
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 24px; border-radius: var(--radius);
  border: none; cursor: pointer; text-align: center;
  margin-top: 8px;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
}
.btn-auth:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 24px; }
.auth-switch a { color: var(--blue); font-weight: 600; }
.auth-forgot { text-align: right; margin-bottom: 20px; }
.auth-forgot a { font-size: 13px; color: var(--text-muted); }
.auth-forgot a:hover { color: var(--blue); }

/* Google OAuth button */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 24px;
  background: #fff; color: #3c4043;
  border: 1.5px solid #dadce0; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: box-shadow .15s, border-color .15s;
  margin-bottom: 4px;
}
.btn-google:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  border-color: #b0b5ba;
  color: #3c4043;
  text-decoration: none;
}
.btn-google svg { flex-shrink: 0; }

/* Divider between social and email login */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--text-muted); font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* Plan selector */
.plan-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.plan-option { position: relative; }
.plan-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-option label {
  display: block;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  text-align: center;
}
.plan-option input:checked + label {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,110,247,.12);
}
.plan-price { font-size: 22px; font-weight: 800; color: var(--navy); display: block; }
.plan-period { font-size: 12px; color: var(--text-muted); }
.plan-badge {
  display: inline-block;
  background: rgba(34,197,94,.15);
  color: #16A34A;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  margin-top: 4px;
}

/* Alerts in public context */
.pub-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.pub-alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: #15803D; }
.pub-alert-danger  { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: #B91C1C; }
.pub-alert-info    { background: rgba(79,110,247,.08); border: 1px solid rgba(79,110,247,.2); color: var(--blue-dark); }

/* ── Blog article ─────────────────────────────────────────── */
.article-header {
  background: linear-gradient(150deg, var(--navy) 0%, #1b3a7a 100%);
  padding: 80px 0 64px;
}
.article-cat {
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 14px;
}
.article-header h1 {
  font-size: clamp(28px,4vw,48px); font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -.4px; margin-bottom: 20px;
}
.article-meta { font-size: 13px; color: rgba(255,255,255,.6); display: flex; gap: 16px; flex-wrap: wrap; }
.article-body { padding: 64px 0; }
.article-content {
  font-size: 17px; line-height: 1.8; color: var(--text);
  max-width: 720px; margin: 0 auto;
}
.article-content h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 40px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 28px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--navy); }
.article-content a { color: var(--blue); }
.article-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 16px 24px;
  background: rgba(79,110,247,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-content code {
  background: var(--border-light);
  padding: 2px 6px; border-radius: 4px;
  font-size: .9em;
}

/* ── Admin specific ───────────────────────────────────────── */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex; flex-direction: column;
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar-logo { color: #fff; font-size: 15px; font-weight: 700; }
.admin-sidebar-logo span { color: var(--green-light); }
.admin-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--gold); background: rgba(245,181,68,.15); padding: 2px 8px; border-radius: 100px;
  margin-top: 4px; display: inline-block;
}
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: 14px; font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
.admin-nav a i { width: 18px; text-align: center; }
.admin-nav-section {
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 16px 12px 6px;
}
.admin-main { flex: 1; display: flex; flex-direction: column; background: var(--bg); overflow: auto; }
.admin-topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.admin-topbar-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.admin-content { padding: 32px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-card .stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 32px; font-weight: 800; color: var(--navy); }
.stat-card .stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.admin-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-table-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  background: var(--border-light);
  color: var(--text-muted); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 10px 16px; text-align: left;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--border-light); }

.badge-active   { background: rgba(34,197,94,.12);  color: #15803D; }
.badge-cancelled{ background: rgba(107,114,128,.1); color: var(--text-muted); }
.badge-past-due { background: rgba(239,68,68,.1);   color: #B91C1C; }
.badge-open     { background: rgba(245,181,68,.12); color: #B45309; }
.badge-resolved { background: rgba(34,197,94,.12);  color: #15803D; }
.badge-draft    { background: rgba(107,114,128,.1); color: var(--text-muted); }
.badge-pub      { background: rgba(34,197,94,.12);  color: #15803D; }

.admin-badge-pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
}

.admin-action-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.admin-action-btn.edit { background: rgba(79,110,247,.1); color: var(--blue); }
.admin-action-btn.edit:hover { background: rgba(79,110,247,.18); }
.admin-action-btn.danger { background: rgba(239,68,68,.1); color: #EF4444; }
.admin-action-btn.danger:hover { background: rgba(239,68,68,.18); }
.admin-action-btn.success { background: rgba(34,197,94,.1); color: var(--green); }
.admin-action-btn.success:hover { background: rgba(34,197,94,.2); }

.admin-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.admin-form-row { margin-bottom: 20px; }
.admin-form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.admin-form-row input,
.admin-form-row textarea,
.admin-form-row select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px; color: var(--text); font-family: var(--font);
  outline: none;
  transition: border-color .15s;
}
.admin-form-row input:focus,
.admin-form-row textarea:focus,
.admin-form-row select:focus {
  border-color: var(--blue);
  background: var(--card);
}
.admin-form-row textarea { min-height: 200px; resize: vertical; }
.admin-form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-actions {
  display: flex; gap: 12px; padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}
.btn-admin-primary {
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 10px 24px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background .15s;
}
.btn-admin-primary:hover { background: var(--blue-dark); }
.btn-admin-secondary {
  background: var(--border-light); color: var(--text-muted);
  font-size: 14px; font-weight: 600;
  padding: 10px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.btn-admin-secondary:hover { background: var(--border); color: var(--text); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────── */
.pub-footer {
  background: var(--navy);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-text { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Billing success ──────────────────────────────────────── */
.success-page {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px;
}
.success-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
  max-width: 520px; width: 100%;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(34,197,94,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--green);
  margin: 0 auto 28px;
}
.success-card h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.success-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 32px; }

/* ── Privacy / Terms ──────────────────────────────────────── */
.legal-header { background: var(--navy); padding: 64px 0; }
.legal-header h1 { font-size: 36px; font-weight: 800; color: #fff; }
.legal-header p { color: rgba(255,255,255,.6); margin-top: 8px; }
.legal-body { padding: 64px 0 96px; }
.legal-content {
  max-width: 720px; margin: 0 auto;
  font-size: 15px; line-height: 1.8; color: var(--text);
}
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.legal-content h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mockup { display: none; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .support-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pub-nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .auth-card { padding: 32px 24px; }
  .cta-banner { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .auth-row { grid-template-columns: 1fr; }
  .plan-selector { grid-template-columns: 1fr; }
}

/* ── "What Users Typically Find" ─────────────────────────── */
.what-find-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.what-find-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .2s, transform .2s;
}
.what-find-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.what-find-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.what-find-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.what-find-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.what-find-amount {
  display: inline-block; margin-top: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,.1);
  padding: 3px 10px; border-radius: 100px;
}

/* ── Expanded advisor preview ─────────────────────────────── */
.advisor-preview-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.advisor-preview-card {
  background: linear-gradient(145deg, #0f2b5e 0%, #1a3d7a 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.ap-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.ap-title { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600; }
.ap-live  { background: rgba(34,197,94,.2); color: var(--green-light); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.ap-score-row {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.ap-score-ring {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--green) 0% 74%, rgba(255,255,255,.08) 74% 100%);
  display: flex; align-items: center; justify-content: center;
}
.ap-score-ring::before {
  content: ''; position: absolute;
  width: 74px; height: 74px; background: #1a3d7a; border-radius: 50%;
}
.ap-score-val { position: relative; z-index: 1; color: #fff; font-size: 26px; font-weight: 800; }
.ap-score-info strong { color: #fff; font-size: 16px; font-weight: 700; display: block; margin-bottom: 4px; }
.ap-score-info span  { color: rgba(255,255,255,.55); font-size: 13px; }
.ap-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.ap-metric {
  background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 14px 16px;
}
.ap-metric-label { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.ap-metric-val   { color: #fff; font-size: 22px; font-weight: 800; line-height: 1; }
.ap-metric-val.pos  { color: var(--green-light); }
.ap-metric-val.warn { color: #FB923C; }
.ap-opportunity {
  background: rgba(79,110,247,.15);
  border-left: 3px solid var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.55;
}
.ap-opportunity strong { color: #93AAFD; }

/* ── Mission section ──────────────────────────────────────── */
.mission-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mission-quote {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 4px solid var(--green);
}
.mission-body { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.75; }
.mission-body p + p { margin-top: 16px; }
.mission-points { display: flex; flex-direction: column; gap: 20px; }
.mission-point { display: flex; align-items: flex-start; gap: 16px; }
.mission-point-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mission-point h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.mission-point p  { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.55; }

/* ── Trust checklist ──────────────────────────────────────── */
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 32px;
  border-right: 1px solid var(--border);
}
.trust-check-item:last-child { border-right: none; }
.trust-check-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(34,197,94,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
}
.trust-check-item span { font-size: 14px; font-weight: 600; color: var(--text); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 20px; right: 24px;
  font-size: 64px; line-height: 1;
  color: var(--border);
  font-family: Georgia, serif;
}
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 15px; color: var(--text); line-height: 1.7; flex: 1;
  font-style: italic;
}
.testimonial-result {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34,197,94,.1);
  color: #15803D;
  font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 100px;
  width: fit-content;
}
.testimonial-result i { font-size: 11px; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.testimonial-name  { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-label { font-size: 12px; color: var(--text-muted); }

/* ── Responsive additions ─────────────────────────────────── */
@media (max-width: 900px) {
  .what-find-grid     { grid-template-columns: 1fr 1fr; }
  .advisor-preview-wrap { grid-template-columns: 1fr; }
  .mission-wrap       { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid   { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .trust-strip        { flex-direction: column; align-items: stretch; }
  .trust-check-item   { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 24px; }
  .trust-check-item:last-child { border-bottom: none; }
}
@media (max-width: 640px) {
  .what-find-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONVERSION OPTIMIZATION  — Phase 2
   ============================================================ */

/* ── Enhanced shadow system ───────────────────────────────── */
:root {
  --shadow-sm:  0 1px 3px rgba(11,31,77,.08), 0 1px 2px rgba(11,31,77,.04);
  --shadow-md:  0 4px 24px rgba(11,31,77,.11), 0 2px 8px rgba(11,31,77,.05);
  --shadow-lg:  0 16px 56px rgba(11,31,77,.15), 0 4px 16px rgba(11,31,77,.07);
  --shadow-xl:  0 24px 80px rgba(11,31,77,.18), 0 8px 24px rgba(11,31,77,.09);
}

/* ── Visual hierarchy: section weight ────────────────────── */
.section-primary   { padding: 112px 0; }
.section-secondary { padding: 72px 0; }

/* ── Scroll-in animations ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }
.fade-up.d4 { transition-delay: .32s; }
.fade-up.d5 { transition-delay: .40s; }
.fade-up.d6 { transition-delay: .48s; }

/* ── Hero mockup: opportunities list ─────────────────────── */
.mockup-opps {
  margin-bottom: 16px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.18);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.mockup-opps-label {
  color: var(--green-light);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  margin-bottom: 10px;
}
.mockup-opp-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85); font-size: 12px; font-weight: 500;
  padding: 4px 0;
}
.mockup-opp-item i { color: var(--green-light); font-size: 11px; flex-shrink: 0; }

/* ── Plaid trust bar (inside hero, below CTA) ─────────────── */
.hero-trust-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  margin-top: 32px;
}
.hero-trust-bar-label {
  font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.hero-trust-items {
  display: flex; flex-wrap: wrap; gap: 0;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: 12px; font-weight: 500;
  padding: 5px 16px 5px 0;
  margin-right: 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-trust-item:last-child { border-right: none; margin-right: 0; }
.hero-trust-item i { color: var(--green-light); font-size: 12px; }

/* ── "We Found These Opportunities" ──────────────────────── */
.opp-section-intro {
  text-align: center; margin-bottom: 56px;
}
.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.opp-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.opp-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  opacity: 0; transition: opacity .25s;
}
.opp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(34,197,94,.3); }
.opp-card:hover::after { opacity: 1; }
.opp-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.opp-category {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text-muted); margin-bottom: 8px;
}
.opp-amount {
  font-size: 38px; font-weight: 800; line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--green) 0%, #16A34A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.opp-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.opp-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(34,197,94,.1); color: #15803D;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.opp-tag.blue { background: rgba(79,110,247,.1); color: var(--blue); }
.opp-tag.gold { background: rgba(245,181,68,.12); color: #B45309; }
.opp-tag i { font-size: 10px; }
.opp-disclaimer {
  text-align: center;
  font-size: 12px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
}

/* ── AI Advisor Chat preview ──────────────────────────────── */
.chat-section-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.chat-preview-card {
  background: linear-gradient(145deg, #0c2356 0%, #1a3d7a 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.chat-preview-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-preview-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, #6B84F9 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
}
.chat-preview-meta strong { color: #fff; font-size: 13px; font-weight: 700; display: block; }
.chat-preview-meta span  { color: rgba(255,255,255,.45); font-size: 11px; }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); margin-left: auto; box-shadow: 0 0 0 2px rgba(74,222,128,.3); }
.chat-preview-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.chat-bubble {
  max-width: 88%; font-size: 13px; line-height: 1.6;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 11px 16px;
  font-weight: 500;
}
.chat-bubble.advisor {
  align-self: flex-start;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.88);
  border-radius: 4px 18px 18px 18px;
  padding: 14px 18px;
}
.chat-bubble.advisor strong {
  display: block; color: #93AAFD;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 6px;
}
.chat-bubble-highlight {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  background: rgba(34,197,94,.15); color: var(--green-light);
  font-size: 12px; font-weight: 700;
  padding: 5px 11px; border-radius: 100px;
}
.chat-typing {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px;
  background: rgba(255,255,255,.07);
  border-radius: 4px 18px 18px 18px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: typing-bounce .9s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-5px); opacity: 1; }
}
.chat-questions { display: flex; flex-direction: column; gap: 10px; }
.chat-q-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px; color: var(--navy); font-weight: 500;
  cursor: default;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  text-decoration: none;
}
.chat-q-pill:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,.08); transform: translateX(4px); color: var(--navy); text-decoration: none; }
.chat-q-pill i { color: var(--blue); font-size: 14px; width: 20px; flex-shrink: 0; }
.chat-q-pill .arrow { margin-left: auto; color: var(--text-muted); font-size: 12px; }

/* ── Financial Health Snapshot box ───────────────────────── */
.health-snapshot {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 28px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.health-snapshot-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.health-snapshot-title {
  font-size: 13px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 7px;
}
.health-snapshot-title i { color: var(--blue); }
.snapshot-score-wrap { display: flex; align-items: baseline; gap: 3px; }
.snapshot-score-num  { font-size: 26px; font-weight: 800; color: var(--navy); }
.snapshot-score-den  { font-size: 13px; color: var(--text-muted); }
.snapshot-score-label{ font-size: 11px; font-weight: 700; color: var(--green); background: rgba(34,197,94,.1); padding: 2px 8px; border-radius: 100px; margin-left: 8px; }
.health-snapshot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.snapshot-col h5 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin-bottom: 10px; }
.snapshot-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text); margin-bottom: 7px; font-weight: 500;
}
.snapshot-item i.good { color: var(--green); }
.snapshot-item i.warn { color: #F59E0B; }

/* ── Testimonial section header ───────────────────────────── */
.testimonial-section-header {
  text-align: center; margin-bottom: 48px;
}
.testimonial-section-header h2 { text-align: center; }
.testimonial-subheader {
  font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 12px auto 0;
  line-height: 1.65;
}

/* ── Mobile sticky CTA ────────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(11,31,77,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 200;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-sticky-cta .btn-hero-primary { width: 100%; justify-content: center; }

/* ── Footer legal disclaimer row ──────────────────────────── */
.footer-legal-row {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.7;
  text-align: center;
  max-width: 720px; margin: 16px auto 0;
}

/* ── Responsive: new components ───────────────────────────── */
@media (max-width: 900px) {
  .opp-grid          { grid-template-columns: 1fr 1fr; }
  .chat-section-wrap { grid-template-columns: 1fr; }
  .section-primary   { padding: 80px 0; }
  .section-secondary { padding: 64px 0; }
}
@media (max-width: 640px) {
  .mobile-sticky-cta { display: block; }
  .opp-grid          { grid-template-columns: 1fr; }
  .hero-trust-items  { flex-direction: column; }
  .hero-trust-item   { border-right: none; padding: 4px 0; margin-right: 0; }
  .health-snapshot-cols { grid-template-columns: 1fr; }
  .chat-section-wrap { gap: 32px; }
  /* bottom padding so sticky CTA doesn't cover content */
  body.public-page { padding-bottom: 70px; }
}

/* ============================================================
   PRODUCTION POLISH  — Phase 3: Mobile Nav + Split Auth
   ============================================================ */

/* ── Mobile Navigation Hamburger ──────────────────────────── */
.pub-nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  transition: background .15s;
  align-items: center;
  justify-content: center;
}
.pub-nav-hamburger:hover { background: var(--border-light); }

.pub-mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,31,77,.55);
  z-index: 149;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.pub-mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.pub-mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: #fff;
  z-index: 150;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 48px rgba(11,31,77,.18);
}
.pub-mobile-nav.open { transform: translateX(0); }

.pub-mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pub-mobile-nav-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 18px;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.pub-mobile-nav-close:hover { background: var(--border-light); color: var(--navy); }

.pub-mobile-nav-links {
  list-style: none;
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.pub-mobile-nav-links li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.pub-mobile-nav-links li a:hover { background: var(--border-light); color: var(--navy); text-decoration: none; }
.pub-mobile-nav-links li a i { width: 18px; text-align: center; color: var(--blue); font-size: 14px; }

.pub-mobile-nav-footer {
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.pub-mobile-nav-footer .btn-ghost {
  justify-content: center; display: flex;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
}
.pub-mobile-nav-footer .btn-primary-sm {
  justify-content: center; display: flex;
  padding: 13px 20px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .pub-nav-hamburger { display: flex; }
  .pub-nav-actions { display: none; }
}

/* ── Split Auth Layout ─────────────────────────────────────── */
.auth-split {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-split-panel {
  background: linear-gradient(150deg, var(--navy) 0%, #1b3a7a 55%, #0f2b5e 100%);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-split-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(79,110,247,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(34,197,94,.12) 0%, transparent 60%);
  pointer-events: none;
}
.auth-split-panel-inner {
  position: relative; z-index: 1;
  max-width: 440px;
}

.auth-panel-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 48px;
}
.auth-panel-logo:hover { text-decoration: none; }
.auth-panel-logo-text { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.auth-panel-logo-text span { color: var(--green-light); }

.auth-panel-headline {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800; color: #fff;
  line-height: 1.22; margin-bottom: 14px;
  letter-spacing: -.3px;
}
.auth-panel-sub {
  font-size: 15px; color: rgba(255,255,255,.7);
  line-height: 1.65; margin-bottom: 36px;
}

.auth-panel-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.auth-panel-feature  { display: flex; align-items: flex-start; gap: 14px; }
.auth-panel-feature-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  background: rgba(255,255,255,.1);
}
.auth-panel-feature h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.auth-panel-feature p  { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; }

.auth-panel-trust {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.auth-panel-trust-badge {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); font-size: 11px; font-weight: 500;
}
.auth-panel-trust-badge i { color: var(--green-light); font-size: 10px; }

/* Form side */
.auth-split-form {
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
}
.auth-split-form-inner { width: 100%; max-width: 420px; }
.auth-split-form-logo  { display: flex; justify-content: center; margin-bottom: 32px; }
.auth-split-form h1    { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-split-form .auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* Remember-me row */
.auth-remember-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.auth-remember-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
}
.auth-remember-label input[type="checkbox"] { accent-color: var(--blue); }

/* Password visibility toggle */
.auth-field-wrap { position: relative; }
.auth-field-wrap input { padding-right: 44px; width: 100%; }
.auth-field-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 14px; padding: 4px;
  transition: color .15s;
  display: flex; align-items: center;
  line-height: 1;
}
.auth-field-toggle:hover { color: var(--navy); }

/* Security note bar */
.auth-security-note {
  margin-top: 16px; padding: 13px 16px;
  background: rgba(34,197,94,.06);
  border: 1px solid rgba(34,197,94,.18);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
}
.auth-security-note i    { color: var(--green); font-size: 15px; flex-shrink: 0; }
.auth-security-note span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Homepage FAQ section */
.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .home-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split-panel { display: none; }
  .auth-split-form  { padding: 40px 28px; min-height: calc(100vh - 64px); }
}
@media (max-width: 480px) {
  .auth-split-form  { padding: 28px 20px; }
}

/* ================================================================
   ADMIN  — AI Config + Integrations Pages
   ================================================================ */

/* Status banner */
.admin-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.4;
}

.admin-status-banner i:first-child { font-size: 20px; flex-shrink: 0; }

.admin-status-banner > div {
  flex: 1;
  min-width: 0;
}

.admin-status-banner strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.admin-status-banner span { color: var(--text-muted); }

.banner-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.banner-success i:first-child { color: #16a34a; }
.banner-success span { color: #4b7c5e; }

.banner-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.banner-info i:first-child { color: #2563eb; }
.banner-info span { color: #3b5998; }

.banner-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.banner-warning i:first-child { color: #d97706; }
.banner-warning span { color: #7c6020; }

/* Test button */
.btn-admin-test {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font);
  transition: background 0.13s, border-color 0.13s;
}

.btn-admin-test:hover {
  background: var(--border-light);
  border-color: var(--border);
}

/* Form field groups */
.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-field-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.admin-field-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 4px;
  line-height: 1.4;
}

.admin-field-input {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  transition: border-color 0.13s, box-shadow 0.13s;
  outline: none;
}

.admin-field-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.12);
}

/* Provider selection grid */
.admin-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.provider-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: border-color 0.13s, background 0.13s, color 0.13s;
  user-select: none;
}

.provider-pill:hover {
  border-color: var(--blue);
  color: var(--navy);
}

.provider-pill.selected {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.12);
}

/* Toggle switch */
.admin-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.admin-toggle input[type="checkbox"] {
  display: none;
}

.admin-toggle-track {
  width: 40px;
  height: 22px;
  background: var(--border);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.admin-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.admin-toggle input:checked + .admin-toggle-track {
  background: var(--blue);
}

.admin-toggle input:checked + .admin-toggle-track::after {
  transform: translateX(18px);
}

.admin-toggle-label {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 500;
}

/* Table cells */
.admin-td-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
  padding: 14px 20px;
  width: 180px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

/* Credential display */
.admin-credential-display {
  font-family: monospace;
  font-size: 13.5px;
  color: var(--navy);
  margin-right: 8px;
}

/* Status badges */
.admin-badge-set {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge-missing {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* text-body alias for admin pages */
.text-body { color: var(--text); }

/* ================================================================
   DESIGN SYSTEM v3  — Premium Polish
   ================================================================ */

/* ── Additional icon color ────────────────────────────────────── */
.icon-red { background: rgba(239,68,68,.1); color: #EF4444; }

/* ── Pill / badge (generic inline chip) ───────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 100px;
}

/* ── Page hero (shared inner-page header) ─────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, #1b3a7a 55%, #0f2b5e 100%);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at 80% 40%, rgba(79,110,247,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero.centered { text-align: center; }
.page-hero.centered .section-label { justify-content: center; }

/* Navigation anchor pills inside page hero */
.page-nav-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.page-nav-pill {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 7px 16px; border-radius: 100px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.page-nav-pill:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
}

/* Page hero trust chips row */
.page-hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.page-hero-chips.centered { justify-content: center; }
.page-hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 100px;
}
.page-hero-chip i { color: var(--green-light); font-size: 11px; }

/* ── Social proof strip (directly below hero) ─────────────────── */
.social-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.social-strip-inner {
  display: flex; align-items: stretch;
  justify-content: center;
}
.social-strip-item {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.social-strip-item:last-child { border-right: none; }
.social-strip-item i { color: var(--green); font-size: 14px; flex-shrink: 0; }

/* ── Comparison table (Traditional vs Find-Money) ─────────────── */
.comparison-wrap { max-width: 820px; margin: 0 auto; }
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}
.comparison-col {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--card);
}
.comparison-col.is-primary {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79,110,247,.08), var(--shadow-md);
}
.comparison-col-header {
  padding: 18px 24px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
}
.comparison-col-header.neutral-header {
  background: var(--border-light);
  color: var(--text-muted);
}
.comparison-col-header.primary-header {
  background: var(--blue);
  color: #fff;
}
.comparison-row {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px; color: var(--text);
  line-height: 1.4;
}
.comparison-col.is-primary .comparison-row { color: var(--navy); font-weight: 600; }
.ci-check { color: var(--green);  font-size: 15px; flex-shrink: 0; }
.ci-cross { color: #D1D5DB;       font-size: 15px; flex-shrink: 0; }

/* ── Feature split  — 2-col content/mockup section ────────────── */
.feat-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── Feature chat mockup card ─────────────────────────────────── */
.feat-chat-card {
  background: linear-gradient(145deg, #0c2356 0%, #1a3d7a 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}
.feat-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}
.feat-chat-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #93AAFD);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
}
.feat-chat-name { font-size: 13px; font-weight: 700; color: #fff; display: block; }
.feat-chat-sub  { font-size: 11px; color: rgba(255,255,255,.4); }
.feat-chat-online { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); margin-left: auto; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.feat-chat-messages { display: flex; flex-direction: column; gap: 14px; }
.feat-chat-user {
  align-self: flex-end;
  background: var(--blue); color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 11px 16px; font-size: 13px; font-weight: 500;
  max-width: 85%; line-height: 1.6;
}
.feat-chat-ai {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px 18px 18px 18px;
  padding: 16px 18px; font-size: 13px;
  color: rgba(255,255,255,.88); line-height: 1.65;
  max-width: 92%;
}
.feat-chat-ai-label {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: #93AAFD; margin-bottom: 8px;
}
.feat-chat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.15); color: var(--green-light);
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 100px;
  margin-top: 12px;
}

/* ── Check list (feature bullet points) ──────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.check-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* ── Question pill list ───────────────────────────────────────── */
.question-list-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .7px; color: var(--text-muted); margin-bottom: 12px;
}
.question-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.question-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--border-light);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px; color: var(--text); font-weight: 500;
}
.question-pill i { color: var(--blue); font-size: 12px; flex-shrink: 0; }

/* ── Outcome stats (data-backed social proof) ─────────────────── */
.outcome-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.outcome-stat {
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  transition: background .2s;
}
.outcome-stat:hover { background: rgba(255,255,255,.09); }
.outcome-stat-value {
  font-size: 44px; font-weight: 800;
  color: var(--green-light);
  line-height: 1; margin-bottom: 10px;
  letter-spacing: -.04em;
}
.outcome-stat-label {
  font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.outcome-stat-sub {
  font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.55;
}
.outcome-disclaimer {
  text-align: center;
  font-size: 12px; color: rgba(255,255,255,.35);
  max-width: 600px; margin: 0 auto;
  line-height: 1.6;
}

/* ── Hero tagline (trial terms line below CTAs) ───────────────── */
.hero-tagline {
  margin-top: 14px;
  font-size: 13px; color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ── Section intro centering modifier ────────────────────────── */
.section-intro.centered { text-align: center; }
.section-intro.centered .section-label { justify-content: center; }
.section-intro.centered .section-head  { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro.centered .section-sub   { margin: 12px auto 0; text-align: center; }

/* ── Responsive: design system v3 ────────────────────────────── */
@media (max-width: 1024px) {
  .outcome-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .social-strip-inner { flex-wrap: wrap; }
  .social-strip-item  { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .social-strip-item:nth-child(even) { border-right: none; }
  .social-strip-item:last-child      { border-bottom: none; }
  .comparison-grid    { grid-template-columns: 1fr; gap: 16px; }
  .feat-split         { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .social-strip-item  { flex: 0 0 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .social-strip-item:last-child { border-bottom: none; }
  .outcome-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .outcome-stat-value { font-size: 36px; }
  .outcome-stat       { padding: 24px 16px; }
}

/* ================================================================
   PREMIUM DESIGN SYSTEM  — Phase 5: Enterprise Fintech Polish
   ================================================================ */

/* ── Refined shadow tokens ────────────────────────────────────── */
:root {
  --shadow-sm:  0 1px 3px rgba(11,31,77,.06), 0 1px 2px rgba(11,31,77,.04);
  --shadow-md:  0 4px 16px rgba(11,31,77,.1),  0 2px 6px rgba(11,31,77,.05);
  --shadow-lg:  0 12px 48px rgba(11,31,77,.14), 0 4px 14px rgba(11,31,77,.07), 0 1px 3px rgba(11,31,77,.04);
  --shadow-xl:  0 24px 80px rgba(11,31,77,.18), 0 8px 24px rgba(11,31,77,.09), 0 2px 6px rgba(11,31,77,.04);
  --shadow-blue:  0 4px 20px rgba(79,110,247,.28);
  --shadow-green: 0 4px 20px rgba(34,197,94,.28);
}

/* ── Nav: scroll-aware polish ─────────────────────────────────── */
.pub-nav {
  transition: box-shadow .25s, background .25s, border-bottom-color .25s;
}
.pub-nav.is-scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 1px 0 rgba(11,31,77,.08), 0 4px 20px rgba(11,31,77,.06);
}
.pub-logo-mark {
  background: linear-gradient(135deg, #5B7BF9 0%, #1a3266 100%);
  box-shadow: 0 2px 10px rgba(79,110,247,.28);
  transition: box-shadow .2s, transform .2s;
}
.pub-logo:hover .pub-logo-mark {
  box-shadow: 0 4px 20px rgba(79,110,247,.45);
  transform: scale(1.06) rotate(-4deg);
}
.pub-nav-links a { position: relative; font-size: 14.5px; }
.pub-nav-links a.active {
  color: var(--navy);
  background: transparent;
  font-weight: 600;
}
.pub-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 12px; right: 12px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── Buttons: gradient + layered shadows + shimmer ───────────── */
.btn-primary-sm {
  background: linear-gradient(135deg, #5B7BF9 0%, var(--blue) 100%);
  box-shadow: 0 2px 10px rgba(79,110,247,.28), 0 1px 2px rgba(79,110,247,.12);
  position: relative; overflow: hidden;
}
.btn-primary-sm::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-15deg);
  transition: left .5s;
  pointer-events: none;
}
.btn-primary-sm:hover::before { left: 150%; }
.btn-primary-sm:hover {
  background: linear-gradient(135deg, #6B84F9 0%, #5B7BF9 100%);
  box-shadow: 0 4px 18px rgba(79,110,247,.4), 0 2px 4px rgba(79,110,247,.15);
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--green) 0%, #16A34A 100%);
  box-shadow: 0 4px 20px rgba(34,197,94,.4), 0 2px 8px rgba(34,197,94,.18);
  position: relative; overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 55%);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.btn-hero-primary:hover::after  { opacity: 1; }
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  box-shadow: 0 8px 32px rgba(34,197,94,.5), 0 4px 12px rgba(34,197,94,.22);
  transform: translateY(-2px);
  color: #fff;
}
.btn-hero-primary:active { transform: translateY(0); transition-duration: .06s; }

.btn-hero-secondary { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-hero-secondary:hover { transform: translateY(-1px); }

.btn-auth {
  background: linear-gradient(135deg, #5B7BF9 0%, #3B58E5 100%);
  box-shadow: 0 4px 16px rgba(79,110,247,.3), 0 2px 4px rgba(79,110,247,.1);
  transition: all .2s;
}
.btn-auth:hover {
  background: linear-gradient(135deg, #6B84F9 0%, #4F6EF7 100%);
  box-shadow: 0 8px 28px rgba(79,110,247,.42), 0 4px 8px rgba(79,110,247,.15);
  transform: translateY(-2px);
  color: #fff;
}

.btn-pricing {
  background: linear-gradient(135deg, #4F6EF7 0%, #3B58E5 100%);
  box-shadow: 0 4px 16px rgba(79,110,247,.3), 0 2px 4px rgba(79,110,247,.1);
  position: relative; overflow: hidden;
}
.btn-pricing::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.btn-pricing:hover::after  { opacity: 1; }
.btn-pricing:hover {
  background: linear-gradient(135deg, #6B84F9 0%, #4F6EF7 100%);
  box-shadow: 0 8px 28px rgba(79,110,247,.42), 0 4px 8px rgba(79,110,247,.15);
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(135deg, #4F6EF7 0%, #3B58E5 100%);
  box-shadow: 0 4px 14px rgba(79,110,247,.28);
  transition: all .2s;
}
.btn-submit:hover {
  background: linear-gradient(135deg, #6B84F9 0%, #4F6EF7 100%);
  box-shadow: 0 8px 24px rgba(79,110,247,.4);
  transform: translateY(-2px);
}

/* ── Hero: stronger gradient + bigger headline ───────────────── */
.hero {
  padding: 108px 0 96px;
  background: linear-gradient(150deg, #07172d 0%, #0e2252 45%, #1a3570 70%, #0f2b5e 100%);
}
.hero::before {
  background:
    radial-gradient(ellipse 65% 55% at 72% 45%, rgba(79,110,247,.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 18% 85%, rgba(34,197,94,.14) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 50% 8%,  rgba(139,92,246,.08) 0%, transparent 70%);
}
.hero h1 {
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -.05em;
  line-height: 1.07;
}

/* ── Hero floating insight cards ─────────────────────────────── */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: 0 8px 32px rgba(11,31,77,.22), 0 2px 8px rgba(11,31,77,.1);
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: float-card 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.hero-float-card.fc-top    { top: -18px; right: -12px; animation-delay: .5s; }
.hero-float-card.fc-bottom { bottom: 16px; left: -18px; animation-delay: 2s; }
.hero-float-card-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.hero-float-card-icon.green { background: rgba(34,197,94,.14); color: var(--green); }
.hero-float-card-icon.blue  { background: rgba(79,110,247,.14); color: var(--blue); }
.hero-float-card-label { font-size: 10px; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }
.hero-float-card-value { font-size: 13px; font-weight: 800; color: var(--navy); }
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

/* Pulsing "Live" badge */
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50%       { opacity: .55; }
}
.mockup-badge { animation: pulse-live 2.4s ease-in-out infinite; }
.ap-live      { animation: pulse-live 2.4s ease-in-out infinite; }

/* ── Section backgrounds: improved rhythm ────────────────────── */
.section-alt           { background: #FAFBFF; }
#what-users-find       { background: #F8FAFC; }
#health-preview        { background: #F5F8FF; }
#testimonials          { background: #EEF3FF; }
.testimonial-card      { background: #fff; }

/* ── Feature cards: accent top border ───────────────────────── */
.feature-card {
  border-top: 3px solid transparent;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.features-grid .feature-card:nth-child(3n+1) { border-top-color: var(--blue); }
.features-grid .feature-card:nth-child(3n+2) { border-top-color: var(--green); }
.features-grid .feature-card:nth-child(3n+3) { border-top-color: var(--gold); }

/* ── Opportunity card: annual savings hint ───────────────────── */
.opp-amount-annual {
  font-size: 12.5px; font-weight: 600;
  color: var(--text-muted);
  margin-top: -2px; margin-bottom: 12px;
}

/* ── Testimonials: verified badge ────────────────────────────── */
.testimonial-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  color: #0284C7;
  background: rgba(2,132,199,.09);
  border: 1px solid rgba(2,132,199,.2);
  padding: 2px 7px; border-radius: 100px;
  margin-left: 6px; vertical-align: middle;
}
.testimonial-verified i { font-size: 9px; }

.testimonial-card {
  box-shadow: 0 1px 4px rgba(11,31,77,.06), 0 1px 2px rgba(11,31,77,.03);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(79,110,247,.15);
}
.testimonial-card::before { color: rgba(79,110,247,.12); font-size: 72px; }

/* ── Pricing: yearly card visually dominant ──────────────────── */
.pricing-grid { align-items: start; }
.pricing-card.highlighted {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79,110,247,.1), var(--shadow-xl);
  transform: scale(1.03);
  position: relative; z-index: 1;
}
.pricing-badge {
  background: linear-gradient(135deg, #3B58E5 0%, #5B7BF9 100%);
  box-shadow: 0 4px 14px rgba(79,110,247,.35);
  padding: 6px 18px; font-size: 12px;
}

/* ── FAQ: richer open state ──────────────────────────────────── */
details.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(79,110,247,.2);
}
details.faq-item[open] summary {
  color: var(--blue);
  background: rgba(79,110,247,.03);
}
details.faq-item[open] summary::after { color: var(--blue); }

/* ── CTA banner: animated gradient ──────────────────────────── */
.cta-banner {
  background: linear-gradient(125deg, #1e3a8a 0%, #2563eb 40%, #1e40af 70%, #1e3a8a 100%);
  background-size: 250% 100%;
  animation: banner-gradient 10s ease infinite;
}
@keyframes banner-gradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ── Step connectors ──────────────────────────────────────────── */
.steps { position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.67% + 30px);
  right: calc(16.67% + 30px);
  height: 2px;
  background: linear-gradient(90deg, rgba(79,110,247,.25) 0%, rgba(34,197,94,.25) 100%);
}
.step-num {
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(79,110,247,.3);
  transition: transform .2s, box-shadow .2s;
}
.step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(79,110,247,.42);
}

/* ── Footer: more breathing room ─────────────────────────────── */
.pub-footer { padding: 80px 0 40px; }
.footer-grid { gap: 56px; margin-bottom: 64px; }
.footer-col h4 { margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-bottom { padding-top: 32px; }

/* ── Trust strip icons: glow halo ────────────────────────────── */
.trust-check-icon { box-shadow: 0 0 0 4px rgba(34,197,94,.06); }

/* ── Icon backgrounds: subtle gradient depth ─────────────────── */
.icon-blue   { background: linear-gradient(135deg, rgba(79,110,247,.12), rgba(79,110,247,.06)); }
.icon-green  { background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(34,197,94,.06)); }
.icon-gold   { background: linear-gradient(135deg, rgba(245,181,68,.12), rgba(245,181,68,.06)); }
.icon-navy   { background: linear-gradient(135deg, rgba(11,31,77,.1), rgba(11,31,77,.05)); }
.icon-teal   { background: linear-gradient(135deg, rgba(20,184,166,.12), rgba(20,184,166,.06)); }
.icon-purple { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(139,92,246,.06)); }

/* ── Blog card depth ─────────────────────────────────────────── */
.blog-card {
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ── Social strip items ──────────────────────────────────────── */
.social-strip-item { font-size: 13.5px; padding: 18px 28px; }

/* ── Focus rings ─────────────────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── Scrollbar polish ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* ── MFA step indicator ───────────────────────────────────────── */
.mfa-steps {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px; gap: 0;
}
.mfa-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.mfa-step-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--border-light); color: var(--text-muted);
}
.mfa-step.done .mfa-step-dot  { background: rgba(34,197,94,.15); color: var(--green); }
.mfa-step.active .mfa-step-dot {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 4px rgba(79,110,247,.18);
}
.mfa-step-label { font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.mfa-step.active .mfa-step-label { color: var(--navy); }
.mfa-step.done .mfa-step-label  { color: #15803D; }
.mfa-step-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, rgba(34,197,94,.5), rgba(79,110,247,.3));
  margin: 0 14px; margin-bottom: 18px; min-width: 48px;
}

/* ── Animated security shield ─────────────────────────────────── */
.mfa-shield-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(79,110,247,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: shield-pulse 2.6s ease-in-out infinite;
}
.mfa-shield-wrap i { font-size: 30px; color: var(--blue); }
@keyframes shield-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,110,247,.22); }
  50%       { box-shadow: 0 0 0 14px rgba(79,110,247,0); }
}

/* ── Auth panel live security badge ──────────────────────────── */
.auth-panel-live-badge {
  display: flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 12px 16px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 10px;
  font-size: 12px; color: rgba(255,255,255,.75);
}
.auth-panel-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-light); flex-shrink: 0;
  animation: pulse-live 2s ease-in-out infinite;
}

/* ── Register plan selector: featured plan styling ───────────── */
.plan-option-featured { position: relative; }
.plan-option-featured label {
  border-color: var(--blue);
  background: rgba(79,110,247,.04);
}
.plan-option-featured input:checked + label {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,110,247,.15);
}
.plan-featured-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #3B58E5 0%, #5B7BF9 100%);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(79,110,247,.3); z-index: 1;
}

/* ── Responsive overrides ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-float-card           { display: none; }
  .pricing-card.highlighted  { transform: scale(1); }
  .steps::before             { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: clamp(26px, 7.5vw, 36px); letter-spacing: -.04em; }
  .pub-footer { padding: 60px 0 32px; }
  .footer-grid { gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════
   BLOG / RESOURCES — Premium Publication Layout
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reading progress bar ────────────────────────────────────────── */
.art-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue) 0%, #7C9BFB 100%);
  z-index: 9999; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(79,110,247,.5);
}

/* ── Article header ──────────────────────────────────────────────── */
.art-header {
  background: linear-gradient(150deg,#0B1F4D 0%,#1b3a7a 100%);
  padding: 56px 0 48px;
}
.art-header-inner { max-width: 760px; }
.art-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 20px;
}
.art-breadcrumb a {
  color: rgba(255,255,255,.55); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.art-breadcrumb a:hover { color: #fff; }
.art-breadcrumb-sep { color: rgba(255,255,255,.25); }
.art-category-badge {
  display: inline-block; margin-bottom: 14px;
  background: rgba(79,110,247,.28); color: #93AAFD;
  border: 1px solid rgba(79,110,247,.35);
  font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.art-title {
  font-size: clamp(26px,4vw,40px); font-weight: 800;
  color: #fff; line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 14px;
}
.art-subtitle {
  font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.6;
  margin: 0 0 24px;
}
.art-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.art-author { display: flex; align-items: center; gap: 10px; }
.art-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 14px; flex-shrink: 0;
}
.art-author-name { font-size: 14px; font-weight: 600; color: #fff; }
.art-author-date { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 1px; }
.art-meta-stats { display: flex; gap: 14px; }
.art-meta-stat {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.art-meta-stat i { font-size: 11px; }
.art-share-row { display: flex; gap: 6px; margin-left: auto; }
.art-share-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.art-share-btn:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Three-column layout ─────────────────────────────────────────── */
.art-layout { padding: 48px 0 80px; }
.art-columns {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 40px;
  align-items: start;
}
.art-sidebar-left, .art-sidebar-right { min-width: 0; }
.art-sidebar-sticky { position: sticky; top: 88px; }
.art-main { min-width: 0; }

/* ── Featured image ──────────────────────────────────────────────── */
.art-featured-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); margin-bottom: 40px;
  max-height: 380px;
}
.art-featured-img {
  width: 100%; height: 380px; object-fit: cover; display: block;
}

/* ── Sidebar sections ────────────────────────────────────────────── */
.art-sidebar-section {
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.art-sidebar-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.art-sidebar-label {
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.art-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.art-sidebar-nav-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--navy); text-decoration: none; transition: background .15s, color .15s;
}
.art-sidebar-nav-item i { font-size: 12px; color: var(--text-muted); flex-shrink: 0; width: 14px; text-align: center; }
.art-sidebar-nav-item:hover { background: var(--bg); color: var(--blue); }
.art-sidebar-nav-item:hover i { color: var(--blue); }
.art-sidebar-nav-cta {
  margin-top: 4px;
  background: linear-gradient(135deg, #5B7BF9 0%, var(--blue) 100%);
  color: #fff !important;
}
.art-sidebar-nav-cta i { color: rgba(255,255,255,.8) !important; }
.art-sidebar-nav-cta:hover { opacity: .9; background: linear-gradient(135deg,#5B7BF9,var(--blue)); color:#fff; }

/* Sidebar related articles */
.art-sidebar-related { display: flex; flex-direction: column; gap: 12px; }
.art-sidebar-related-item {
  text-decoration: none; display: block;
  padding: 10px 12px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border-light);
  transition: border-color .15s, box-shadow .15s;
}
.art-sidebar-related-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.art-sidebar-related-title {
  font-size: 12px; font-weight: 600; color: var(--navy);
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-sidebar-related-meta { font-size: 11px; color: var(--text-muted); }

/* Sidebar newsletter */
.art-sidebar-newsletter {
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F8FF 100%);
  border: 1px solid rgba(79,110,247,.15); border-radius: 12px;
  padding: 16px; text-align: center;
}
.art-sidebar-newsletter-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(79,110,247,.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin: 0 auto 10px;
}
.art-sidebar-newsletter-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.art-sidebar-newsletter-sub { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.art-sidebar-newsletter-btn {
  display: block; padding: 8px 14px; border-radius: 8px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: opacity .15s;
}
.art-sidebar-newsletter-btn:hover { opacity: .88; color: #fff; }

/* Reading progress in sidebar */
.art-reading-meta { }
.art-reading-label { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.art-reading-track {
  height: 6px; background: var(--border-light); border-radius: 100px; overflow: hidden; margin-bottom: 6px;
}
.art-reading-fill { height: 100%; background: linear-gradient(90deg,var(--blue),#7C9BFB); width: 0; transition: width .2s; border-radius: 100px; }
.art-reading-pct { font-size: 11px; font-weight: 700; color: var(--blue); }

/* ── Article typography ──────────────────────────────────────────── */
.article-content {
  font-size: 17px; line-height: 1.78; color: var(--text);
}
.article-content h1 { font-size: 30px; font-weight: 800; margin: 48px 0 16px; color: var(--navy); line-height: 1.2; letter-spacing: -.02em; }
.article-content h2 { font-size: 24px; font-weight: 750; margin: 44px 0 14px; color: var(--navy); line-height: 1.25; letter-spacing: -.015em; }
.article-content h3 { font-size: 19px; font-weight: 700; margin: 36px 0 10px; color: var(--navy); line-height: 1.3; }
.article-content h4 { font-size: 16px; font-weight: 700; margin: 28px 0 8px; color: var(--navy); }
.article-content p  { margin: 0 0 20px; }
.article-content a  { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.article-content a:hover { color: #3B58E5; }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 28px; }
.article-content ul { list-style: none; padding-left: 0; }
.article-content ul li { padding: 3px 0 3px 28px; position: relative; }
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
}
.article-content ol li { padding: 3px 0 3px 4px; margin-bottom: 4px; }
.article-content li + li { margin-top: 6px; }
.article-content blockquote {
  margin: 32px 0; padding: 20px 24px 20px 28px;
  border-left: 3px solid var(--blue);
  background: #F5F8FF; border-radius: 0 10px 10px 0;
  font-size: 18px; font-style: italic; color: var(--navy); line-height: 1.7;
}
.article-content blockquote p { margin: 0; }
.article-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 14px; background: #F0F4FF; color: #3B58E5;
  padding: 2px 7px; border-radius: 5px;
  border: 1px solid rgba(79,110,247,.15);
}
.article-content pre {
  background: #0F172A; border-radius: 10px; padding: 20px 24px;
  overflow-x: auto; margin: 28px 0;
  box-shadow: var(--shadow-md);
}
.article-content pre code {
  background: none; color: #94A3B8; padding: 0; border: none; font-size: 14px;
}
.article-content table {
  width: 100%; border-collapse: collapse; margin: 28px 0;
  font-size: 15px; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-content th {
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 12px 16px; text-align: left; font-size: 13px;
}
.article-content td { padding: 11px 16px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.article-content tr:last-child td { border-bottom: 0; }
.article-content tr:nth-child(even) td { background: #FAFBFF; }
.article-content img {
  max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-md); margin: 8px 0;
}
.article-content hr { border: 0; border-top: 1px solid var(--border-light); margin: 40px 0; }

/* ── Tags ────────────────────────────────────────────────────────── */
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.art-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}

/* ── End of article actions ──────────────────────────────────────── */
.art-end-actions {
  display: flex; gap: 10px; margin-top: 24px; margin-bottom: 48px;
}
.art-end-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--navy);
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.art-end-btn:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--blue); }

/* ── Related articles grid ───────────────────────────────────────── */
.art-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border-light); }
.art-related-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.art-related-see-all { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.art-related-see-all:hover { color: #3B58E5; }
.art-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.art-related-card { text-decoration: none; display: block; }
.art-related-card-img {
  height: 140px; border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center;
  margin-bottom: 12px; background-color: var(--bg);
}
.art-related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.art-related-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--border);
}
.art-related-card-cat { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.art-related-card-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.art-related-card-date { font-size: 11px; color: var(--text-muted); }
.art-related-card:hover .art-related-card-title { color: var(--blue); }

/* ── Article CTA block ───────────────────────────────────────────── */
.art-cta-block {
  margin-top: 56px; padding: 40px;
  background: linear-gradient(125deg,#1e3a8a 0%,#2563eb 60%,#1e40af 100%);
  border-radius: 16px; text-align: center;
  box-shadow: var(--shadow-xl);
}
.art-cta-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin: 0 auto 16px;
}
.art-cta-title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.art-cta-sub { font-size: 15px; color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 24px; line-height: 1.6; }

/* ── TOC ─────────────────────────────────────────────────────────── */
.art-toc-list { list-style: none; padding: 0; margin: 0; }
.art-toc-item { margin: 0; }
.art-toc-link {
  display: block; padding: 5px 8px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted); text-decoration: none; line-height: 1.4;
  transition: color .15s, background .15s; border-left: 2px solid transparent;
}
.art-toc-link:hover { color: var(--navy); background: var(--bg); }
.art-toc-link.is-active { color: var(--blue); border-left-color: var(--blue); background: rgba(79,110,247,.06); font-weight: 600; }
.art-toc-h3 .art-toc-link { padding-left: 18px; font-size: 12px; }

/* Mobile TOC FAB */
.art-toc-fab {
  display: none; position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 16px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(79,110,247,.45);
  align-items: center; justify-content: center;
}
.art-toc-sheet {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 20px 24px 36px; max-height: 60vh; overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(11,31,77,.18);
  transform: translateY(100%); transition: transform .3s ease;
}
.art-toc-sheet.is-open { transform: translateY(0); }
.art-toc-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 16px;
}
.art-toc-sheet-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.art-toc-overlay {
  display: none; position: fixed; inset: 0; z-index: 850;
  background: rgba(0,0,0,.4); opacity: 0; transition: opacity .3s;
}
.art-toc-overlay.is-open { opacity: 1; }

/* ══════════════════════════════════════════════════════════════════
   BLOG LISTING — Premium editorial layout
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(150deg,#0B1F4D 0%,#1b3a7a 100%);
  padding: 72px 0 64px;
}
.blog-search-wrap {
  position: relative; max-width: 560px; margin-top: 32px;
}
.blog-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.4); font-size: 14px; pointer-events: none;
}
.blog-search {
  width: 100%; padding: 14px 44px 14px 44px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; color: #fff; font-size: 15px; font-family: var(--font);
  outline: none; transition: background .2s, border-color .2s;
}
.blog-search::placeholder { color: rgba(255,255,255,.4); }
.blog-search:focus { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.blog-search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.5); font-size: 14px;
  cursor: pointer; padding: 4px;
}

/* ── Featured article card ───────────────────────────────────────── */
.blog-featured-section { padding: 48px 0 0; }
.blog-featured-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); text-decoration: none;
  border: 1px solid var(--border-light); transition: box-shadow .2s, transform .2s;
}
.blog-featured-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.blog-featured-img-wrap { position: relative; overflow: hidden; }
.blog-featured-img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .4s; }
.blog-featured-card:hover .blog-featured-img { transform: scale(1.03); }
.blog-featured-label {
  position: absolute; top: 16px; left: 16px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.blog-featured-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-title {
  font-size: 24px; font-weight: 800; color: var(--navy);
  line-height: 1.25; margin: 8px 0 14px; letter-spacing: -.02em;
}
.blog-featured-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

/* ── Filter bar ──────────────────────────────────────────────────── */
.blog-filter-section { padding: 32px 0 0; }
.blog-filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.blog-filter-chips {
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.blog-filter-chips::-webkit-scrollbar { display: none; }
.blog-chip {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 100px;
  background: var(--border-light); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; white-space: nowrap; transition: all .15s;
}
.blog-chip:hover { background: var(--bg); color: var(--navy); border-color: var(--navy); }
.blog-chip.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.blog-sort-wrap {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.blog-sort {
  font-size: 13px; font-weight: 600; color: var(--navy);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; background: #fff; font-family: var(--font);
  cursor: pointer; outline: none;
}

/* ── Category groups ─────────────────────────────────────────────── */
.blog-cat-group { margin-bottom: 52px; }
.blog-cat-group-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.blog-cat-group-title {
  font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin: 0;
}
.blog-cat-see-all { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.blog-cat-see-all:hover { color: #3B58E5; }

/* ── Editorial card grid ─────────────────────────────────────────── */
.blog-editorial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-editorial-card {
  display: flex; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 12px; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.blog-editorial-card:hover { border-color: rgba(79,110,247,.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-editorial-img {
  flex-shrink: 0; width: 80px; height: 80px; border-radius: 8px;
  overflow: hidden; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 22px;
}
.blog-editorial-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-editorial-body { min-width: 0; flex: 1; }
.blog-editorial-title {
  font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-editorial-excerpt {
  font-size: 12px; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px;
}
.blog-editorial-card:hover .blog-editorial-title { color: var(--blue); }

/* ── Shared card meta ────────────────────────────────────────────── */
.blog-card-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.blog-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted);
}
.blog-card-meta i { margin-right: 3px; font-size: 11px; }
.blog-card-read-more {
  margin-left: auto; font-size: 13px; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px;
}

/* ── No results ──────────────────────────────────────────────────── */
.blog-no-results {
  text-align: center; padding: 80px 24px; color: var(--text-muted);
}
.blog-no-results i { font-size: 40px; opacity: .3; display: block; margin-bottom: 16px; }
.blog-no-results p { font-size: 16px; margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .art-columns { grid-template-columns: 200px 1fr 200px; gap: 28px; }
}
@media (max-width: 900px) {
  .art-columns { grid-template-columns: 1fr; }
  .art-sidebar-left  { display: none; }
  .art-sidebar-right { display: none; }
  .art-toc-fab { display: flex; }
  .art-toc-sheet, .art-toc-overlay { display: block; }
  .art-related-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-img { height: 220px; }
  .blog-featured-body { padding: 24px; }
  .blog-editorial-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .art-layout { padding: 32px 0 60px; }
  .art-header { padding: 40px 0 36px; }
  .art-title { font-size: 24px; }
  .art-meta-row { gap: 12px; }
  .art-share-row { margin-left: 0; }
  .art-cta-block { padding: 28px 24px; }
  .art-related-grid { grid-template-columns: 1fr; }
  .blog-editorial-grid { grid-template-columns: 1fr; }
  .blog-editorial-card { flex-direction: column; }
  .blog-editorial-img { width: 100%; height: 140px; }
  .blog-filter-bar { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   BRAND IDENTITY — Logo image + tagline system
   ═══════════════════════════════════════════════════════════════════ */

/* Logo image replaces the sparkles icon mark */
.pub-logo-img {
  width: 80px;
  height: 80px;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  transition: transform .2s;
}
.pub-logo:hover .pub-logo-img { transform: scale(1.07); }

/* Info column: brand name + tagline stacked */
.pub-logo-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

/* Tagline under the brand name */
.pub-logo-tagline {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

/* Sidebar logo in app shell */
.sidebar-logo-img {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  transition: transform .2s;
}
.brand:hover .sidebar-logo-img { transform: scale(1.07); }

/* Mobile topbar logo */
.mob-brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
}

/* Auth panel logo (dark background) – tagline colour override */
.auth-panel-logo .pub-logo-tagline { color: rgba(255,255,255,.4); }

/* Admin sidebar logo */
.admin-brand-img {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
}
