/* ── Reset & Base ─────────────────────────────────────────────────────────── */

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

:root {
  --orange: #FF5700;
  --orange-dim: rgba(255, 87, 0, 0.12);
  --white: #ffffff;
  --gray: rgba(255,255,255,0.45);
  --gray-dim: rgba(255,255,255,0.08);
  --bg: #000000;
  --bg-2: #0a0a0a;
  --radius: 20px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.orange { color: var(--orange); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.72s cubic-bezier(.22,1,.36,1),
              transform 0.72s cubic-bezier(.22,1,.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gray-dim);
  transition: background 0.3s;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}

.nav-tt { color: var(--orange); }

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  padding: 10px 22px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover { opacity: 0.85; transform: scale(0.97); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.85; transform: scale(0.97); }

.btn-ghost {
  display: inline-block;
  color: var(--gray);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 0;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* ── Section label ───────────────────────────────────────────────────────── */

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 0;
  position: relative;
  overflow: hidden;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,87,0,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-title {
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-dot { display: inline; }

.hero-sub {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
  max-width: 500px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s cubic-bezier(.22,1,.36,1) forwards;
}

/* Scrolling ticker */
.hero-ticker {
  margin-top: 80px;
  border-top: 1px solid var(--gray-dim);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  position: relative;
  z-index: 1;
}

.hero-ticker span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.2);
  animation: ticker 22s linear infinite;
}

.hero-ticker span:nth-child(2) { animation-delay: -11s; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Statement ───────────────────────────────────────────────────────────── */

.statement {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--gray-dim);
  border-bottom: 1px solid var(--gray-dim);
}

.statement-text {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 40px;
  max-width: 800px;
}

.statement-sub {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.6;
  max-width: 560px;
}

/* ── How it works ────────────────────────────────────────────────────────── */

.how {
  padding: 140px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--bg);
  padding: 52px 40px;
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.step:nth-child(1) { --i: 0; }
.step:nth-child(2) { --i: 1; }
.step:nth-child(3) { --i: 2; }

.step-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.step p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
}

/* ── Challenge cards ─────────────────────────────────────────────────────── */

.challenges {
  padding: 0 0 140px;
}

.challenge-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.challenge-card {
  background: var(--bg-2);
  border: 1px solid var(--gray-dim);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.challenge-card:nth-child(1) { --i: 0; }
.challenge-card:nth-child(2) { --i: 1; }
.challenge-card:nth-child(3) { --i: 2; }

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  width: fit-content;
}

.challenge-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.challenge-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}

.card-pts {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  margin-top: 8px;
}

/* ── H2H ─────────────────────────────────────────────────────────────────── */

.h2h {
  background: var(--bg-2);
  border-top: 1px solid var(--gray-dim);
  border-bottom: 1px solid var(--gray-dim);
  padding: 120px 0;
}

.h2h-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.h2h-text .section-label { margin-bottom: 20px; }

.h2h-text h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.h2h-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 36px;
}

.h2h-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.duel-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,87,0,0.06);
  border: 1px solid rgba(255,87,0,0.2);
  border-radius: var(--radius);
  padding: 32px 44px;
  width: 100%;
  justify-content: center;
  font-size: 28px;
}

.duel-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
  flex-shrink: 0;
}

.duel-them {
  background: var(--gray-dim);
  color: var(--gray);
}

.duel-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ── Streak grid ─────────────────────────────────────────────────────────── */

.streak-section {
  padding: 140px 0;
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.streak-stat {
  background: var(--bg);
  padding: 52px 44px;
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.streak-stat:nth-child(1) { --i: 0; }
.streak-stat:nth-child(2) { --i: 1; }
.streak-stat:nth-child(3) { --i: 2; }
.streak-stat:nth-child(4) { --i: 3; }

.streak-icon {
  display: block;
  font-size: 36px;
  margin-bottom: 20px;
}

.streak-stat h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.streak-stat p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
}

/* ── Quote ───────────────────────────────────────────────────────────────── */

.quote {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--gray-dim);
  border-bottom: 1px solid var(--gray-dim);
}

.quote blockquote {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 900px;
}

/* ── Download ────────────────────────────────────────────────────────────── */

.download {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,87,0,0.14) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download-inner { position: relative; z-index: 1; }

.download-title {
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
}

.tt-download { color: var(--orange); }

.download-sub {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 52px;
  font-weight: 400;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--bg);
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.app-store-btn:hover { opacity: 0.88; transform: scale(0.97); }

.download-fine {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--gray-dim);
}

.footer-inner { display: flex; flex-direction: column; gap: 64px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.footer-cols {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 160px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.18);
  border-top: 1px solid var(--gray-dim);
  padding-top: 28px;
}

/* ── Inner page shared ───────────────────────────────────────────────────── */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  border-bottom: 1px solid var(--gray-dim);
}

.page-hero .section-label { margin-bottom: 16px; }

.page-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.page-hero .page-date {
  font-size: 14px;
  color: var(--gray);
  margin-top: 12px;
}

.page-body {
  padding: 80px 0 120px;
  max-width: 740px;
}

.page-body h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 48px 0 14px;
}

.page-body h2:first-child { margin-top: 0; }

.page-body p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  margin-bottom: 14px;
}

.page-body ul {
  margin: 0 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-body li {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
}

.page-body a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(255,87,0,0.35);
}

.page-body a:hover { text-decoration-color: var(--orange); }

.page-body .highlight-box {
  background: var(--orange-dim);
  border: 1px solid rgba(255,87,0,0.2);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 28px 0;
}

.page-body .highlight-box p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ── Help page ───────────────────────────────────────────────────────────── */

.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--gray-dim);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: rgba(255,255,255,0.75); }

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--orange); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22,1,.36,1);
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.faq-item.open .faq-a { max-height: 400px; }

/* ── Jobs page ───────────────────────────────────────────────────────────── */

.jobs-empty {
  margin-top: 48px;
  padding: 60px 40px;
  border: 1px solid var(--gray-dim);
  border-radius: var(--radius);
  text-align: center;
}

.jobs-empty h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.jobs-empty p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* ── News page ───────────────────────────────────────────────────────────── */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 80px 0 120px;
}

.news-card {
  background: var(--bg-2);
  border: 1px solid var(--gray-dim);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s;
}

.news-card:hover { border-color: rgba(255,255,255,0.16); }

.news-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.news-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.news-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}

.news-date {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  #nav { padding: 0 24px; }

  .hero-inner { padding: 0 24px; }
  .hero-title { font-size: clamp(72px, 20vw, 110px); }

  .container { padding: 0 24px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 40px 28px; }

  .challenge-cards { grid-template-columns: 1fr; }

  .h2h-inner { grid-template-columns: 1fr; gap: 48px; }
  .h2h-visual { display: none; }

  .streak-grid { grid-template-columns: 1fr; }
  .streak-stat { padding: 40px 28px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .statement { padding: 80px 0; }
  .how, .challenges, .streak-section, .quote, .download { padding: 80px 0; }
  .h2h { padding: 80px 0; }
}
