/* Calculator pages: result band above the fields. Homepage colors. */

.cl-intro { padding: 28px 0 8px; }
.crumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { color: var(--green-deep); text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cl-intro h1 { max-width: 16em; }
.cl-intro .lead {
  max-width: 46em;
  margin-top: 14px;
  color: var(--muted);
}

header.site nav.desk a[aria-current="page"],
header.site nav.mob a[aria-current="page"] { color: var(--ink); }

.cl-desk {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.cl-out {
  padding: 22px 26px 20px;
  border-radius: 22px;
  background: var(--green);
  color: #F4FBF7;
}
.cl-out-k {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 251, 247, 0.78);
}
.cl-idle,
.cl-copy {
  max-width: 62ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
.cl-num {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cl-copy { color: rgba(244, 251, 247, 0.9); }

.cl-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--card);
}
.cl-form label,
.cl-form .cl-field {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.cl-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  pointer-events: none;
}
.cl-choices {
  display: flex;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.cl-choices button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 8px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.cl-choices button:first-child { border-left: 0; }
.cl-choices button:hover { background: #fff; }
.cl-choices button.is-on {
  background: var(--green);
  color: #fff;
}
.cl-form input,
.cl-form select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.cl-form input:focus,
.cl-form select:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: transparent;
}
.cl-go {
  justify-self: start;
  min-width: 160px;
  min-height: 46px;
  margin-left: 186px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.cl-go:hover { background: var(--green-deep); }
.cl-form .checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.cl-form .checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
.cl-form .checks input { min-height: 0; width: 18px; height: 18px; }

.cl-after { margin-top: 28px; }
.cl-after h2 {
  margin-bottom: 12px;
  font-size: 26px;
}
.cl-links,
.cl-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-links { margin-bottom: 22px; }
.cl-links a,
.cl-switch a,
.cl-switch .is-here {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.cl-links a:hover,
.cl-switch a:hover { background: var(--mint); color: var(--green-deep); }
.cl-switch .is-here { background: var(--ink); color: #fff; }

@media (max-width: 800px) {
  .cl-form label,
  .cl-form .cl-field { grid-template-columns: 1fr; }
  .cl-form .checks { grid-template-columns: 1fr; }
  .cl-go { width: 100%; margin-left: 0; }
  .cl-choices button { font-size: 13px; }
}
@media (max-width: 640px) {
  .cl-out { padding: 18px 16px; }
}
