/* Huntress — flat, white-on-black, thin lines */

:root {
  --primary: #0052FF;
  --primary-hover: #0044DD;
  --bg: #000000;
  --bg-card: #0a0a0a;
  --text: #ffffff;
  --text-muted: #999999;
  --text-dim: #555555;
  --border: #1a1a1a;
  --border-light: #2a2a2a;
  --font: 'Space Grotesk', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.page {
  min-height: 100vh;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--border);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

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

.nav-inner .logo {
  margin-right: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-svg {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.logo-svg-sm {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-text-sm {
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link-active {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.25rem;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
}

/* Hero: split layout */
.hero-split {
  display: flex;
  min-height: calc(100vh - 53px);
  border-bottom: 2px solid var(--border);
}

.hero-left {
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 4rem;
}

.hero-left .blueprint-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #222 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-left-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
}

.hero-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.hero-title-lg {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle-lg {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-right {
  width: 50%;
  background: #000;
  position: relative;
  overflow: hidden;
  border-left: 2px solid var(--border);
}

.hero-right canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, transparent 40%);
  z-index: 20;
  pointer-events: none;
}

.hero-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, #000 100%);
  opacity: 0.5;
  z-index: 20;
  pointer-events: none;
}

/* Hero: centered */
.hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
}

/* Email Capture */
.email-capture {
  margin-top: 0;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
}

.email-input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.15s;
}

.email-input:focus {
  border-color: var(--text-dim);
}

.email-input::placeholder {
  color: var(--text-dim);
}

.email-form .btn {
  border: 1px solid var(--text);
  margin-left: -1px;
}

.email-status {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.email-status.error {
  color: #ff4444;
}

/* Metrics bar */
.metrics-bar {
  border-bottom: 2px solid var(--border);
  padding: 2rem 2rem;
}

.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Features */
.features {
  padding: 5rem 2rem;
  border-top: 2px solid var(--border);
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.feature-card {
  padding: 2rem;
  background: var(--bg);
}

.feature-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  max-width: 550px;
}

.step-number {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-family: monospace;
}

/* Horizontal steps */
.steps-horizontal {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: flex-start;
}

.step-h {
  padding: 0 1.5rem;
}

.step-divider {
  width: 1px;
  background: var(--border-light);
  align-self: stretch;
}

/* Problem split */
.problem-split {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.problem-text {
  flex: 1;
}

.problem-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-logo-img {
  width: 240px;
  height: 240px;
  filter: invert(1);
  opacity: 1;
}

/* ProcureBench */
.bench-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.body-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 640px;
}

.contact-links {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-link {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 400;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s;
}

.contact-link:hover {
  border-color: var(--text);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text);
}

.bench-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.bench-chart {
  flex-shrink: 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  height: 280px;
  padding: 0 1rem;
  border-bottom: 2px solid var(--border-light);
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 1px), var(--border) calc(100% - 1px));
  background-size: 100% 25%;
  background-position: top;
}

.bench-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 80px;
}

.bench-bar-wrap {
  height: 260px;
  display: flex;
  align-items: flex-end;
}

.bench-bar {
  width: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.75rem;
  transition: height 1s ease-out;
}

.bench-bar-huntress {
  background: var(--text);
}

.bench-bar-other {
  background: var(--border-light);
}

.bench-score {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bench-bar-huntress .bench-score {
  color: var(--bg);
}

.bench-bar-other .bench-score {
  color: #ffffff;
}

.bench-label {
  font-size: 0.6rem;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

.bench-details {
  flex: 1;
  padding-top: 0.5rem;
}

.bench-tasks {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--border);
}

.bench-task {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bench-task:last-child {
  border-bottom: none;
}

.bench-task-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.bench-task-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* On-prem */
.on-prem {
  padding: 5rem 2rem;
  border-top: 2px solid var(--border);
}

.on-prem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.on-prem-content {
  flex: 1;
}

.on-prem-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
}

.on-prem-specs {
  flex-shrink: 0;
  width: 320px;
  border: 2px solid var(--border);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-dim);
  font-weight: 400;
}

.spec-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 2rem;
}

.audience-card {
  padding: 2rem;
  background: var(--bg);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.team-member {
  padding: 2rem;
  background: var(--bg);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.team-photo {
  width: 120px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  filter: grayscale(1);
  border: 2px solid var(--border-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.team-info {
  flex: 1;
}

.team-role {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* CTA */
.cta-section {
  padding: 4rem 2rem;
  border-top: 2px solid var(--border);
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Download */
.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Footer */
.footer {
  border-top: 2px solid var(--border);
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
  }

  .hero-left, .hero-right {
    width: 100%;
  }

  .hero-left {
    padding: 3rem 1.5rem;
  }

  .hero-right {
    height: 50vh;
    border-left: none;
    border-top: 2px solid var(--border);
  }

  .hero-title-lg, .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: 5rem 1.5rem 4rem;
  }

  .feature-grid, .feature-grid-4 {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .metrics-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .steps-horizontal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-divider {
    display: none;
  }

  .bench-container {
    flex-direction: column;
  }

  .bench-chart {
    width: 100%;
    justify-content: center;
  }

  .problem-split {
    flex-direction: column;
  }

  .problem-logo-img {
    width: 160px;
    height: 160px;
  }

  .on-prem-inner {
    flex-direction: column;
  }

  .on-prem-specs {
    width: 100%;
  }

  .team-member {
    flex-direction: column;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form .btn {
    margin-left: 0;
    margin-top: -1px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
