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

  :root {
    --bg:         #0D0D0D;
    --bg-2:       #161616;
    --bg-3:       #1F1F1F;
    --border:     rgba(255,255,255,0.08);
    --border-mid: rgba(255,255,255,0.15);
    --text:       #FFFFFF;
    --text-muted: rgba(255,255,255,0.5);
    --text-dim:   rgba(255,255,255,0.25);
    --yellow:     #FAFE69;
    --yellow-dim: rgba(250,254,105,0.12);
    --purple:     #8B5CF6;
    --purple-dim: rgba(139,92,246,0.15);
    --radius-md:  8px;
    --radius-lg:  12px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  }

  html, body {
    font-family: var(--font);
    background: #111;
    padding: 0px;
    min-height: 100vh;
  }

  main {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* NAV */
  nav {
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.5px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(12px);
    z-index: 10;
  }
  .logo {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
  }
  .logo-ch { color: var(--yellow); }
  .logo-sep { color: var(--text-dim); font-weight: 300; }
  .logo-tr { color: var(--purple); }
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .nav-link { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
  .nav-link:hover { color: var(--text); }
  .nav-cta {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    background: var(--yellow);
    color: #0D0D0D;
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  /* HERO */
  .hero {
    padding: 88px 40px 72px;
    text-align: center;
    border-bottom: 0.5px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-glow-2 {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(250,254,105,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .eyebrow-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); }
  .hero-title {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
  }
  .hero-title .accent-y { color: var(--yellow); }
  .hero-title .accent-p { color: var(--purple); }
  .hero-title .muted { color: var(--text-dim); font-weight: 400; }
  .hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto 36px;
  }
  .pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }
  .pill {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 99px;
    border: 0.5px solid var(--border-mid);
    color: var(--text-muted);
    background: var(--bg-2);
  }
  .cta-group { display: flex; gap: 12px; justify-content: center; }
  .cta-primary {
    font-size: 15px;
    font-weight: 500;
    padding: 13px 32px;
    border-radius: var(--radius-md);
    background: var(--yellow);
    color: #0D0D0D;
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .cta-secondary {
    font-size: 15px;
    padding: 13px 32px;
    border-radius: var(--radius-md);
    border: 0.5px solid var(--border-mid);
    color: var(--text-muted);
    text-decoration: none;
  }

  /* TICKER */
  .ticker {
    padding: 0;
    border-bottom: 0.5px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .ticker-item {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 18px 12px;
    border-right: 0.5px solid var(--border);
  }
  .ticker-item:last-child { border-right: none; }
  .ticker-val { font-size: 22px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; }

  /* THEME */
  .theme {
    padding: 64px 40px;
    border-bottom: 0.5px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .section-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
  }
  .theme-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  .theme-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
  }
  .chat-mock {
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border-mid);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .chat-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 0.5px solid var(--border);
    margin-bottom: 4px;
  }
  .chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #1D9E75; }
  .chat-title { font-size: 12px; font-weight: 500; color: var(--text-muted); }
  .chat-label { font-size: 10px; color: var(--text-dim); margin-bottom: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
  .chat-bubble {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    line-height: 1.5;
  }
  .chat-bubble.user {
    background: var(--yellow-dim);
    border: 0.5px solid rgba(250,254,105,0.2);
    color: var(--yellow);
    align-self: flex-end;
    max-width: 88%;
  }
  .chat-bubble.agent {
    background: var(--bg-3);
    border: 0.5px solid var(--border);
    color: var(--text);
    align-self: flex-start;
    max-width: 92%;
  }
  .chat-meta {
    font-size: 10px;
    color: var(--text-dim);
    padding: 2px 4px 0;
    display: flex;
    gap: 8px;
  }
  .chat-tag {
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 500;
  }
  .chat-tag.y { background: var(--yellow-dim); color: var(--yellow); }
  .chat-tag.p { background: var(--purple-dim); color: var(--purple); }

  /* STACK */
  .stack {
    padding: 56px 40px;
    border-bottom: 0.5px solid var(--border);
    text-align: center;
  }
  .tools {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-top: 24px;
  }
  .tool {
    flex: 1;
    max-width: 240px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border-mid);
    background: var(--bg-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .tool.ch { border-color: rgba(250,254,105,0.25); }
  .tool.tr { border-color: rgba(139,92,246,0.3); }
  .tool-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .tool-logo.ch { background: var(--yellow-dim); color: var(--yellow); border: 0.5px solid rgba(250,254,105,0.2); }
  .tool-logo.tr { background: var(--purple-dim); color: var(--purple); border: 0.5px solid rgba(139,92,246,0.2); }
  .tool-name { font-size: 16px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
  .tool-role { font-size: 13px; color: var(--text-muted); }
  .plus-sign { font-size: 28px; color: var(--text-dim); display: flex; align-items: center; }

  /* PRIZES */
  .prizes { padding: 56px 40px; border-bottom: 0.5px solid var(--border); }
  .prize-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .prize-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border);
    background: var(--bg-2);
  }
  .prize-card.gold {
    border-color: rgba(250,254,105,0.35);
    background: linear-gradient(135deg, rgba(250,254,105,0.06) 0%, var(--bg-2) 60%);
  }
  .prize-rank { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 8px; }
  .prize-rank.gold-text { color: var(--yellow); }
  .prize-name { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em; }
  .prize-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

  /* TIMELINE */
  .timeline { padding: 56px 40px; border-bottom: 0.5px solid var(--border); }
  .tl-rows { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
  .tl-row { display: flex; gap: 20px; align-items: flex-start; }
  .tl-spine { display: flex; flex-direction: column; align-items: center; padding-top: 2px; min-width: 14px; }
  .tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-mid); flex-shrink: 0; }
  .tl-dot.live { background: #1D9E75; box-shadow: 0 0 0 3px rgba(29,158,117,0.2); }
  .tl-line { width: 1px; background: var(--border); flex: 1; min-height: 32px; }
  .tl-content { padding-bottom: 28px; }
  .tl-date { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.02em; }
  .tl-text { font-size: 14px; color: var(--text); line-height: 1.5; }
  .tl-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

  /* FAQ */
  .faq { padding: 56px 40px; border-bottom: 0.5px solid var(--border); }
  .faq-list { margin-top: 24px; }
  .faq-item { padding: 18px 0; border-bottom: 0.5px solid var(--border); }
  .faq-item:last-child { border-bottom: none; }
  .faq-q { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
  .faq-a { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

  /* PLACEHOLDER SECTION */
  .judges-placeholder {
    padding: 56px 40px;
    border-bottom: 0.5px solid var(--border);
    text-align: center;
  }
  .placeholder-box {
    border: 0.5px dashed var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .placeholder-icon { font-size: 32px; }
  .placeholder-title { font-size: 15px; font-weight: 500; color: var(--text-muted); }
  .placeholder-sub { font-size: 13px; color: var(--text-dim); }
  .placeholder-needs {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .judge-cta {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    background: var(--purple);
    color: #fff;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
  }
  .need-tag {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 99px;
    border: 0.5px solid var(--border-mid);
    color: var(--text-dim);
  }

  /* FOOTER */
  footer {
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0.5px solid var(--border);
  }
  .footer-text { font-size: 12px; color: var(--text-dim); }
  .footer-links { display: flex; gap: 20px; }
  .footer-link { font-size: 12px; color: var(--text-muted); text-decoration: none; }

  @media (max-width: 600px) {
    nav { padding: 14px 20px; }
    .hero { padding: 56px 20px 48px; }
    .hero-title { font-size: 34px; }
    .ticker { grid-template-columns: repeat(2, 1fr); }
    .ticker-item:nth-child(2) { border-right: none; }
    .theme { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
    .stack { padding: 40px 20px; }
    .tools { flex-direction: column; align-items: center; }
    .prizes { padding: 40px 20px; }
    .prize-grid { grid-template-columns: 1fr; }
    .timeline { padding: 40px 20px; }
    .faq { padding: 40px 20px; }
    .judges-placeholder { padding: 40px 20px; }
    footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
  }
/* MODAL */
.footer-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #161616;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 20px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.modal-title {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 16px;
  transition: color 0.15s, background 0.15s;
}
.modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.modal-body {
  overflow-y: auto;
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.modal-intro {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  padding-bottom: 4px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.modal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #FAFE69;
  letter-spacing: 0.01em;
}
.modal-section p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}
.modal-footer-note {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  padding-top: 12px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  line-height: 1.6;
}

/* INLINE CODE */
.theme-body code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.85em;
  background: rgba(139,92,246,0.12);
  color: #8B5CF6;
  padding: 2px 6px;
  border-radius: 4px;
}
