:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --surface: #161a22;
  --surface-2: #1d2230;
  --text: #f3f4f8;
  --muted: #9aa3b6;
  --border: #272d3a;
  --accent: #ff6b6b;
  /* Solid primary for routine actions/active states (AA contrast w/ white).
     Gradient is reserved for the hero CTA + wordmark. */
  --primary: #5b54e6;
  --primary-press: #4a43d6;
  --accent-2: #a06bff;
  --grad: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 35%, #a06bff 100%);
  --ok: #2dd4a7;
  --danger: #ff5d6c;
  --r: 20px;
  --r-btn: 14px;            /* shared radius for rectangular buttons + inputs */
  --btn-shadow: 0 6px 18px rgba(91, 84, 230, 0.28);
  --btn-shadow-hover: 0 10px 26px rgba(91, 84, 230, 0.4);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --glow: 0 10px 34px rgba(160, 107, 255, 0.4);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef1f8;
    --bg-2: #e7ebf4;
    --surface: #ffffff;
    --surface-2: #f1f3fa;
    --text: #161a24;
    --muted: #5e6678;
    --border: #e2e6f0;
    --shadow: 0 18px 50px rgba(40, 50, 80, 0.16);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(160, 107, 255, 0.18), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(255, 107, 107, 0.16), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#app { height: 100%; }

.loading { display: grid; place-items: center; height: 100%; color: var(--muted); }

/* ---------- Home / create ---------- */
.home {
  max-width: 480px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px 40px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.brand { text-align: center; }
.brand .mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 8px 18px rgba(160, 107, 255, 0.45));
}
.brand .mark .pin, .brand .mark svg { width: 56px; height: 56px; }
.pin { display: inline-flex; align-items: center; justify-content: center; }
.brand h1 {
  font-family: "Space Grotesk", -apple-system, system-ui, sans-serif;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand p { color: var(--muted); margin: 0 auto; max-width: 34ch; font-size: 15px; }

.card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 7px;
}

.text-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
}
.text-input:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; }

/* Buttons
   One coherent system: every rectangular button shares the same radius
   (--r-btn), a comfortable touch target, and one transition. Filled buttons
   (.cta hero + .btn.primary) lift slightly on hover and settle on press;
   neutral buttons brighten their border. Icon pills (.pill-btn) and toggle
   chips (.style-chip) keep their round shape by design. */
button { font: inherit; cursor: pointer; border: none; border-radius: var(--r-btn); }
button:active { transform: translateY(1px); }   /* press feedback for all buttons */
button:disabled { cursor: not-allowed; }

.cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 20px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: var(--r-btn);
  box-shadow: var(--glow);
  transition: filter 0.15s, box-shadow 0.2s, transform 0.12s;
}
.cta .pin svg { width: 20px; height: 20px; display: block; }
.cta:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 40px rgba(160, 107, 255, 0.45); }
.cta:active { transform: translateY(1px); box-shadow: var(--glow); }
.cta:disabled { filter: grayscale(0.35) brightness(0.7); box-shadow: none; transform: none; }
.cta.idle { animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 10px 30px rgba(160, 107, 255, 0.3); }
  50% { box-shadow: 0 14px 44px rgba(255, 107, 107, 0.5); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.12s;
}
.btn:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--border) 40%, var(--muted)); }
.btn.primary { background: var(--primary); color: #fff; border-color: transparent; box-shadow: var(--btn-shadow); }
.btn.primary:hover { background: var(--primary-press); border-color: transparent; transform: translateY(-1px); box-shadow: var(--btn-shadow-hover); }
.btn.primary:active { transform: translateY(1px); box-shadow: var(--btn-shadow); }
.btn.danger { background: color-mix(in srgb, var(--danger) 18%, var(--surface-2)); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--danger); }
.btn.danger:hover { background: var(--danger); border-color: transparent; color: #fff; }
.btn.tiny { min-height: 0; padding: 8px 13px; font-size: 13px; }
.btn:disabled { opacity: 0.6; }
.link-btn { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px; }
.link-btn:hover { color: var(--text); }

/* Keyboard focus visibility (doesn't show for mouse/touch). */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cta:focus-visible, .btn.primary:focus-visible { outline-color: #fff; outline-offset: 3px; }

/* Segmented privacy control */
.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 14px;
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segment {
  text-align: center;
  padding: 11px 6px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.segment:hover { color: var(--text); }
.segmented input:checked + .segment {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(91, 84, 230, 0.3);
}
.privacy-desc { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; min-height: 1.2em; }

/* Locating radar */
.radar { position: relative; width: 140px; height: 120px; margin: 4px auto 0; display: grid; place-items: center; }
.radar-ring {
  position: absolute; inset: 0; margin: auto;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
  animation: radar 1.9s ease-out infinite;
}
.radar-ring:nth-child(2) { animation-delay: 0.63s; border-color: var(--accent-2); }
.radar-ring:nth-child(3) { animation-delay: 1.26s; }
@keyframes radar { 0% { transform: scale(0.4); opacity: 0.85; } 100% { transform: scale(3); opacity: 0; } }
.radar-num { position: relative; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }

/* Coordinates payoff */
.coords { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.coords .nums {
  font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.coords .acc { color: var(--muted); font-size: 13px; }

.status { font-size: 14px; color: var(--muted); min-height: 1.2em; text-align: center; }
.status.error { color: var(--danger); }
.hint { color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- Room ---------- */
.room { display: flex; flex-direction: column; height: 100%; }
#map { flex: 1; width: 100%; z-index: 0; background: var(--bg-2); }
.map-fallback { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: var(--muted); }
.leaflet-container { font: inherit; background: var(--bg-2); }
.leaflet-control-zoom a {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  gap: 8px;
  padding: max(12px, env(safe-area-inset-top)) 12px 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.share-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 7px 7px 16px;
  box-shadow: var(--shadow);
}
.share-pill .share-ico { font-size: 15px; }
.share-pill .url {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted); font-size: 13px;
}
.pill-btn {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  transition: background 0.15s;
}
.pill-btn:hover { background: var(--primary-press); }
.pill-btn.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.pill-btn.ghost:hover { background: var(--border); }
.pill-btn svg { width: 18px; height: 18px; }

/* Top-right app menu (About / Contact) — used on home, about, and room screens. */
.menu-corner { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 600; }
.app-menu { position: relative; flex: none; }
.app-menu .menu-btn { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.menu-pop {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.app-menu.open .menu-pop { display: flex; }
.menu-item {
  display: block; width: 100%;
  text-align: left;
  background: none; border: none;
  color: var(--text); font: inherit; font-size: 14px; font-weight: 500;
  padding: 10px 12px; border-radius: 9px;
  cursor: pointer; text-decoration: none;
}
.menu-item:hover { background: var(--surface-2); }

.sheet {
  position: relative;
  z-index: 500;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  padding: 6px 16px max(14px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* Drag handle (toggles peek ⇄ full) */
.sheet-handle {
  display: block; width: 100%;
  background: none; border: none; cursor: pointer;
  padding: 6px 0 2px; margin: 0;
}
.sheet-handle::before {
  content: ""; display: block;
  width: 40px; height: 5px; border-radius: 999px;
  background: var(--border); margin: 0 auto;
}
.sheet-handle:hover::before { background: var(--muted); }

/* Expanded-state header — the clear way back to collapsed */
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; cursor: pointer;
  color: var(--text); padding: 0 2px 2px;
}
.sheet-head-title { font-weight: 700; font-size: 15px; }
.sheet-head:hover .peek-chev { color: var(--text); }

/* Collapsed peek */
.peek {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px 12px; cursor: pointer; color: var(--text);
  transition: border-color 0.15s;
}
.peek:hover { border-color: var(--muted); }
.peek-empty { font-size: 20px; }
.peek-count { font-weight: 600; }
.peek-chev { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.peek-people { display: flex; }
.peek-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--c, var(--accent));
  box-shadow: 0 0 0 2px var(--surface);
  margin-left: -8px;
}
.peek-av:first-child { margin-left: 0; }
.peek-more { background: var(--surface); color: var(--muted); box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px var(--border); }

/* Floating map view controls (center on me / show everyone) */
.map-ctl { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.map-ctl-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-bottom: none; cursor: pointer;
}
.map-ctl-btn:last-child { border-bottom: 1px solid var(--border); }
.map-ctl-btn:hover { background: var(--surface-2); }
.map-ctl-btn svg { width: 20px; height: 20px; display: block; }

/* Marker tap popup (dark themed) */
.leaflet-popup-content-wrapper {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.leaflet-popup-tip { background: var(--surface); border: 1px solid var(--border); box-shadow: none; }
.leaflet-popup-content { margin: 9px 12px; }
.leaflet-popup-close-button { color: var(--muted) !important; }
.mpop { display: flex; flex-direction: column; gap: 9px; min-width: 168px; }
.mpop-row { display: flex; align-items: center; gap: 9px; }
.mpop-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--surface); }
.mpop-name { font-weight: 700; }
.mpop-meta { font-size: 12px; color: var(--muted); }
.mpop-actions { display: flex; flex-direction: column; gap: 6px; }
.mpop-go {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none;
}
.mpop-go:hover { background: var(--border); }
/* Override Leaflet's default popup link color. */
.leaflet-popup-content .mpop-go { color: var(--text); }
.mpop-ico { display: inline-flex; }
.mpop-go svg { width: 14px; height: 14px; }

.text-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.sheet-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
/* Lower min-width lets the owner's three actions sit across even on a 375px
   phone (≈109px each); labels wrap to two lines, centered, equal height. */
.sheet-row > button { flex: 1; min-width: 104px; text-align: center; line-height: 1.25; }

/* Home: the secondary "Ask" door under the gradient Share CTA. */
.home-ask { width: 100%; margin-top: 10px; }

/* Ask-link context banner (what's being asked / waiting for replies). */
.ask-banner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
}
.ask-banner strong { color: var(--text); font-size: 15px; }
.ask-banner span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* On-demand "add a name" nudge, shown once 2+ pins share the map. */
.label-nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 10px 9px 13px;
  border-radius: var(--r-btn);
  background: color-mix(in srgb, var(--primary) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
.label-nudge-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--text); }
.label-nudge .btn.tiny { flex: none; }
.label-nudge-x {
  flex: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.label-nudge-x:hover { background: var(--border); color: var(--text); }

/* People as avatar chips */
.people { display: flex; flex-direction: column; gap: 6px; max-height: 26vh; overflow: auto; }
.person {
  --c: var(--accent);
  display: flex; align-items: center; gap: 11px;
  width: 100%; text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 11px;
  transition: border-color 0.15s, transform 0.05s;
}
.person:hover { border-color: var(--c); }
.avatar {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--c) 45%, transparent);
}
.avatar.fresh { animation: avatarPulse 2.4s ease-in-out infinite; }
@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--c) 55%, transparent); }
  50% { box-shadow: 0 0 0 2px var(--surface), 0 0 0 8px color-mix(in srgb, var(--c) 8%, transparent); }
}
.p-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.p-meta .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-meta .age { font-size: 12px; color: var(--muted); }
.me-tag {
  font-size: 11px; font-weight: 700; flex: none;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 999px; padding: 2px 8px;
}

.empty {
  text-align: center; color: var(--muted);
  padding: 14px 8px; font-size: 14px;
}
.empty .big { font-size: 30px; display: block; margin-bottom: 6px; }

/* Map style swatches — single row, never wraps; chips shrink to fit */
.styles { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; }
.style-chip {
  flex: 0 1 auto;       /* don't grow (no huge desktop chips); shrink to fit */
  min-width: 0;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 9px;
  font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
}
.style-chip:hover { background: var(--border); }
.style-chip.active { background: var(--primary); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(91, 84, 230, 0.3); }
.swatch { width: 11px; height: 11px; border-radius: 4px; flex: none; display: inline-block; margin-right: 6px; border: 1px solid rgba(255, 255, 255, 0.18); }
.swatch-dark { background: #11151c; }
.swatch-light { background: #e8ebf0; }
.swatch-streets { background: linear-gradient(135deg, #cfe8c5, #a9d39a); }
.swatch-satellite { background: linear-gradient(135deg, #5b7a4b, #33485e); }
.style-chip .star { margin-left: 5px; color: #ffd166; }
.style-chip.active .star { color: #fff; }

/* Map markers */
.m-wrap { position: relative; display: block; width: 100%; height: 100%; }
.m-wrap.drop { animation: drop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
@keyframes drop { 0% { transform: translateY(-20px) scale(0.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.marker-dot { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.m-pulse {
  position: absolute; inset: 0; margin: auto;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid; opacity: 0.55;
  animation: mpulse 2.1s ease-out infinite;
}
@keyframes mpulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(3.2); opacity: 0; } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  z-index: 1000; padding: 20px;
  animation: fade 0.18s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow);
  animation: pop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1.1);
  display: flex; flex-direction: column; gap: 14px;
}
@keyframes pop { from { transform: translateY(12px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { margin: 0; font-size: 20px; font-family: "Space Grotesk", system-ui, sans-serif; }
.modal p { color: var(--muted); margin: 0; }
.modal .field-label { margin-bottom: 8px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--grad);
  color: #fff; font-weight: 700;
  padding: 11px 18px; border-radius: 999px;
  box-shadow: var(--glow);
  z-index: 2000; opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- About / privacy page ---------- */
.about {
  max-width: 620px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px 56px;
}
.about .brand { margin-bottom: 8px; }
.about .brand h1 { font-size: 36px; }
.about-lead {
  text-align: center; color: var(--muted);
  font-size: 17px; margin: 0 auto 12px; max-width: 46ch;
}
.about-sec {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  margin-top: 14px;
}
.about-sec h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px; margin: 0 0 8px;
}
.about-sec p { margin: 0; color: var(--text); line-height: 1.6; }
.about-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.about-list li { line-height: 1.55; }
.about-list strong { color: var(--text); }
.about-cta { margin-top: 22px; }
.about .hint { margin-top: 16px; }

/* Turnstile widget host — invisible in interaction-only mode; if a challenge
   is actually required (rare for real users) it appears bottom-left where it
   can be interacted with. */
.ts-widget { position: fixed; bottom: 12px; left: 12px; z-index: 1500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
