/* ===================== Fonts ===================== */
@font-face {
  font-family: 'DIN Alternate';
  src: url('fonts/din-alternate-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Circular Std';
  src: url('fonts/circular-std-book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Circular Std';
  src: url('fonts/circular-std-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Circular Std';
  src: url('fonts/circular-std-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Circular Std';
  src: url('fonts/circular-std-black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===================== Reset & tokens ===================== */
:root {
  --wc-yellow: #F4D552;
  --wc-green: #607470;
  --wc-navy: #0D1529;
  --wc-bg: #0A0F1C;
  --wc-fog: #9AAAB2;
  --wc-ice: #DDE7FD;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--wc-bg); }
body {
  color: #fff;
  font-family: 'Circular Std', Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; }
::selection { background: var(--wc-yellow); color: var(--wc-navy); }
a { color: inherit; -webkit-tap-highlight-color: transparent; }

.wrap { max-width: 1180px; margin: 0 auto; }

/* film-grain texture used on green sections */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='ng'><feTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.4 1.1'/></filter><rect width='100%25' height='100%25' filter='url(%23ng)'/></svg>");
}

/* decorative corner bars on green sections */
.bars { position: absolute; display: flex; gap: 20px; z-index: 1; }
.bars span { width: clamp(22px, 3vw, 34px); height: clamp(48px, 9vw, 110px); background: var(--wc-yellow); }
.bars--tl { top: 0; left: clamp(28px, 8vw, 120px); }
.bars--br { bottom: 0; left: clamp(60px, 14vw, 200px); }
.bars--tr { top: 0; right: clamp(28px, 8vw, 120px); }
.bars--bl { bottom: 0; right: clamp(60px, 14vw, 200px); }

/* eyebrow label with dot-pair bullet */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dots { display: inline-flex; flex-direction: column; gap: 5px; }
.dots span { width: 7px; height: 7px; background: var(--wc-yellow); }
.eyebrow-text { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }

/* headings */
h1, h2, h3 {
  font-family: 'DIN Alternate', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 0.98;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'DIN Alternate', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn--yellow { background: var(--wc-yellow); color: var(--wc-navy); }
.btn--ice { background: var(--wc-ice); color: var(--wc-navy); font-size: 13.5px; padding: 11px 20px; }

.code-chip {
  font-family: 'DIN Alternate', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--wc-yellow);
  border: 1.5px dashed var(--wc-yellow);
  border-radius: 4px;
}

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges img { height: 52px; width: auto; display: block; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(20px, 5vw, 56px);
  background: rgba(10, 15, 28, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header img { height: 40px; width: auto; display: block; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.76) 0%, rgba(10, 15, 28, 0.58) 40%, rgba(10, 15, 28, 0.88) 84%, var(--wc-bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 116px clamp(20px, 5vw, 56px) 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge { width: min(385px, 70vw); height: auto; display: block; margin-bottom: 30px; }
.hero-content h1 { color: #fff; font-size: clamp(38px, 7vw, 69px); }
.hero-content .hero-sub {
  font-family: 'DIN Alternate', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 0.98;
  color: var(--wc-yellow);
  font-size: clamp(30px, 7vw, 69px);
  max-width: 808px;
  margin-top: 4px;
  text-transform: uppercase;
}
.hero-content p { max-width: 620px; color: #D5DDE6; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; margin: 28px 0 0; }
.hero-content .store-badges { justify-content: center; margin-top: 36px; }

/* ===================== Green band sections ===================== */
.band {
  position: relative;
  overflow: hidden;
  background: var(--wc-green);
  padding: clamp(84px, 12vw, 156px) clamp(20px, 5vw, 56px);
}
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: var(--wc-yellow); font-size: clamp(38px, 6.4vw, 84px); }
.band p { color: rgba(255, 255, 255, 0.92); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; margin: 28px 0 0; max-width: 62ch; }
.band .statement { font-family: 'DIN Alternate', Arial, sans-serif; text-transform: uppercase; font-size: clamp(30px, 5vw, 60px); letter-spacing: 0.5px; color: #fff; margin: 40px 0 0; line-height: 1; }
.band .statement span { color: var(--wc-yellow); }

/* ===================== Place (marathon bib) ===================== */
.place-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, #101a2e 0%, var(--wc-bg) 100%);
}
.place-hero img.place-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.place-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.62) 34%, rgba(10, 15, 28, 0.78) 66%, var(--wc-bg) 100%);
}
.place-hero .place-content {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
}
.place-content .eyebrow-text { color: var(--wc-yellow); }
.place-content h2 { color: #fff; font-size: clamp(38px, 6.4vw, 92px); max-width: 15ch; }
.place-content p { max-width: 560px; color: #D5DDE6; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; margin: 26px 0 0; }
.place-content .btn { margin-top: 34px; }

/* ===================== Qualify (steps) ===================== */
.qualify .eyebrow-text { color: rgba(255, 255, 255, 0.72); }
.qualify h2 { color: #FCD526; margin: 0 0 clamp(44px, 6vw, 72px); font-size: clamp(36px, 6vw, 76px); max-width: 16ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}
.step { padding: 28px 0; border-top: 2px solid rgba(255, 255, 255, 0.22); }
.step:last-child { border-top-color: var(--wc-yellow); }
@media (min-width: 700px) {
  .step { padding: 28px clamp(20px, 3vw, 40px); }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
}
.step-num { font-family: 'DIN Alternate', Arial, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; color: var(--wc-yellow); margin-bottom: 40px; }
.step h3 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin: 0 0 12px; }
.step p { color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.6; margin: 0; max-width: none; }
.qualify-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: clamp(44px, 5vw, 64px); }
.qualify-cta .code-chip { font-size: clamp(20px, 3vw, 28px); padding: 10px 18px; }
.qualify-cta .code-note { color: rgba(255, 255, 255, 0.88); font-size: 16px; line-height: 1.45; }

/* ===================== What is Coopah ===================== */
.coopah {
  position: relative;
  background: var(--wc-ice);
  padding: clamp(84px, 12vw, 150px) clamp(20px, 5vw, 56px);
}
.coopah .wrap {
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(340px, 480px) minmax(280px, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .coopah .wrap { grid-template-columns: 1fr; }
}
.coopah .eyebrow-text { color: #5A6788; }
.coopah .dots span { background: var(--wc-navy); }
.coopah h2 { color: var(--wc-navy); font-size: clamp(36px, 5.6vw, 76px); }
.coopah > .wrap > div:first-child > p { color: #3E4A6B; font-size: 17px; line-height: 1.65; margin: 24px 0 0; }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature i { font-size: 26px; color: var(--wc-navy); line-height: 1; }
.feature-title { font-family: 'DIN Alternate', Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 19px; color: var(--wc-navy); letter-spacing: 0.5px; }
.feature-desc { color: #5A6788; font-size: 15px; margin: 4px 0 0; line-height: 1.5; }

.coopah .store-badges { margin-top: 38px; }
.coopah .store-badges img { height: 50px; }

.app-shot-frame { width: 100%; max-width: 610px; aspect-ratio: 2200 / 1691; margin: 0 auto; }
.app-shot-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ===================== Closing CTA ===================== */
.close-cta {
  position: relative;
  overflow: hidden;
  background: var(--wc-green);
  color: #fff;
  padding: clamp(84px, 12vw, 150px) clamp(20px, 5vw, 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.close-cta .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-bottom: clamp(72px, 10vw, 120px);
}
.close-cta .close-badge { height: 110px; width: auto; display: block; margin-bottom: 30px; }
.close-cta h2 { color: #fff; font-size: clamp(38px, 6vw, 64px); }
.close-cta h2 span { color: var(--wc-yellow); }
.close-cta p { color: rgba(255, 255, 255, 0.92); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; margin: 0; max-width: 46ch; }
.close-cta .store-badges { margin-top: 34px; }
.close-cta .store-badges img { height: 54px; }
.close-cta .qualify-cta { margin-top: 30px; }
.close-cta .code-chip { font-size: clamp(18px, 2.4vw, 24px); padding: 9px 16px; }
.close-cta .code-note { color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1.45; }
.close-cta .yellow-strip { position: relative; z-index: 1; height: clamp(14px, 2vw, 20px); background: var(--wc-yellow); }

/* ===================== Footer ===================== */
.site-footer {
  padding: 44px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--wc-bg);
}
.site-footer img { height: 26px; width: auto; }
.site-footer span { color: #6B7789; font-size: 12px; }
