
:where(.button-form) {
  max-width: 34rem;
  padding: 1.25rem;
  border: 1px solid light-dark(#bbd6c5, #355e48);
  border-radius: 0.875rem;
  background: Canvas;
  color: CanvasText;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

:where(.button-form header) {
  margin-block-end: 1rem;
}

:where(.button-form h2, .button-form p) {
  margin-block: 0;
}

:where(.button-form header p) {
  margin-block-end: 0.35rem;
  color: light-dark(#19704a, #74d9a3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

:where(.button-form form) {
  display: grid;
  gap: 0.65rem;
}

:where(.button-form label) {
  font-weight: 650;
}

:where(.button-form input) {
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 2.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 0.5rem;
  background: Field;
  color: FieldText;
  font: inherit;
}

:where(.button-form form > div) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block-start: 0.35rem;
}

:where(.button-form__result) {
  margin-block-start: 1rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}
