:root {
  color-scheme: light;
  --ink: var(--tg-theme-text-color, #242126);
  --muted: var(--tg-theme-hint-color, #6f6973);
  --surface: var(--tg-theme-secondary-bg-color, #ffffff);
  --page: var(--tg-theme-bg-color, #f4f1ec);
  --accent: var(--tg-theme-button-color, #6750a4);
  --accent-text: var(--tg-theme-button-text-color, #ffffff);
  --accent-soft: #eee8fb;
  --line: #e6e0e8;
  --warm: #f6b84a;
  --success: #34745b;
  --danger: #a74444;
  font-family: Inter, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

/* WebKit inflates "text-heavy" blocks in wide webviews (iPad, desktop Telegram),
   which made card descriptions render larger than the rest of the card. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  padding: max(22px, env(safe-area-inset-top)) 22px 64px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(246, 184, 74, .72) 0 8%, transparent 8.5%),
    radial-gradient(circle at 93% 67%, rgba(255,255,255,.12) 0 17%, transparent 17.5%),
    linear-gradient(145deg, #58408f, #7860b3 68%, #8b6ec5);
}

.hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -95px;
  border: 22px solid rgba(255,255,255,.09);
  border-radius: 50%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  font-weight: 750;
  letter-spacing: .01em;
}

.brand-mark { width: 40px; height: 24px; }

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero p {
  max-width: 520px;
  margin: 19px 0 0;
  color: rgba(255,255,255,.83);
  font-size: 1rem;
  line-height: 1.48;
}

main {
  position: relative;
  width: min(100%, 680px);
  margin: -34px auto 0;
  padding: 0 14px max(42px, env(safe-area-inset-bottom));
}

.panel {
  margin-bottom: 14px;
  padding: 22px 18px;
  border: 1px solid rgba(45,31,62,.06);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(48,37,61,.08);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.section-heading h2, .results-heading h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: .85rem; }

.step {
  display: grid;
  flex: 0 0 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 750;
  font-size: .85rem;
}

.combobox-wrap { position: relative; }
.address-row { position: relative; }

#address {
  width: 100%;
  min-height: 52px;
  padding: 12px 74px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: #fbfafc;
  transition: border-color .15s, box-shadow .15s;
}

#address:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(103,80,164,.13); }
#address::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.clear-address {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
}
.clear-address:hover, .clear-address:focus { color: var(--ink); background: var(--accent-soft); }
.clear-address:focus-visible { outline: 3px solid rgba(103,80,164,.2); }

.mini-spinner {
  position: absolute;
  top: 17px;
  right: 46px;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd5ea;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

@keyframes spin { to { rotate: 360deg; } }

.suggestions {
  position: absolute;
  z-index: 10;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(35,25,47,.17);
}

.suggestions button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  text-align: left;
  background: transparent;
}

.suggestions button:hover, .suggestions button:focus { outline: none; background: var(--accent-soft); }
.suggestions strong, .suggestions small { display: block; }
.suggestions small { margin-top: 2px; color: var(--muted); }

.text-button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 2px;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 680;
}

.selected-location {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--success);
  background: #eaf5ef;
  font-size: .88rem;
}

fieldset { margin: 0 0 20px; padding: 0; border: 0; }
legend, .field-label { display: flex; align-items: baseline; width: 100%; margin-bottom: 9px; font-size: .88rem; font-weight: 730; }
.hint { margin-left: 8px; color: var(--muted); font-size: .78rem; font-weight: 500; }

.range-row { display: block; }
.range-row .field-label { justify-content: space-between; align-items: baseline; }
.range-row output { color: var(--accent); font-weight: 730; }
.range-scale { display: flex; justify-content: space-between; margin-top: 2px; color: var(--muted); font-size: .74rem; }
input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border: 2px solid var(--accent-text);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(48,37,61,.28);
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent-text);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(48,37,61,.28);
}
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.choice-grid { display: grid; gap: 7px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
/* Five choices: three on the first row and two wider ones on the second. */
.choice-grid.five { grid-template-columns: repeat(6, 1fr); }
.choice-grid.five label { grid-column: span 2; }
.choice-grid.five label:nth-child(n+4) { grid-column: span 3; }

.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span {
  display: grid;
  min-height: 40px;
  padding: 6px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fbfafc;
  font-size: .84rem;
  font-weight: 650;
  text-align: center;
  transition: .15s;
}
.choice-grid input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(103,80,164,.2); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interests-panel { margin: -6px 0 20px; border: 1px solid var(--line); border-radius: 14px; background: #fbfafc; }
.interests-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  list-style: none;
  cursor: pointer;
}
.interests-panel summary::-webkit-details-marker { display: none; }
.interests-panel summary:focus-visible { outline: 3px solid rgba(103,80,164,.2); border-radius: 14px; }
.interests-label { font-size: .88rem; font-weight: 730; }
.interests-summary {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.interests-panel .chevron { flex: 0 0 auto; width: 18px; height: 18px; color: var(--muted); transition: transform .15s; }
.interests-panel[open] .chevron { transform: rotate(180deg); }
.interests-actions { display: flex; gap: 16px; padding: 0 14px 6px; }
.interests-actions .text-button { padding: 4px 0; font-size: .8rem; }
.interest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px 8px 10px; }
.interest-tile input { position: absolute; opacity: 0; pointer-events: none; }
.interest-tile span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  min-height: 70px;
  padding: 9px 2px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
  transition: .15s;
  cursor: pointer;
}
.interest-tile b { font-size: .64rem; font-weight: 650; line-height: 1.2; letter-spacing: -.01em; hyphens: manual; }
.interest-tile input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.interest-tile input:focus-visible + span { outline: 3px solid rgba(103,80,164,.2); }

.interest-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 7px 0 0; color: var(--muted); font-size: .78rem; font-weight: 600; }
.interest-tags[hidden] { display: none; }
.interest-tag { display: inline-flex; align-items: center; gap: 5px; }
.interest-tag .icon { width: 15px; height: 15px; }

.filter-row { margin-bottom: 20px; }
.number-field { display: flex; align-items: center; gap: 9px; }
.number-field input {
  width: 78px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  text-align: center;
  background: #fbfafc;
}
.number-field input:focus { border-color: var(--accent); }
.number-field span { color: var(--muted); }
.age-fields { flex-wrap: wrap; }
.age-fields [hidden] { display: none; }
.age-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
}
.age-button.add-age { color: var(--accent); background: var(--accent-soft); }
.age-button:hover, .age-button:focus { color: var(--ink); background: var(--accent-soft); }
.age-button:focus-visible { outline: 3px solid rgba(103,80,164,.2); }
.age-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.3; }

.toggles { border-top: 1px solid var(--line); }
.subscription-panel { padding: 18px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.checkbox-row input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.checkbox-row > span { flex: 1; }
.checkbox-row strong, .checkbox-row small { display: block; }
.checkbox-row strong { font-size: .95rem; }
.checkbox-row small { margin-top: 3px; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.subscription-note { margin: 10px 0 0 36px; color: var(--danger); font-size: .78rem; line-height: 1.3; }
.toggle-row { display: flex; align-items: center; gap: 16px; padding: 15px 0 0; }
.toggle-row + .toggle-row { margin-top: 14px; border-top: 1px solid var(--line); }
.toggle-row > span { flex: 1; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: .87rem; }
.toggle-row small { margin-top: 3px; color: var(--muted); font-size: .75rem; line-height: 1.25; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-row i {
  position: relative;
  flex: 0 0 44px;
  height: 26px;
  border-radius: 20px;
  background: #d9d4dc;
  transition: .2s;
}
.toggle-row i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: .2s;
}
.toggle-row input:checked + i { background: var(--accent); }
.toggle-row input:checked + i::after { translate: 18px 0; }
.toggle-row input:focus-visible + i { outline: 3px solid rgba(103,80,164,.2); }

.primary-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border: 0;
  border-radius: 17px;
  color: var(--accent-text);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(73,50,127,.24);
  font-size: 1rem;
  font-weight: 760;
}
.primary-button:hover { filter: brightness(1.06); }
.primary-button:disabled { cursor: wait; opacity: .72; }

.results-section { margin-top: 34px; }
.results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 4px 15px; }
.results-title { display: flex; align-items: center; gap: 8px; }
.results-controls { display: flex; flex-wrap: wrap; gap: 8px; }

.results-map {
  height: min(72vh, 620px);
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.results-map[hidden], .map-legend[hidden] { display: none; }
.map-note { margin: 0; padding: 40px 20px; color: var(--muted); text-align: center; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 4px 0; color: var(--muted); font-size: .78rem; }
.map-legend-events::before, .map-legend-classes::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.map-legend-classes::before { background: #2f7d6d; }
.map-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(48,37,61,.35);
  cursor: pointer;
}
.map-pin-classes { background: #2f7d6d; }
.map-pin-mixed { background: linear-gradient(135deg, var(--accent) 50%, #2f7d6d 50%); }
.map-pin .icon { width: 20px; height: 20px; }
.map-pin b {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 19px;
  padding: 1px 5px;
  border-radius: 10px;
  color: #30253d;
  background: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 1px 4px rgba(48,37,61,.3);
}
.map-hint { display: grid; gap: 3px; min-width: 200px; max-width: 260px; font: 500 .8rem/1.35 Inter, -apple-system, sans-serif; color: #242126; white-space: normal; overflow-wrap: anywhere; }
.map-hint strong { font-weight: 750; }
.map-balloon { font: .84rem/1.4 Inter, -apple-system, sans-serif; color: #242126; white-space: normal; overflow-wrap: anywhere; }
.map-address { margin: 0 0 8px; color: #6f6973; font-size: .78rem; }
.map-balloon ul { display: grid; gap: 10px; max-height: 240px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.map-balloon li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid #e6e0e8; }
.map-balloon li:last-child { padding-bottom: 0; border-bottom: 0; }
.map-card-kind { color: #6750a4; font-size: .72rem; font-weight: 700; }
.map-balloon a { color: #6750a4; font-weight: 700; text-decoration: none; }
.map-shared { margin: -4px 0 8px; color: #6f6973; font-size: .78rem; }
.map-contacts { color: #6f6973; }
.map-balloon .map-signup { white-space: nowrap; }
.map-more { margin: 8px 0 0; color: #6f6973; font-size: .78rem; }
.sort-control {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
  background: var(--surface);
}
.sort-control[hidden] { display: none; }
.sort-control:focus-within { outline: 3px solid rgba(103,80,164,.2); }
.sort-icon { display: flex; }
.sort-icon svg {
  display: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.view-control[data-view="list"] svg[data-icon="list"],
.view-control[data-view="map"] svg[data-icon="map"],
.sort-control[data-sort="events_first"] svg[data-icon="events_first"],
.sort-control[data-sort="classes_first"] svg[data-icon="classes_first"],
.sort-control[data-sort="distance"] svg[data-icon="distance"] { display: block; }
.sort-control select {
  min-width: 0;
  padding: 9px 30px 9px 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236f6973' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center / 11px 8px;
  font-size: .84rem;
  font-weight: 650;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.sort-control select:focus { outline: none; }
.eyebrow { margin: 0 0 4px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.results-heading .eyebrow { margin: 0; font-size: .72rem; letter-spacing: .12em; }
.group-heading { display: flex; align-items: center; gap: 8px; margin: 22px 4px 12px; font-size: 1rem; letter-spacing: -.01em; }
.group-heading:first-child { margin-top: 0; }
.count { padding: 5px 9px; border-radius: 20px; color: var(--accent); background: var(--accent-soft); font-size: .8rem; font-weight: 750; }

.coverage-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 11px 13px;
  border: 1px solid #dcd2f1;
  border-radius: 13px;
  color: #554178;
  background: #f3eefc;
  font-size: .8rem;
  line-height: 1.4;
}
.coverage-status[hidden] { display: none; }
.coverage-spinner {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #d8ccec;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.status {
  padding: 24px 18px;
  border: 1px dashed #d7d0d9;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.status.error { border-color: #e5b9b9; color: var(--danger); background: #fff5f5; }
.status.loading { border-style: solid; }
/* One column exactly as wide as the page: a grid item otherwise grows to its
   longest unbreakable word, and a raw sign-up URL widened every card. */
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

.event-card {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 18px;
  border: 1px solid rgba(45,31,62,.07);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 7px 24px rgba(48,37,61,.07);
}
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.category-pill { padding: 5px 9px; border-radius: 9px; color: var(--accent); background: var(--accent-soft); font-size: .73rem; font-weight: 760; }
.distance { color: var(--muted); font-size: .78rem; font-weight: 650; }
.event-card h3 { margin: 13px 0 7px; font-size: 1.16rem; line-height: 1.2; letter-spacing: -.02em; }
.schedule { margin: 0; color: var(--ink); font-size: .88rem; font-weight: 660; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.fact { padding: 6px 9px; border-radius: 9px; color: #524b55; background: #f3f0f4; font-size: .76rem; }
.fact.caution { color: #895f15; background: #fff2d6; }
.description-block { margin-top: 12px; }
.description { margin: 0; color: var(--ink); opacity: .8; font-size: .84rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
/* Three lines by default; the toggle appears only when the text actually overflows. */
.description.clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.description-toggle { margin-top: 6px; padding: 0; font-size: .82rem; font-weight: 720; }
.hero .browser-notice { margin: 14px 0 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; font-size: .82rem; line-height: 1.4; color: #fff; background: rgba(255,255,255,.16); opacity: 1; }
.uncertainty { margin-top: 13px; padding: 10px 11px; border-radius: 11px; color: #755419; background: #fff5dd; font-size: .76rem; line-height: 1.42; }
.uncertainty ul { margin: 5px 0 0; padding-left: 17px; }
.contacts { margin-top: 13px; font-size: .8rem; line-height: 1.45; }
.contacts strong { display: block; margin-bottom: 6px; color: var(--muted); font-size: .74rem; font-weight: 720; letter-spacing: .02em; text-transform: uppercase; }
.contacts ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.contacts li { display: flex; align-items: flex-start; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.contacts .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--muted); }
.contacts li a { color: var(--accent); font-weight: 650; text-decoration: none; }
.contacts li a:hover { text-decoration: underline; }
.map-address a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: #c9c2cf; }
.contacts .signup { display: inline-block; margin-top: 10px; padding: 7px 15px; border-radius: 999px; color: var(--accent-text); background: var(--accent); font-weight: 720; text-decoration: none; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.sources a { color: var(--accent); font-size: .8rem; font-weight: 720; text-decoration: none; }
.sources a:hover { text-decoration: underline; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
[hidden] { display: none !important; }

@media (min-width: 620px) {
  .hero { padding-left: max(22px, calc((100vw - 650px) / 2)); padding-right: max(22px, calc((100vw - 650px) / 2)); }
  main { padding-inline: 0; }
  .panel { padding: 25px 24px; }
  .choice-grid.five { grid-template-columns: repeat(5, 1fr); }
  .choice-grid.five label, .choice-grid.five label:nth-child(n+4) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
