/*
 * Elite College Fantasy Football — shared stylesheet for every page.
 *
 * Visual design copied from the client's GoDaddy Airo site (navy + gold,
 * Anton headings over Inter body) so the S3-hosted site is a drop-in
 * replacement. Plain CSS on purpose: the Airo original is compiled Tailwind,
 * which nobody can edit without its build.
 */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}

:root {
  --navy: #0a1628;
  --navy-deep: #060e1a;
  --navy-card: #0d1e35;
  --gold: #f5c619;
  --text: #f5f5f5;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-30: rgba(255, 255, 255, 0.3);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold-05: rgba(245, 198, 25, 0.05);
  --gold-10: rgba(245, 198, 25, 0.1);
  --gold-15: rgba(245, 198, 25, 0.15);
  --gold-20: rgba(245, 198, 25, 0.2);
  --gold-30: rgba(245, 198, 25, 0.3);
  --gold-40: rgba(245, 198, 25, 0.4);
  --gold-60: rgba(245, 198, 25, 0.6);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;

  --container: 1400px;
  --gutter: 24px;
  --clip-btn: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
p,
blockquote {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.heading {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
}

.gold,
.gold-grad {
  color: var(--gold);
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Eyebrow: short gold rule + spaced caps label above every section title. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.eyebrow.centered {
  justify-content: center;
}

.eyebrow.centered::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.rule {
  width: 120px;
  height: 3px;
  background: var(--gold);
}

.section-head {
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

.section-lead {
  max-width: 576px;
  margin-top: 16px;
  color: var(--white-50);
  line-height: 1.625;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  clip-path: var(--clip-btn);
}

.btn-gold:hover {
  background: rgba(245, 198, 25, 0.9);
}

.btn-outline {
  border: 1px solid var(--white-30);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  transform: translateX(6px);
}

.link-arrow::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.link-arrow:hover::after {
  width: 48px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: auto;
  height: 48px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-top {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.wordmark-sub {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-70);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-70);
  transition: color 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current='page'] {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.nav-cta .btn {
  padding: 8px 20px;
}

.nav-cta small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 198, 25, 0.9);
}

.nav-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.nav-toggle:hover {
  color: var(--gold);
}

/* ---------- slanted section edges ---------- */

.slant-top,
.slant-bottom {
  position: relative;
}

.slant-top::before,
.slant-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--navy);
  pointer-events: none;
}

.slant-top::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.slant-bottom::after {
  bottom: 0;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.2;
}

/* One overlay carrying both gradients: a ::before would paint under the img. */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--navy), transparent, rgba(10, 22, 40, 0.4)),
    linear-gradient(to right, rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.6), rgba(10, 22, 40, 0.8));
}

.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.333%;
  height: 100%;
  background: var(--gold-05);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero .container {
  position: relative;
  padding-top: 128px;
  padding-bottom: 96px;
}

.hero-inner {
  max-width: 768px;
}

.hero-badge {
  width: 288px;
  height: 288px;
  margin-bottom: 32px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow:
    0 0 20px rgba(24, 72, 245, 0.3),
    0 0 40px rgba(24, 72, 245, 0.1);
}

.hero .eyebrow {
  margin-bottom: 32px;
}

.hero-title {
  margin-bottom: 16px;
  font-size: 96px;
  line-height: 0.9;
}

.hero-title span {
  display: block;
}

.hero .rule {
  margin-bottom: 32px;
}

.hero-lead {
  max-width: 576px;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.625;
  color: var(--white-70);
}

.hero-cta .btn:hover {
  transform: scale(1.02);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
}

/* ---------- stats band ---------- */

.stats {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
  background: var(--gold);
  color: var(--navy);
}

.stats::before,
.stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--navy);
}

.stats::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.stats::after {
  bottom: 0;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.7);
}

/* ---------- prize cards ---------- */

.prizes {
  padding: 96px 0;
  background: var(--navy);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.prize-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--gold-30);
  background: linear-gradient(to bottom right, var(--gold-10), transparent);
  transition: border-color 0.3s ease;
}

.prize-card:hover {
  border-color: var(--gold-60);
}

.prize-card::after {
  content: '$';
  position: absolute;
  right: -16px;
  bottom: -16px;
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 1;
  color: var(--gold-05);
  user-select: none;
}

.prize-card > svg {
  margin-bottom: 24px;
  color: var(--gold);
}

.prize-amount {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
}

.prize-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
}

.prize-card p {
  max-width: 320px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--white-50);
}

.prize-card .fine-print {
  max-width: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--white-40);
}

/* ---------- feature / value cards ---------- */

.features {
  padding: 96px 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.features .container {
  padding-top: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--navy-card);
  transition: all 0.3s ease;
}

.card.is-accent {
  border-color: var(--gold-40);
  background: var(--gold-05);
}

.card.on-deep {
  background: var(--navy-deep);
}

.card:hover {
  border-color: var(--gold-60);
  background: var(--gold-05);
}

/* The gold corner bracket on every card. */
.card::before,
.card::after,
.step::before,
.step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gold);
}

.card::before {
  width: 24px;
  height: 2px;
}

.card::after {
  width: 2px;
  height: 24px;
}

.card svg {
  margin-bottom: 20px;
  color: rgba(245, 198, 25, 0.7);
  transition: color 0.2s ease;
}

.card.is-accent svg,
.card:hover svg {
  color: var(--gold);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
}

.card p {
  font-size: 14px;
  line-height: 1.625;
  color: var(--white-50);
}

/* ---------- alternating spotlight rows ---------- */

.spotlights {
  background: var(--navy);
}

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.spotlight-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  background: var(--navy-deep);
}

.spotlight-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--gold-10), transparent);
}

.spotlight-media.is-photo::before {
  background: linear-gradient(to bottom left, var(--gold-20), transparent);
}

.spotlight-media .logo-ghost {
  width: 256px;
  height: 256px;
  object-fit: contain;
  opacity: 0.1;
}

.spotlight-media .photo {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: contain;
}

.spotlight-media.is-cover::before {
  background: linear-gradient(to bottom right, var(--gold-20), transparent);
}

.spotlight-media.is-cover .photo {
  min-height: 320px;
  object-fit: cover;
}

.spotlight-num {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 120px;
  line-height: 1;
  color: var(--gold-15);
  user-select: none;
}

.spotlight-media.is-photo .spotlight-num {
  right: auto;
  left: 16px;
}

.spotlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  background: var(--navy-card);
}

.spotlight-body.on-deep {
  background: var(--navy-deep);
}

.spotlight-index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.spotlight-index span {
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1;
  color: var(--gold);
}

.spotlight-index::after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.spotlight-body h3 {
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 1.25;
  color: #fff;
}

.spotlight-body p {
  max-width: 448px;
  line-height: 1.625;
  color: var(--white-60);
}

/* ---------- how it works ---------- */

.how {
  padding: 96px 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.how .container {
  padding-top: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  padding: 40px;
  border: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.step:hover {
  border-color: rgba(245, 198, 25, 0.5);
}

.step::before {
  width: 32px;
  height: 3px;
}

.step::after {
  width: 3px;
  height: 32px;
}

.step-num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
  color: var(--gold-30);
  transition: color 0.3s ease;
}

.step:hover .step-num {
  color: rgba(245, 198, 25, 0.5);
}

.step svg {
  margin-bottom: 16px;
  color: var(--gold);
}

.step h3 {
  margin-bottom: 12px;
  font-size: 24px;
  color: #fff;
}

.step p {
  font-size: 14px;
  line-height: 1.625;
  color: var(--white-50);
}

/* ---------- download ---------- */

.download {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: var(--navy);
}

.download-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.download-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: rgba(245, 198, 25, 0.08);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.download .container {
  position: relative;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.download h2 {
  margin-bottom: 24px;
  font-size: 72px;
}

.download-lead {
  max-width: 448px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--white-60);
}

.download-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--white-50);
}

.download-note svg {
  color: var(--gold);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 320px;
  padding: 20px 32px;
  border: 1px solid var(--line-strong);
  transition: all 0.3s ease;
}

.store-btn:hover {
  border-color: var(--gold);
  background: var(--gold-05);
  transform: translateX(6px);
}

.store-btn svg {
  flex: none;
  color: #fff;
}

.store-btn small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
}

.store-btn strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}

.store-btn:hover strong {
  color: var(--gold);
}

.store-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--white-30);
}

/* ---------- subscribe / contact ---------- */

.subscribe {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.subscribe-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.05;
}

.subscribe .container {
  position: relative;
}

.subscribe-inner {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.subscribe h2 {
  margin-bottom: 16px;
}

.subscribe-lead {
  margin-bottom: 40px;
  color: var(--white-60);
}

.subscribe-form input[name='_gotcha'] {
  display: none;
}

.subscribe-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.subscribe-input::placeholder {
  color: var(--white-30);
}

.subscribe-input:focus {
  outline: 0;
  border-color: var(--gold);
}

.subscribe-form .btn {
  white-space: nowrap;
}

.subscribe-form .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.subscribe-error {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: left;
  color: #f87171;
}

.subscribe-success {
  padding: 32px;
  border: 1px solid var(--gold-40);
  background: var(--gold-10);
}

.subscribe-success h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--gold);
}

.subscribe-success p {
  color: var(--white-70);
}

.subscribe-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--white-30);
}

@media (min-width: 640px) {
  .subscribe-row {
    flex-direction: row;
  }

  .subscribe-input {
    flex: 1;
  }
}

/* ---------- about ---------- */

.page-hero-lg {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
  background: var(--navy);
}

.page-hero-lg .hero-bg img {
  opacity: 0.1;
}

.page-hero-lg .hero-bg::after {
  background:
    linear-gradient(to top, var(--navy), transparent, rgba(10, 22, 40, 0.4)),
    linear-gradient(to right, rgba(10, 22, 40, 0.95), rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.8));
}

.page-hero-lg .container {
  position: relative;
  padding-top: 128px;
  padding-bottom: 80px;
}

.page-hero-lg .hero-title {
  margin-bottom: 24px;
}

.page-hero-lg .rule {
  margin-bottom: 32px;
}

.page-hero-lg .hero-lead {
  max-width: 672px;
  margin-bottom: 0;
}

.mission {
  padding: 96px 0;
  background: var(--navy-card);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission h2 {
  margin-bottom: 24px;
}

.mission p + p {
  margin-top: 24px;
}

.mission p,
.story p {
  line-height: 1.625;
  color: var(--white-60);
}

.standard {
  position: relative;
  padding: 40px;
  border: 1px solid var(--gold-30);
  background: var(--navy);
  text-align: center;
}

.standard::before,
.standard::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
}

.standard::before {
  top: 0;
  left: 0;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.standard::after {
  right: 0;
  bottom: 0;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.standard img {
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: contain;
}

.standard blockquote {
  font-size: 30px;
  line-height: 1.25;
  color: #fff;
}

.standard p {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
}

.story {
  padding: 96px 0;
  background: var(--navy);
}

.story-inner {
  max-width: 768px;
  margin: 0 auto;
}

.story h2 {
  margin-bottom: 32px;
  text-align: center;
}

.story .eyebrow {
  justify-content: center;
}

.story p + p {
  margin-top: 24px;
}

.story p.closing {
  font-weight: 500;
  color: var(--white-70);
}

.join {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
}

.join h2 {
  margin-bottom: 24px;
}

.join p {
  max-width: 576px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--white-60);
}

.join .btn {
  padding: 16px 40px;
}

/* ---------- legal / help pages ---------- */

.page-hero {
  padding: 160px 0 64px;
  background: linear-gradient(to bottom, var(--navy-deep), var(--navy));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
}

.page-sub {
  max-width: 640px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--white-60);
}

.page-sub a,
.prose a,
.callout a,
.faq-a a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: 64px 0 96px;
}

.prose {
  max-width: 808px;
  padding-top: 56px;
  padding-bottom: 96px;
  color: var(--white-70);
  line-height: 1.7;
}

.prose h2 {
  margin: 48px 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

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

.prose h3 {
  margin: 32px 0 12px;
  font-size: 18px;
  color: #fff;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--gold);
}

.prose strong {
  color: #fff;
}

/* Text the client still has to supply (e.g. the privacy request form URL). */
.prose .pending {
  padding: 0 4px;
  border: 1px dashed var(--gold-60);
  color: var(--gold);
}

/* Legal-page tables (privacy policy). Scroll sideways on narrow screens
   instead of squeezing three text columns. */
.table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.table-wrap--wide table {
  min-width: 560px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose tbody tr:last-child th,
.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose thead th {
  background: var(--navy-card);
  color: #fff;
  font-weight: 600;
}

.prose tbody th {
  color: #fff;
  font-weight: 600;
}

.prose tr.total th,
.prose tr.total td {
  color: #fff;
  font-weight: 700;
}

.updated {
  margin-bottom: 32px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
}

.callout {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--gold-30);
  background: var(--gold-05);
  color: var(--white-70);
  line-height: 1.625;
}

.callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.callout p + p {
  margin-top: 12px;
}

.callout strong {
  color: #fff;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0 !important;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--navy-card);
}

.step-list li + li {
  margin-top: 8px;
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  flex: none;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
}

.faq-list {
  max-width: 808px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-a {
  padding: 0 40px 24px 0;
  line-height: 1.7;
  color: var(--white-60);
}

.error-hero {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 160px 0 96px;
  text-align: center;
}

.error-code {
  display: block;
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 1;
  color: var(--gold);
}

.error-hero h1 {
  margin: 16px 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  text-transform: uppercase;
}

.error-hero p {
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--white-60);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gold);
}

.footer-main {
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .wordmark-top {
  font-size: 36px;
}

.footer-brand .wordmark-sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--white-60);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--white-50);
}

.footer-brand .tagline {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 198, 25, 0.8);
}

.footer-col h4 {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--white-50);
  transition: color 0.2s ease;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--white-30);
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-disclaimer {
  flex-basis: 100%;
  line-height: 1.6;
}

/* ---------- scroll reveal ---------- */

/* Gated on .js so content stays visible if the script never runs. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Hero entrance: same order and timings as the prototype (logo, eyebrow,
     title lines, rule, lead, button, scroll hint). */
  .hero-badge {
    animation:
      pop-in 0.7s ease-out both,
      logo-glow 3s ease-in-out infinite;
  }

  .hero .eyebrow,
  .page-hero-lg .eyebrow {
    animation: slide-in 0.6s ease-out 0.2s both;
  }

  .hero-title span {
    animation: rise 0.6s ease-out both;
  }

  .hero-title span:nth-child(1) {
    animation-delay: 0.4s;
  }

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

  .hero-title span:nth-child(3) {
    animation-delay: 0.7s;
  }

  .hero .rule,
  .page-hero-lg .rule {
    animation: grow-rule 0.8s ease-out 0.8s both;
  }

  .hero-lead {
    animation: rise-sm 0.6s ease-out 0.9s both;
  }

  .hero-cta {
    animation: rise-sm 0.6s ease-out 1.1s both;
  }

  .hero-scroll {
    animation:
      fade-in 0.3s ease-out 1.8s both,
      scroll-hint 1.5s ease-in-out infinite;
  }

  /* The About hero has no logo, so everything starts 0.2s earlier. */
  .page-hero-lg .eyebrow {
    animation-delay: 0s;
  }

  .page-hero-lg .hero-title span:nth-child(1) {
    animation-delay: 0.2s;
  }

  .page-hero-lg .hero-title span:nth-child(2) {
    animation-delay: 0.35s;
  }

  .page-hero-lg .rule {
    animation-delay: 0.6s;
  }

  .page-hero-lg .hero-lead {
    animation-delay: 0.7s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-sm {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow-rule {
  from {
    width: 0;
  }
  to {
    width: 120px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logo-glow {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(24, 72, 245, 0.3),
      0 0 40px rgba(24, 72, 245, 0.1);
  }
  50% {
    box-shadow:
      0 0 40px rgba(24, 72, 245, 0.6),
      0 0 80px rgba(24, 72, 245, 0.2);
  }
}

@keyframes scroll-hint {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
  }
}

/* ---------- responsive ---------- */

@media (min-width: 768px) {
  .section-title {
    font-size: 60px;
  }
}

@media (max-width: 1023px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-panel,
  .download-panel {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight,
  .download-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  /* Text first on every spotlight row once they stack. */
  .spotlight-body {
    order: -1;
    padding: 56px 40px;
  }

  .spotlight-body h3 {
    font-size: 36px;
  }

  .spotlight-media .photo {
    min-height: 0;
    height: auto;
  }

  .download h2 {
    font-size: 60px;
  }
}

@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(10, 22, 40, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    align-items: flex-start;
    margin: 20px 0 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .stats-grid,
  .prize-grid,
  .card-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 44px;
  }

  .download h2 {
    font-size: 48px;
  }

  .prize-card,
  .step {
    padding: 32px 24px;
  }

  .spotlight-body {
    padding: 48px var(--gutter);
  }

  .page-hero {
    padding-top: 128px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .error-code {
    font-size: 120px;
  }

  .error-hero h1 {
    font-size: 32px;
  }
}
