/* GOAT Studios website: the app's own look (goat/app/ui_kit.py): black, panels, one purple accent. */
:root {
  --bg: #0b0b0f;
  --panel: #14141b;
  --panel2: #1b1b24;
  --line: #272734;
  --text: #e9e7f2;
  --dim: #8d8a9e;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-bg: color-mix(in srgb, var(--accent) 18%, var(--bg));
  --discord: #5865f2;
  --radius: 14px;
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--accent-2); }
.lead { font-size: 19px; color: #cfcbe0; max-width: 620px; }
.small { font-size: 14px; color: var(--dim); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: #7c4ff0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel2); }
.btn-discord { background: var(--discord); border-color: var(--discord); }
.btn-discord:hover { background: #4752c4; box-shadow: 0 0 0 4px color-mix(in srgb, var(--discord) 25%, transparent); }
.btn.soon { background: var(--panel2); border-color: var(--line); color: var(--dim); cursor: default; box-shadow: none; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(20px, calc((100% - var(--wide)) / 2));
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--dim); text-decoration: none; font-size: 15px; }
.top nav a:not(.btn):hover { color: var(--text); }

main > section { padding: 96px max(20px, calc((100% - var(--wide)) / 2)); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px;
  padding-top: 64px !important; padding-bottom: 72px !important;
  background:
    radial-gradient(ellipse 60% 70% at 75% 45%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px;
  background-blend-mode: normal;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero::after { /* fade the grid lines out toward the bottom */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, var(--bg));
}
.hero > * { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-skull { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; justify-self: center; }
.hero-skull .goat-skull { position: absolute; inset: 0; }
.skull-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
  filter: blur(30px);
}
.skull-fallback { position: absolute; inset: 20%; width: 60%; height: 60%; border-radius: 24px; opacity: 0; transition: opacity .3s;
  pointer-events: none; user-select: none; -webkit-user-drag: none; } /* never sits in the way of the 3D skull */
.hero-skull .goat-skull { cursor: grab !important; user-select: none; }
.hero-skull .goat-skull:active { cursor: grabbing !important; }
.skull-glow, .skull-hint { pointer-events: none; }
.no-webgl .skull-fallback { opacity: 1; }
.skull-hint { position: absolute; bottom: 2%; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0; }
.no-webgl .skull-hint { display: none; }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: #bdb9cf; margin: 0; font-size: 16px; }
.card h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 16px; }

/* founders */
.founders { display: flex; justify-content: center; }
.founders-card {
  width: 100%; max-width: 560px; text-align: center;
  background: linear-gradient(180deg, var(--accent-bg), var(--panel) 60%);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 0 80px -20px color-mix(in srgb, var(--accent) 50%, transparent);
}
.prices { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 20px; margin: 18px 0 8px; }
.amount { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.per { color: var(--dim); margin-left: 4px; }
.or { color: var(--dim); }
.lock { font-weight: 700; margin-bottom: 4px; }
.later { color: var(--dim); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 20px auto 28px; display: inline-block; text-align: left; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }

/* waitlist */
.waitlist { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form { max-width: 560px; margin-top: 28px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
input[type="email"] {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
input[type="email"]::placeholder { color: #5f5b70; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: 15px;
}
.choices input { accent-color: var(--accent); margin: 0; }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }
.form .btn { justify-self: start; }
.form-note { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-note.ok { color: #86efac; }
.form-note.err { color: #fca5a5; }
.form-note.info { color: var(--accent-2); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #bdb9cf; margin: 12px 0 0; }

/* discord */
.discord { text-align: center; border-top: 1px solid var(--line); }
.discord .lead { margin: 0 auto 28px; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
  padding: 28px 20px 40px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line);
}
.foot a { color: var(--dim); }

/* phones */
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-skull { max-width: 340px; grid-row: 1; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .founders-card { padding: 32px 20px; }
  .amount { font-size: 38px; }
  .prices { gap: 4px 12px; }
  .top nav a:not(.btn) { display: none; }
  main > section { padding-top: 64px; padding-bottom: 64px; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.doc h1 { font-size: 44px; }
.doc h2 { font-size: 24px; margin-top: 1.6em; }
.doc p, .doc li { color: #cfcbe0; }
