html {
  overflow-x: hidden;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(243, 176, 76, 0.16), transparent 20%),
    radial-gradient(circle at 10% 18%, rgba(80, 188, 170, 0.16), transparent 16%),
  linear-gradient(180deg, #08131f 0%, #0e1b2a 100%);
  color: #eff5fb;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.proof-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.site-nav,
.panel-header,
.section-heading,
.cta-row,
.detail-grid,
.method-grid,
.metric-grid {
  display: grid;
  gap: 16px;
}

.site-nav,
.panel-header,
.section-heading,
.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-nav {
  margin-bottom: 24px;
}

.brand-mark,
.panel h2,
.proof-hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.brand-mark {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.nav-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link,
.button,
.panel,
.metric-card,
.breakdown-row,
.latest-sample-card {
  border-radius: 22px;
}

.nav-link,
.button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.button.primary {
  background: linear-gradient(135deg, #f3b05a 0%, #ffce8a 100%);
  color: #152131;
  border-color: transparent;
  font-weight: 700;
}

.button.secondary {
  color: #eff5fb;
}

.panel,
.metric-card,
.breakdown-row,
.latest-sample-card {
  background: rgba(8, 18, 33, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.panel,
.metric-card,
.breakdown-row,
.latest-sample-card {
  padding: 22px;
}

.panel,
.metric-card,
.breakdown-row,
.latest-sample-card {
  min-width: 0;
}

.eyebrow,
.label,
.status-pill {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.eyebrow {
  color: #f4c678;
}

.proof-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.proof-hero p,
.panel p,
.muted {
  color: #b3c4d8;
  line-height: 1.65;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.status-pill.within-target {
  background: rgba(117, 219, 150, 0.16);
  color: #c8ffd7;
}

.status-pill.above-target {
  background: rgba(255, 144, 144, 0.16);
  color: #ffd0d0;
}

.proof-hero,
.proof-metrics,
.detail-grid,
.method-grid,
.final-cta {
  margin-top: 20px;
}

.metric-grid,
.detail-grid,
.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-metrics .metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.latest-sample-card pre {
  margin: 8px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 13px;
  color: #edf4fb;
}

@media (max-width: 980px) {
  .proof-metrics .metric-grid,
  .detail-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .panel-header,
  .section-heading,
  .final-cta {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .proof-shell {
    padding: 18px 14px 56px;
  }

  .panel,
  .metric-card,
  .breakdown-row,
  .latest-sample-card {
    padding: 18px;
  }

  .proof-hero h1 {
    font-size: clamp(34px, 12vw, 50px);
    line-height: 0.98;
  }

  .nav-actions,
  .cta-row {
    width: 100%;
    flex-direction: column;
  }

  .nav-link,
  .button {
    width: 100%;
  }

  .status-pill {
    min-width: 0;
    max-width: 100%;
  }

  pre {
    max-width: 100%;
  }
}
