/* CollabQuote — Rate Calculator page styles
   Reuses existing design tokens (--green, --primary, --border, --radius, etc.)
   defined in site.css. Only new component classes live here. */

.calc-hero {
  padding-top: 64px;
  padding-bottom: 12px;
  max-width: 680px;
}

.calc-hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 14px 0 16px;
  color: var(--ink);
}

.calc-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-ink);
  max-width: 540px;
}

.calc-body {
  padding-block: 40px 100px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.calc-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 8px;
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}

.calc-field select {
  width: 100%;
  appearance: none;
  background: var(--surface) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2356635a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') no-repeat right 14px center;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 11px 38px 11px 13px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.calc-field select:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}

.calc-toggles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 4px 18px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.calc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 11px;
  border-bottom: 1px solid #eef2ed;
  cursor: pointer;
}

.calc-toggle:last-child {
  border-bottom: none;
}

.calc-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.calc-toggle span {
  font-size: 14.5px;
  color: var(--ink);
}

.calc-toggle small {
  display: block;
  color: var(--muted-ink);
  font-size: 12.5px;
}

.calc-output {
  position: sticky;
  top: 24px;
}

.calc-output .deal-sheet {
  margin: 0;
}

.calc-output .example-label {
  background: var(--lime);
  color: var(--ink);
}

.calc-lines .deal-line small {
  max-width: 260px;
}

.calc-empty-note {
  color: var(--muted-ink);
  font-size: 13.5px;
  padding-block: 6px 2px;
}

.calc-cta {
  padding-top: 0;
}

.calc-cta-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.calc-cta-copy h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--ink);
}

.calc-cta-copy p {
  color: var(--muted-ink);
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-output {
    position: static;
  }
  .calc-hero h1 {
    font-size: 32px;
  }
}
