/* Qsafe on Relay: our fonts, our mark, and the bits the Next.js runtime used to drive. */
:root {
  --font-geist-sans: 'Switzer', ui-sans-serif, system-ui, sans-serif;
  --qs-display: 'Clash Grotesk', 'Switzer', ui-sans-serif, system-ui, sans-serif;
}
html { font-family: var(--font-geist-sans); scroll-behavior: smooth; }
h1, h2, h3, .text-4xxl, .text-5xl, .text-6xl { font-family: var(--qs-display); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-weight: 600; }

.qs-mark { display: inline-flex; color: var(--primary); }
.qs-mark svg { width: 100%; height: 100%; }
header a[href="/"] { gap: .55rem; }

/* the prompt of the exposure check is a real input */
[data-check-input] {
  background: transparent; border: 0; outline: none; color: var(--accent-foreground); font: inherit;
  width: min(30ch, 62vw); padding: 0; margin-left: .35em;
}
[data-check-input]::placeholder { color: var(--accent-foreground); opacity: .55; }
[data-check] [data-check-state="busy"] { opacity: .65; }
[data-check-node] p { transition: color .3s ease; }
.qs-exposed { color: #f59e0b !important; }
.qs-hidden { color: var(--chart-1) !important; }

/* carousel driven by site.js */
[data-carousel] .cursor-grab { transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; touch-action: pan-y; }
[data-carousel] .cursor-grab.dragging { transition: none; cursor: grabbing; }

/* mobile menu */
[data-menu-panel].open { pointer-events: auto; transform: none; opacity: 1; }

/* hero shader host fades in once WebGL runs */
[data-hero-shader] { opacity: 0; transition: opacity 1.2s ease; }
[data-hero-shader].on { opacity: 1; }

/* "why now" cards without portraits */
[data-slot="card"] [data-slot="card-header"] { gap: 0; }

.qs-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; padding: 10px 16px; border-radius: 10px;
  background: var(--card); color: var(--foreground); border: 1px solid var(--border); font-size: 14px; box-shadow: 0 10px 40px #0008; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
