.control-commitment {
  background: #f7f5ef;
  color: #101113;
  margin: 0 auto;
  max-width: 1220px;
  padding: 76px clamp(28px, 7vw, 84px);
}

.control-commitment h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 14px 0 18px;
  max-width: 860px;
}

.commitment-lead {
  color: #626473;
  line-height: 1.75;
  margin: 0;
  max-width: 900px;
}

.commitment-form {
  margin-top: 38px;
}

.commitment-options {
  border: 0;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.commitment-options legend {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.commitment-option {
  align-items: center;
  background: #fff;
  border: 1px solid #dedbd2;
  cursor: pointer;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 42px 1fr;
  min-height: 82px;
  padding: 18px 22px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.commitment-option:hover {
  border-color: #b98900;
  transform: translateY(-1px);
}

.commitment-option:has(input:checked) {
  border-color: #b98900;
  box-shadow: inset 5px 0 #f6bd16;
}

.commitment-option input {
  accent-color: #b98900;
  height: 19px;
  margin: 0;
  width: 19px;
}

.commitment-option input:focus-visible {
  outline: 3px solid #f6bd16;
  outline-offset: 5px;
}

.commitment-option-number {
  color: #9a7200;
  font-family: Georgia, serif;
  font-size: 22px;
}

.commitment-option-copy {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.commitment-date-row {
  align-items: end;
  background: #101113;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 24px;
}

.commitment-date-row label {
  color: #fff;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commitment-date-row input {
  background: #fff;
  border: 0;
  border-radius: 0;
  color: #101113;
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
}

.commitment-date-row input:focus-visible {
  outline: 3px solid #f6bd16;
  outline-offset: 3px;
}

.commitment-error {
  color: #9f2f21;
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 18px;
}

.commitment-saved {
  background: #101113;
  color: #fff;
  margin-top: 38px;
  padding: 34px;
}

.commitment-saved-top {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.commitment-status {
  background: #f6bd16;
  color: #101113;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  padding: 8px 10px;
}

.commitment-status.is-complete {
  background: #8fd4ad;
}

.commitment-deadline {
  color: #aaa7b2;
  font-size: 10px;
}

.commitment-dimension {
  color: #f6bd16;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 30px 0 10px;
  text-transform: uppercase;
}

.commitment-saved blockquote {
  border-left: 4px solid #f6bd16;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.45;
  margin: 0;
  padding: 2px 0 2px 24px;
}

.commitment-countdown {
  color: #c8c5cf;
  font-size: 12px;
  margin: 22px 0 0;
}

.commitment-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.control-commitment .secondary {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}

.control-commitment .secondary:hover {
  background: #fff;
  color: #101113;
}

.control-commitment .text-button {
  background: transparent;
  border: 0;
  color: #aaa7b2;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 12px 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.control-commitment .text-button:hover {
  color: #fff;
}

.commitment-privacy {
  color: #87848c;
  font-size: 10px;
  line-height: 1.6;
  margin: 20px 0 0;
}

.commitment-outcome {
  background: #fff8e5;
  border-left: 5px solid #f6bd16;
  color: #101113;
  margin-top: 28px;
  padding: 30px 34px;
}

.commitment-outcome-label {
  color: #8b6500;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0 0 8px;
}

.commitment-outcome h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 16px;
}

.commitment-outcome blockquote {
  color: #42434c;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.commitment-outcome-score {
  align-items: center;
  border-bottom: 1px solid rgba(16, 17, 19, .14);
  border-top: 1px solid rgba(16, 17, 19, .14);
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding: 16px 0;
}

.commitment-outcome-score span {
  font-family: Georgia, serif;
  font-size: 25px;
}

.commitment-outcome-score b {
  color: #686670;
}

.commitment-outcome-score b.is-positive {
  color: #167a4c;
}

.commitment-outcome-score b.is-negative {
  color: #a53c2b;
}

.commitment-outcome-conclusion {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  margin: 18px 0 7px;
}

.commitment-outcome small {
  color: #77747d;
}

@supports not selector(:has(*)) {
  .commitment-option:focus-within {
    border-color: #b98900;
    box-shadow: inset 5px 0 #f6bd16;
  }
}

@media (max-width: 700px) {
  .control-commitment {
    margin: 0;
    padding: 58px 21px;
  }

  .commitment-option {
    gap: 13px;
    grid-template-columns: auto 1fr;
    padding: 17px;
  }

  .commitment-option-number {
    display: none;
  }

  .commitment-date-row {
    align-items: stretch;
    flex-direction: column;
  }

  .commitment-date-row input,
  .commitment-date-row .button {
    width: 100%;
  }

  .commitment-saved {
    padding: 26px 21px;
  }

  .commitment-saved-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .commitment-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .commitment-actions button {
    width: 100%;
  }

  .commitment-outcome {
    padding: 26px 22px;
  }
}

@media print {
  .control-commitment {
    display: none !important;
  }
}
