/* Choice page / (templates/choice.html, choice_page.py) — Globestar navy/blue, globe background (gs-globe-bg). */
:root { --ch-bg: #0b1a33; --ch-fg: #e8eef8; --ch-muted: #93a7c8; --ch-accent: #3b82f6; --ch-accent2: #6366f1;
  --ch-card: rgba(12, 34, 68, .62); --ch-border: rgba(96, 165, 250, .24); }
*, *::before, *::after { box-sizing: border-box; }
html { background: radial-gradient(1200px 800px at 50% 20%, #13305a 0%, var(--ch-bg) 60%) var(--ch-bg); color-scheme: dark; }
html.light { background: radial-gradient(1200px 800px at 50% 20%, #13305a 0%, var(--ch-bg) 60%) var(--ch-bg); }
body.ch-body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ch-fg);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }
.ch-wrap { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  padding: max(3.5rem, env(safe-area-inset-top)) 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
.ch-head { text-align: center; max-width: 46rem; margin: 0 auto; }
.ch-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; padding: .35rem .9rem;
  border: 1px solid var(--ch-border); border-radius: 999px; background: rgba(11, 26, 51, .55);
  color: #bfdbfe; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.ch-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
.ch-title { margin: 0; font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff 0%, #bfdbfe 45%, #a5b4fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-lead { margin: 1rem auto 0; max-width: 36rem; color: var(--ch-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.ch-alert { margin: 0 auto; max-width: 40rem; padding: .75rem 1rem; border-radius: .75rem; text-align: center;
  background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .45); color: #fde68a; }
.ch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.ch-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem; background: var(--ch-card); border: 1px solid var(--ch-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ch-card:hover, .ch-card:focus-visible { transform: translateY(-4px); border-color: rgba(96, 165, 250, .7);
  box-shadow: 0 30px 70px -28px rgba(37, 99, 235, .55); outline: none; }
.ch-card:focus-visible { box-shadow: 0 0 0 3px rgba(59, 130, 246, .6); }
.ch-card--desktop { background: linear-gradient(160deg, rgba(37, 99, 235, .36), rgba(99, 102, 241, .22) 60%, rgba(12, 34, 68, .66));
  border-color: rgba(129, 140, 248, .5); }
.ch-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem;
  background: linear-gradient(135deg, var(--ch-accent), var(--ch-accent2)); box-shadow: 0 10px 24px -10px rgba(59, 130, 246, .8); }
.ch-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-label { margin-top: .4rem; font-size: 1.35rem; font-weight: 700; color: #fff; }
.ch-product { align-self: flex-start; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #c7d2fe; background: rgba(99, 102, 241, .22); border: 1px solid rgba(129, 140, 248, .45); }
.ch-body-txt { color: #cbd5e1; font-size: .97rem; }
.ch-hint { color: var(--ch-muted); font-size: .85rem; }
.ch-cta { margin-top: auto; padding-top: .6rem; color: #93c5fd; font-weight: 600; }
.ch-card:hover .ch-cta { color: #fff; }
.ch-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem;
  color: var(--ch-muted); font-size: .85rem; }
.ch-brand { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #bfdbfe; }
.ch-langs { display: flex; flex-wrap: wrap; gap: .25rem; }
.ch-langs--top { position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); z-index: 40;
  justify-content: flex-end; max-width: calc(100vw - 1.5rem); font-size: .85rem; color: var(--ch-muted);
  background: rgba(2, 6, 23, .55); border: 1px solid rgba(148, 163, 184, .2); border-radius: .75rem; padding: .25rem; backdrop-filter: blur(6px); }
.ch-langs a { padding: .25rem .5rem; border-radius: .5rem; }
.ch-langs a:hover, .ch-langs a[aria-current] { color: #fff; background: rgba(59, 130, 246, .22); }
@media (max-width: 1100px) {
  .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; width: 100%; margin: 0 auto; }
  .ch-wrap { justify-content: flex-start; gap: 1.75rem; padding-top: max(2.5rem, env(safe-area-inset-top)); }
  .ch-card { padding: 1.35rem 1.25rem 1.25rem; }
  .ch-foot { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .ch-grid { grid-template-columns: 1fr; max-width: 34rem; }
  .ch-langs--top { position: static; margin: 0 auto 1rem; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ch-card { transition: none; } .ch-card:hover { transform: none; } }
/* Auto-choice switch under the cards (Mark 2026-10-31, static/choice-auto.js) */
.ch-auto { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin: 0 auto; width: 100%; max-width: 30rem;
  padding: .8rem 1.1rem; border-radius: 1rem; background: rgba(2, 6, 23, .55); border: 1px solid rgba(148, 163, 184, .2);
  backdrop-filter: blur(6px); text-align: center; color: #e2e8f0; }
.ch-auto [hidden] { display: none; }
.ch-auto-sw { display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; font-weight: 600; }
.ch-auto-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-auto-knob { position: relative; flex: none; width: 2.6rem; height: 1.45rem; border-radius: 999px; background: rgba(148, 163, 184, .4);
  transition: background .2s; }
.ch-auto-knob::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: #fff; transition: transform .2s; }
.ch-auto-sw input:checked + .ch-auto-knob { background: var(--ch-accent, #3b82f6); }
.ch-auto-sw input:checked + .ch-auto-knob::after { transform: translateX(1.15rem); }
.ch-auto-sw input:focus-visible + .ch-auto-knob { box-shadow: 0 0 0 3px rgba(59, 130, 246, .6); }
.ch-auto-run { width: 100%; display: flex; flex-direction: column; gap: .4rem; }
.ch-auto-load { margin: 0; font-size: .9rem; color: #bfdbfe; }
.ch-auto-bar { width: 100%; height: .5rem; border-radius: 999px; background: rgba(148, 163, 184, .25); overflow: hidden; }
.ch-auto-fill { display: block; height: 100%; width: 100%; border-radius: inherit; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ch-accent, #3b82f6), var(--ch-accent2, #6366f1)); }
.ch-auto.is-running .ch-auto-fill { transform: scaleX(1); transition: transform var(--ch-auto-dur, 5s) linear; }
@media (prefers-reduced-motion: reduce) {
  .ch-auto-knob, .ch-auto-knob::after { transition: none; }
  .ch-auto.is-running .ch-auto-fill { transition: none; transform: scaleX(1); }
}
.ch-auto-sw input:checked ~ .ch-auto-txt--off, .ch-auto-sw input:not(:checked) ~ .ch-auto-txt--on { display: none; }
.ch-auto-msg { margin: 0; font-size: .95rem; }
.ch-legal { margin-top: 1.25rem; padding-bottom: 7rem; }   /* room above the cookie banner */
.ch-legal a { color: var(--ch-muted); text-decoration: underline; text-underline-offset: 2px; }
.ch-legal a:hover { color: #fff; }
