/* Homepage plan card (#try) and the shared "The best ___ in ___" picker (biz-pick.js, also used on /start).
   One white card, hairline border, the hero's warm glow inside it, no drop shadow. Markup: the #try block in scripts/make-home.py. */
#try { background: #fff; }
#onb { max-width: 900px; margin: 0 auto; padding: 40px 48px; border-radius: 16px; color: var(--ink); scroll-margin: 121px 0 16px; text-align: center;
  border: 1px solid rgba(184,81,27,0.2);
  background: radial-gradient(900px circle at 92% -18%, rgba(232,140,80,0.24), transparent 58%), radial-gradient(760px circle at -8% 116%, rgba(240,201,122,0.22), transparent 60%), #fff; }
.onb-go { margin-top: 24px; text-align: center; }
.onb-next { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 32px; border-radius: 999px; border: 0; background: var(--lime); color: #fff; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.onb-next:hover { background: var(--ink); } .onb-next span { transition: transform 0.2s; } .onb-next:hover span { transform: translateX(4px); }
.onb-next:focus-visible { outline: 3px solid rgba(184,81,27,0.4); outline-offset: 2px; }
#onb-s1:not(.is-ready) .onb-next { opacity: 0.45; }

/* ---- the picker ---- */
.bp-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; max-width: none; margin: 0; font-family: inherit; font-size: 32px; font-weight: 700; letter-spacing: 0; line-height: 1.15; color: var(--ink); }
.bp-slot { display: inline-flex; } .bp-end { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.bp-chip { display: inline-flex; align-items: center; height: 46px; border-radius: 999px; border: 1.5px solid var(--lime); background: #fff; color: var(--lime); font: inherit; font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1; white-space: nowrap; transition: box-shadow 0.2s, border-color 0.2s; }
.bp-chip button { height: 100%; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0 4px 0 18px; border-radius: 999px 0 0 999px; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
.bp-chip .bp-x { padding: 0 14px 2px 8px; border-radius: 0 999px 999px 0; font-size: 22px; font-weight: 500; opacity: 0.6; } .bp-chip .bp-x:hover { opacity: 1; color: var(--ink); }
.bp-chip button:first-child:hover { text-decoration: underline; text-underline-offset: 4px; }
button.bp-chip.is-empty { padding: 0 18px; border-style: dashed; border-color: rgba(184,81,27,0.5); color: var(--ink3); font-weight: 500; cursor: pointer; } button.bp-chip.is-empty:hover { border-color: var(--lime); color: var(--lime); }
.bp-chip.is-open { box-shadow: 0 0 0 4px rgba(184,81,27,0.16); border-style: solid; border-color: var(--lime); }
.bp-chip button:focus-visible, button.bp-chip:focus-visible, .bp-opts button:focus-visible, .bp-ok:focus-visible { outline: 3px solid rgba(184,81,27,0.4); outline-offset: 2px; }
.bp-pick { max-width: 640px; margin: 20px auto 0; animation: bp-rise 0.25s ease both; } .bp-pick[hidden], .bp-type[hidden], .bp-type input[hidden] { display: none; }
@keyframes bp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bp-q { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.bp-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.bp-opts button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 96px; padding: 0 8px; border: 1px solid rgba(27,42,74,0.2); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.15; text-align: center; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s; }
.bp-opts.is-where button { height: 52px; }
.bp-opts svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.bp-opts button:hover { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184,81,27,0.12); }
.bp-opts button.is-on { background: var(--lime); border-color: var(--lime); color: #fff; } .bp-opts button.is-on svg { stroke: #fff; }
.bp-type { display: flex; gap: 8px; max-width: 400px; margin: 12px auto 0; }
.bp-type input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(27,42,74,0.32); background: #fff; color: var(--ink); font: inherit; font-size: 17px; font-weight: 500; outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.bp-type input::placeholder { color: var(--ink3); font-weight: 400; } .bp-type input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184,81,27,0.16); }
.bp-ok { height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(27,42,74,0.32); background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; } .bp-ok:hover { border-color: var(--lime); color: var(--lime); }

@media (max-width: 767px) {
  #onb { padding: 28px 18px; }
  .bp-line { font-size: 24px; } .bp-line > span:first-child { flex-basis: 100%; text-align: center; } .bp-chip { font-size: 19px; }
  .bp-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bp-opts button { flex-direction: row; justify-content: flex-start; gap: 10px; height: 56px; padding: 0 12px; text-align: left; } .bp-opts.is-where button { justify-content: center; height: 52px; text-align: center; }
  .onb-go .onb-next { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bp-pick { animation: none; } .bp-chip, .bp-opts button, .bp-opts svg, .onb-next, .onb-next span { transition: none; } }
