:root { --fg: #1b1b1b; --muted: #555; --bg: #fff; --accent: #005a9c; --err: #b00020; --ok: #1e6b2e; --line: #c8c8c8; }
@media (prefers-color-scheme: dark) {
  :root { --fg: #eee; --muted: #b5b5b5; --bg: #161616; --accent: #6cb4ff; --err: #ff8a80; --ok: #7bd389; --line: #444; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
main { max-width: 28rem; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.3rem; margin: 0 0 .5rem; }
label { display: block; font-weight: 600; margin: 1rem 0 .3rem; }
input[type=tel], input[type=text], select, textarea { width: 100%; font: inherit; font-size: 1.1rem; padding: .6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); }
textarea { resize: vertical; min-height: 4.5rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; margin-top: 1rem; }
/* Now / Later: two big tap targets side by side. The radio stays in the label for keyboard and screen readers. */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .4rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0;
  min-height: 4.2rem; padding: .6rem .4rem; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; text-align: center; }
.card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.card-title { font-size: 1.15rem; font-weight: 700; }
.card-sub { font-size: .85rem; font-weight: 400; color: var(--muted); }
.card:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.close-now { font-weight: 600; margin-top: 1rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.fine { color: var(--muted); font-size: .82rem; line-height: 1.4; margin: .35rem 0 0 1.9rem; }
.consent { margin-top: 1.1rem; }
/* No JavaScript on this page: Later's fields and the button label follow the choice through :has().
   Browsers without :has() show the fields always and the button says "Call me now". */
form:has(#when-now:checked) .schedule { display: none; }
.b-later { display: none; }
form:has(#when-later:checked) .b-now { display: none; }
form:has(#when-later:checked) .b-later { display: inline; }
select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; flex: none; }
button { margin-top: 1rem; width: 100%; padding: .8rem; font-size: 1.05rem; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
@media (prefers-color-scheme: dark) { button { color: #000; } }
button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.err { color: var(--err); font-weight: 600; }
.ok { color: var(--ok); font-weight: 600; }
.small { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
/* Short iframe: keep the button in view without scrolling where possible. */
@media (max-height: 560px) {
  main { padding: 10px 14px; }
  h1 { font-size: 1.15rem; margin-bottom: .25rem; }
  p { margin: .4rem 0; }
  label { margin: .6rem 0 .25rem; }
  .consent { font-size: .93rem; line-height: 1.4; }
  button { margin-top: .6rem; padding: .7rem; }
  .small { margin-top: .5rem; }
}
/* Own tab on a big screen: not glued to the top edge. */
@media (min-width: 640px) and (min-height: 700px) {
  main { padding-top: 8vh; }
}
