.landing-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-inline-size: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.landing-choice[data-choice-layout="wrap"] {
  display: flex;
  flex-wrap: wrap;
}

.landing-choice[data-choice-layout="two"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-choice[data-choice-layout="three"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-choice > label {
  position: relative;
  min-inline-size: 0;
  max-inline-size: 100%;
  margin: 0;
  cursor: pointer;
}

.landing-choice > label > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.landing-choice > label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d2d9e2;
  border-radius: 10px;
  background: #fff;
  color: #202938;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.landing-choice[data-choice-style="filled"] > label > span {
  background: #f0f4fa;
  background: color-mix(in srgb, var(--choice-accent) 10%, white);
  border-color: transparent;
}

.landing-choice[data-choice-style="pill"] > label > span {
  border-radius: 999px;
}

.landing-choice[data-choice-style="card"] > label > span {
  min-height: 62px;
  box-shadow: 0 2px 6px rgb(15 23 42 / 12%);
}

.landing-choice[data-choice-style="underline"] > label > span {
  border-width: 0 0 2px;
  border-radius: 0;
  background: transparent;
}

.landing-choice > label > input:checked + span {
  border-color: var(--choice-accent, #2563eb);
  background: #eef2ff;
  background: color-mix(in srgb, var(--choice-accent) 15%, white);
  color: #111827;
  box-shadow: inset 0 0 0 1px var(--choice-accent, #2563eb);
}

.landing-choice > label > input:focus-visible + span {
  outline: 2px solid var(--choice-accent, #2563eb);
  outline-offset: 2px;
}
