/* =====================================
   BALL IQ — Site styles
   Used across all pages
   ===================================== */

:root {
  --bg: #000000;
  --ink: #FFFFFF;
  --ink-dim: #A6A6A6;
  --ink-faint: #666666;
  --lime: #C4F505;
  --rule: #2E2E2E;
  --card: #0E0E0E;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Navigation ---------- */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 640px) {
  .logo img { height: 38px; }
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--lime);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Section structure ---------- */
section {
  padding: 100px 0;
}
section + section {
  border-top: 1px solid var(--rule);
}

.label {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.label::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--lime);
  margin-top: 10px;
}

h1 {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
}
p {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.intro {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-dim);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.intro strong { color: var(--ink); font-weight: 500; }

/* ---------- Email form ---------- */
.email-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  flex-wrap: wrap;
}
.email-input {
  flex: 1;
  min-width: 220px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.email-input:focus { border-color: var(--lime); }
.email-input::placeholder { color: var(--ink-faint); }
.submit-btn {
  padding: 16px 28px;
  background: var(--lime);
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.submit-btn:hover { opacity: 0.9; }
.submit-btn:active { transform: translateY(1px); }
.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* Beehiiv form wrapper */
.beehiiv-wrap {
  max-width: 520px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--lime);
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  opacity: 1;
}

/* ---------- Pitch line ---------- */
.pitch-line {
  position: relative;
  width: 240px;
  height: 4px;
  background: var(--lime);
  margin: 64px auto;
}
.pitch-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform: translateY(-50%);
}
.pitch-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.card {
  padding: 36px 28px;
  background: var(--card);
  transition: background 0.2s;
}
.card:hover { background: #141414; }
.card-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 8px;
}
.card-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.card-body {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* ---------- Block (highlighted callout) ---------- */
.block {
  background: var(--card);
  border-left: 3px solid var(--lime);
  padding: 48px 40px;
}
.block h3 { margin-bottom: 18px; }
.block p { font-size: 15px; }
.block p + p { margin-top: 14px; }

/* ---------- Numbered promises list ---------- */
.promises {
  list-style: none;
  max-width: 700px;
}
.promises li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.promises li:last-child { border-bottom: none; }
.promise-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--lime);
  min-width: 36px;
}
.promise-text {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.promise-text strong {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}
.final-cta-sub {
  font-size: 16px;
  color: var(--ink-dim);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .email-form, .final-cta .beehiiv-wrap { margin: 0 auto; }

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--rule);
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-square {
  width: 12px;
  height: 12px;
  background: var(--lime);
}
.footer-text {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--lime); }

/* ---------- Page-specific ---------- */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--rule);
}
.page-header {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.page-header h1 {
  margin-bottom: 16px;
}
.page-header p {
  max-width: 600px;
  font-size: 17px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.quote-block {
  border-left: 3px solid var(--lime);
  padding: 16px 0 16px 24px;
  margin: 40px 0;
}
.quote-block p {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 80px; }
  .page-header { padding: 56px 0 32px; }
  .email-form { flex-direction: column; }
  .submit-btn { width: 100%; }
  .block { padding: 32px 24px; }
  .pitch-line { margin: 40px auto; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 24px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  footer .container { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
