/* ZABAL Gamez - shared styles for standalone pages (/lead, /projects, etc).
   The main index.html keeps its own inline styles - this file is for the
   leaner landing pages that link to it. */

:root {
  --bg: #070709;
  --surface: #111115;
  --surface-2: #16161c;
  --orange: #ff6b35;
  --cyan: #00e5ff;
  --gold: #f5c842;
  --pink: #ff3d6e;
  --zabal: #a78bfa;
  --text: #e4e2dd;
  --text-muted: #8a8895;
  --text-dim: #4e4c57;
  --border: #1f1e26;
  --border-hover: #2a2a35;
  --radius: 10px;
  --gradient-main: linear-gradient(135deg, #ff6b35, #ff3d6e, #00e5ff);
  --gradient-zabal: linear-gradient(135deg, #a78bfa, #00e5ff);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container { max-width: 760px; margin: 0 auto; padding: 24px 20px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  max-width: 760px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  font-family: 'Syne', 'Outfit', sans-serif;
  font-weight: 800; font-size: 0.95rem;
  color: var(--text); text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-brand .accent {
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 14px; font-size: 0.85rem; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.hero {
  padding: 56px 0 32px;
}
.hero-eyebrow {
  color: var(--gold); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 0.8rem;
}
h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 2.4rem;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 0.8rem;
}
h1 .accent {
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; line-height: 1.55;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
p { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.95rem; }
p strong { color: var(--text); font-weight: 600; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.section { padding: 24px 0; border-top: 1px solid var(--border); margin-top: 8px; }
.section:first-of-type { border-top: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--border-hover); }
.card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.4rem;
}
.card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.card-meta { font-size: 0.78rem; color: var(--text-muted); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: opacity 0.15s, transform 0.05s;
  font-family: inherit;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-hover);
}

.field { margin-bottom: 1rem; }
.field label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.85rem; color: var(--text); font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  outline: none; transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--orange); }
.field textarea { min-height: 90px; resize: vertical; }
.form-help {
  font-size: 0.78rem; color: var(--text-dim);
  margin-top: 0.3rem;
}

.embed-box {
  background: var(--surface);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.embed-box p { font-size: 0.85rem; margin: 0; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0.8rem 0 1.5rem; }
.tag {
  font-size: 0.75rem; padding: 0.3rem 0.7rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; color: var(--text-muted);
}

.footer {
  margin-top: 4rem; padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem; color: var(--text-dim);
}
.footer a { color: var(--text-muted); margin: 0 0.5rem; }
.footer a:hover { color: var(--cyan); }

@media (max-width: 540px) {
  h1 { font-size: 1.8rem; }
  .hero { padding: 36px 0 24px; }
  .nav-links { gap: 10px; font-size: 0.78rem; }
}

/* Presence widget (assets/presence.js) */
.presence {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.presence-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.presence-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.presence-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.presence-list li.clickable { cursor: pointer; }
.presence-list li.clickable:hover { color: var(--text); }
.presence-list img { border-radius: 50%; object-fit: cover; flex: none; }

/* Top CTA bar - one-tap "tell Farcaster" share-to-timeline loop */
.top-cta { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
  padding: 0.55rem 1rem; background: linear-gradient(90deg, rgba(167, 139, 250, 0.18), rgba(0, 229, 255, 0.18));
  border-bottom: 1px solid var(--border); font-size: 0.9rem; text-align: center; }
.top-cta-text { color: var(--text); font-weight: 600; }
.top-cta-btn { font-family: inherit; font-size: 0.85rem; font-weight: 700; padding: 0.4rem 1.1rem;
  border-radius: 999px; cursor: pointer; color: var(--bg); background: var(--cyan); border: 1px solid var(--cyan); }
.top-cta-btn:hover { box-shadow: 0 0 14px rgba(0, 229, 255, 0.45); }

/* Homepage hero: de-risk line, one-tap join, social proof */
.pitch-derisk { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.4rem; }
.join-block { display: flex; align-items: center; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.1rem; }
.join-btn { font-family: inherit; font-size: 0.95rem; font-weight: 700; padding: 0.6rem 1.2rem;
  border-radius: 8px; cursor: pointer; color: var(--bg); background: var(--cyan); border: 1px solid var(--cyan); }
.join-btn:hover { box-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }
.join-btn[disabled] { opacity: 0.6; cursor: default; }
.join-alt { color: var(--text-muted); font-size: 0.85rem; }
.join-count { font-family: 'JetBrains Mono', monospace; color: var(--cyan); font-size: 0.85rem; margin: 0; }
.proof-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; justify-content: center; }
.proof-badge { font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.6rem; }
/* Outcomes grid - "what you walk away with" */
.outcomes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.outcome-card { border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 10px; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, 0.02); }
.outcome-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; color: var(--gold); }
.outcome-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

/* FAQ accordion */
.faq-list { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 0 1.1rem; background: rgba(255, 255, 255, 0.02); }
.faq-item summary { cursor: pointer; list-style: none; padding: 0.95rem 0; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--cyan); font-size: 1.3rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: '-'; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

/* June workshop schedule (data-driven from workshop-leads.json) */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.ws-loading { color: var(--text-muted); font-size: 0.9rem; }
.ws-card { border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, 0.02); }
.ws-when { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--cyan); margin-bottom: 0.4rem; }
.ws-card h3 { margin: 0 0 0.3rem; font-size: 1.0rem; }
.ws-by { margin: 0 0 0.4rem; color: var(--gold); font-size: 0.88rem; }
.ws-format { margin: 0 0 0.7rem; color: var(--text-muted); font-size: 0.85rem; }
.ws-status { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--border); }
.ws-status.ws-confirmed { color: var(--cyan); border-color: var(--cyan); }
.ws-status.ws-tentative { color: var(--text-dim); }

/* Timeline per-entry share */
.tl-share { font-family: inherit; font-size: 0.74rem; color: var(--cyan); background: none;
  border: 1px solid var(--border); border-radius: 999px; padding: 0.15rem 0.6rem; cursor: pointer; }
.tl-share:hover { border-color: var(--cyan); }

