/* === CALCULATOR STANDALONE PAGE === */
.calc-page {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 80px;
}

.calc-header {
  text-align: center;
  padding: 80px 40px 48px;
  max-width: 600px;
}
.calc-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.calc-page-sub {
  font-size: 17px;
  color: var(--text-secondary);
}

.calc-card {
  width: 100%;
  max-width: 860px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 40px;
}

/* Inputs */
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-field-header label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.calc-value-display {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--surface);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.calc-assumptions {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: -16px;
}

/* Results */
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.calc-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-result-card.missed { border-color: rgba(239, 68, 68, 0.25); }
.calc-result-card.genlift { border-color: rgba(16, 185, 129, 0.25); }
.calc-result-card.net {
  border-color: rgba(232, 162, 58, 0.3);
  background: linear-gradient(135deg, var(--surface), rgba(232, 162, 58, 0.04));
}
.result-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.result-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.calc-result-card.missed .result-value { color: #f87171; }
.calc-result-card.genlift .result-value { color: var(--green); }
.calc-result-card.net .result-value { color: var(--accent); }
.result-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* CTA */
.calc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.btn-calc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--accent);
  color: #08080c;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}
.btn-calc-primary:hover { background: #f0b55a; transform: translateY(-1px); }
.calc-cta-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Proof strip */
.calc-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 32px 40px 0;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 860px;
  width: calc(100% - 80px);
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.proof-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.proof-text {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  max-width: 150px;
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* How it works */
.calc-how-it-works {
  width: 100%;
  max-width: 860px;
  margin: 48px 40px 0;
}
.calc-how-it-works h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hiw-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.hiw-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 162, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.hiw-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.hiw-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Nav active state */
.nav-active {
  color: var(--accent) !important;
}

@media (max-width: 768px) {
  .calc-card, .calc-proof, .calc-how-it-works { margin: 0 20px; }
  .calc-card { padding: 28px 20px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-proof { flex-direction: column; gap: 16px; }
  .proof-divider { display: none; }
  .calc-header { padding: 60px 20px 32px; }
}