:root {
  --frame-bg: #0D0F12;
  --card-white: #FFFFFF;
  --card-soft: #F7F8FA;
  --card-blue: #0088FF;
  --card-orange: #F34F1D;
  --ink: #0F172A;
  --ink-body: #334155;
  --ink-muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent: #F34F1D;
  --accent-2: #FF6B35;
  --blue: #0088FF;
  --cyan: #0284C7;
  --teal: #0D9488;
  --green: #059669;
  --red: #E11D48;
  --amber: #D97706;
  --purple: #7C3AED;
  --radius-xl: 28px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--frame-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding: 16px 20px 40px;
}

/* =========================================================================
   1. Top Floating Navigation Bar (Inside Dark Outer Frame)
   ========================================================================= */
.site-nav {
  max-width: 1420px;
  margin: 0 auto 16px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #171A21;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.site-nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-size: 1.25rem; font-weight: 700; color: #FFFFFF; letter-spacing: -0.03em;
}
.brand-mark b { font-weight: 800; }
.brand-orange { color: var(--card-orange); font-weight: 800; margin-left: 1px; }
.brand-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.2); }
.brand-sub { font-size: 0.86rem; color: #CBD5E1; font-weight: 600; }

.site-nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-pill-btn {
  appearance: none; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07); color: #F8FAFC;
  font: inherit; font-size: 0.84rem; font-weight: 700;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: all 0.18s ease;
}
.nav-pill-btn:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.nav-cta-btn {
  appearance: none; border: none;
  background: var(--card-orange); color: #FFFFFF;
  font: inherit; font-size: 0.86rem; font-weight: 800;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(243, 79, 29, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(243, 79, 29, 0.6); }

/* =========================================================================
   2. Outcrowd / FluentAI 4-Card Bento Grid Showcase
   ========================================================================= */
.bento-showcase {
  max-width: 1420px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 18px;
}
@media (max-width: 1120px) {
  .bento-showcase { grid-template-columns: 1fr; }
}

.bento-card {
  border-radius: var(--radius-xl);
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Card Top Brand Row */
.bento-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; position: relative; z-index: 2;
}
.bento-logo-dark {
  font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em;
}
.bento-logo-dark b { font-weight: 800; }
.bento-logo-dark i { font-style: normal; font-weight: 800; color: var(--card-orange); }

.bento-logo-light {
  font-size: 1.22rem; font-weight: 600; color: #FFFFFF; letter-spacing: -0.03em;
}
.bento-logo-light b { font-weight: 800; }
.bento-logo-light i { font-style: normal; font-weight: 800; opacity: 0.92; margin-left: 1px; }

.top-savings-badge {
  background: #DCFCE7; color: #166534; border: 1px solid #86EFAC;
  font-size: 0.8rem; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}
.bento-corner-pill {
  background: rgba(255, 255, 255, 0.18); color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.sample-lead-tag {
  background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD;
  font-size: 0.76rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.03em;
}

/* ---- CARD 1: TOP-LEFT PURE WHITE (HIGH-LEGIBILITY 3x2 SELLING POINTS) ---- */
.bento-white-main {
  background: var(--card-white);
  color: var(--ink);
}
.bento-dots-bg {
  position: absolute; top: 0; right: 0; width: 42%; height: 55%;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at top right, rgba(0,0,0,0.75), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top right, rgba(0,0,0,0.75), transparent 70%);
  pointer-events: none;
}

.bento-hero-title {
  margin: 18px 0 12px;
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  position: relative; z-index: 2;
}
.bento-3d-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 18px 5px;
  border-radius: 16px;
  background: linear-gradient(145deg, #29A3FF 0%, #0077EE 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88em;
  box-shadow:
    0 10px 22px rgba(0, 136, 255, 0.35),
    inset 0 2px 3px rgba(255, 255, 255, 0.45);
  vertical-align: baseline;
  margin: 0 4px;
}
.bento-muted-word {
  color: #64748B;
  font-weight: 600;
}
.bento-hero-lead {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #334155;
  max-width: 760px;
  position: relative; z-index: 2;
}
.bento-hero-lead b { color: #0F172A; font-weight: 800; }

/* 3x2 Grid of Large, High-Contrast Selling Point Cards */
.bento-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative; z-index: 2;
}
@media (max-width: 820px) {
  .bento-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .bento-features-grid { grid-template-columns: 1fr; }
}
.bento-feat {
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bento-feat:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.feat-head {
  display: flex; align-items: center; gap: 11px; margin-bottom: 8px;
}
.feat-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), inset 0 2px 2px rgba(255,255,255,0.35);
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-icon.blue { background: linear-gradient(145deg, #38BDF8, #0284C7); }
.feat-icon.pink { background: linear-gradient(145deg, #F472B6, #DB2777); }
.feat-icon.orange { background: linear-gradient(145deg, #FB923C, #EA580C); }
.feat-icon.yellow { background: linear-gradient(145deg, #FACC15, #CA8A04); }
.feat-icon.green { background: linear-gradient(145deg, #4ADE80, #16A34A); }
.feat-icon.purple { background: linear-gradient(145deg, #C084FC, #7E22CE); }

.feat-kicker {
  display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
  color: #0284C7; text-transform: uppercase; margin-bottom: 1px;
}
.bento-feat h3 {
  margin: 0; font-size: 0.96rem; font-weight: 800; color: #0F172A; letter-spacing: -0.015em; line-height: 1.2;
}
.bento-feat p {
  margin: 0; font-size: 0.84rem; line-height: 1.48; color: #334155; font-weight: 500;
}
.bento-feat p b { color: #0F172A; font-weight: 700; }

/* ---- CARD 2: TOP-RIGHT ELECTRIC BLUE ---- */
.bento-blue-card {
  background: linear-gradient(145deg, #0A8CFF 0%, #0070E0 100%);
  color: #FFFFFF;
}
.blue-card-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 16px;
  flex: 1;
}
@media (max-width: 640px) {
  .blue-card-layout { grid-template-columns: 1fr; }
}
.blue-callouts {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; position: relative; z-index: 2;
}
.white-callout-pill {
  background: #FFFFFF;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 35, 80, 0.22);
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.white-callout-pill:hover { transform: translateX(4px); }
.callout-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 6px; margin-bottom: 4px;
}
.callout-badge.green { background: #DCFCE7; color: #166534; }
.callout-badge.blue { background: #DBEAFE; color: #1E40AF; }
.callout-badge.orange { background: #FFEDD5; color: #C2410C; }

.white-callout-pill h4 {
  margin: 0 0 4px; font-size: 0.98rem; font-weight: 800; color: #0F172A;
}
.white-callout-pill p {
  margin: 0; font-size: 0.83rem; line-height: 1.42; color: #334155; font-weight: 500;
}
.white-callout-pill p b { color: #0F172A; font-weight: 800; }
.callout-line {
  position: absolute; top: 50%; right: -20px; width: 20px; height: 2px;
  background: rgba(255, 255, 255, 0.75);
}
.callout-line::after {
  content: ""; position: absolute; right: -4px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF;
}

.blue-visual-photo-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 25, 65, 0.35);
  min-height: 330px;
}
.builder-hero-img {
  width: 100%; height: 100%; min-height: 330px;
  object-fit: cover; object-position: center 18%; display: block;
}
.photo-stat-overlay {
  position: absolute;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,0.32);
}
.photo-stat-overlay.top-stat {
  top: 12px; right: 12px;
  background: #0F172A; color: #FFFFFF;
}
.photo-stat-overlay.bottom-stat {
  bottom: 12px; left: 12px;
  background: #FFFFFF; color: #0F172A;
}

/* ---- CARD 3: BOTTOM-LEFT SIGNAL ORANGE ---- */
.bento-orange-card {
  background: linear-gradient(135deg, #F55322 0%, #E0390B 100%);
  color: #FFFFFF;
}
.orange-card-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  flex: 1;
}
@media (max-width: 820px) {
  .orange-card-layout { grid-template-columns: 1fr; }
}
.orange-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #FFFFFF;
}
.orange-copy p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #FFFFFF;
  font-weight: 500;
}
.orange-bullet-list {
  display: grid; gap: 7px; margin-bottom: 20px;
  font-size: 0.86rem; color: #FFF7ED;
  background: rgba(0, 0, 0, 0.16); padding: 12px 14px; border-radius: 14px;
}
.orange-bullet-list b { color: #FFFFFF; font-weight: 800; }

.white-action-btn {
  appearance: none; border: none;
  background: #FFFFFF; color: var(--ink);
  font: inherit; font-size: 0.9rem; font-weight: 800;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.white-action-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32); }

/* 2x2 Floating White Analytics Mini-Widgets */
.orange-widgets-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
}
.mini-widget {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(120, 20, 0, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 152px;
}
.mw-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 6px;
}
.mw-head span {
  font-size: 0.84rem; font-weight: 800; color: #0F172A; line-height: 1.22;
}
.mw-pill {
  font-style: normal; font-size: 0.72rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px; color: #FFFFFF; white-space: nowrap;
}
.mw-pill.blue { background: #0088FF; }
.mw-pill.pink { background: #EC4899; }
.mw-pill.green { background: #16A34A; }
.mw-sparkline { width: 100%; height: 50px; margin-top: 6px; }
.mw-foot { display: block; font-size: 0.74rem; color: #475569; font-weight: 600; margin-top: 4px; }

.mw-ring-wrap { display: grid; place-items: center; margin: 4px 0; }
.mw-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: conic-gradient(#EC4899 0% 92%, #FCE7F3 92% 100%);
  display: grid; place-items: center; position: relative;
}
.mw-ring::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #FFFFFF;
}
.mw-ring span {
  position: relative; z-index: 1; font-size: 0.95rem; font-weight: 800; color: var(--ink);
}

.mw-bars-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; margin-top: 10px; text-align: center;
}
.bar-col span, .bar-col b { display: block; font-size: 0.72rem; margin-top: 4px; color: #475569; }
.bar-col b { color: #0F172A; font-weight: 800; }
.bar-Visual {
  border-radius: 8px; font-size: 0.74rem; font-weight: 800; display: grid; place-items: center; padding: 6px 4px;
}
.bar-Visual.legacy-bar { height: 54px; background: #FFE4E6; color: #BE123C; border: 1px solid #FECDD3; }
.bar-Visual.our-bar { height: 34px; background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC; }

.mw-steps-wrap { margin-top: 8px; }
.mw-step-labels {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.72rem; color: #64748B; font-weight: 600; margin-bottom: 5px;
}
.mw-step-labels b { font-size: 0.82rem; font-weight: 800; color: #0284C7; }
.mw-step-bar {
  display: grid; grid-template-columns: 1fr 1fr 1fr; height: 20px; border-radius: 7px; overflow: hidden;
}
.mw-step-bar .s1 { background: #BAE6FD; }
.mw-step-bar .s2 { background: #38BDF8; }
.mw-step-bar .s3 { background: #0284C7; }

/* ---- CARD 4: BOTTOM-RIGHT WHITE (EXACT SAMPLE LEAD PACKET PREVIEW) ---- */
.bento-white-side {
  background: var(--card-white);
  color: var(--ink);
}
.side-white-title {
  margin: 12px 0 10px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

/* Detailed Sample Lead Packet Card */
.lead-packet-preview {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-packet-preview:hover {
  border-color: var(--card-blue);
  box-shadow: 0 10px 26px rgba(0, 136, 255, 0.12);
}
.lp-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px solid #E2E8F0; margin-bottom: 10px;
}
.lp-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 800; color: #15803D;
  background: #DCFCE7; padding: 2px 8px; border-radius: 6px; margin-bottom: 3px;
}
.lp-header h4 {
  margin: 0; font-size: 0.96rem; font-weight: 800; color: #0F172A;
}
.lp-val {
  background: #0F172A; color: #FFFFFF; padding: 5px 10px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 800; text-align: right; line-height: 1.1; flex: none;
}
.lp-val span { display: block; font-size: 0.64rem; color: #94A3B8; font-weight: 600; }

.lp-grid { display: grid; gap: 7px; margin-bottom: 10px; }
.lp-item span { display: block; font-size: 0.72rem; font-weight: 700; color: #64748B; }
.lp-item b { display: block; font-size: 0.84rem; font-weight: 800; color: #0F172A; }
.lp-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.lp-chips em {
  font-style: normal; font-size: 0.72rem; font-weight: 700;
  background: #E0F2FE; color: #0369A1; padding: 2px 8px; border-radius: 999px;
}

.lp-pitch-box {
  background: #EFF6FF; border-left: 3px solid #0284C7; padding: 8px 11px; border-radius: 8px;
}
.lp-pitch-box span {
  display: block; font-size: 0.68rem; font-weight: 800; color: #0369A1; letter-spacing: 0.04em; margin-bottom: 2px;
}
.lp-pitch-box p {
  margin: 0; font-size: 0.78rem; line-height: 1.42; color: #1E293B; font-weight: 500; font-style: italic;
}

/* Bottom Grey Pill Strip with Green Phone Icon & Builder Portraits */
.builder-strip-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.builder-strip-pill:hover { background: #E2E8F0; }
.builder-strip-pill p {
  margin: 2px 0 0; font-size: 0.78rem; line-height: 1.35; color: #475569; font-weight: 500;
}
.builder-avatars-cluster {
  display: flex; align-items: center; gap: 6px; flex: none;
}
.green-phone-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #A3E635, #4D7C0F);
  color: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(101, 163, 13, 0.38), inset 0 2px 4px rgba(255, 255, 255, 0.45);
}
.avatar-circle {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}

/* =========================================================================
   3. Interactive Workspace Shell (Crisp White Bento Aesthetic)
   ========================================================================= */
.workspace-shell {
  max-width: 1420px;
  margin: 0 auto;
  background: #F8FAFC;
  border-radius: var(--radius-xl);
  padding: 26px 32px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .workspace-shell { padding: 18px 16px 28px; }
}

.tabs {
  display: flex; gap: 8px; padding: 6px;
  background: #E2E8F0; border-radius: 16px;
  overflow-x: auto; margin-bottom: 24px;
}
.tab {
  appearance: none; border: none; background: transparent; color: #334155;
  font: inherit; font-size: 0.9rem; font-weight: 700; padding: 12px 18px; border-radius: 12px; cursor: pointer;
  transition: all 0.18s ease; white-space: nowrap; flex: 1; text-align: center;
}
.tab:hover { color: var(--ink); }
.tab.active {
  color: var(--ink); background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.panel { display: none; animation: rise 0.25s ease both; }
.panel.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Cards, Forms & Typography in Crisp Light Mode */
.card, .lead {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.form h2 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.muted { color: var(--ink-body); font-size: 0.92rem; margin: 0 0 18px; line-height: 1.55; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row.end { justify-content: flex-end; margin-top: 14px; }
.grow { flex: 1 1 220px; }

label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 700; color: #334155; }
label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; cursor: pointer; color: var(--ink); }
input, select, textarea {
  font: inherit; font-size: 0.92rem; color: var(--ink); background: #F8FAFC;
  border: 1px solid var(--border-strong); border-radius: 11px; padding: 10px 13px; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: #94A3B8; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--card-orange); cursor: pointer; }
input:focus, select:focus, textarea:focus {
  background: #FFFFFF; border-color: var(--card-blue); box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}
textarea { resize: vertical; }

/* Buttons */
.btn {
  font: inherit; font-weight: 700; font-size: 0.88rem; padding: 11px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border-strong); color: var(--ink); background: #FFFFFF;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { transform: translateY(-1px); background: #F1F5F9; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

.btn.primary {
  border: none; color: #FFFFFF; font-weight: 800;
  background: linear-gradient(135deg, var(--card-orange), var(--accent-2));
  box-shadow: 0 8px 20px rgba(243, 79, 29, 0.3);
}
.btn.primary:hover { box-shadow: 0 12px 26px rgba(243, 79, 29, 0.42); }

.btn.outline {
  background: rgba(0, 136, 255, 0.08);
  border: 1px solid rgba(0, 136, 255, 0.35);
  color: #0066CC;
}
.btn.outline:hover { background: rgba(0, 136, 255, 0.14); border-color: var(--card-blue); }

.btn.ghost { background: #F8FAFC; border: 1px solid var(--border); color: #475569; }
.btn.sm { padding: 7px 13px; font-size: 0.8rem; border-radius: 9px; }
.btn.lg { padding: 13px 22px; font-size: 0.94rem; border-radius: 13px; }

.toolbar-card { padding: 16px 20px; margin-bottom: 18px; }
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.toolbar label { min-width: 170px; }
.toolbar-btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.meta { color: var(--ink-body); font-size: 0.86rem; font-weight: 600; margin: 10px 2px 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 18px; }
.section-title { margin: 32px 0 14px; font-size: 1.18rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }

/* =========================================================================
   4. Pricing Cards, Toggle-Switch ROI Calculator & Comparison Table
   ========================================================================= */
.pricing-header-card { margin-bottom: 24px; }
.pricing-header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-savings-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em;
  background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC;
}

.toggle-switch-wrap {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; background: #F1F5F9; border: 1px solid var(--border-strong);
}
.toggle-switch-wrap input { display: none; }
.toggle-slider {
  width: 42px; height: 24px; background: #CBD5E1; border-radius: 999px; position: relative; transition: background 0.2s;
}
.toggle-slider::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #FFFFFF; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.toggle-switch-wrap input:checked + .toggle-slider { background: #16A34A; }
.toggle-switch-wrap input:checked + .toggle-slider::after { transform: translateX(18px); }
.toggle-label { font-size: 0.86rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.save-tag {
  background: #DCFCE7; color: #15803D; padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 800;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px; align-items: stretch; margin-top: 8px;
}
.price-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); }

.price-card.featured {
  border: 2.5px solid var(--card-orange);
  box-shadow: 0 20px 44px rgba(243, 79, 29, 0.14);
  transform: translateY(-6px);
}
.popular-ribbon {
  position: absolute; top: -13px; left: 24px;
  background: var(--card-orange); color: #FFFFFF;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; box-shadow: 0 4px 12px rgba(243, 79, 29, 0.35);
}

.comp-strike-row { font-size: 0.82rem; color: var(--red); font-weight: 700; margin-bottom: 2px; }
.price-amount { font-size: 2.65rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.08; }
.price-amount span { font-size: 0.88rem; font-weight: 600; color: #64748B; margin-left: 4px; }

.value-callout-box {
  padding: 12px 14px; border-radius: 12px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  display: flex; flex-direction: column; gap: 3px;
}
.value-callout-box .vc-top { font-size: 0.82rem; font-weight: 800; color: #15803D; }
.value-callout-box .vc-sub { font-size: 0.78rem; color: #334155; font-weight: 500; }

.price-features {
  list-style: none; margin: 6px 0 14px; padding: 0;
  display: grid; gap: 11px; font-size: 0.88rem; color: #334155; flex: 1;
}
.price-features li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.price-features li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: #DCFCE7; color: #15803D; font-size: 0.74rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 1px;
}
.price-features li b { color: var(--ink); font-weight: 700; }

/* Interactive ROI & Price Gap Calculator */
.savings-calc-card { margin-top: 28px; }
.calc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }

.calc-switches { display: grid; gap: 10px; }
.switch-row {
  display: flex; flex-direction: row !important; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: 14px; background: #F8FAFC; border: 1px solid var(--border);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.switch-row:hover { border-color: var(--border-strong); background: #F1F5F9; }
.switch-info { display: flex; flex-direction: column; gap: 2px; }
.switch-info b { font-size: 0.9rem; color: var(--ink); }
.switch-info small { font-size: 0.78rem; color: #64748B; font-weight: 500; }
.switch-right { display: flex; align-items: center; gap: 12px; flex: none; }
.switch-cost {
  font-family: "JetBrains Mono", monospace; font-size: 0.84rem; font-weight: 700;
  color: var(--red); background: #FFE4E6; padding: 3px 9px; border-radius: 7px;
}
.switch-row input { display: none; }
.switch-ui {
  width: 40px; height: 22px; background: #CBD5E1; border-radius: 999px; position: relative; transition: background 0.2s;
}
.switch-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  background: #FFFFFF; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch-row input:checked + .switch-ui { background: var(--card-blue); }
.switch-row input:checked + .switch-ui::after { transform: translateX(18px); }

.calc-results-box {
  padding: 26px; border-radius: 20px; background: #0F172A; color: #FFFFFF;
  text-align: center; box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}
.calc-compare-strip {
  display: flex; justify-content: space-around; align-items: center;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.calc-col span { display: block; font-size: 0.78rem; color: #94A3B8; margin-bottom: 4px; }
.calc-col b { font-size: 1.3rem; font-weight: 800; }
.calc-vs {
  font-size: 0.72rem; font-weight: 800; color: #94A3B8;
  background: rgba(255,255,255,0.08); padding: 4px 9px; border-radius: 999px;
}
.calc-counter-card {
  padding: 18px; border-radius: 16px;
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35);
}
.counter-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: #6EE7B7; }
.big-savings-num {
  font-size: 2.9rem; font-weight: 800; color: #FFFFFF; letter-spacing: -0.03em; margin: 4px 0;
}
.big-savings-num span { font-size: 1.2rem; color: #6EE7B7; margin-left: 2px; }
.savings-sub-badge { font-size: 0.85rem; font-weight: 700; color: #6EE7B7; }

/* Side-by-Side Comparison Table */
.table-wrap-card { overflow-x: auto; padding: 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; text-align: left; }
.compare-table th, .compare-table td {
  padding: 18px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.55; color: #334155;
}
.compare-table th {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: #475569; background: #F1F5F9;
}
.compare-table tbody tr:nth-child(even) { background: #F8FAFC; }
.compare-table tbody tr:hover { background: #F1F5F9; }
.compare-table .comp-price { color: var(--red); font-weight: 700; }

.compare-table th.our-col-head {
  background: #DCFCE7; color: #166534; border-left: 2px solid #22C55E;
}
.compare-table td.our-col-cell {
  background: #F0FDF4; color: #14532D; font-weight: 600; border-left: 2px solid #22C55E;
}
.compare-tfoot td {
  background: #F1F5F9; border-top: 2px solid var(--border-strong); color: var(--ink);
}
.compare-tfoot td.our-tfoot-cell {
  background: #DCFCE7; color: #14532D;
}
.compare-tfoot td.our-tfoot-cell span { color: #15803D; font-weight: 800; }

/* =========================================================================
   5. Permit Lead Cards, Semantic Badges & Copy-Pitch Snippet Box
   ========================================================================= */
.lead {
  display: flex; flex-direction: column; gap: 13px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lead:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }
.lead-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lead h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.sub { color: #64748B; font-size: 0.82rem; font-weight: 500; margin-top: 4px; }

.proj-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 6px;
}
.proj-badge.pool { background: #E0F2FE; color: #0369A1; }
.proj-badge.solar { background: #FEF3C7; color: #B45309; }
.proj-badge.remodel { background: #EDE9FE; color: #6D28D9; }
.proj-badge.newbuild { background: #DCFCE7; color: #15803D; }
.proj-badge.commercial { background: #FFEDD5; color: #C2410C; }

.score {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: var(--ink);
  background: conic-gradient(var(--c, var(--card-orange)) calc(var(--p) * 1%), #E2E8F0 0);
  position: relative;
}
.score::after { content: ""; position: absolute; inset: 5px; background: #FFFFFF; border-radius: 50%; }
.score span { position: relative; z-index: 1; }

.lead p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-body); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 0.74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #E0F2FE; color: #0369A1;
}
.chip.warn { background: #FEF3C7; color: #B45309; }

.angle {
  font-size: 0.84rem; padding: 10px 13px; border-radius: 10px;
  background: #FFF7ED; border-left: 3px solid var(--card-orange); color: #9A3412; font-weight: 500;
}
.kv {
  display: grid; grid-template-columns: auto 1fr; gap: 5px 14px;
  font-size: 0.83rem; color: #64748B; padding-top: 8px; border-top: 1px solid var(--border);
}
.kv b { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.tag { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: #94A3B8; }

.pitch-snippet-box {
  margin-top: 6px; background: #F8FAFC; border: 1px solid var(--border-strong);
  border-left: 3px solid var(--card-blue); border-radius: 12px; overflow: hidden;
}
.pitch-snippet-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: #EFF6FF; border-bottom: 1px solid var(--border);
}
.pitch-snippet-header span {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #0284C7;
}
.copy-pitch-btn {
  appearance: none; border: 1px solid #93C5FD; background: #FFFFFF;
  color: #0284C7; font-family: inherit; font-size: 0.74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; cursor: pointer;
}
.copy-pitch-btn:hover { background: #0088FF; color: #FFFFFF; }
.pitch-snippet-body { padding: 12px 14px; font-size: 0.86rem; color: var(--ink); line-height: 1.55; }

.savings-callout-box {
  margin-top: 16px; padding: 14px 18px; border-radius: 14px;
  background: #F0FDF4; border: 1px solid #86EFAC;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--ink);
}
.savings-highlight {
  font-weight: 800; color: #15803D; background: #DCFCE7; padding: 6px 13px; border-radius: 8px;
}

/* Feasibility & Maps */
.result { margin-top: 18px; display: grid; gap: 16px; }
.verdict { display: flex; gap: 16px; align-items: center; }
.verdict .badge { padding: 8px 16px; border-radius: 10px; font-weight: 800; font-size: 0.9rem; }
.badge.GO { background: #DCFCE7; color: #15803D; }
.badge.CAUTION { background: #FEF3C7; color: #B45309; }
.badge.NO-GO { background: #FFE4E6; color: #BE123C; }
.badge.INSUFFICIENT-DATA { background: #F1F5F9; color: #475569; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.list-h { margin: 0 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; }
ul.clean { margin: 0; padding-left: 18px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-body); }
ul.clean.red li::marker { color: var(--red); } ul.clean.green li::marker { color: var(--green); }
.empty { padding: 40px; text-align: center; color: #64748B; border: 1px dashed var(--border-strong); border-radius: 16px; grid-column: 1 / -1; }

.map-card { padding: 18px; margin-bottom: 22px; overflow: hidden; border-radius: 20px; }
.map-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.map-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.map-title h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.map-sub-pill { font-size: 0.76rem; font-weight: 600; color: #475569; background: #F1F5F9; padding: 4px 10px; border-radius: 999px; }
.map-controls { display: flex; align-items: center; gap: 10px; }
.map-view-box { width: 100%; height: 420px; border-radius: 14px; border: 1px solid var(--border); overflow: hidden; background: #0E1218; }
.map-view-box.hidden { display: none; }
.sm-select { padding: 6px 10px; font-size: 0.8rem; border-radius: 8px; width: auto; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--card-orange); box-shadow: 0 0 10px var(--card-orange); }
.pulse-dot.cyan { background: var(--card-blue); box-shadow: 0 0 10px var(--card-blue); }

/* Footer */
footer { max-width: 1420px; margin: 28px auto 0; color: #94A3B8; font-size: 0.8rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.system-status-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 6px 14px; border-radius: 999px; background: #171A21; border: 1px solid rgba(255,255,255,0.08);
}
.status-label { font-size: 0.72rem; font-weight: 700; color: #94A3B8; text-transform: uppercase; }
.status { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.06); color: #94A3B8;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #64748B; }
.pill.on { color: #E2E8F0; }
.pill.on::before { background: #34D399; box-shadow: 0 0 6px #34D399; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #0F172A; color: #FFFFFF; font-weight: 600; padding: 12px 22px; border-radius: 999px;
  font-size: 0.88rem; z-index: 1000; transition: all 0.25s ease; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); }
