/* goonstack site: Neon tide, matching the Wall. Fonts are self-hosted (SIL OFL),
   so the site makes no third-party requests. No inline styles: the CSP is style-src 'self'. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
}

:root {
  --bg: #060a13;
  --panel: #0a101d;
  --card: rgba(22, 30, 52, 0.62);
  --line: rgba(120, 160, 255, 0.14);
  --text: #e8edf7;
  --muted: #9aa8c6;
  --faint: #7f8cab;
  --accent: #33e1e6;
  --accent-2: #9d7bff;
  --tide: linear-gradient(90deg, var(--accent), var(--accent-2));
  --on-tide: #061018;
  --display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(157, 123, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(51, 225, 230, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--ui);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7ff0f3; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 32px; height: 32px; }
.word {
  font: 600 21px var(--display);
  letter-spacing: -0.02em;
  background: var(--tide);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  font: 600 15px var(--display); text-decoration: none; cursor: pointer;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.btn.prim { background: var(--tide); border-color: transparent; color: var(--on-tide); }
.btn.prim:hover { filter: brightness(1.08); color: var(--on-tide); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(6, 10, 19, 0.72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; font: 500 14px var(--display); }
.top nav a:hover { color: var(--text); }
.top nav .btn { min-height: 38px; padding: 6px 16px; font-size: 14px; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font: 600 12px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(38px, 6vw, 60px); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; background: var(--tide); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 14px; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Abstract wall: SFW gradient tiles packed in justified rows, like the app. */
.wall {
  display: flex; flex-direction: column; gap: 4px;
  aspect-ratio: 16 / 10; padding: 4px;
  border-radius: 18px; border: 1px solid var(--line);
  background: #03060c; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(157, 123, 255, 0.08);
}
.row { display: flex; gap: 4px; min-height: 0; }
.row.r1 { flex: 1.55 1 0; }
.row.r2 { flex: 1.8 1 0; }
.row.r3 { flex: 1.5 1 0; }
.tile { border-radius: 6px; min-width: 0; position: relative; background-size: 200% 200%; animation: drift 14s ease-in-out infinite alternate; }
.w169 { flex: 1.778 1 0; } .w916 { flex: 0.562 1 0; } .w43 { flex: 1.333 1 0; } .w11 { flex: 1 1 0; } .w21 { flex: 2 1 0; } .w65 { flex: 1.2 1 0; }
.h1 { background-image: radial-gradient(circle at 40% 80%, hsl(190 70% 60% / .85), transparent 55%), linear-gradient(160deg, hsl(200 35% 16%), hsl(240 40% 28%)); }
.h2 { background-image: radial-gradient(circle at 25% 25%, hsl(280 70% 64% / .85), transparent 55%), linear-gradient(30deg, hsl(260 35% 16%), hsl(300 40% 26%)); animation-delay: -3s; }
.h3 { background-image: radial-gradient(circle at 45% 55%, hsl(170 70% 55% / .85), transparent 55%), linear-gradient(130deg, hsl(180 35% 14%), hsl(210 40% 26%)); animation-delay: -6s; }
.h4 { background-image: radial-gradient(circle at 35% 25%, hsl(220 75% 64% / .85), transparent 55%), linear-gradient(105deg, hsl(225 35% 16%), hsl(250 40% 30%)); animation-delay: -9s; }
.h5 { background-image: radial-gradient(circle at 60% 60%, hsl(300 65% 62% / .8), transparent 55%), linear-gradient(15deg, hsl(290 35% 15%), hsl(320 40% 26%)); animation-delay: -2s; }
.h6 { background-image: radial-gradient(circle at 55% 35%, hsl(200 75% 58% / .85), transparent 55%), linear-gradient(56deg, hsl(195 35% 15%), hsl(230 40% 28%)); animation-delay: -7s; }
.tile.main { outline: 2px solid var(--accent); outline-offset: -2px; }
.tile.main::after {
  content: '+'; position: absolute; left: 6px; bottom: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tide); color: var(--on-tide); font: 700 14px var(--display);
}
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
  .tile { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
section { padding: 56px 0; }
.sec-head { max-width: 40em; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); margin: 10px 0 12px; }
.sec-head p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  padding: 22px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ico { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: rgba(51, 225, 230, 0.12); color: var(--accent); font: 700 17px var(--display); }
.tag { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; font: 600 11px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(157, 123, 255, 0.35); }

/* Privacy list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

/* Waitlist */
.join-box {
  padding: 36px; border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(51, 225, 230, 0.12), rgba(157, 123, 255, 0.14));
  border: 1px solid rgba(157, 123, 255, 0.3);
}
.join-box h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; }
.join-box > p { color: var(--muted); max-width: 34em; margin: 0 auto; }
.join { display: flex; gap: 10px; max-width: 460px; margin: 24px auto 0; }
.join input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(3, 6, 12, 0.7); color: var(--text); font: 16px var(--ui);
}
.join input::placeholder { color: var(--faint); }
.join .btn { min-height: 48px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--faint); }
@media (max-width: 520px) {
  .join { flex-direction: column; }
  .join-box { padding: 28px 18px; }
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font: 600 16px var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 16px; color: var(--muted); }

/* Footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; color: var(--faint); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.badge18 { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--faint); font: 700 12px var(--display); color: var(--muted); }

/* 18+ gate */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.gate-card {
  width: 100%; max-width: 520px; padding: 36px 32px; border-radius: 22px; text-align: center;
  background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.gate-card .brand { margin-bottom: 26px; }
.gate-card .badge18 { min-width: 64px; height: 40px; font-size: 20px; border-color: var(--accent-2); color: var(--text); margin-bottom: 18px; }
.gate-card h1 { font-size: 28px; margin-bottom: 14px; }
.gate-card p { color: var(--muted); margin-bottom: 12px; }
.gate-card .ctas { justify-content: center; margin-top: 26px; }
.gate-card .fine { margin-top: 22px; }
@media (max-width: 480px) {
  .gate-card { padding: 28px 18px; }
  .gate-card .ctas .btn { width: 100%; }
}

/* Waitlist page */
.solo { min-height: calc(100vh - 61px); display: grid; place-items: center; padding: 40px 0; }
.solo .join-box { max-width: 640px; margin: 0 auto; }
