/* ============================================
   PRICERR — Utilitarian Industrial
   ============================================ */

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

:root {
  --green: #6CB33F;
  --green-dark: #5a9a33;
  --green-muted: rgba(108,179,63,0.12);

  --bone: #e8e4df;
  --chalk: #f5f3f0;
  --ash: #6b6b6b;
  --fog: #999;
  --steel: #2a2a2a;
  --concrete: #3a3a3a;
  --charcoal: #1c1c1c;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --orange: #f59e0b;

  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --transition: 180ms ease;

  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--steel);
  background: var(--chalk);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }


/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section-dark {
  background: var(--charcoal);
  color: var(--bone);
  position: relative;
}
.section-dark::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
}
.section-accent { background: var(--bone); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1875rem;
  color: var(--ash);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-body {
  font-size: 1.0625rem;
  color: var(--ash);
  line-height: 1.75;
  margin-bottom: 16px;
}

.section-dark .section-subtitle { color: var(--fog); }
.section-dark .section-body { color: var(--fog); }
.section-dark .section-title { color: var(--bone); }


/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  padding: 10px 20px;
}
.btn-sm { padding: 8px 16px; font-size: 0.75rem; }
.btn-lg { padding: 14px 28px; font-size: 0.8125rem; }

.btn-primary {
  background: var(--green); color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-ghost {
  background: transparent; color: var(--bone);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

.btn-outline {
  background: transparent; color: var(--green);
  border: 1px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-outline-light {
  background: transparent; color: var(--bone);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(28, 28, 28, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 300ms ease;
}
.nav.scrolled { background: rgba(28, 28, 28, 0.98); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}

.nav-logo svg { height: 24px; width: auto; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fog);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fog);
  transition: color var(--transition);
}
.nav-login:hover { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; color: var(--fog); cursor: pointer; padding: 4px; }

.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  padding: 0 24px 16px;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a {
  display: block; padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fog);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 148px 0 96px;
  background: var(--charcoal);
  color: var(--bone);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,179,63,0.3), transparent);
}

.hero-badge {
  display: inline-block; padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  border: 1px solid rgba(108,179,63,0.3);
  border-radius: 2px;
  margin-bottom: 28px;
  position: relative;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  position: relative;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--fog);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.7;
  position: relative;
}

.hero-cta {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 64px; position: relative;
}

.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 0; position: relative;
}
.hero-stat {
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-of-type { border-right: none; }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fog);
  font-weight: 500;
}
.hero-stat-divider { display: none; }

@media (max-width: 600px) {
  .hero { padding: 120px 0 64px; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat { padding: 12px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-stat:last-of-type { border-bottom: none; }
}


/* ============================================
   TRADES BAR
   ============================================ */
.trades-bar {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  background: var(--chalk);
}
.trades-bar-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog);
  margin-bottom: 16px;
}
.trades-bar-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; }
.trade-pill {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--white);
  color: var(--steel);
  border: 1px solid rgba(0,0,0,0.08);
}


/* ============================================
   MOBILE-FIRST BANNER
   ============================================ */
.mobile-banner {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 32px;
  background: var(--white);
  border-left: 3px solid var(--green);
  border-radius: 0;
}
.mobile-banner-icon { color: var(--green); flex-shrink: 0; }
.mobile-banner-content { flex: 1; }
.mobile-banner-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.mobile-banner-text { font-size: 1rem; color: var(--ash); line-height: 1.65; }
.mobile-banner-pills { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.mobile-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--green-muted);
  color: var(--green-dark);
  border-radius: 2px;
}

@media (max-width: 800px) {
  .mobile-banner { flex-direction: column; text-align: left; padding: 24px; }
  .mobile-banner-pills { flex-direction: row; flex-wrap: wrap; }
}


/* ============================================
   STEPS GRID
   ============================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,0.06); }

.step-card {
  position: relative; padding: 28px 24px;
  background: var(--chalk);
  transition: background var(--transition);
}
.step-card:hover { background: var(--white); }

.step-number {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step-icon { margin-bottom: 16px; color: var(--ash); }
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-body { font-size: 0.9375rem; color: var(--ash); line-height: 1.65; }
.step-time {
  display: inline-block; margin-top: 16px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--green-muted);
  color: var(--green-dark);
  border-radius: 2px;
}

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }


/* ============================================
   ENGINE GRID (Pricing Engine Cards)
   ============================================ */
.engine-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
}

.engine-card {
  padding: 28px;
  background: var(--steel);
  border: none;
  transition: background var(--transition);
}
.engine-card:hover { background: var(--concrete); }

.engine-card-featured {
  grid-column: auto;
  background: var(--steel);
  display: block;
  position: relative;
}
.engine-card-featured:hover { background: var(--concrete); }

.engine-card-badge { display: none; }

.engine-card-icon { margin-bottom: 16px; color: var(--fog); }
.engine-card-featured .engine-card-icon { color: var(--green); }

.engine-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.engine-card-body { font-size: 0.9375rem; color: var(--fog); line-height: 1.65; margin-bottom: 12px; }

.engine-card-list {
  list-style: none; margin: 16px 0; padding: 0;
}
.engine-card-list li {
  position: relative; padding-left: 20px;
  font-size: 0.875rem; color: var(--fog); margin-bottom: 6px; line-height: 1.5;
}
.engine-card-list li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}

.engine-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-top: 8px;
  transition: gap var(--transition);
}
.engine-card-link:hover { gap: 10px; }

@media (max-width: 900px) { .engine-grid { grid-template-columns: repeat(2, 1fr); } .engine-card-featured { grid-column: auto; } }
@media (max-width: 600px) { .engine-grid { grid-template-columns: 1fr; } }


/* ============================================
   FEATURE SPLIT (GBB, Close sections)
   ============================================ */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-split-reverse { direction: rtl; }
.feature-split-reverse > * { direction: ltr; }

.feature-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
}

.feature-split-content .section-title {
  font-size: 2.5rem;
}

.feature-callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--chalk);
  border-left: 3px solid var(--green);
  margin: 24px 0;
}
.feature-callout-stat {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.feature-callout-text { font-size: 1rem; color: var(--ash); line-height: 1.6; }

@media (max-width: 800px) {
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split-reverse { direction: ltr; }
}


/* ============================================
   GBB PREVIEW CARDS
   ============================================ */
.gbb-preview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(0,0,0,0.08);
}

.gbb-card {
  padding: 20px 16px;
  background: var(--white);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.gbb-card.gbb-better {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  z-index: 1;
}
.gbb-card.gbb-better::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue);
}

.gbb-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--blue); color: var(--white);
  white-space: nowrap;
  border-radius: 2px;
}
.gbb-tier-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog);
  margin-bottom: 4px;
}
.gbb-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: -0.01em;
}
.gbb-line { font-size: 0.875rem; color: var(--ash); margin-bottom: 12px; }
.gbb-price {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--steel);
  letter-spacing: -0.02em;
}
.gbb-sqft {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gbb-monthly { font-size: 0.875rem; color: var(--ash); margin: 4px 0 8px; }
.gbb-savings {
  display: inline-block; padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #16a34a; color: #16a34a;
  border-radius: 2px;
}
.gbb-rec {
  display: inline-block; padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--blue-light); color: var(--blue);
  border-radius: 2px;
}
.gbb-upgrade {
  display: inline-block; padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--orange); color: var(--orange);
  border-radius: 2px;
}

@media (max-width: 600px) {
  .gbb-preview { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .gbb-card.gbb-better { transform: none; }
}


/* ============================================
   CLOSE STEPS
   ============================================ */
.close-steps { margin: 32px 0; }
.close-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.close-step:last-child { border-bottom: none; }
.close-step-num {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.6875rem; font-weight: 700;
  border-radius: 2px;
}
.close-step strong {
  display: block; color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.close-step p { font-size: 0.9375rem; color: var(--fog); line-height: 1.5; margin: 0; }


/* --- Close Flow Visual --- */
.close-flow-visual {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 40px;
}
.close-flow-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fog);
  width: 180px;
  transition: all var(--transition);
}
.close-flow-step.active {
  background: rgba(108,179,63,0.08);
  border-color: rgba(108,179,63,0.25);
  color: var(--green);
}
.close-flow-dot {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--fog); flex-shrink: 0;
}
.close-flow-step.active .close-flow-dot { background: var(--green); }
.close-flow-line {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.06);
}


/* ============================================
   WHO GRID
   ============================================ */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,0.06); }
.who-card {
  padding: 28px;
  background: var(--chalk);
  transition: background var(--transition);
}
.who-card:hover { background: var(--white); }
.who-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.who-card p { font-size: 1rem; color: var(--ash); line-height: 1.6; }

@media (max-width: 600px) { .who-grid { grid-template-columns: 1fr; } }


/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-block { text-align: center; position: relative; padding: 48px 0; }
.testimonial-quote { margin: 0 auto 24px; color: var(--green); }
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--steel);
  max-width: 680px;
  margin: 0 auto 32px;
  letter-spacing: -0.01em;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; justify-content: center; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 700;
  border-radius: 2px;
}
.testimonial-name {
  font-family: var(--font-mono);
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.testimonial-role { font-size: 0.875rem; color: var(--ash); }


/* ============================================
   TRANSPARENCY
   ============================================ */
.transparency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,0.06); }
.transparency-card {
  padding: 28px;
  background: var(--chalk);
}
.transparency-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.transparency-card ul { list-style: none; padding: 0; }
.transparency-card li {
  position: relative; padding-left: 20px;
  font-size: 1rem; color: var(--ash);
  margin-bottom: 10px; line-height: 1.5;
}
.transparency-card li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

@media (max-width: 600px) { .transparency-grid { grid-template-columns: 1fr; } }


/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
  background: var(--charcoal);
  color: var(--bone);
  text-align: center;
  position: relative;
}
.section-cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-sub { font-size: 1.0625rem; color: var(--fog); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

.cta-form { max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }

.cta-input {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.cta-input::placeholder { color: var(--fog); }
.cta-input:focus { outline: none; border-color: var(--green); }
.cta-input-full { margin-bottom: 8px; }

select.cta-input { appearance: none; cursor: pointer; }
select.cta-input option { background: var(--steel); color: var(--bone); }

.cta-submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 0.8125rem; justify-content: center; }
.cta-fine {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fog);
  margin-top: 16px;
}

@media (max-width: 500px) { .cta-form-row { grid-template-columns: 1fr; } }


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal); color: var(--fog);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 600;
  margin-top: 8px;
}
.footer-tagline { font-size: 0.875rem; color: var(--fog); margin-top: 8px; line-height: 1.5; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog);
  margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.9375rem; color: var(--fog); padding: 3px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--bone); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ============================================
   CODE GRID (IRC section)
   ============================================ */
.code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.code-item {
  padding: 24px;
  background: var(--steel);
}
.code-item h3 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 8px;
}
.code-item p { font-size: 0.9375rem; color: var(--fog); line-height: 1.6; }

@media (max-width: 800px) { .code-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .code-grid { grid-template-columns: 1fr; } }


/* ============================================
   DRAWING CARDS
   ============================================ */
.drawings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.06); }
.drawing-card {
  padding: 24px;
  background: var(--chalk);
}
.drawing-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 10px;
}
.drawing-card p { font-size: 0.9375rem; color: var(--ash); line-height: 1.6; }

@media (max-width: 700px) { .drawings-grid { grid-template-columns: 1fr; } }


/* ============================================
   MATERIALS PREVIEW
   ============================================ */
.materials-preview {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  font-size: 0.875rem;
}
.mat-header {
  display: flex; justify-content: space-between;
  padding: 10px 16px;
  background: var(--bone);
  font-family: var(--font-mono);
  font-weight: 700; color: var(--steel);
  font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mat-section {
  padding: 8px 16px;
  font-weight: 700; color: var(--steel);
  background: var(--chalk);
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.875rem;
}
.mat-row {
  display: flex; justify-content: space-between;
  padding: 6px 16px 6px 28px; color: var(--ash);
  border-top: 1px solid rgba(0,0,0,0.04);
}
.mat-row span:last-child { font-weight: 600; color: var(--steel); }
.mat-total {
  display: flex; justify-content: space-between;
  padding: 10px 16px; font-weight: 800; color: var(--steel);
  background: var(--green-muted); border-top: 2px solid var(--green);
}


/* ============================================
   MANUFACTURER GRID
   ============================================ */
.mfg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.06); }
.mfg-card {
  padding: 28px;
  background: var(--chalk);
}
.mfg-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.mfg-lines { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.mfg-lines span {
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--steel);
}
.mfg-card p { font-size: 0.9375rem; color: var(--ash); line-height: 1.6; }

@media (max-width: 700px) { .mfg-grid { grid-template-columns: 1fr; } }


/* ============================================
   MATH FLOW
   ============================================ */
.math-flow { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.math-step {
  width: 100%; max-width: 500px; padding: 14px 20px;
  background: var(--steel); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px; text-align: center;
}
.math-step-highlight { border-color: rgba(108,179,63,0.25); background: rgba(108,179,63,0.06); }
.math-step-final { border-color: var(--green); background: rgba(108,179,63,0.1); }
.math-label { display: block; font-size: 1rem; font-weight: 600; color: var(--bone); }
.math-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fog);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.math-plus { font-size: 1.25rem; font-weight: 800; color: var(--fog); }
.math-step-final .math-label { color: var(--green); font-size: 1.125rem; }


/* ============================================
   CLOSE FLOW DETAIL (one-call-close page)
   ============================================ */
.close-flow-detail { max-width: 640px; margin: 0 auto; }
.cfd-step {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cfd-step:last-child { border-bottom: none; }
.cfd-step-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cfd-num {
  width: 36px; height: 36px;
  background: var(--green); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem; font-weight: 800;
  flex-shrink: 0;
  border-radius: 2px;
}
.cfd-step-header h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.cfd-time {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: var(--green-muted);
  padding: 2px 8px;
  border-radius: 2px;
}
.cfd-step p { font-size: 1rem; color: var(--ash); line-height: 1.7; margin-bottom: 12px; }
.cfd-step p:last-child { margin-bottom: 0; }


/* --- Cold Stats --- */
.cold-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.cold-stat {
  padding: 28px;
  background: var(--steel);
  text-align: center;
}
.cold-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cold-stat p { font-size: 0.9375rem; color: var(--fog); line-height: 1.6; }

@media (max-width: 700px) { .cold-stats { grid-template-columns: 1fr; } }


/* ============================================
   DEMO PAGE
   ============================================ */
.demo-layout { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.demo-content { padding-top: 16px; }
.demo-what-list { display: flex; flex-direction: column; gap: 12px; }
.demo-what-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; color: var(--fog);
}
.demo-what-item svg { flex-shrink: 0; }

.demo-form-card {
  background: var(--white);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.08);
}
.demo-input {
  width: 100%; padding: 11px 14px;
  background: var(--chalk);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 2px;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.demo-input::placeholder { color: var(--fog); }
.demo-input:focus { outline: none; border-color: var(--green); background: var(--white); }
select.demo-input { appearance: none; cursor: pointer; }

@media (max-width: 800px) {
  .demo-layout { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================
   FEATURE SCREENSHOT PLACEHOLDERS
   ============================================ */
.feature-screenshot-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 280px;
  background: var(--bone);
  border: 1px dashed rgba(0,0,0,0.15);
  text-align: center; padding: 32px;
}
.feature-screenshot-placeholder span:first-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash);
}
.placeholder-sub {
  font-size: 0.8125rem; color: var(--fog); margin-top: 4px;
}


/* ============================================
   BEYOND GRID
   ============================================ */
.beyond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.beyond-item {
  padding: 24px;
  background: var(--steel);
}
.beyond-item h3 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone);
  margin-bottom: 8px;
}
.beyond-item p { font-size: 0.9375rem; color: var(--fog); line-height: 1.6; }

@media (max-width: 700px) { .beyond-grid { grid-template-columns: 1fr; } }


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }


/* ============================================
   INTERACTIVE PRICEBOOK DEMO
   ============================================ */
.pb-section {
  padding: 100px 0 120px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.pb-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  pointer-events: none;
}
.pb-section .section-header { position: relative; z-index: 1; }
.pb-section .section-title { color: var(--bone); }
.pb-section .section-subtitle { color: var(--fog); }

.tablet-wrap {
  position: relative; z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1200px;
}
.tablet-frame {
  background: #111;
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 20px 60px -10px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.tablet-screen {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* App chrome */
.pb-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--charcoal);
  color: var(--bone);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pb-chrome-left {
  display: flex; align-items: center; gap: 8px;
}
.pb-chrome-back {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.pb-chrome-customer {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bone);
}
.pb-chrome-right {
  display: flex; align-items: center; gap: 6px;
}
.pb-chrome-status {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(108,179,63,0.15);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Trade tabs */
.pb-tabs {
  display: flex;
  background: var(--chalk);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pb-tab {
  flex: 1;
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ash);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.pb-tab:hover { color: var(--steel); background: var(--bone); }
.pb-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--white);
  font-weight: 700;
}

/* Panels */
.pb-panel {
  display: none;
  animation: pbFadeIn 400ms ease;
}
.pb-panel.active { display: block; }

.pb-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 420px;
}

/* Sidebar */
.pb-sidebar {
  padding: 16px;
  background: var(--chalk);
  border-right: 1px solid rgba(0,0,0,0.06);
  overflow-y: auto;
}
.pb-field {
  margin-bottom: 16px;
}
.pb-field-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash);
  margin-bottom: 6px;
  display: block;
}
.pb-pills {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.pb-pill {
  padding: 5px 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--steel);
}
.pb-pill:hover { border-color: var(--green); }
.pb-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.pb-swatches {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pb-swatch {
  width: 28px; height: 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.pb-swatch:hover { transform: scale(1.1); }
.pb-swatch.active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--green);
}
.pb-size-row {
  display: flex; align-items: center; gap: 6px;
}
.pb-size-input {
  flex: 1;
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--steel);
  text-align: center;
}
.pb-size-x {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--fog);
}

/* Preview area */
.pb-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pb-preview-svg {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.pb-preview-svg svg {
  width: 100%;
  height: auto;
}
.pb-preview-label {
  text-align: center;
  margin-top: 12px;
}
.pb-preview-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--steel);
  display: block;
  letter-spacing: -0.01em;
}
.pb-preview-spec {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fog);
  display: block;
  margin-top: 2px;
}

/* Price bar */
.pb-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pb-breakdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pb-breakdown-item {
  font-size: 0.75rem;
  color: var(--fog);
}
.pb-breakdown-item span {
  color: var(--bone);
  font-weight: 600;
}
.pb-total-wrap {
  text-align: right;
}
.pb-total-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fog);
  display: block;
}
.pb-total-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  display: block;
  transition: transform 200ms ease;
}
.pb-total-price.pulse {
  animation: pricePulse 300ms ease;
}
.pb-total-unit {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Deck plan mini SVG */
.pb-deck-plan {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}
.pb-deck-plan svg {
  width: 100%;
  height: auto;
}

/* Siding wall vis */
.pb-wall-vis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 340px;
}
.pb-wall {
  padding: 12px;
  background: var(--chalk);
  border: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}
.pb-wall-name {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash);
  margin-bottom: 4px;
  display: block;
}
.pb-wall-sqft {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--steel);
  display: block;
}
.pb-wall-dim {
  font-size: 0.6875rem;
  color: var(--fog);
  display: block;
}

/* Roofing vis */
.pb-roof-vis {
  width: 100%;
  max-width: 340px;
  text-align: center;
}
.pb-roof-vis svg {
  width: 100%;
  height: auto;
}

/* Auto-cycle indicator */
.pb-cycle-bar {
  height: 2px;
  background: rgba(108,179,63,0.15);
  position: relative;
  overflow: hidden;
}
.pb-cycle-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--green);
  width: 0;
  transition: width linear;
}
.pb-cycle-fill.running {
  width: 100%;
}

@keyframes pbFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Staggered entrance for sidebar fields */
.pb-panel.active .pb-field {
  animation: pbSlideIn 400ms ease both;
}
.pb-panel.active .pb-field:nth-child(1) { animation-delay: 50ms; }
.pb-panel.active .pb-field:nth-child(2) { animation-delay: 120ms; }
.pb-panel.active .pb-field:nth-child(3) { animation-delay: 190ms; }
.pb-panel.active .pb-field:nth-child(4) { animation-delay: 260ms; }
.pb-panel.active .pb-field:nth-child(5) { animation-delay: 330ms; }

@keyframes pbSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Preview entrance */
.pb-panel.active .pb-main {
  animation: pbScaleIn 500ms ease 150ms both;
}
@keyframes pbScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Price bar entrance */
.pb-panel.active .pb-price-bar {
  animation: pbSlideUp 400ms ease 300ms both;
}
@keyframes pbSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .pb-body { grid-template-columns: 1fr; min-height: auto; }
  .pb-sidebar { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .pb-main { min-height: 300px; }
  .pb-price-bar { flex-direction: column; gap: 8px; text-align: center; }
  .pb-breakdown { justify-content: center; }
  .pb-total-wrap { text-align: center; }
  .tablet-frame { border-radius: 12px; padding: 6px; }
  .tablet-screen { border-radius: 8px; }
}
