/* 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;
}

#main-content {
  width: 100%;
  box-sizing: border-box;
}


.lg-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .lg-container {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .lg-container {
    padding: 0 16px;
  }
}

/* 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: 92px !important;
    line-height: 0.94 !important;
    letter-spacing: -0.052em !important;
  }

  #main-content [data-section="how-process"] h1 {
    font-size: 80px !important;
  }

  #main-content [data-section="pricing-plans"] h1 {
    font-size: 70px !important;
  }

  [data-section="home-marketplace"] [data-role="marketplace-heading"] {
    font-size: 72px !important;
    line-height: 0.94 !important;
    letter-spacing: -0.052em !important;
  }

  [data-section="home-proof"] [data-role="proof-headline"] {
    font-size: 78px !important;
    line-height: 0.92 !important;
    letter-spacing: -0.04em !important;
  }

  [data-section="home-cta"] [data-role="cta-heading"] {
    font-size: 88px !important;
    line-height: 0.94 !important;
    letter-spacing: -0.052em !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: 755px"] 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;
  }
}

/* Marketplace directory: responsive, server-rendered services and business cards. */
.marketplace-page {
  --marketplace-ink: #151515;
  --marketplace-muted: #62665e;
  --marketplace-line: #dfe1da;
  --marketplace-lime: #b6f23a;
  color: var(--marketplace-ink);
  background: #f8f8f3;
}
.marketplace-page :is(a, button, input) { font: inherit; }
.marketplace-hero,
.marketplace-services,
.marketplace-businesses,
.marketplace-join {
  width: min(1328px, calc(100% - 64px));
  margin-inline: auto;
}
.marketplace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-block: 76px 72px;
}
.marketplace-hero__content { min-width: 0; }
.marketplace-eyebrow {
  margin: 0 0 14px;
  color: #73776e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.marketplace-hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(54px, 6.1vw, 82px);
  line-height: .96;
  letter-spacing: -.055em;
}
.marketplace-hero h1 span { position: relative; z-index: 0; }
.marketplace-hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: .02em;
  left: 0;
  height: .11em;
  border-radius: 99px;
  background: var(--marketplace-lime);
  content: "";
}
.marketplace-hero__description {
  max-width: 530px;
  margin: 22px 0 26px;
  color: #4e514a;
  font-size: 16px;
  line-height: 1.55;
}
.marketplace-search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) auto;
  align-items: end;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8dad2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 21, 21, .06);
}
.marketplace-search__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding-inline: 10px;
}
.marketplace-search__field + .marketplace-search__field { border-left: 1px solid var(--marketplace-line); }
.marketplace-search__field > span {
  color: #73776e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.marketplace-search__field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--marketplace-ink);
  font-size: 13px;
}
.marketplace-search__field input::placeholder { color: #898d84; opacity: 1; }
.marketplace-search button,
.marketplace-join > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #9ed622;
  border-radius: 11px;
  background: var(--marketplace-lime);
  color: var(--marketplace-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.marketplace-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 19px;
  color: #51554d;
  font-size: 11px;
  font-weight: 650;
}
.marketplace-trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.marketplace-trust-line i {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f8bd;
  color: #25291f;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.marketplace-hero__visual { position: relative; min-width: 0; }
.marketplace-hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 445;
  border: 1px solid rgba(21, 21, 21, .06);
  border-radius: 24px;
  background: #eceee7;
  box-shadow: 0 18px 50px rgba(21, 21, 21, .11);
  object-fit: cover;
}
.marketplace-hero__caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 21, 21, .12);
  font-size: 11px;
  font-weight: 750;
}
.marketplace-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #8acb1e; }
.marketplace-services,
.marketplace-businesses { padding-block: 54px 64px; border-top: 1px solid var(--marketplace-line); }
.marketplace-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}
.marketplace-section-heading .marketplace-eyebrow { margin-bottom: 8px; }
.marketplace-section-heading h2,
.marketplace-join h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}
.marketplace-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  color: #32352e;
  font-size: 13px;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.marketplace-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.marketplace-service-card {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--marketplace-line);
  border-radius: 14px;
  background: #fff;
  color: var(--marketplace-ink);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.marketplace-service-card:hover {
  transform: translateY(-2px);
  border-color: #b8d881;
  box-shadow: 0 7px 18px rgba(21, 21, 21, .06);
}
.marketplace-service-card__name { font-size: 15px; font-weight: 750; }
.marketplace-service-card__meta { color: #6c7067; font-size: 11px; }
.marketplace-service-card__meta span { margin-left: 5px; color: #151515; }
.marketplace-businesses { padding-bottom: 72px; }
.marketplace-business-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.marketplace-business-card {
  display: flex;
  min-width: 0;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--marketplace-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 21, 21, .035);
}
.marketplace-business-card__topline { display: flex; align-items: center; gap: 10px; }
.marketplace-business-card__mark {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  background: #e8f6c9;
  font-size: 14px;
  font-weight: 800;
}
.marketplace-business-card__category {
  color: #666a61;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.marketplace-business-card h3 { margin: 17px 0 5px; font-size: 17px; line-height: 1.2; }
.marketplace-business-card__location { margin: 0; color: #686c63; font-size: 12px; }
.marketplace-business-card__description { margin: 11px 0 14px; color: #55594f; font-size: 12px; line-height: 1.45; }
.marketplace-business-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  color: #272a23;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.marketplace-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 42px 22px;
  border: 1px dashed #c8cbc1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .64);
  color: #5e6258;
  font-size: 13px;
  text-align: center;
}
.marketplace-empty strong { color: #151515; font-size: 16px; }
.marketplace-empty a { margin-top: 6px; color: #23271e; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.marketplace-empty--services { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
.marketplace-join {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 72px;
  padding: 26px 30px;
  border-radius: 18px;
  background: #151515;
  color: #fff;
}
.marketplace-join .marketplace-eyebrow { color: #c6d1b0; margin-bottom: 8px; }
.marketplace-join h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.marketplace-join p:last-child { margin: 8px 0 0; color: #c2c5bd; font-size: 13px; line-height: 1.45; }
.marketplace-join__mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--marketplace-lime);
  color: #151515;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

/* Marketing section reveals are activated by the shared base template only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  #main-content [data-scroll-reveal="pending"] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms cubic-bezier(.2, .8, .2, 1),
      transform 360ms cubic-bezier(.2, .8, .2, 1);
  }
  #main-content [data-scroll-reveal="visible"] {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .marketplace-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 34px; }
  .marketplace-search { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .marketplace-search button { grid-column: 1 / -1; }
  .marketplace-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .marketplace-hero,
  .marketplace-services,
  .marketplace-businesses,
  .marketplace-join { width: min(100% - 36px, 560px); }
  .marketplace-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 42px 34px; }
  .marketplace-hero h1 { font-size: clamp(44px, 12vw, 58px); }
  .marketplace-hero__description { margin: 17px 0 20px; font-size: 14px; }
  .marketplace-search { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 11px; }
  .marketplace-search__field { min-height: 48px; justify-content: center; padding-inline: 9px; }
  .marketplace-search__field + .marketplace-search__field { border-top: 1px solid var(--marketplace-line); border-left: 0; }
  .marketplace-search button { grid-column: auto; width: 100%; }
  .marketplace-trust-line { gap: 9px 12px; font-size: 10px; }
  .marketplace-trust-line span:last-child { display: none; }
  .marketplace-hero__visual img { aspect-ratio: 1.58; border-radius: 17px; }
  .marketplace-hero__caption { right: 9px; bottom: 9px; padding: 8px 10px; font-size: 10px; }
  .marketplace-services,
  .marketplace-businesses { padding-block: 36px 42px; }
  .marketplace-section-heading { align-items: flex-start; margin-bottom: 17px; }
  .marketplace-section-heading h2 { font-size: 34px; }
  .marketplace-section-heading > .marketplace-text-link { align-self: end; font-size: 11px; }
  .marketplace-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .marketplace-service-card { min-height: 76px; gap: 10px; padding: 12px; border-radius: 12px; }
  .marketplace-service-card__name { font-size: 12px; }
  .marketplace-service-card__meta { font-size: 10px; }
  .marketplace-business-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .marketplace-business-card { min-height: 0; padding: 15px; }
  .marketplace-business-card h3 { margin-top: 12px; }
  .marketplace-business-card__link { padding-top: 10px; }
  .marketplace-join { grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-bottom: 40px; padding: 20px; border-radius: 15px; }
  .marketplace-join__mark { width: 42px; height: 42px; font-size: 21px; }
  .marketplace-join h2 { font-size: 25px; }
  .marketplace-join p:last-child { font-size: 12px; }
  .marketplace-join > a { grid-column: 1 / -1; width: 100%; }
}

/* Live marketing components: real HTML cards, shared by production and visual review. */
.business-pricing-artboard {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding: 8px 28px 40px;
  color: var(--crewelo-color-ink, #151515);
  box-sizing: border-box;
}
.business-pricing-header { min-height: 163px; position: relative; display: flex; justify-content: center; }
.business-pricing-header__copy { width: 100%; text-align: center; padding: 0 190px; }
.business-pricing-eyebrow { margin: 0 0 9px; color: var(--crewelo-color-text-muted, #797c74); font: 800 11px/1.2 var(--crewelo-font-display); letter-spacing: .15em; text-transform: uppercase; }
.business-pricing-header h1 { margin: 0 auto 9px; max-width: 1080px; color: var(--crewelo-color-ink); font: 800 42px/1.06 var(--crewelo-font-display); letter-spacing: -.045em; }
.business-pricing-heading-highlight { position: relative; white-space: nowrap; }
.business-pricing-heading-highlight::after { content: ""; position: absolute; height: 7px; left: 0; right: 0; bottom: -5px; border-radius: 100%; background: var(--crewelo-color-brand-primary); transform: rotate(-1.2deg); z-index: -1; }
.business-pricing-intro { max-width: 940px; margin: 0 auto; color: var(--crewelo-color-text-secondary); font-size: 14px; line-height: 1.4; }
.business-pricing-note { position: absolute; top: 24px; right: 0; margin: 0; color: var(--crewelo-color-ink); font: 700 14px/1.2 "Caveat", cursive; text-align: right; transform: rotate(-5deg); }
.business-pricing-note span { margin-left: 6px; color: var(--crewelo-color-brand-primary-active); font: 800 19px/1 var(--crewelo-font-display); }
.business-pricing-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.business-pricing-plan { min-width: 0; min-height: 440px; padding: 22px 20px 18px; border: 1px solid var(--crewelo-color-border-default); border-radius: 12px; background: var(--crewelo-color-background-surface); box-shadow: var(--crewelo-shadow-sm); display: flex; flex-direction: column; }
.business-pricing-plan h2 { margin: 0 0 4px; font: 800 25px/1.1 var(--crewelo-font-display); letter-spacing: -.04em; }
.business-pricing-plan__title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.business-pricing-plan__description { min-height: 40px; margin: 0; color: var(--crewelo-color-text-secondary); font-size: 13px; line-height: 1.4; }
.business-pricing-plan__badge { flex: 0 0 auto; padding: 5px 11px; border-radius: 999px; background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); font-size: 10px; line-height: 1; font-weight: 800; }
.business-pricing-plan__price { min-height: 52px; margin: 13px 0 7px; display: flex; align-items: baseline; gap: 5px; }
.business-pricing-plan__price strong { font: 800 38px/.95 var(--crewelo-font-display); letter-spacing: -.05em; }
.business-pricing-plan__price span { color: var(--crewelo-color-text-secondary); font-size: 13px; }
.business-pricing-plan ul { display: grid; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--crewelo-color-text-secondary); font-size: 13px; line-height: 1.25; }
.business-pricing-plan li { position: relative; padding-left: 24px; }
.business-pricing-plan li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); font-size: 11px; font-weight: 900; }
.business-pricing-plan li.is-muted { color: #9a9d96; }
.business-pricing-plan li.is-muted::before { background: #c8cbc2; color: #fff; }
.business-pricing-plan__action { min-height: 40px; width: 100%; margin-top: auto; padding: 0 12px; border: 1px solid var(--crewelo-color-brand-primary); border-radius: 8px; background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 800; }
.business-pricing-plan__action:hover { background: var(--crewelo-color-brand-primary-hover); }
.business-pricing-plan__action--outline { border-color: var(--crewelo-color-border-strong); background: #fff; }
.business-pricing-plan__action--outline:hover { border-color: var(--crewelo-color-ink); background: var(--crewelo-color-background-subtle); }
.business-pricing-plan--featured { border: 1.5px solid var(--crewelo-color-brand-primary); background: #f7fce9; }
.business-pricing-marketplace-note { min-height: 56px; margin: 12px 0 3px; padding: 9px 14px; border-bottom: 1px solid var(--crewelo-color-border-default); display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--crewelo-color-text-muted); font-size: 11px; text-align: center; }
.business-pricing-marketplace-note > span { color: var(--crewelo-color-ink); font-size: 17px; }
.business-pricing-marketplace-note strong { color: var(--crewelo-color-ink); }
.business-pricing-category-heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.business-pricing-category-heading h2 { margin: 0; font: 800 21px/1.1 var(--crewelo-font-display); letter-spacing: -.04em; }
.business-pricing-category-heading a { color: var(--crewelo-color-ink); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.business-pricing-category-pills { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 6px 0 8px; }
.business-pricing-category-pills > span { min-height: 35px; padding: 5px 8px; border: 1px solid var(--crewelo-color-border-default); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--crewelo-color-ink); font-size: 15px; }
.business-pricing-category-pills img { width: 17px; height: 17px; object-fit: contain; }
.business-pricing-category-pills > span > span { font-size: 10px; font-weight: 700; white-space: nowrap; }
.business-pricing-category-photos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.business-pricing-category-photos figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--crewelo-color-border-default); border-radius: 8px; background: #fff; }
.business-pricing-category-photos img { width: 100%; height: 125px; display: block; object-fit: cover; object-position: center 34%; }
.business-pricing-category-photos figcaption { min-height: 24px; padding: 5px 8px; color: var(--crewelo-color-text-secondary); font-size: 10px; font-weight: 750; text-align: center; }

.marketplace-category-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.marketplace-category-grid a { min-height: 123px; padding: 23px 6px 10px; border: 1px solid #ecece8; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(21,21,21,.04); color: #4b4d63; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; text-align: center; text-decoration: none; font-size: 14px; line-height: 16px; font-weight: 400; }
.marketplace-category-grid a:hover { border-color: var(--crewelo-color-brand-primary); background: #f8fce9; }
.marketplace-category-grid a.is-active { border-color: #c4ee5a; background: #f1f9dc; color: #151515; font-weight: 500; }
.marketplace-category-grid img { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; }
.marketplace-listings-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.marketplace-listing-card { min-width: 0; overflow: hidden; border: 1px solid var(--crewelo-color-border-default); border-radius: 12px; background: #fff; box-shadow: var(--crewelo-shadow-sm); }
.marketplace-listing-card__visual { position: relative; }
.marketplace-listing-card__photo { width: 100%; height: 216px; display: block; object-fit: cover; object-position: center 37%; background: var(--crewelo-color-background-subtle); }
.marketplace-listing-card__availability { position: absolute; inset: 10px 10px auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; pointer-events: none; }
.marketplace-listing-card__available,.marketplace-listing-card__response { min-height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 9px; line-height: 1; font-weight: 800; white-space: nowrap; }
.marketplace-listing-card__available { background: rgba(21,21,21,.94); color: #fff; }
.marketplace-listing-card__available::before { width: 6px; height: 6px; border-radius: 50%; background: var(--crewelo-color-brand-primary); content: ""; }
.marketplace-listing-card__response { background: rgba(21,21,21,.94); color: #fff; }
.marketplace-listing-card__response::before { content: none; }
.marketplace-listing-card__body { padding: 13px 14px 14px; }
.marketplace-listing-card__meta { min-height: 20px; display: flex; align-items: center; gap: 8px; color: var(--crewelo-color-text-muted); font-size: 10px; font-weight: 750; }
.marketplace-listing-card h3 { margin: 6px 0 4px; color: var(--crewelo-color-ink); font: 800 17px/1.16 var(--crewelo-font-display); }
.marketplace-listing-card__rating { margin: 0 0 8px; color: #8a6400; font-size: 11px; font-weight: 800; }
.marketplace-listing-card__rating span { color: var(--crewelo-color-text-muted); font-weight: 500; }
.marketplace-listing-card__description { min-height: 34px; margin: 0 0 7px; color: var(--crewelo-color-text-secondary); font-size: 11px; line-height: 1.4; }
.marketplace-listing-card__area { margin: 0; color: var(--crewelo-color-text-muted); font-size: 10px; }
.marketplace-listing-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
.marketplace-listing-card__link,.marketplace-listing-card__secondary { min-width: 0; min-height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-size: 10px; font-weight: 800; white-space: nowrap; }
.marketplace-listing-card__link { background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); }
.marketplace-listing-card__secondary { border-color: var(--crewelo-color-border-strong); background: #fff; color: var(--crewelo-color-ink); justify-content: center; }
.marketplace-listing-card__link:hover { background: var(--crewelo-color-brand-primary-hover); }
.marketplace-listing-card__secondary:hover { border-color: var(--crewelo-color-ink); background: var(--crewelo-color-background-subtle); }
.marketplace-listing-card__visual { min-height: 216px; overflow: hidden; background: var(--crewelo-color-background-subtle); }
.marketplace-listing-card__visual.is-placeholder { display: grid; place-items: center; }
.marketplace-listing-card__body { min-height: 184px; display: flex; flex-direction: column; }
.marketplace-listing-card__head { min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.marketplace-listing-card__icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.marketplace-listing-card__icon img { width: 22px; height: 22px; display: block; object-fit: contain; }
.marketplace-listing-card__head-text { min-width: 0; flex: 1; }
.marketplace-listing-card .marketplace-listing-card__head h3 { margin: 0 0 3px; color: var(--crewelo-color-ink); font: 750 16px/1.16 var(--crewelo-font-display); letter-spacing: -.025em; }
.marketplace-listing-card__description { min-height: 0; margin: 0; color: var(--crewelo-color-text-muted); font-size: 11px; line-height: 1.35; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.marketplace-listing-card__rating { min-height: 16px; margin: 12px 0 8px; display: flex; align-items: center; gap: 5px; color: var(--crewelo-color-ink); }
.marketplace-listing-card__stars { width: 80px; height: 14px; display: inline-flex; flex: 0 0 auto; }
.marketplace-listing-card__stars svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.marketplace-listing-card__rating strong { color: var(--crewelo-color-ink); font-size: 11px; }
.marketplace-listing-card__rating span { color: var(--crewelo-color-text-muted); font-size: 10px; }
.marketplace-listing-card__unrated { font-size: 11px !important; }
.marketplace-listing-card__area { display: flex; align-items: center; gap: 5px; color: var(--crewelo-color-text-muted); font-size: 10px; }
.marketplace-listing-card__area img { width: 14px; height: 14px; display: block; object-fit: contain; }
.marketplace-listing-card__actions { margin-top: auto; padding-top: 12px; }
.marketplace-listing-card__link,.marketplace-listing-card__secondary { min-height: 40px; font-size: 10px; }

.template-gallery-content { margin: 0 auto; }
.template-gallery-filters { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.template-gallery-filters::-webkit-scrollbar { display: none; }
.template-gallery-filter { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; border: 1px solid var(--crewelo-color-border-default); border-radius: 8px; background: #fff; color: var(--crewelo-color-text-secondary); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.template-gallery-filter:hover { border-color: var(--crewelo-color-brand-primary); background: #f8fce9; }
.template-gallery-filter.is-active { border-color: var(--crewelo-color-ink); background: var(--crewelo-color-ink); color: #fff; }
.template-gallery-filter:focus-visible { outline: 3px solid var(--crewelo-color-brand-primary); outline-offset: 2px; }
.template-gallery-filter img { flex: 0 0 auto; object-fit: contain; }
.template-gallery-card[hidden],.template-gallery-row-heading[hidden],.template-gallery-empty[hidden] { display: none !important; }
.template-gallery-empty { margin: 0; padding: 28px; border: 1px dashed var(--crewelo-color-border-strong); border-radius: 10px; color: var(--crewelo-color-text-secondary); text-align: center; }
.template-gallery-row-heading { min-height: 35px; margin: 0 0 10px; display: flex; align-items: baseline; gap: 14px; }
.template-gallery-row-heading h3 { margin: 0; color: var(--crewelo-color-ink); font: 800 21px/1.1 var(--crewelo-font-display); letter-spacing: -.04em; }
.template-gallery-row-heading > span { color: var(--crewelo-color-text-muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.template-gallery-row-heading a { margin-left: auto; color: var(--crewelo-color-ink); font-size: 12px; font-weight: 750; text-decoration: none; }
.template-gallery-row-heading--more { min-height: 45px; margin-top: 8px; margin-bottom: 10px; }
.template-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.template-gallery-card { min-width: 0; overflow: hidden; border: 1px solid var(--crewelo-color-border-default); border-radius: 12px; background: #fff; box-shadow: var(--crewelo-shadow-sm); display: flex; flex-direction: column; }
.template-gallery-card--popular { border: 1.5px solid var(--crewelo-color-brand-primary); }
.template-gallery-card__preview { position: relative; height: 160px; padding: 12px 16px 0; display: block; overflow: hidden; background: #fff; box-sizing: border-box; }
.template-gallery-card--featured .template-gallery-card__preview { height: 267px; padding-top: 16px; }
.template-gallery-card__preview > img { width: 100%; height: 100%; display: block; border-radius: 7px; object-fit: cover; object-position: center 28%; transition: transform 220ms ease; }
.template-gallery-card:hover .template-gallery-card__preview > img { transform: scale(1.025); }
.template-gallery-card__badge { position: absolute; top: 0; right: 8px; padding: 8px 14px; border-radius: 0 0 8px 8px; background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); font-size: 12px; font-weight: 800; }
.template-gallery-card__details { min-height: 75px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.template-gallery-card__icon { width: 48px; height: 48px; flex: 0 0 auto; padding: 11px; border-radius: 50%; background: #eaf8ca; object-fit: contain; box-sizing: border-box; }
.template-gallery-card__identity { min-width: 0; }
.template-gallery-card h4 { overflow: hidden; margin: 0 0 3px; color: var(--crewelo-color-ink); font: 800 17px/1.15 var(--crewelo-font-display); text-overflow: ellipsis; white-space: nowrap; }
.template-gallery-card__details p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--crewelo-color-text-muted); font-size: 12px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.template-gallery-card__action { flex: 0 0 auto; min-height: 34px; padding: 0 11px; border: 1px solid var(--crewelo-color-border-strong); border-radius: 7px; color: var(--crewelo-color-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-decoration: none; }
.template-gallery-card--popular .template-gallery-card__action { border-color: var(--crewelo-color-ink); background: var(--crewelo-color-ink); color: #fff; }
.template-gallery-card__action:hover { border-color: var(--crewelo-color-ink); background: var(--crewelo-color-background-subtle); }

.templates-cta-panel { position: absolute; inset: 126px auto auto 35px; width: 1010px; height: 780px; padding: 58px 36px 45px; overflow: visible; border-radius: 28px; background: var(--crewelo-color-ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; box-sizing: border-box; }
.templates-cta-copy { width: min(100%, 690px); min-width: 0; padding-bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; box-sizing: border-box; }
.templates-cta-eyebrow { margin: 0 0 18px; color: #b9c0b2; font: 800 10px/1.2 var(--crewelo-font-display); letter-spacing: .16em; text-transform: uppercase; }
.templates-cta-copy h2 { margin: 0 0 52px; color: #fff; font: 800 96px/.93 var(--crewelo-font-display); letter-spacing: -.055em; }
.templates-cta-copy > p:not(.templates-cta-eyebrow) { max-width: 440px; margin: 0 0 54px; color: #d2d5ce; font-size: 20px; line-height: 1.5; }
.templates-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.templates-cta-primary,.templates-cta-secondary { min-height: 52px; padding: 0 20px; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 800; }
.templates-cta-primary { min-width: 335px; min-height: 65px; padding-inline: 38px; background: var(--crewelo-color-brand-primary); color: var(--crewelo-color-ink); }
.templates-cta-secondary { padding-inline: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.templates-cta-benefits { max-width: 600px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: auto; padding-top: 28px; }
.templates-cta-benefits > div { min-width: 0; display: grid; grid-template-columns: 58px minmax(0,1fr); column-gap: 10px; align-content: start; }
.templates-cta-benefits > div > span { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: #eaf8ca; color: var(--crewelo-color-ink); display: grid; place-items: center; font-size: 23px; font-weight: 900; }
.templates-cta-benefits strong { color: #fff; font-size: 16px; line-height: 1.2; }
.templates-cta-benefits small { margin-top: 4px; color: #b9c0b2; font-size: 13px; line-height: 1.35; }
.templates-cta-previews { position: absolute; top: 20px; right: -370px; width: 650px; height: 728px; }
.templates-cta-preview { position: absolute; width: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: #fff; box-shadow: 0 18px 35px rgba(0,0,0,.24); text-decoration: none; color: var(--crewelo-color-ink); }
.templates-cta-preview { padding-bottom: 68px; }
.templates-cta-preview img { width: 100%; height: 100%; display: block; aspect-ratio: 1.5; object-fit: cover; object-position: top center; }
.templates-cta-preview--home img { aspect-ratio: 1.42; }
.templates-cta-preview--beauty { width: 46%; top: 6.5%; right: 0; }
.templates-cta-preview--beauty img { aspect-ratio: 1.25; }
.templates-cta-preview--restaurant { width: 44%; bottom: 8.5%; left: -4px; }
.templates-cta-preview--restaurant img { aspect-ratio: 1.3; }
.templates-cta-preview--health { width: 50%; right: 0; bottom: 3.5%; }
.templates-cta-preview--health img { aspect-ratio: 1.6; }
.templates-cta-preview span { position: absolute; inset: auto 8px 0; min-height: 68px; padding: 0 11px; border-radius: 7px; background: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; }
.templates-cta-preview b { font-size: 16px; }
.templates-cta-preview--home { top: 2%; left: 0; transform: rotate(-2deg); }
.templates-cta-preview--beauty { transform: rotate(2deg); }
.templates-cta-preview--restaurant { transform: rotate(1.5deg); }
.templates-cta-preview--health { transform: rotate(-1.5deg); }

@media (min-width: 768px) and (max-width: 1100px) {
  .business-pricing-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-pricing-category-pills,.business-pricing-category-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .template-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .templates-cta-panel { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px; padding: 58px 36px 45px; }
  .templates-cta-copy h2 { font-size: 52px; }
}
