/* IT Cost Calculator — page-specific styles (loads only on its template).
   Reuses the theme tokens from style.css; gate-form styles live there too. */

.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

/* ----- inputs card ----- */

.calc-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 34px 32px;
}

.calc-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 22px;
}

.calc-field { margin-bottom: 26px; }
.calc-field:last-of-type { margin-bottom: 10px; }

.calc-field > label,
.calc-label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.calc-q { color: var(--ember-text); margin-right: 4px; }

/* slider */
.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.calc-slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--ember);
  cursor: pointer;
}

.calc-people-out {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 52px;
  text-align: center;
  background: var(--paper-tint);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 4px 10px;
}

/* what's-included ticks (reuses .ticks from style.css) */
.calc-included {
  grid-template-columns: 1fr;
  margin: 4px 0 0;
}

.calc-smallprint {
  font-size: 0.78rem;
  color: var(--mist-dim);
  margin: 18px 0 0;
}

/* ----- result panel ----- */

.calc-result {
  position: sticky;
  top: 96px;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.calc-result-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.calc-result-figure {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.1;
}

.calc-result-per {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mist);
  margin-left: 6px;
}

.calc-result-sub {
  font-size: 0.9rem;
  color: var(--mist);
  margin: 0 0 18px;
}

.calc-result-notes {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-result-notes li {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--mist);
  padding-left: 18px;
  position: relative;
}

.calc-result-notes li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* the gate inherits .gate-form styles from style.css; tune for dark panel */
.calc-gate .gate-form,
.calc-gate .gate-success {
  background: var(--paper);
  border-radius: 12px;
  padding: 22px 20px;
}

/* ----- breakdown reveal ----- */

.calc-breakdown[hidden] { display: none; }

/* ----- responsive ----- */

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
