html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { color-scheme: light; background: #ffffff; }
body { font-family: 'Inter', system-ui, sans-serif; }
::selection { background: rgba(124, 58, 237, .18); }
[data-reveal], [data-intro] { opacity: 0; }

.nav-solid {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(15, 23, 42, .08);
}

.fade-x {
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.spark { stroke-dasharray: 1; stroke-dashoffset: 0; }
[data-dot].dot-on { background: #7C3AED; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

.spot { position: relative; }
.spot::before, .spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.spot::before {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 58, 237, .55), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.spot::after {
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 58, 237, .06), transparent 65%);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.caret::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: #7C3AED;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Form Controls */
.label { display: block; margin-bottom: .4rem; font-size: .8125rem; font-weight: 500; color: #334155; }
.field {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: .625rem;
  background: #fff;
  padding: .7rem .9rem;
  font-size: .875rem;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: #94a3b8; }
.field:hover { border-color: #94a3b8; }
.field:focus { outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.field:user-invalid { border-color: #dc2626; }
.field:user-invalid:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1.1rem; padding-right: 2.5rem; }
textarea.field { resize: vertical; min-height: 8rem; }

/* Legal Prose Styling */
.legal h2 { margin-top: 2.75rem; scroll-margin-top: 96px; font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; color: #0f172a; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.5rem; font-size: 1rem; font-weight: 600; color: #0f172a; }
.legal p, .legal li { color: #475569; font-size: .9375rem; line-height: 1.75; }
.legal p { margin-top: .9rem; }
.legal ul { margin-top: .9rem; padding-left: 1.25rem; list-style: disc; }
.legal li { margin-top: .4rem; }
.legal li::marker { color: #7C3AED; }
.legal a { color: #7C3AED; text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: #0f172a; font-weight: 600; }
.legal table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .875rem; }
.legal th, .legal td { border: 1px solid #e2e8f0; padding: .65rem .85rem; text-align: left; color: #475569; }
.legal th { background: #f5f3ff; color: #0f172a; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-intro] { opacity: 1; }
  .marquee { animation: none; }
  .sheen::after { animation: none; }
}
