/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-950: #0d1117;
  --slate-900: #161b22;
  --slate-800: #1c2333;
  --slate-700: #242d3d;
  --slate-500: #6b7a8d;
  --slate-400: #8b99ab;
  --slate-300: #c4cdd9;
  --amber-500: #f5a623;
  --amber-400: #f7b84b;
  --amber-600: #d9911e;
  --white: #ffffff;
  --offwhite: #f0f3f7;
}

html { scroll-behavior: smooth; }

body {
  background: var(--slate-950);
  color: var(--white);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber-500); color: var(--slate-950); }

/* === TYPOGRAPHY === */
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 12px;
}

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 580px;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--amber-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-950);
}

.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

/* === HERO === */
.hero {
  padding: 72px 48px 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--slate-950), transparent);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--slate-400);
  font-weight: 500;
}

.eyebrow-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--amber-500);
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 18px;
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.services-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tag {
  padding: 5px 14px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-400);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
}

/* === PIPELINE VISUAL === */
.pipeline-visual {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
  position: relative;
}

.pipeline-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--slate-500);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pipeline-stages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.stage {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  width: 80px;
  flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
}

.stage-bar {
  height: 8px;
  background: var(--slate-700);
  border-radius: 4px;
  flex: 1;
  position: relative;
  max-width: 200px;
}

.stage-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--slate-600), var(--slate-500));
}

.stage-bar-warn::after { background: linear-gradient(90deg, #c96a3a, #e8875a); }
.stage-bar-success::after { background: linear-gradient(90deg, #2a7a4e, #3aaa68); }

.stage-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-300);
  font-family: 'Barlow Condensed', sans-serif;
}

.stage-val-warn { color: #e8875a; }
.stage-val-success { color: #3aaa68; }

.leak-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(200,106,58,0.12);
  border: 1px solid rgba(200,106,58,0.3);
  border-radius: 8px;
  margin-bottom: 16px;
}

.leak-dot {
  width: 8px;
  height: 8px;
  background: #e8875a;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.leak-text {
  font-size: 12px;
  color: #e8875a;
  font-weight: 500;
}

.audit-cta {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.audit-cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-icon {
  width: 36px;
  height: 36px;
  background: rgba(245,166,35,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-400);
}

.cta-sub {
  font-size: 12px;
  color: var(--slate-400);
}

/* === CREDIBILITY === */
.credibility {
  background: var(--slate-900);
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cred-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.cred-item {
  padding: 0 40px;
  text-align: center;
}

.cred-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--amber-500);
  margin-bottom: 4px;
}

.cred-label {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

.cred-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* === AUDIT === */
.audit {
  padding: 96px 48px;
}

.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.audit-metrics {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.audit-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-metric-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--amber-500);
}

.audit-metric-label {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

.audit-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
}

.audit-card-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.audit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.audit-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-300);
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(245,166,35,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audit-card-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
  color: var(--slate-400);
  display: flex;
  align-items: baseline;
  gap: 0;
}

.audit-from { font-weight: 500; }
.audit-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--amber-500);
  margin: 0 6px;
}
.audit-note { color: var(--slate-500); }

/* === SERVICES === */
.services {
  background: var(--slate-900);
  padding: 96px 48px;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(245,166,35,0.2);
}

.service-card-primary {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--slate-800), rgba(245,166,35,0.05));
  border-color: rgba(245,166,35,0.15);
}

.service-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber-500);
  margin-bottom: 10px;
}

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
}

/* === OUTCOMES === */
.outcomes {
  padding: 96px 48px;
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 48px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.outcome-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.outcome-icon {
  flex-shrink: 0;
}

.outcome-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.outcome-desc {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 80px 48px 96px;
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing-rule {
  width: 60px;
  height: 3px;
  background: var(--amber-500);
  margin: 0 auto 40px;
}

.closing-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.closing-byline {
  font-size: 15px;
  color: var(--slate-500);
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  padding: 48px 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: var(--slate-900);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--slate-500);
}

.footer-right {
  text-align: right;
}

.footer-service {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-stack {
  font-size: 12px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.dot { color: var(--slate-600); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--slate-600);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .audit-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { flex-wrap: wrap; gap: 24px; }
  .cred-item { padding: 0 20px; }
  .cred-divider { display: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 48px 24px 40px; }
  .services, .audit, .outcomes { padding: 64px 24px; }
  .credibility { padding: 32px 24px; }
  .closing { padding: 56px 24px 64px; }
  .footer { padding: 32px 24px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-right { text-align: left; }
  .footer-stack { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .audit-metrics { flex-direction: column; gap: 16px; }
  .hero-headline { font-size: 36px; }
  .cred-grid { gap: 32px; }
}

@media (max-width: 375px) {
  .hero-headline { font-size: 30px; }
  .section-heading { font-size: 26px; }
  .closing-headline { font-size: 24px; }
}