/* ============================================================
   DESIGN TOKENS — Ramos (white/editorial) + Nopan (dark/fintech)
   ============================================================ */
:root {
  --black: #0a0b10;
  --black-2: #111318;
  --black-3: #1a1c24;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --orange: #ff4d00;
  --orange-light: #ff6a2a;
  --yellow: #ffd000;
  --blue: #1a6fff;
  --blue-glow: rgba(26, 111, 255, 0.18);
  --blue-light: #5b9bff;
  --text-black: #0a0b10;
  --text-body: #3d3d3d;
  --text-dim: #888888;
  --text-white: #f0f2f5;
  --text-dim-dark: #6b7280;
  --border-light: #e8e8e8;
  --border-dark: #1f2130;
  --red-alert: #ef4444;
  --green-pos: #22c55e;
  --amber-warn: #f59e0b;
  --r-card: 20px;
  --r-input: 12px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06), 0 8px 40px rgba(0, 0, 0, 0.07);
  --shadow-dark: 0 0 0 1px #1f2130, 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
  background: var(--white);
  color: var(--text-black);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select,
button {
  font-family: inherit;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero elements are visible by default — JS marks them visible immediately */
.hero .anim-in {
  transition-delay: 0s;
}
/* legacy fade-up support */
.fade-up {
  animation: fadeUp 0.42s ease both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   BUTTONS — pill shaped
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg {
  padding: 14px 30px;
  font-size: 15px;
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 15px;
  border-radius: var(--r-card);
  margin-top: 4px;
}

/* Orange — Tax Advisor (btn-lime remapped to orange) */
.btn-lime,
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-lime:hover,
.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 77, 0, 0.35);
}

/* Blue — Loan Advisor (btn-purple remapped to blue) */
.btn-purple,
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-purple:hover,
.btn-blue:hover {
  background: #1460e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26, 111, 255, 0.35);
}

/* Ghost dark (nav) */
.btn-ghost-dark {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost-dark:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Outline light (hero secondary) */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Outline default */
.btn-outline {
  background: transparent;
  color: var(--text-black);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: #aaa;
}

/* Outline on dark backgrounds */
.dark-section .btn-outline,
.section-dark .btn-outline {
  color: rgba(255, 255, 255, 0.6);
  border-color: var(--border-dark);
}
.dark-section .btn-outline:hover,
.section-dark .btn-outline:hover {
  color: #fff;
  border-color: #4b5563;
}

/* ============================================================
   NAV — Nopan style: dark, sticky, blurred
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--border-dark);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 21px;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 96px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-ctas {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   HERO — Nopan dark + Ramos split layout
   ============================================================ */
.hero {
  background: var(--black);
  padding: 44px 0 40px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 77, 0, 0.06) 0%,
    transparent 65%
  );
  top: -200px;
  left: -200px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.08) 0%,
    transparent 65%
  );
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 77, 0, 0.3);
  background: rgba(255, 77, 0, 0.08);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange-light);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title-accent {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.05rem;
  color: #8b9cb5;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}
.hstat {
  display: flex;
  flex-direction: column;
}
.hstat-n {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.hstat-l {
  font-size: 11px;
  color: #4b5563;
  font-weight: 500;
  margin-top: 1px;
}
.hstat-sep {
  width: 1px;
  height: 28px;
  background: var(--border-dark);
}

/* --- Hero right: social proof stat panel --- */
.hero-right {
  display: flex;
  align-items: center;
  padding-left: 48px;
  border-left: 1px solid var(--border-dark);
}

.hero-stat-panel {
  width: 100%;
}

.hero .stat-label-small {
  color: var(--text-dim-dark);
}

.hero .stat-heading {
  color: var(--text-white);
  margin-top: 16px;
  line-height: 1.25;
}

.hero .stat-body {
  color: var(--text-dim-dark);
  max-width: 420px;
}

.hero-mockup {
  position: relative;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.6));
}

.mockup-card-main {
  background: #fff;
  border-radius: var(--r-card);
  border-top: 4px solid var(--orange);
  padding: 24px 26px;
  width: 340px;
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
}
.mockup-card-secondary {
  background: var(--black-2);
  border: 1.5px solid var(--blue);
  border-top: 4px solid var(--blue-light);
  border-radius: var(--r-card);
  padding: 22px 26px;
  width: 275px;
  position: absolute;
  top: -44px;
  right: -48px;
  z-index: 3;
  transform: rotate(2deg);
  box-shadow:
    0 0 0 1px rgba(26, 111, 255, 0.45),
    0 0 48px rgba(26, 111, 255, 0.55),
    0 0 100px rgba(26, 111, 255, 0.2),
    0 20px 60px rgba(0, 0, 0, 0.75);
}
.mockup-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-tag-badge {
  background: rgba(255, 77, 0, 0.12);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.mockup-before {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.mockup-before s {
  color: var(--red-alert);
  text-decoration-color: var(--red-alert);
}
.mockup-big-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-black);
  letter-spacing: -0.045em;
  margin-bottom: 2px;
  line-height: 1;
}
.mockup-big-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.mockup-rows {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}
.mockup-row span:last-child {
  font-weight: 600;
  color: var(--text-black);
}
.mockup-row.deduct span:last-child {
  color: var(--orange);
  font-weight: 700;
}
.mockup-row.highlight span {
  font-weight: 800;
  color: var(--text-black);
  font-size: 12.5px;
}
.mockup-save-pill {
  margin-top: 16px;
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #bbf7d0;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* secondary card */
.mockup-sec-label {
  font-size: 10px;
  color: var(--text-dim-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 6px;
}
.mockup-sec-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.mockup-sec-note {
  font-size: 10px;
  color: #4b5563;
  margin-top: 6px;
}
.mockup-sec-pass {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
}

/* ============================================================
   TRUST STRIP — minimal dark
   ============================================================ */
.trust-strip {
  background: var(--black-2);
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b5563;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-logo {
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: 0.08em;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.trust-logo:hover {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   STAT BLOCK — Ramos "Up to 45%" editorial section
   ============================================================ */
.stat-block {
  background: var(--white);
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}
.stat-inner {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .stat-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.stat-left {
  flex-shrink: 0;
}
.stat-label-small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.stat-number {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--orange);
  display: flex;
  align-items: flex-start;
}
.stat-pct {
  font-size: 0.32em;
  margin-top: 0.18em;
  margin-left: 0.06em;
  color: var(--text-dim);
  font-weight: 700;
  align-self: flex-start;
  line-height: 1;
  display: inline-block;
  vertical-align: super;
}
.stat-divider {
  width: 1px;
  height: 160px;
  background: #d1d5db;
  align-self: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
}

.stat-right {
}
.stat-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-black);
  margin-bottom: 16px;
}
.stat-highlight {
  background: var(--yellow);
  color: var(--text-black);
  padding: 0 8px 2px;
  border-radius: 4px;
  display: inline;
}
.stat-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 480px;
}
.stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.pill-orange {
  background: rgba(255, 77, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(255, 77, 0, 0.2);
}
.pill-yellow {
  background: var(--yellow);
  color: var(--text-black);
}
.pill-blue {
  background: rgba(26, 111, 255, 0.1);
  color: var(--blue);
  border: 1px solid rgba(26, 111, 255, 0.2);
}

/* ============================================================
   TOOL TABS — sticky below nav
   ============================================================ */
.tool-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 64px;
  z-index: 100;
}
.tool-tabs-inner {
  display: flex;
  gap: 4px;
  padding: 12px 0;
}
.tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: -0.01em;
}
.tool-tab:hover {
  background: var(--off-white);
  color: var(--text-black);
}
.tool-tab.active {
  color: var(--text-black);
  background: var(--off-white);
}
.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tax-dot {
  background: var(--orange);
}
.loan-dot {
  background: var(--blue);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 96px 0;
  background: var(--white);
}
.section-gray {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}
.section-dark {
  padding: 110px 0 96px;
  background: var(--black);
  border-top: none;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
  margin-top: -30px;
}
/* Nopan-style blue radial glow on dark sections */
.section-dark::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.07) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* Diagonal transition dark → light */
.section-dark + .section,
.section-dark + .section-gray {
  position: relative;
}

.section-intro {
  padding: 80px 0 64px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
}
.tool-intro {
  padding: 14px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
}
.tool-intro-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.tool-intro-left {
  flex-shrink: 0;
}
.tool-intro-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.02em;
  margin: 3px 0 0;
  line-height: 1.2;
}
.tool-intro-sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 420px;
  margin: 0;
}
@media (max-width: 768px) {
  .tool-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
.loan-intro {
  background: #eef0f3;
}
.section-body {
  padding: 48px 0 64px;
  background: var(--off-white);
}
.loan-intro + .section-body {
  background: #eef0f3;
}

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}
.lime-label,
.orange-label {
  color: var(--orange);
}
.purple-label,
.blue-label {
  color: var(--blue);
}
.section-dark .lime-label,
.section-dark .orange-label {
  color: var(--orange-light);
}
.section-dark .purple-label,
.section-dark .blue-label {
  color: var(--blue-light);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--text-black);
}
.light-title {
  color: var(--text-white);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.light-sub {
  color: #6b7280;
}

/* Dark section text overrides */
.section-dark .section-title {
  color: var(--text-white);
}
.section-dark .section-sub {
  color: #6b7280;
}
.section-dark .section-label {
  color: var(--orange-light);
}
.section-dark p {
  color: #6b7280;
}
.section-dark strong {
  color: var(--text-white);
}

/* ============================================================
   INTRO GRID
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.fact-item:last-child {
  border-bottom: none;
}
.fact-icon {
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.lime-icon,
.orange-icon {
  color: var(--orange);
}
.purple-icon,
.blue-icon {
  color: var(--blue);
}
.fact-item > div:last-child {
  font-size: 14px;
}
.fact-item > div:last-child strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--text-black);
}
.fact-item > div:last-child span {
  color: var(--text-dim);
  font-size: 13px;
}
.loan-intro .fact-item {
  border-bottom-color: #ddd;
}

/* ============================================================
   CALCULATOR LAYOUT
   ============================================================ */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }
}

/* INPUT PANEL */
.input-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-block {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-card);
  padding: 24px 26px;
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s;
}
.panel-block:focus-within {
  border-color: #d1d5db;
}
.panel-block-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.input-wrap {
  position: relative;
}

/* Input group — addon lives in its own box, overlap is impossible */
.input-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-input);
  overflow: hidden;
  background: var(--off-white);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.input-group:focus-within {
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}
#loan-calculator .input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 255, 0.1);
}
.input-addon {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #f3f4f6;
  border-right: 1px solid var(--border-light);
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}
.input-addon.addon-suffix {
  border-right: none;
  border-left: 1px solid var(--border-light);
}
.input-group input[type="number"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text-black);
  appearance: none;
  -webkit-appearance: none;
}
.input-group input[type="number"]:focus {
  outline: none;
  box-shadow: none;
}

/* Standalone inputs (no addon) */
input[type="number"],
select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-input);
  font-size: 14px;
  background: var(--off-white);
  color: var(--text-black);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
input:focus,
select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}
#loan-calculator input:focus,
#loan-calculator select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 255, 0.1);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ============================================================
   RESULTS PANEL
   ============================================================ */
.results-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.results-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.results-empty {
  background: var(--off-white);
  border: 1.5px dashed #d1d5db;
  border-radius: var(--r-card);
  padding: 64px 32px;
  text-align: center;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-icon {
  font-size: 2.2rem;
  opacity: 0.14;
}
.results-empty p {
  font-size: 14px;
  max-width: 240px;
  line-height: 1.6;
}

/* ============================================================
   RESULT CARDS — white with left accent border
   ============================================================ */
.result-card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border-light);
  border-left-width: 4px;
  padding: 22px 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
/* Tax cards: orange left border */
.rc-lime {
  border-left-color: var(--orange);
}
.rc-subtle {
  border-left-color: var(--border-light);
}
/* Loan cards: blue left border */
.rc-purple {
  border-left-color: var(--blue);
}
/* Dark info card */
.rc-dark {
  background: var(--black-2);
  border-color: var(--border-dark);
  border-left-color: var(--border-dark);
}

.rc-header {
  margin-bottom: 16px;
}
.rc-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rc-lime .rc-tag {
  background: rgba(255, 77, 0, 0.09);
  color: var(--orange);
}
.rc-purple .rc-tag {
  background: rgba(26, 111, 255, 0.1);
  color: var(--blue);
}
.rc-dark .rc-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #6b7280;
}
.rc-subtle .rc-tag {
  background: var(--off-white);
  color: var(--text-dim);
}

.rc-metric-main {
  margin-bottom: 16px;
}
.rc-metric-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.rc-lime .rc-metric-label {
  color: var(--orange);
}
.rc-purple .rc-metric-label {
  color: var(--blue);
}
.rc-dark .rc-metric-label {
  color: #6b7280;
}
.rc-subtle .rc-metric-label {
  color: var(--text-dim);
}

.rc-metric-value {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.rc-lime .rc-metric-value {
  color: var(--text-black);
}
.rc-purple .rc-metric-value {
  color: var(--text-black);
}
.rc-dark .rc-metric-value {
  color: #f1f5f9;
}

.rc-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.rcm-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.rc-dark .rcm-label {
  color: #374151;
}
.rcm-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-black);
}
.rc-dark .rcm-val {
  color: #e2e8f0;
}

/* ============================================================
   TAX TABLE (inside result cards)
   ============================================================ */
.tax-table {
  display: flex;
  flex-direction: column;
}
.tt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.rc-dark .tt-row {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}
.tt-row:last-child {
  border-bottom: none;
}
.tt-row span:first-child {
  color: var(--text-dim);
}
.rc-dark .tt-row span:first-child {
  color: #6b7280;
}
.tt-row span:last-child {
  font-weight: 600;
  color: var(--text-black);
}
.rc-dark .tt-row span:last-child {
  color: #e2e8f0;
}
.tt-row.deduct span {
  font-size: 13px;
  color: var(--text-dim);
}
.tt-row.subtotal span {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-black);
}
.rc-dark .tt-row.subtotal span {
  color: #cbd5e1;
}
.tt-row.total span {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-black);
}
.rc-dark .tt-row.total span {
  color: #f1f5f9;
}

/* Value colour helpers */
.red {
  color: var(--red-alert) !important;
}
.green {
  color: var(--green-pos) !important;
}
.lime {
  color: var(--orange) !important;
} /* remapped lime → orange */
.rc-dark .lime {
  color: var(--orange-light) !important;
}

/* ALERTS */
.rc-alert {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
.rc-alert-warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.rc-alert-good {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}

/* ============================================================
   STRATEGIES GRID
   ============================================================ */
.strategies-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   DEDUCTION HINTS — dynamic profession guide panel
   ============================================================ */
.deduction-hints {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
.hint-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hint-range {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 77, 0, 0.09);
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.income-alert {
  font-size: 12.5px;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: 10px;
  border-left: 3px solid;
}
.income-alert.alert-tip {
  background: rgba(26, 111, 255, 0.06);
  border-color: var(--blue);
  color: #1d4ed8;
}
.income-alert.alert-warn {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--amber-warn);
  color: #92400e;
}
.income-alert strong {
  font-weight: 700;
}
.hint-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.hint-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.hint-chip:hover {
  border-color: var(--orange);
  background: rgba(255, 77, 0, 0.04);
}
.hint-chip-icon {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1.4;
}
.hint-chip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-black);
  line-height: 1.3;
}
.hint-chip-est {
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.35;
}
@media (max-width: 540px) {
  .hint-chips {
    grid-template-columns: 1fr;
  }
}

.strategy-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-card);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.strategy-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.s-rank {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}
.rank-high {
  background: rgba(255, 77, 0, 0.1);
  color: var(--orange);
}
.rank-med {
  background: #fef9c3;
  color: #a16207;
}
.rank-low {
  background: var(--off-white);
  color: var(--text-dim);
}

.s-body {
  min-width: 0;
}
.s-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 5px;
  color: var(--text-black);
}
.s-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 10px;
}
.s-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.s-tag {
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag-lime {
  background: rgba(255, 77, 0, 0.08);
  color: var(--orange);
}
.tag-purple {
  background: rgba(26, 111, 255, 0.08);
  color: var(--blue);
}
.tag-amber {
  background: #fffbeb;
  color: #b45309;
}
.tag-blue {
  background: rgba(26, 111, 255, 0.08);
  color: var(--blue);
}
.tag-gray {
  background: var(--off-white);
  color: var(--text-dim);
}

.s-saving {
  text-align: right;
  flex-shrink: 0;
  min-width: 96px;
}
.ss-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 3px;
}
.ss-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--green-pos);
  letter-spacing: -0.02em;
}
.ss-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
}

/* ============================================================
   TAX AFFILIATE PRODUCTS — Ramos white card
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.product-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.product-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.product-meta {
  flex: 1;
  min-width: 0;
}
.product-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-black);
  margin-bottom: 2px;
}
.product-category {
  font-size: 11px;
  color: var(--text-dim);
}
.product-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 77, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(255, 77, 0, 0.18);
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}
.product-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}
.product-deduct {
  font-size: 12px;
  color: var(--green-pos);
  font-weight: 600;
}
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.product-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-link:hover {
  text-decoration: underline;
}
.product-price {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================================
   LENDER GRID — Nopan dark cards
   ============================================================ */
.lender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.lender-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.lender-card:hover {
  border-color: rgba(26, 111, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(26, 111, 255, 0.08);
}
.lender-card.featured {
  border-color: var(--blue);
  box-shadow:
    0 0 0 1px var(--blue),
    0 8px 32px rgba(26, 111, 255, 0.12);
}
.lender-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lender-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.lender-info {
  flex: 1;
  min-width: 0;
}
.lender-name {
  font-weight: 700;
  font-size: 15px;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.lender-type {
  font-size: 12px;
  color: #4b5563;
}
.lender-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.badge-featured {
  background: rgba(26, 111, 255, 0.15);
  color: var(--blue-light);
}
.badge-best {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}
.badge-popular {
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
}
.badge-online {
  background: rgba(255, 255, 255, 0.04);
  color: #6b7280;
}

.lender-rate {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.rate-value {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--blue-light);
}
.rate-label {
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.lender-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lender-feat {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lender-feat::before {
  content: "✓";
  color: var(--blue-light);
  font-weight: 700;
  font-size: 11px;
}
.lender-cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.lender-cta .btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}

/* ============================================================
   BROKER GRID — Nopan dark cards
   ============================================================ */
.broker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.broker-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.broker-card:hover {
  border-color: rgba(26, 111, 255, 0.35);
  transform: translateY(-2px);
}
.broker-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.broker-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 10px;
  flex-shrink: 0;
}
.broker-meta {
  flex: 1;
}
.broker-name {
  font-weight: 700;
  font-size: 14px;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.broker-accred {
  font-size: 11px;
  color: var(--blue-light);
  font-weight: 600;
}
.broker-badge {
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(26, 111, 255, 0.12);
  color: var(--blue-light);
  border: 1px solid rgba(26, 111, 255, 0.2);
}
.broker-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
}
.broker-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.broker-stat {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-dark);
}
.bstat-label {
  font-size: 10px;
  color: #374151;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.bstat-value {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
}
.broker-cta {
  display: flex;
  gap: 8px;
}
.broker-cta .btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}

/* ============================================================
   CTA SECTION — Nopan "Ready to start?" style
   ============================================================ */
.cta-section {
  background: var(--black);
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
  margin-top: -24px;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.1) 0%,
    transparent 65%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.cta-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-white);
  margin-bottom: 20px;
}
.cta-heading-accent {
  color: var(--orange);
}
.cta-sub {
  font-size: 1rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-card);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.about-card:hover {
  border-color: rgba(26, 111, 255, 0.3);
  box-shadow:
    0 0 0 1px rgba(26, 111, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.3);
}
.about-card-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-white);
}
.about-card p {
  font-size: 12.5px;
  color: var(--text-dim-dark);
  line-height: 1.6;
}

/* ============================================================
   FOOTER — Nopan dark grid
   ============================================================ */
.footer {
  background: var(--black);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}
.footer-brand p {
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #374151;
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13px;
  color: #374151;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: #9ca3af;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-size: 12px;
  color: #374151;
}

/* ============================================================
   AFFILIATE DISCLAIMER
   ============================================================ */
.affiliate-disclaimer {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.65;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  color: #374151;
}
.section-gray .affiliate-disclaimer {
  background: var(--white);
  border-color: var(--border-light);
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-ctas .btn-ghost-dark {
    display: none;
  }
  .hero {
    padding: 32px 0 28px;
  }
  .section,
  .section-gray,
  .section-dark {
    padding: 56px 0;
  }
  .stat-block {
    padding: 64px 0;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
  .strategy-card {
    grid-template-columns: 40px 1fr;
  }
  .s-saving {
    grid-column: 2;
  }
  .broker-stats {
    grid-template-columns: 1fr;
  }
  .rc-metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .mockup-card-secondary {
    display: none;
  }
}
