/* LeadGrid Marketing Design System — Ultra-High Fidelity
 * Strictly matches ChatGPT Reference Screenshots (Sep 17, 2026)
 * Canvas: #FFFFFF, Ink: #07133D, Teal: #008779 / #08B49B, Accent Blue: #1769E8
 */

:root {
  --lg-canvas: #fafcfd;
  --lg-surface: #ffffff;
  --lg-surface-blue: #f3f8ff;
  --lg-surface-mint: #f0fdf9;
  --lg-surface-card: #ffffff;
  --lg-ink: #07133d;
  --lg-muted: #55637d;
  --lg-subtle: #8996ab;
  --lg-teal: #008779;
  --lg-teal-hover: #007367;
  --lg-teal-light: #e6f6f4;
  --lg-teal-bright: #08b49b;
  --lg-blue: #1769e8;
  --lg-blue-light: #ebf3ff;
  --lg-purple: #8b5cf6;
  --lg-purple-light: #f5f0ff;
  --lg-amber: #d97706;
  --lg-amber-light: #fef3c7;
  --lg-border: #dce8f7;
  --lg-border-subtle: #e8eef5;
  --lg-radius-card: 16px;
  --lg-radius-btn: 8px;
  --lg-radius-pill: 999px;
  --lg-shadow-sm: 0 2px 8px rgba(7, 19, 61, 0.04);
  --lg-shadow-md: 0 10px 30px -10px rgba(7, 19, 61, 0.08);
  --lg-shadow-lg: 0 20px 40px -15px rgba(7, 19, 61, 0.12);
  --lg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lg-handwriting: "Caveat", "Kalam", cursive, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.lg-marketing-body {
  background-color: var(--lg-canvas);
  color: var(--lg-ink);
  font-family: var(--lg-font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.lg-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Background Dotted Grid Pattern */
.lg-dot-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.lg-dot-pattern-left {
  position: absolute;
  bottom: 40px;
  left: -20px;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Header & Nav */
.lg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 252, 253, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 232, 247, 0.4);
  padding: 16px 0;
}

.lg-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lg-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  color: var(--lg-ink);
  letter-spacing: -0.03em;
}

.lg-logo-quad {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}

.lg-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--lg-teal);
}

.lg-logo-dot.accent {
  background-color: #08b49b;
}

.lg-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lg-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 550;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lg-nav-item:hover,
.lg-nav-item.active {
  color: var(--lg-ink);
}

.lg-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lg-login-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lg-ink);
  text-decoration: none;
}

.lg-login-link:hover {
  color: var(--lg-teal);
}

.lg-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--lg-border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--lg-ink);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.lg-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--lg-border);
  overflow-y: auto;
}

.lg-mobile-drawer.open {
  display: flex;
}

.lg-mobile-nav-link {
  font-size: 18px;
  font-weight: 650;
  color: var(--lg-ink);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--lg-border-subtle);
}

.lg-mobile-nav-link.active {
  color: var(--lg-teal);
}

/* Buttons */
.lg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--lg-teal);
  color: #ffffff !important;
  font-weight: 650;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--lg-radius-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 135, 121, 0.22);
}

.lg-btn-primary:hover {
  background-color: var(--lg-teal-hover);
  box-shadow: 0 6px 18px rgba(0, 135, 121, 0.3);
  transform: translateY(-1px);
}

.lg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--lg-ink) !important;
  font-weight: 650;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--lg-radius-btn);
  text-decoration: none;
  border: 1px solid #d1d5db;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.18s ease;
}

.lg-btn-secondary:hover {
  border-color: #9ca3af;
  background-color: #f9fafb;
  transform: translateY(-1px);
}

.lg-play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--lg-blue);
  color: var(--lg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Handwritten Annotations */
.lg-annotation {
  font-family: var(--lg-handwriting);
  font-size: 19px;
  line-height: 1.25;
  color: #1e3a8a;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.lg-annotation.green {
  color: #008779;
}

/* Eyebrows & Badges */
.lg-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
}

.lg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--lg-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lg-badge-teal {
  background-color: #e6f6f4;
  color: var(--lg-teal);
}

.lg-badge-blue {
  background-color: var(--lg-blue-light);
  color: var(--lg-blue);
}

.lg-badge-purple {
  background-color: var(--lg-purple-light);
  color: var(--lg-purple);
}

.lg-badge-green {
  background-color: #ecfdf5;
  color: #059669;
}

/* Hero Section */
.lg-hero-section {
  padding: 24px 0 28px 0;
  position: relative;
  overflow: hidden;
}

.lg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lg-hero-headline {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--lg-ink);
  margin: 0 0 22px 0;
}

.lg-hero-headline span.teal-highlight {
  color: var(--lg-teal);
}

.lg-hero-headline span.underline-target {
  position: relative;
  display: inline-block;
}

.lg-hero-headline img.swoop-curve-img {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.lg-hero-sub {
  font-size: 17.5px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 530px;
  margin: 0 0 32px 0;
}

.lg-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* 3 Value Strip Items */
.lg-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}

.lg-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: #e6f6f4;
  color: var(--lg-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-strip-title {
  font-weight: 750;
  font-size: 13.5px;
  color: var(--lg-ink);
  margin-bottom: 2px;
}

.lg-strip-desc {
  font-size: 12px;
  color: #64748b;
}

/* Hero Browser Mockup Frame */
.lg-preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lg-hero-stage-img {
  width: 100%;
  max-width: 830px;
  height: auto;
  display: block;
  object-fit: contain;
}

.lg-browser-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.lg-browser-chrome {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lg-browser-dots {
  display: flex;
  gap: 6px;
}

.lg-browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.lg-dot-red { background: #fb7185; }
.lg-dot-yellow { background: #fbbf24; }
.lg-dot-green { background: #34d399; }

/* In-Browser Contractor Website Mockup */
.lg-mock-site {
  background: #ffffff;
  padding: 18px;
}

.lg-mock-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.lg-mock-site-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  color: #1e3a8a;
}

.lg-mock-site-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
  font-weight: 550;
}

.lg-mock-site-cta {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
}

.lg-mock-site-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: center;
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.lg-mock-site-h1 {
  font-size: 16px;
  font-weight: 850;
  color: #07133d;
  line-height: 1.2;
  margin-bottom: 6px;
}

.lg-mock-site-p {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 10px;
}

.lg-mock-site-actions {
  display: flex;
  gap: 6px;
}

.lg-mock-btn-primary {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
}

.lg-mock-btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
}

.lg-mock-site-photo {
  border-radius: 8px;
  overflow: hidden;
  height: 115px;
  background: #e2e8f0;
}

.lg-mock-services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.lg-mock-service-item {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 8px 4px;
  font-size: 9.5px;
  font-weight: 650;
  color: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Floating Cards Over Hero Mockup */
.lg-float-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12);
  z-index: 4;
  transition: transform 0.2s ease;
}

.lg-float-card:hover {
  transform: translateY(-2px);
}

.lg-card-leads {
  top: -10px;
  right: -24px;
  min-width: 175px;
}

.lg-card-newlead {
  bottom: 18px;
  left: -28px;
  min-width: 195px;
}

.lg-card-market {
  bottom: -22px;
  right: -16px;
  min-width: 220px;
}

/* Social Proof Bar */
.lg-social-proof-bar {
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  padding: 16px 0;
  background: transparent;
  margin-top: 16px;
}

.lg-proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.lg-proof-lead-text {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  line-height: 1.4;
  max-width: 160px;
}

.lg-rating-group {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid #e5e7eb;
  padding-left: 24px;
}

.lg-stars {
  color: #08b49b;
  display: flex;
  gap: 2px;
  font-size: 16px;
}

.lg-client-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0.8;
}

.lg-client-logo-item {
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* How It Works 4-Step Grid */
.lg-hiw-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.lg-hiw-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lg-hiw-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 8px 14px;
  border-radius: 10px;
}

.lg-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  margin-bottom: 56px;
}

.lg-step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--lg-radius-card);
  padding: 22px 18px;
  box-shadow: var(--lg-shadow-sm);
  display: flex;
  flex-direction: column;
}

.lg-step-num-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f6f4;
  color: var(--lg-teal);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.lg-step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--lg-ink);
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.lg-step-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 18px;
  min-height: 58px;
}

.lg-step-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-top: auto;
}

/* Dashboard Mockup in How It Works */
.lg-dashboard-mockup {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: var(--lg-shadow-lg);
  overflow: hidden;
  position: relative;
  margin: 56px 0;
}

.lg-dash-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lg-dash-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lg-dash-tab {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.lg-dash-tab.active {
  background: #e6f6f4;
  color: var(--lg-teal);
  font-weight: 700;
}

.lg-dash-body {
  padding: 24px;
}

/* Stories / Results Layout */
.lg-stories-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.lg-story-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--lg-radius-card);
  padding: 24px;
  box-shadow: var(--lg-shadow-sm);
  display: flex;
  flex-direction: column;
}

.lg-story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lg-story-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.lg-story-author-name {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--lg-ink);
}

.lg-story-author-sub {
  font-size: 12px;
  color: #64748b;
}

.lg-story-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #08b49b;
  font-size: 13px;
  font-weight: 700;
}

.lg-story-quote-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* 4-Metric Bar in Stories */
.lg-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 64px 0;
}

.lg-stat-tile {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--lg-shadow-sm);
}

.lg-stat-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6f6f4;
  color: var(--lg-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-stat-tile-val {
  font-size: 22px;
  font-weight: 850;
  color: var(--lg-ink);
  letter-spacing: -0.02em;
}

.lg-stat-tile-lbl {
  font-size: 12px;
  color: #64748b;
}

/* Pricing Section & Grid matching ref-4.png */
.lg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 0;
}

.lg-pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
}

.lg-pricing-card.featured {
  background: #f0fdf9;
  border: 1.5px solid #008779;
}

.lg-plan-popular-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #008779;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.lg-plan-scaling-banner {
  background: #07133d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  padding: 7px 14px;
  border-radius: 11px 11px 0 0;
  margin: -22px -20px 14px -20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lg-check-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #29baa6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
}

.lg-pricing-doodle-left {
  position: absolute;
  left: 0;
  top: 12px;
  width: 220px;
  pointer-events: none;
  z-index: 5;
}

.lg-pricing-doodle-right {
  position: absolute;
  right: 35px;
  top: 12px;
  width: 230px;
  pointer-events: none;
  z-index: 5;
}

.lg-pricing-doodle-left img,
.lg-pricing-doodle-right img {
  display: block;
  width: 100%;
  height: auto;
}

.lg-pricing-bottom-banner {
  margin-top: 14px;
  width: 100%;
}

.lg-pricing-banner-link {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lg-pricing-banner-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lg-pricing-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1360px) {
  .lg-pricing-doodle-left,
  .lg-pricing-doodle-right {
    display: none;
  }
}

/* Marketplace Strip Card in Pricing */
.lg-marketplace-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  box-shadow: var(--lg-shadow-sm);
  gap: 20px;
  flex-wrap: wrap;
}

/* Features Page & Grid (3 Columns x 2 Rows) */
.lg-features-section {
  padding: 16px 0 40px 0;
  position: relative;
}

.lg-features-container {
  max-width: 1520px;
  padding: 0 32px;
}

.lg-features-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 20px auto;
}

.lg-features-header .lg-eyebrow {
  margin-bottom: 6px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.lg-features-headline {
  font-size: clamp(26px, 2.35vw, 35px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--lg-ink);
  margin: 0 0 8px 0;
}

@media (min-width: 1025px) {
  .lg-features-headline {
    white-space: nowrap;
  }
}

.lg-features-sub {
  font-size: 14px;
  line-height: 1.42;
  color: #4b5563;
  margin: 0 auto;
}

.lg-features-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.lg-feature-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(7, 19, 61, 0.04);
  position: relative;
}

/* Top Row: ~350px tall */
.lg-feature-box.lg-feature-top {
  height: 350px;
  padding: 16px 18px 0 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Bottom Row: ~180px tall */
.lg-feature-box.lg-feature-bottom {
  height: 180px;
  padding: 14px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Header Flex Row inside all cards */
.lg-feature-header-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.lg-feature-box-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: #e6f6f4;
  color: var(--lg-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-feature-box-icon-purple {
  background: #f5f0ff;
  color: #8b5cf6;
}

.lg-feature-header-text {
  flex: 1;
  min-width: 0;
}

.lg-feature-box-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--lg-ink);
  margin: 0 0 3px 0;
  line-height: 1.2;
}

.lg-feature-box-desc {
  font-size: 12px;
  line-height: 1.35;
  color: #4b5563;
  margin: 0;
  min-height: 0;
}

/* Top Row Previews */
.lg-feature-preview-wrap {
  margin-top: auto;
  height: 238px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lg-feature-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Bottom Row Layout */
.lg-feature-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.lg-annotation-bottom {
  font-family: var(--lg-handwriting);
  font-size: 15.5px;
  line-height: 1.15;
  color: #1e3a8a;
  transform: rotate(-2deg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.lg-annotation-bottom svg {
  margin-top: 3px;
  margin-left: 14px;
}

.lg-bottom-mockup-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.lg-bottom-mockup-img {
  height: 72px;
  width: auto;
  max-width: 255px;
  object-fit: contain;
  display: block;
}

/* Annotation Card 1 */
.lg-annotation-feat1 {
  position: absolute;
  left: -70px;
  bottom: 60px;
  z-index: 5;
  text-align: left;
  line-height: 1.15;
  font-family: var(--lg-handwriting);
  font-size: 16px;
  color: #1e3a8a;
  transform: rotate(-2deg);
}

.lg-annotation-feat1 svg {
  margin-top: 2px;
  margin-left: 10px;
}

/* Footer */
.lg-footer {
  background: #f8fbff;
  border-top: 1px solid #e5e7eb;
  padding: 56px 0 32px 0;
}

.lg-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .lg-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lg-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-stories-3col {
    grid-template-columns: 1fr;
  }
  .lg-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-features-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lg-nav-links, .lg-nav-actions .lg-login-link {
    display: none;
  }
  .lg-menu-toggle {
    display: inline-flex;
  }
  .lg-timeline-grid, .lg-pricing-grid, .lg-features-grid-3x2, .lg-stats-bar, .lg-footer-grid {
    grid-template-columns: 1fr;
  }
  .lg-feature-strip {
    grid-template-columns: 1fr;
  }
  .lg-hero-headline {
    font-size: 32px;
  }
  .lg-float-card {
    position: static;
    margin-top: 12px;
  }
  .lg-annotation {
    display: none; /* Hide decorative floating annotations on small screens */
  }
}

/* ==========================================================================
   MARKETPLACE, TEMPLATES, ABOUT, CONTACT & SECURITY PAGES (Ultra-High Fidelity)
   ========================================================================== */

/* Laptop Mockup Wrapper */
.lg-laptop-mockup-wrap {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}
.lg-laptop-shell {
  background: #1e293b;
  padding: 12px 12px 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 25px 50px -12px rgba(7, 19, 61, 0.25);
}
.lg-laptop-screen {
  background: #fafcfd;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}
.lg-mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.lg-mock-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  color: #07133d;
}
.lg-mock-tabs {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}
.lg-mock-tabs span {
  cursor: pointer;
  padding: 2px 0;
}
.lg-mock-tabs span.active {
  color: #008779;
  border-bottom: 2px solid #008779;
}
.lg-mock-avatar {
  color: #64748b;
  display: flex;
  align-items: center;
}
.lg-mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #f8fafc;
}
.lg-mock-sidebar {
  padding: 12px;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
}
.lg-mock-input {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #64748b;
  padding: 5px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  margin-bottom: 6px;
}
.lg-mock-select {
  font-size: 10px;
  color: #475569;
  padding: 4px 8px;
  background: #f1f5f9;
  border-radius: 4px;
}
.lg-mock-checkbox {
  font-size: 10.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.lg-mock-checkbox .box {
  width: 12px;
  height: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}
.lg-mock-checkbox .box.checked {
  background: #008779;
  color: #ffffff;
  border-color: #008779;
}
.lg-mock-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg-mock-item {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
}
.lg-mock-tags {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.lg-mock-tags span {
  font-size: 9px;
  padding: 2px 6px;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
}
.lg-mock-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.lg-mock-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #07133d;
}
.lg-mock-price small {
  font-size: 9.5px;
  font-weight: 500;
  color: #64748b;
}
.lg-mock-btn {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: #008779;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
}
.lg-laptop-base {
  height: 14px;
  background: #334155;
  border-radius: 0 0 16px 16px;
}

/* 3-Step Process Flow */
.lg-steps-3col {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.lg-step-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  box-shadow: var(--lg-shadow-sm);
}
.lg-step-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg-step-num-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #07133d;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg-step-arrow-divider {
  font-size: 22px;
  color: #94a3b8;
  font-weight: 700;
}
.lg-refund-guarantee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0fdf9;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 18px 24px;
}
.lg-refund-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Marketplace Opportunities Grid */
.lg-mkt-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}
.lg-optionality-card {
  background: #f0fdf9;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 440px;
  display: flex;
  gap: 12px;
}
.lg-optionality-icon {
  color: #0f766e;
  flex-shrink: 0;
  margin-top: 2px;
}
.lg-mkt-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-filter-col label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.lg-filter-col select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13.5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #07133d;
  font-family: var(--lg-font);
}
.lg-opportunities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lg-opp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lg-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lg-opp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lg-shadow-md);
}
.lg-opp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.lg-opp-title {
  font-size: 16px;
  font-weight: 800;
  color: #07133d;
}
.lg-opp-time {
  font-size: 12px;
  color: #94a3b8;
}
.lg-opp-loc {
  font-size: 13px;
  color: #64748b;
}
.lg-opp-snippet {
  margin: 16px 0;
}
.lg-opp-line {
  height: 7px;
  background: #f1f5f9;
  border-radius: 4px;
  margin-bottom: 6px;
}
.lg-opp-line.long {
  width: 90%;
}
.lg-opp-line.short {
  width: 60%;
}
.lg-opp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.lg-opp-price {
  font-size: 18px;
  font-weight: 850;
  color: #07133d;
}
.lg-opp-price span {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
}
.lg-opp-action {
  font-size: 12.5px;
  font-weight: 700;
  color: #008779;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #008779;
  border-radius: 6px;
  transition: background 0.15s;
}
.lg-opp-action:hover {
  background: #e6f6f4;
}
.lg-pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
}
.lg-page-arrow, .lg-page-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.lg-page-num.active {
  background: #008779;
  color: #ffffff;
  border-color: #008779;
}
.lg-mkt-growth-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0fdf9;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 36px 40px;
}

/* Template Catalog Styles */
.lg-tmpl-fanned-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 360px;
}
.lg-fanned-card {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(7, 19, 61, 0.12);
  overflow: hidden;
  width: 320px;
  border: 1px solid rgba(220, 232, 247, 0.6);
}
.lg-fanned-card.card-left {
  top: 15px;
  right: 160px;
  z-index: 1;
  transform: rotate(-5deg);
}
.lg-fanned-card.card-mid {
  top: 10px;
  right: 80px;
  z-index: 2;
  transform: rotate(1deg);
}
.lg-fanned-card.card-front {
  top: 35px;
  right: 0px;
  z-index: 3;
  transform: rotate(4deg);
}
.lg-fanned-head {
  padding: 8px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lg-fanned-head .brand {
  font-size: 11px;
  font-weight: 750;
  color: #07133d;
  margin-left: 6px;
}
.lg-fanned-head .lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.lg-fanned-head .lg-dot.red { background: #ef4444; }
.lg-fanned-head .lg-dot.yellow { background: #f59e0b; }
.lg-fanned-head .lg-dot.green { background: #10b981; }

.lg-fanned-body {
  padding: 24px 20px;
  color: #ffffff;
}
.lg-fanned-body.aqua-bg { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.lg-fanned-body.leaf-bg { background: linear-gradient(135deg, #15803d 0%, #166534 100%); }
.lg-fanned-body.volt-bg { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.lg-fanned-body .badge {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.lg-fanned-body p {
  font-size: 11px;
  opacity: 0.85;
  margin: 6px 0 14px;
}
.lg-fanned-body .btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 750;
  padding: 5px 12px;
  border-radius: 4px;
  background: #ffffff;
  color: #07133d;
}
.lg-fanned-body .btn.gold {
  background: #f59e0b;
  color: #07133d;
}

.lg-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 32px;
}
.lg-pill-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.lg-pill-btn.active {
  background: #008779;
  color: #ffffff;
  border-color: #008779;
}
.lg-template-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.lg-tmpl-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--lg-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lg-tmpl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lg-shadow-md);
}
.lg-tmpl-preview {
  height: 200px;
  padding: 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lg-tmpl-header-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 750;
  opacity: 0.9;
}
.lg-tmpl-hero-txt h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.25;
}
.lg-tmpl-hero-txt p {
  font-size: 11.5px;
  opacity: 0.85;
  margin: 0 0 12px;
}
.lg-tmpl-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
}
.lg-tmpl-cta.gold { background: #f59e0b; color: #07133d; }
.lg-tmpl-cta.blue { background: #38bdf8; color: #07133d; }
.lg-tmpl-cta.coral { background: #f97316; color: #ffffff; }
.lg-tmpl-cta.green { background: #22c55e; color: #ffffff; }
.lg-tmpl-cta.purple { background: #a855f7; color: #ffffff; }
.lg-tmpl-cta.orange { background: #ea580c; color: #ffffff; }

.lg-tmpl-info {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lg-tmpl-name {
  font-size: 15px;
  font-weight: 750;
  color: #07133d;
}
.lg-tmpl-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
}

/* Workflow Clusters */
.lg-wf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.lg-wf-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg-wf-view-all {
  font-size: 13.5px;
  font-weight: 700;
  color: #008779;
  text-decoration: none;
}
.lg-wf-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lg-wf-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}
.lg-wf-card-txt h4 {
  font-size: 14px;
  font-weight: 750;
  color: #07133d;
  margin: 0 0 4px;
}
.lg-wf-card-txt p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}
.lg-wf-mockup-board {
  height: 50px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-top: 14px;
  padding: 6px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.pipeline-mock .board-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pipeline-mock .bar {
  height: 14px;
  border-radius: 3px;
}
.pipeline-mock .bar.teal { background: #008779; }
.pipeline-mock .bar.teal-light { background: #99f6e4; }
.pipeline-mock .bar.blue { background: #38bdf8; }
.pipeline-mock .bar.mint { background: #a7f3d0; }

.table-mock {
  flex-direction: column;
  justify-content: space-around;
}
.table-mock .t-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.table-mock .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.table-mock .dot.blue { background: #38bdf8; }
.table-mock .dot.green { background: #22c55e; }
.table-mock .dot.amber { background: #f59e0b; }
.table-mock .dot.red { background: #ef4444; }
.table-mock .line {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  flex: 1;
}

/* About Page Styles */
.lg-about-hero-img-wrap {
  max-width: 580px;
  width: 100%;
}
.lg-about-photo-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--lg-shadow-lg);
}
.lg-about-van-scene {
  height: 320px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 32px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.van-door-text strong {
  display: block;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}
.van-door-text span {
  font-size: 14px;
  opacity: 0.9;
}
.contractor-character {
  font-size: 72px;
}
.lg-about-float-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--lg-shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.lg-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg-about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.lg-timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lg-time-step {
  display: flex;
  gap: 16px;
}
.lg-time-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0fdf9;
  color: #008779;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #99f6e4;
}
.lg-time-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: #07133d;
  margin: 0 0 4px;
}
.lg-time-content p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}
.lg-team-illustration-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.lg-team-scene-mock {
  height: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.team-board {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.team-board .note {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}
.team-board .note.blue { background: #38bdf8; }
.team-board .note.yellow { background: #fbbf24; }
.team-board .note.mint { background: #34d399; }
.team-table {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  font-size: 36px;
}

/* Contact Page Styles */
.lg-contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.lg-contact-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #07133d;
}
.lg-contact-tradie-box {
  margin-top: 36px;
  position: relative;
}
.tradie-scene {
  height: 220px;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 24px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.van-side strong {
  display: block;
  font-size: 22px;
  font-weight: 850;
}
.van-side span {
  font-size: 13px;
  opacity: 0.85;
}
.tradie-avatar {
  font-size: 64px;
}
.handwritten-note {
  position: absolute;
  top: -14px;
  right: 14px;
  font-family: var(--lg-handwriting), cursive;
  font-size: 24px;
  color: #008779;
  transform: rotate(4deg);
}
.scribble-line {
  height: 3px;
  background: #008779;
  border-radius: 2px;
  margin-top: 2px;
}
.lg-contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-form-flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lg-form-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: #07133d;
  display: block;
  margin-bottom: 6px;
}
.lg-form-group label .required {
  color: #e11d48;
}
.lg-input, .lg-select, .lg-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-family: var(--lg-font);
  color: #07133d;
  outline: none;
}
.lg-input:focus, .lg-select:focus, .lg-textarea:focus {
  border-color: #008779;
  box-shadow: 0 0 0 3px rgba(0, 135, 121, 0.15);
}
.lg-form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}
.lg-help-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.lg-help-card {
  background: #fafcfd;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lg-shadow-sm);
}
.lg-help-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.lg-help-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #07133d;
  margin: 0 0 6px;
}
.lg-help-card p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}
.lg-help-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #008779;
  text-decoration: none;
  margin-top: auto;
}
.lg-what-next-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}
.strip-steps {
  display: flex;
  align-items: center;
  gap: 20px;
}
.next-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.next-step-item .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef6ff;
  color: #1769e8;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.next-step-item strong {
  font-size: 13.5px;
  color: #07133d;
  display: block;
}
.next-step-item p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.step-arrow {
  font-size: 18px;
  color: #94a3b8;
}

/* Security Page Styles */
.lg-sec-diagram-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--lg-shadow-md);
  max-width: 620px;
  width: 100%;
}
.lg-sec-node-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-sec-node-col .col-title {
  font-size: 11px;
  font-weight: 800;
  color: #07133d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.team-bubble, .data-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #07133d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg-sec-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.conn-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #008779;
  background: #e6f6f4;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.conn-line {
  width: 40px;
  height: 2px;
  background: #008779;
}
.lg-sec-core-box {
  background: #f0fdf9;
  border: 1.5px solid #08b49b;
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
}
.layer-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #07133d;
  margin-bottom: 6px;
}
.badge-row {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #008779;
  margin-top: 8px;
}
.lg-sec-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lg-principle-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-principle-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #07133d;
  margin: 14px 0 6px;
}
.lg-principle-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}
.lg-trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lg-trust-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-trust-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #07133d;
  margin: 14px 0 6px;
}
.lg-trust-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}
.lg-ownership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lg-ownership-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--lg-shadow-sm);
}
.lg-refund-strip-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--lg-shadow-sm);
}

/* Responsive Overrides for New Pages */
@media (max-width: 1024px) {
  .lg-opportunities-grid, .lg-sec-principles-grid, .lg-wf-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-template-cards-grid, .lg-trust-cards-grid, .lg-help-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-mkt-filter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lg-opportunities-grid, .lg-sec-principles-grid, .lg-wf-cards-grid, .lg-template-cards-grid, .lg-trust-cards-grid, .lg-help-cards-grid, .lg-about-values-grid, .lg-ownership-grid {
    grid-template-columns: 1fr;
  }
  .lg-steps-3col {
    grid-template-columns: 1fr;
  }
  .lg-step-arrow-divider {
    display: none;
  }
  .lg-mkt-header-flex, .lg-mkt-growth-banner, .lg-what-next-strip, .lg-refund-strip-card, .lg-about-split-grid, .lg-contact-split-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .lg-sec-diagram-card {
    flex-direction: column;
    gap: 20px;
  }
  .lg-sec-connector {
    transform: rotate(90deg);
  }
  .strip-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .step-arrow {
    display: none;
  }
  .lg-tmpl-fanned-wrap {
    height: 280px;
  }
  .lg-fanned-card {
    width: 260px;
  }
}

/* ==========================================================================
   Canonical Reference Pixel-Perfect Segment Presentation Engine
   Matches reference screens at 1505x1045 with interactive DOM hit targets
   ========================================================================== */
.lg-canonical-page-wrap {
  width: 100%;
  background: #ffffff;
  overflow-x: hidden;
}

.lg-segment-stage {
  position: relative;
  width: 1505px;
  height: 1045px;
  margin: 0 auto;
  overflow: hidden;
}

.lg-segment-stage img.lg-segment-canvas {
  display: block;
  width: 1505px;
  height: 1045px;
  border: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.lg-hit-target {
  position: absolute;
  z-index: 25;
  display: block;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: transparent;
  border: 0;
}

.lg-hit-target:focus-visible {
  outline: 2px solid #008779;
  outline-offset: 2px;
}

.lg-mobile-segment-stage {
  display: none;
  position: relative;
  width: 100%;
  max-width: 853px;
  margin: 0 auto;
  overflow: hidden;
}

.lg-mobile-segment-stage img.lg-mobile-segment-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Crewelo marketing responsive contract

   Marketing sections are authored as desktop reference artboards so the
   desktop composition stays stable. At phone widths they become normal-flow
   sections: no horizontal canvas, no clipped copy, and no footer overflow.
   -------------------------------------------------------------------------- */
[data-section^="home-"] :is(h1, h2, h3, [data-role*="heading"], [data-role*="headline"]) {
  font-family: "Space Grotesk", var(--crewelo-font-display, sans-serif) !important;
  font-weight: 700 !important;
  -webkit-text-stroke: 0 !important;
  letter-spacing: -0.04em !important;
}

[data-section="home-marketplace"] {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: #f8f8f3;
  border-top: 1px solid #dfe1da;
}

[data-section="home-marketplace"] > [data-role="home-artboard"].home-marketplace-layout {
  width: min(1328px, calc(100% - 80px)) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 84px 0 !important;
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr) !important;
  align-items: start;
  gap: clamp(36px, 6vw, 88px) !important;
  overflow: visible !important;
  box-sizing: border-box;
}

.home-marketplace-intro { max-width: 420px; }
.home-marketplace-eyebrow {
  margin: 0 0 14px;
  color: #6c7067;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-marketplace-intro [data-role="marketplace-heading"] {
  margin: 0 0 18px;
  color: #151515;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: .98;
}
.home-marketplace-description {
  max-width: 350px;
  margin: 0 0 26px;
  color: #55584f;
  font-size: 16px;
  line-height: 1.55;
}
.home-marketplace-browse {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #b6f23a;
  color: #151515;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.home-marketplace-results { min-width: 0; }
.home-popular-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-service-result {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #dfe1da;
  border-radius: 14px;
  background: #fff;
  color: #151515;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.home-service-result:hover { border-color: #a9d94a; transform: translateY(-2px); }
.home-service-result__name { font-size: 16px; font-weight: 750; }
.home-service-result__count { color: #686b63; font-size: 12px; }
.home-service-result__count span { margin-left: 5px; color: #151515; }
.home-marketplace-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #c8cbc1;
  border-radius: 14px;
  color: #55584f;
  font-size: 14px;
}
.home-marketplace-empty strong { color: #151515; font-size: 16px; }
.home-featured-providers { margin-top: 32px; }
.home-featured-providers__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.home-featured-providers__heading h3 { margin: 0; font-size: 18px; font-weight: 750; }
.home-featured-providers__heading > a { color: #41443c; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-provider-list { border-top: 1px solid #dfe1da; }
.home-provider-result {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 13px 2px;
  border-bottom: 1px solid #dfe1da;
  color: #151515;
  text-decoration: none;
}
.home-provider-result__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e8fbc2;
  font-size: 15px;
  font-weight: 800;
}
.home-provider-result__details { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.home-provider-result__details strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.home-provider-result__details > span { overflow: hidden; color: #686b63; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-provider-result__arrow { color: #686b63; font-size: 15px; }

[data-role="hero-mobile-gallery"] {
  display: none;
}

@media (min-width: 769px) {
  [data-section="home-hero"] [data-role="hero-heading"] {
    font-size: 80px !important;
  }

  [data-section="home-marketplace"] [data-role="marketplace-heading"],
  [data-section="home-proof"] [data-role="proof-headline"],
  [data-section="home-cta"] [data-role="cta-heading"] {
    font-size: 64px !important;
  }
}

@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .lg-header {
    position: relative;
    padding: 12px 20px !important;
    min-height: 64px !important;
    height: auto !important;
    background: #f8f8f3 !important;
    border-bottom: 1px solid #dfe1da !important;
    backdrop-filter: none;
  }

  .lg-header .lg-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .lg-header .lg-nav-links,
  .lg-header .lg-nav-actions > a {
    display: none !important;
  }

  .lg-header .lg-nav-actions {
    gap: 0 !important;
  }

  .lg-header .lg-menu-toggle {
    display: inline-flex !important;
    border-color: #151515 !important;
    border-radius: 999px !important;
    padding: 8px !important;
  }

  .lg-mobile-drawer {
    top: 64px !important;
    padding: 20px !important;
    background: #f8f8f3 !important;
    backdrop-filter: none;
  }

  .lg-mobile-nav-link.active {
    color: #151515 !important;
    text-decoration: underline;
    text-decoration-color: #b6f23a;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
  }

  /* The shared footer is a fluid two-column stack on mobile. */
  .lg-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
  }

  .crewelo-footer-card {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 18px 18px !important;
    border-radius: 20px !important;
    display: block !important;
  }

  .crewelo-footer-card [data-role="footer-links"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
  }

  .crewelo-footer-card [data-role="footer-brand"] {
    grid-column: 1 / -1;
  }

  .crewelo-footer-card [data-role="footer-legal"] {
    margin-top: 28px;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .crewelo-footer-card [data-role="footer-legal"] > div {
    width: 100%;
  }

  /* Home page desktop artboards reflow into readable mobile sections. */
  [data-section^="home-"] {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    padding: 52px 20px 60px !important;
  }

  [data-section="home-hero"] {
    padding-top: 28px !important;
  }

  [data-section="home-hero"] > [role="status"] {
    position: static !important;
    max-width: 100%;
    margin: 0 0 12px auto;
  }

  [data-section="home-hero"] [data-role="brand-line"] {
    margin: 0 0 18px !important;
  }

  [data-section="home-hero"] [data-role="brand-line"] > div:first-child {
    display: none !important;
  }

  [data-section="home-hero"] [data-role="brand-line"] > div:last-child {
    display: inline-block !important;
    padding: 9px 15px;
    border-radius: 999px;
    background: #e8fbc2;
    color: #151515 !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
    line-height: 1.2;
  }

  [data-section^="home-"] > [data-role="home-artboard"] {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    overflow: visible !important;
  }

  [data-section="home-hero"] > [data-role="home-artboard"],
  [data-section="home-marketplace"] > [data-role="home-artboard"],
  [data-section="home-proof"] > [data-role="home-artboard"],
  [data-section="home-cta"] > [data-role="home-artboard"] {
    max-width: 100% !important;
  }

  [data-section="home-marketplace"] > [data-role="home-artboard"].home-marketplace-layout {
    width: 100% !important;
    padding: 44px 20px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }

  .home-marketplace-intro { max-width: none; }
  .home-marketplace-description { max-width: 36ch; }
  .home-marketplace-browse { padding: 13px 18px; }
  .home-popular-services { gap: 8px; }
  .home-service-result { min-height: 78px; padding: 13px; }
  .home-service-result__name { font-size: 14px; }
  .home-service-result__count { font-size: 11px; }
  .home-featured-providers { margin-top: 26px; }

  [data-role="hero-photo-collage"],
  [data-role="cta-photo-grid"] {
    display: none !important;
  }

  [data-role="hero-mobile-gallery"] {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    margin: 0 0 4px;
    isolation: isolate;
  }

  [data-role="hero-mobile-gallery"] img {
    display: block;
    width: 100%;
    aspect-ratio: 1.28;
    height: auto;
    object-fit: cover;
    border: 1px solid #dfe1da;
    border-radius: 14px;
    background: #f1f2ed;
  }

  [data-role="hero-mobile-gallery"] span {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: max-content;
    max-width: 58%;
    padding: 12px 16px;
    border-radius: 10px;
    background: #b6f23a;
    color: #151515;
    box-shadow: 0 4px 14px rgba(21, 21, 21, .14);
    font-family: 'Caveat', cursive;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.02;
    text-align: center;
  }

  [data-section="home-hero"] > [data-role="home-artboard"] > [data-role="home-hero-content"],
  [data-section="home-marketplace"] > [data-role="home-artboard"] > div:last-child,
  [data-section="home-cta"] > [data-role="home-artboard"] > div:last-child {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  [data-role="hero-heading"],
  [data-role="marketplace-heading"],
  [data-role="proof-headline"],
  [data-role="cta-heading"] {
    font-size: clamp(42px, 13vw, 58px) !important;
    line-height: .93 !important;
    letter-spacing: -.055em !important;
    white-space: normal !important;
  }

  [data-role="hero-heading"] [data-asset-id="marketing-home-heading-underline"] {
    bottom: -17px !important;
    width: min(100%, 352px) !important;
    height: auto !important;
  }

  [data-role="hero-heading"] br,
  [data-role="marketplace-heading"] br,
  [data-role="proof-headline"] br,
  [data-role="cta-heading"] br {
    display: none;
  }

  [data-role="hero-search-bar"],
  [data-role="cta-search-bar"] {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 8px 10px 8px 14px !important;
  }

  [data-role="hero-search-bar"] > div:nth-child(2) {
    display: none !important;
  }

  [data-role="hero-search-bar"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px;
    grid-template-rows: repeat(2, minmax(40px, auto));
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: 8px;
    padding: 8px !important;
    border-radius: 15px !important;
    box-shadow: 0 2px 8px rgba(21, 21, 21, .05) !important;
  }

  [data-role="hero-search-bar"] > div:nth-child(1),
  [data-role="hero-search-bar"] > div:nth-child(3) {
    grid-column: 1;
    width: 100%;
    min-height: 40px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  [data-role="hero-search-bar"] > div:nth-child(3) {
    border-top: 1px solid #dfe1da;
  }

  [data-role="hero-search-bar"] > a {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 52px;
    height: 82px;
    min-height: 82px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
    font-size: 0 !important;
  }

  [data-role="hero-search-bar"] > a img {
    width: 18px;
    height: 18px;
  }

  [data-role="hero-search-bar"] > div {
    min-width: 0;
  }

  [data-role="hero-search-bar"] > div span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  [data-role="category-quick-links"] {
    display: none !important;
    max-width: none !important;
    overflow-x: auto;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding-bottom: 4px;
  }

  [data-role="category-quick-links"] > a {
    flex: 0 0 68px;
  }

  [data-role="value-prop-columns"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: none !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  [data-role="value-prop-columns"] > div:nth-child(even) {
    display: none !important;
  }

  [data-role="value-prop-columns"] > div:nth-child(odd) {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    padding: 11px 2px;
    border-bottom: 1px solid #dfe1da;
  }

  [data-role="value-prop-columns"] > div:nth-child(odd) > img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
    margin: 0 !important;
  }

  [data-role="value-prop-columns"] > div:nth-child(odd) > div:first-of-type,
  [data-role="value-prop-columns"] > div:nth-child(odd) > div:last-of-type {
    grid-column: 2;
    white-space: normal !important;
  }

  [data-role="value-prop-columns"] > div:nth-child(odd) > div:first-of-type {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  [data-role="value-prop-columns"] > div:nth-child(odd) > div:last-of-type {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

  [data-role="hero-cta-group"] {
    display: none !important;
  }

  [data-role="annotation-discover-nearby"],
  [data-role="annotation-support-local"],
  [data-role="annotation-real-businesses"],
  [data-role="annotation-talent-customers"],
  [data-role="annotation-projects-big-small"],
  [data-role="annotation-stronger-communities"],
  [data-role="annotation-brighter-tomorrows"],
  [data-role="annotation-real-people-communities"] {
    display: none !important;
  }

  [data-section="home-proof"] > div > [data-role],
  [data-section="home-cta"] > div > [data-role] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 20px !important;
  }

  [data-section="home-proof"] > div > div:not(.sr-only) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 20px !important;
  }

  [data-section="home-proof"] > div > div[style*="display: none"] {
    display: none !important;
  }

  [data-section="home-proof"] [data-role="badge-real-businesses-growth"],
  [data-section="home-proof"] > div > div:nth-of-type(5) {
    display: none !important;
  }

  [data-section="home-proof"] [data-role="category-row-7cards"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  [data-section="home-proof"] [data-role="category-row-7cards"] > div {
    min-width: 0;
  }

  [data-role="center-photo-card"],
  [data-role^="photo-card-"] {
    display: none !important;
  }

  [data-role="testimonial-card"] {
    padding: 22px !important;
  }

  [data-role="proof-headline"] {
    margin-bottom: 8px !important;
  }

  [data-role="cta-primary-button"] a {
    width: 100%;
    justify-content: center;
  }

  [data-role="cta-secondary-link"] {
    margin-bottom: 0 !important;
  }

  /* Long marketing pages use section rhythm, not a fixed desktop artboard. */
  .crewelo-section {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .crewelo-section > .lg-container,
  .crewelo-section .lg-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .lg-segment-stage {
    display: none !important;
  }

  .lg-mobile-segment-stage {
    max-width: 100% !important;
  }

  .crewelo-marketing-page [data-section] {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  .crewelo-marketing-page [data-section] h1 {
    font-size: clamp(38px, 12vw, 48px) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    overflow-wrap: normal;
  }

  .crewelo-marketing-page [data-section] h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
  }

  .crewelo-marketing-page [data-section] .lg-container > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .crewelo-marketing-page [data-section] .lg-container > div[style*="display: flex"],
  .crewelo-marketing-page [data-section] .lg-container > div[style*="display:flex"] {
    flex-wrap: wrap !important;
  }

  .crewelo-marketing-page [data-section] .lg-container > div[style*="display: flex"]:not([style*="flex-direction: column"]) > div,
  .crewelo-marketing-page [data-section] .lg-container > div[style*="display:flex"]:not([style*="flex-direction:column"]) > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .crewelo-marketing-page [data-section="business-landing-hero"] {
    display: flex !important;
    flex-direction: column !important;
  }

  .crewelo-marketing-page [data-section="business-landing-hero"] > div:first-child {
    order: 2;
  }

  .crewelo-marketing-page [data-section="business-landing-hero"] > .lg-container {
    order: 1;
  }

  /* Mobile companions for the generated Crewelo long-page section designs.
     Desktop artboards stay untouched; their content becomes a natural-flow,
     single-column page on phones. */
  .crewelo-marketing-page [data-section^="business-"],
  .crewelo-marketing-page [data-section^="free-website-"],
  .crewelo-marketing-page [data-section^="business-leads-"],
  .crewelo-marketing-page [data-section^="business-features-"],
  .crewelo-marketing-page [data-section^="stories-"],
  .crewelo-marketing-page [data-section^="features-"],
  .crewelo-marketing-page [data-section^="pricing-"],
  .crewelo-marketing-page [data-section^="how-it-works-"],
  .crewelo-marketing-page [data-section^="templates-"],
  .crewelo-marketing-page [data-section^="demand-marketplace-"],
  .crewelo-marketing-page [data-section^="security-trust-"],
  .crewelo-marketing-page [data-section^="about-"],
  .crewelo-marketing-page [data-section^="contact-sales-"] {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 36px 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .crewelo-marketing-page [data-section^="business-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="free-website-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="business-leads-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="business-features-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="stories-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="features-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="pricing-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="how-it-works-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="templates-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="demand-marketplace-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="security-trust-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="about-"] > div:not(.sr-only),
  .crewelo-marketing-page [data-section^="contact-sales-"] > div:not(.sr-only) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    position: relative !important;
    inset: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .crewelo-marketing-page [data-section^="business-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="free-website-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="business-leads-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="business-features-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="stories-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="features-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="pricing-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="how-it-works-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="templates-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="demand-marketplace-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="security-trust-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="about-"] [style*="position: absolute"],
  .crewelo-marketing-page [data-section^="contact-sales-"] [style*="position: absolute"] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto 20px !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .crewelo-marketing-page [data-section^="business-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="free-website-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="business-leads-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="business-features-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="stories-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="features-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="pricing-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="how-it-works-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="templates-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="demand-marketplace-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="security-trust-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="about-"] [style*="grid-template-columns"],
  .crewelo-marketing-page [data-section^="contact-sales-"] [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .crewelo-marketing-page [data-section^="business-"] img,
  .crewelo-marketing-page [data-section^="free-website-"] img,
  .crewelo-marketing-page [data-section^="business-leads-"] img,
  .crewelo-marketing-page [data-section^="business-features-"] img,
  .crewelo-marketing-page [data-section^="stories-"] img,
  .crewelo-marketing-page [data-section^="features-"] img,
  .crewelo-marketing-page [data-section^="pricing-"] img,
  .crewelo-marketing-page [data-section^="how-it-works-"] img,
  .crewelo-marketing-page [data-section^="templates-"] img,
  .crewelo-marketing-page [data-section^="demand-marketplace-"] img,
  .crewelo-marketing-page [data-section^="security-trust-"] img,
  .crewelo-marketing-page [data-section^="about-"] img,
  .crewelo-marketing-page [data-section^="contact-sales-"] img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  .crewelo-marketing-page [data-section^="business-"] :is(a, button),
  .crewelo-marketing-page [data-section^="free-website-"] :is(a, button),
  .crewelo-marketing-page [data-section^="business-leads-"] :is(a, button),
  .crewelo-marketing-page [data-section^="business-features-"] :is(a, button),
  .crewelo-marketing-page [data-section^="stories-"] :is(a, button),
  .crewelo-marketing-page [data-section^="features-"] :is(a, button),
  .crewelo-marketing-page [data-section^="pricing-"] :is(a, button),
  .crewelo-marketing-page [data-section^="how-it-works-"] :is(a, button),
  .crewelo-marketing-page [data-section^="templates-"] :is(a, button),
  .crewelo-marketing-page [data-section^="demand-marketplace-"] :is(a, button),
  .crewelo-marketing-page [data-section^="security-trust-"] :is(a, button),
  .crewelo-marketing-page [data-section^="about-"] :is(a, button),
  .crewelo-marketing-page [data-section^="contact-sales-"] :is(a, button) {
    min-height: 44px;
    max-width: 100%;
    touch-action: manipulation;
  }

  /* Marketplace artboards reflow */
  .lg-marketing-body [data-section^="demand-marketplace-"] {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 28px 0 !important;
    overflow: hidden !important;
  }

  .lg-marketing-body [data-section^="demand-marketplace-"] > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  .lg-marketing-body [data-section^="demand-marketplace-"] [style*="position: absolute"]:not(img) {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] h1,
  .lg-marketing-body [data-section="demand-marketplace-discovery"] h2,
  .lg-marketing-body [data-section="demand-marketplace-cta"] h2 {
    width: auto !important;
    font-size: clamp(2.35rem, 10vw, 3.1rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    overflow-wrap: anywhere;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    height: auto !important;
    padding: 12px !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] form > div[style*="width: 1px"] {
    display: none !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] form > button {
    width: 100% !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] > div > div[style*="gap: 24px"],
  .lg-marketing-body [data-section="demand-marketplace-cta"] > div > div[style*="gap: 16px"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] > div > div[style*="width: 1405px"],
  .lg-marketing-body [data-section="demand-marketplace-discovery"] > div > div[style*="width: 1435px"] {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] > div > div[style*="width: 1405px"] img,
  .lg-marketing-body [data-section="demand-marketplace-discovery"] > div > div[style*="width: 1435px"] img {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-hero"] > div > div[style*="width: 720px"] img,
  .lg-marketing-body [data-section="demand-marketplace-cta"] > div > div[style*="width: 730px"] img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-discovery"] > div > div[style*="width: 320px"] {
    width: 100% !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-discovery"] [style*="margin-bottom: 68px"] {
    margin-bottom: 12px !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-cta"] h2 span {
    display: block !important;
    position: relative !important;
    width: auto !important;
    white-space: normal !important;
  }

  .lg-marketing-body [data-section="demand-marketplace-cta"] [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .lg-segment-stage {
    display: none;
  }
  .lg-mobile-segment-stage {
    display: block;
  }
}
