:root {
  --bg: #07131f;
  --bg-2: #0c2133;
  --panel: #ffffff;
  --soft: #f3f8fb;
  --text: #102033;
  --muted: #637084;
  --white: #ffffff;
  --green: #00e384;
  --green-dark: #00b86b;
  --blue: #0b3f8c;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 18px 50px rgba(6, 21, 39, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--green);
  color: #06131f;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 99;
}
.skip-link:focus { left: 12px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(135deg, var(--bg), var(--bg-2)); color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 19, 31, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 230px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: rgba(255,255,255,0.84);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--green); }
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--white);
  padding: 9px 13px;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7,19,31,0.88), rgba(7,19,31,0.50)), url("assets/testathonbg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 56px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.94;
  margin: 0 0 24px;
  letter-spacing: -0.06em;
}
.lead { font-size: clamp(20px, 2vw, 28px); max-width: 780px; color: rgba(255,255,255,0.86); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 12px;
}
.note { color: rgba(255,255,255,0.74); font-weight: 700; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #06131f; box-shadow: 0 12px 30px rgba(0, 227, 132, 0.25); }
.button-primary:hover { background: #24f0a0; }
.button-ghost { border: 1px solid rgba(255,255,255,0.28); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,0.08); }
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.fact { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.fact:last-child { border-bottom: 0; }
.fact span { display: block; color: rgba(255,255,255,0.62); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.fact strong { display: block; margin-top: 4px; font-size: 18px; }

h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.05em; margin: 0 0 24px; }
p { margin: 0 0 16px; }
.split { display: grid; grid-template-columns: 1fr 0.95fr; gap: 64px; align-items: center; }
.image-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #dfe8ef;
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }

.link-cards, .cards, .sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.link-card, .card, .sponsor-card, .faq-item, .winner-row, .consolation, .timeline-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(6, 21, 39, 0.08);
}
.link-card {
  display: block;
  padding: 26px;
  text-decoration: none;
}
.link-card span { color: var(--green-dark); font-weight: 900; }
.link-card strong { display: block; margin: 8px 0; font-size: 24px; letter-spacing: -0.03em; }
.link-card p { color: var(--muted); margin: 0; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.archive-intro { display: grid; grid-template-columns: 1fr 360px; gap: 42px; align-items: start; }
.small-text { color: var(--muted); }
.stat-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-stack div {
  background: var(--soft);
  border-radius: 20px;
  padding: 22px;
  text-align: center;
}
.stat-stack strong { display: block; font-size: 42px; line-height: 1; color: var(--blue); }
.stat-stack span { color: var(--muted); font-weight: 800; font-size: 13px; }

.timeline { display: grid; gap: 14px; margin-top: 30px; }
.timeline-item { display: grid; grid-template-columns: 210px 1fr; gap: 22px; padding: 22px; color: var(--text); }
.timeline-item time { font-weight: 950; color: var(--blue); }
.timeline-item h3 { margin: 0 0 4px; font-size: 21px; }
.timeline-item p { margin: 0; color: var(--muted); }

.prize-grid { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; }
.card img { height: 150px; width: 100%; object-fit: contain; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -0.03em; }
.card p { color: var(--muted); margin: 0; }
.card .tag { display: inline-flex; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #e9fff5; color: #007e49; font-weight: 900; font-size: 12px; }
.consolation { margin-top: 22px; padding: 24px; }
.consolation p { margin: 0; }

.winner-list { display: grid; gap: 22px; margin-top: 30px; }
.winner-row { display: grid; grid-template-columns: 340px 1fr; gap: 28px; padding: 18px; align-items: center; }
.winner-row img { width: 100%; border-radius: 18px; background: #dce6ee; }
.winner-row h3 { margin: 0 0 12px; font-size: 30px; letter-spacing: -0.04em; }
.winner-row ul { margin: 0; padding-left: 20px; color: var(--muted); }
.winner-row li + li { margin-top: 5px; }

.people-grid { grid-template-columns: repeat(5, 1fr); }
.person-card { text-align: center; }
.person-card img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; margin: 0 auto 14px; background: var(--soft); }
.person-card h3 { font-size: 18px; margin: 0 0 6px; }
.person-card p { font-size: 14px; color: var(--muted); margin: 0; }

.sponsor-card { padding: 26px; display: flex; flex-direction: column; justify-content: center; min-height: 230px; }
.sponsor-card img { max-height: 96px; object-fit: contain; margin-bottom: 20px; }
.placeholder-logo {
  min-height: 96px;
  display: flex;
  align-items: center;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: #121923;
}
.asset-note { color: var(--muted); font-size: 13px; }
code { background: rgba(16,32,51,0.08); padding: 2px 5px; border-radius: 6px; }

.faq-list { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 900;
  color: var(--text);
}
.faq-item button span:last-child { color: var(--green-dark); font-size: 22px; line-height: 1; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.footer { background: #050d15; color: rgba(255,255,255,0.72); padding: 26px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.footer a { color: var(--white); text-decoration: none; font-weight: 800; margin-left: 16px; }
.footer a:hover { color: var(--green); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 22px;
    background: rgba(7, 19, 31, 0.98);
  }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .archive-intro, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 90px 0; }
  .link-cards, .prize-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .winner-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer a { margin-left: 0; margin-right: 16px; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .brand img { width: 185px; }
  .stat-stack { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
}
