/* sociocal.com: dark-first, the sunset gradient, Unbounded for the wordmark, Outfit for text. */
@font-face { font-family: Unbounded; font-weight: 800; font-display: swap; src: url(/fonts/unbounded-800.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(/fonts/outfit-400.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(/fonts/outfit-600.woff2) format("woff2"); }

:root {
  --bg: #0a0a0d;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.68);
  --coral: #ff6a3d;
  --pink: #ff2d8a;
  --violet: #8b5cff;
  --danger: #ff6b6d;
  --sunset: linear-gradient(135deg, var(--coral), var(--pink) 52%, var(--violet));
  --display: Unbounded, "Arial Black", system-ui, sans-serif;
  --body: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Layout rules below set display, which would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--body);
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

/* The animated sunset: soft glows that drift slowly, plus a fine grain. Still with "reduce motion".
   It scrolls with the page: a fixed animated layer costs more on phones while scrolling. */
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; border-radius: 50%; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.glow-a { width: 110vmax; height: 110vmax; left: -45vmax; top: -70vmax; background: radial-gradient(closest-side, rgba(255, 106, 61, 0.42), transparent); }
.glow-b { width: 95vmax; height: 95vmax; right: -50vmax; top: -40vmax; background: radial-gradient(closest-side, rgba(255, 45, 138, 0.34), transparent); animation-duration: 32s; animation-delay: -8s; }
.glow-c { width: 120vmax; height: 120vmax; left: -20vmax; bottom: -95vmax; background: radial-gradient(closest-side, rgba(139, 92, 255, 0.32), transparent); animation-duration: 38s; animation-delay: -15s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vmax, 5vmax, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
}

.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; max-width: 1120px; width: 100%; margin: 0 auto; }
.home { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.lang {
  margin-left: auto; min-width: 52px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: 600 1rem var(--body); cursor: pointer;
}
.lang:hover { background: rgba(255, 255, 255, 0.1); }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 0 48px; }
.symbol { width: 112px; height: 112px; margin-bottom: 22px; }
.eyebrow {
  margin: 0 0 14px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.wordmark { margin: 0; font: 800 clamp(2.5rem, 15vw, 7rem)/1.05 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.wordmark.small { font-size: 1.125rem; }
.socio { color: var(--text); }
.cal { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.tagline { margin: 14px 0 32px; font-size: clamp(1.25rem, 4.6vw, 1.75rem); font-weight: 600; }

.join { width: 100%; max-width: 520px; }
.waitlist { display: grid; gap: 12px; text-align: left; }
.label { font-weight: 600; color: var(--muted); }
.field { display: grid; gap: 10px; }
input[type="email"] {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--border);
  background: rgba(10, 10, 13, 0.7); color: var(--text); font: 600 1.125rem var(--body);
}
input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
input[type="email"]:focus-visible { outline: none; border-color: #fff; }
input[aria-invalid="true"] { border-color: var(--danger); }
/* Near-black on the gradient: 4.8:1 or better along it; white would be 2.8:1 on coral. */
.cta {
  min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--sunset); color: var(--bg);
  font: 600 1.125rem var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(255, 45, 138, 0.25);
}
.cta:hover { filter: brightness(1.06); }
.cta:disabled { opacity: 0.6; cursor: progress; }
.consent { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.status { margin: 0; min-height: 1.5em; font-weight: 600; }
.status.error { color: var(--danger); }
.thanks { padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.thanks:focus { outline: none; }
.thanks p { margin: 0; }
.thanks-title { font: 800 1.5rem/1.3 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px !important; }

.features ul { list-style: none; margin: 0; padding: 0 0 56px; display: grid; gap: 14px; }
.feature { padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: rgba(20, 20, 24, 0.72); }
.feature h3 { margin: 14px 0 6px; font-size: 1.25rem; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.foot { padding: 28px 16px 36px; text-align: center; color: var(--muted); font-size: 0.9375rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.foot nav a, .foot p a { display: inline-block; padding: 10px 2px; }
.foot p { margin: 0; }
.legal { margin-top: 8px !important; font-size: 0.875rem; }

.prose { max-width: 720px; padding-bottom: 48px; }
.prose h1 { font: 800 clamp(2rem, 8vw, 3rem)/1.15 var(--display); margin: 16px 0 6px; }
.prose h2 { font-size: 1.25rem; font-weight: 600; margin: 28px 0 6px; }
.prose p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.82); }
.muted { color: var(--muted) !important; }

@media (min-width: 560px) {
  .field { grid-template-columns: 1fr auto; }
}
@media (min-width: 820px) {
  .hero { padding: 48px 0 72px; }
  .symbol { width: 136px; height: 136px; }
  .features ul { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
