/* WePay site v2 — page styles for the home, /winners and 404 (load after chrome.css).
   Brand from the app & the App Store 2.1 set (calm direction): lime/yellow are accents only. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.015em; }
h1 { font-weight: 900; font-size: clamp(2.15rem, 5.6vw, 3.7rem); line-height: 1.06; }
h2 { font-weight: 900; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.12; }
h3 { font-weight: 800; font-size: 1.22rem; line-height: 1.25; }
p { margin: 0; }
.accent { color: var(--green-ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.band { background: var(--mint); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05em; }
.eyebrow {
  display: inline-block; font: 800 .8rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 0; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy .lead { margin-top: 16px; font-size: 1.08em; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.hero-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.hero-art { position: relative; height: 380px; }
.hero-art .blob {
  position: absolute; left: 50%; top: 40px; width: 420px; height: 420px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--lime) 0%, #b9f9a8 45%, rgba(185,249,168,0) 70%);
  opacity: .55;
}
.phone {
  position: absolute; left: 50%; top: 0; width: 250px; transform: translateX(-28%);
  border-radius: 38px; background: #1d2420; padding: 9px; box-shadow: 0 30px 60px rgba(23, 64, 42, .25);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phone-tag::after {
  content: ""; position: absolute; right: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right: 0; border-left-color: var(--yellow);
}
.phone-tag {
  position: absolute; top: 34px; left: -112px; max-width: 124px; padding: 8px 12px; border-radius: 14px;
  background: var(--yellow); color: var(--ink); font: 800 .78rem/1.25 var(--font-display); box-shadow: 0 8px 18px rgba(23,64,42,.18);
}
.hero-art .mascot {
  position: absolute; left: 50%; bottom: -6px; width: 150px; transform: translateX(-132%);
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 16px 22px rgba(23, 64, 42, .22));
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 0; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 24px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-art { height: 600px; align-self: end; }
  .hero-art .blob { width: 560px; height: 560px; top: 60px; }
  .phone { width: 320px; top: 24px; border-radius: 46px; padding: 11px; transform: translateX(-30%); }
  .phone img { border-radius: 36px; }
  .phone-tag { top: 44px; left: -178px; max-width: 168px; font-size: .86rem; }
  .hero-art .mascot { width: 250px; bottom: 0; transform: translateX(-112%); }
}

/* ---------- Fact strip ---------- */
.facts { padding: 0; background: var(--mint); }
.facts ul {
  list-style: none; margin: 0; padding: 22px 0 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px;
  border-top: 1px solid var(--line);
}
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.facts .ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(23,64,42,.08);
}
.facts .ic svg { width: 19px; height: 19px; stroke: var(--green-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .facts ul { grid-template-columns: repeat(4, 1fr); padding: 26px 0 30px; } .facts li { font-size: 1rem; } }

/* ---------- Games ---------- */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .games { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.game {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.game img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; }
@media (min-width: 720px) { .game img { aspect-ratio: 980 / 866; } }
.game .body { padding: 12px 14px 16px; }
.game h3 { font-size: 1.05rem; }
.game p { margin-top: 4px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.game.daily { background: var(--yellow); border-color: #ece64a; justify-content: space-between; }
.game.daily .body { padding-top: 16px; }
.game.daily p { color: var(--ink); }
.game.daily img { aspect-ratio: auto; width: 74%; margin: 0 auto 8px; object-fit: contain; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.step .shot { background: var(--mint-2); height: 230px; display: flex; align-items: center; justify-content: center; padding: 22px; }
.step .shot img { max-height: 100%; width: auto; border-radius: 18px; box-shadow: 0 10px 26px rgba(23,64,42,.16); }
.step .body { padding: 22px 24px 26px; }
@media (min-width: 900px) { .step .shot { height: 290px; } }
.step .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font: 900 1rem/1 var(--font-display); margin-bottom: 12px;
}
.step p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.note {
  margin: 28px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: .95rem;
}
.note b { color: var(--ink); }

/* ---------- This month ---------- */
.month {
  position: relative; background: var(--ink); color: #e8f3e4; border-radius: var(--radius-l);
  padding: 34px 24px 32px; overflow: hidden;
}
.month h2 { color: #fff; }
.month .eyebrow { background: var(--lime); }
.month .big { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.month .big div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; }
.month .big b { display: block; font: 900 clamp(1.6rem, 4vw, 2.3rem)/1.05 var(--font-display); color: var(--lime); }
.month .big span { font-size: .88rem; color: #cfe2c9; }
.month .big div:first-child { grid-column: 1 / -1; }
.month .meta { margin-top: 16px; font-size: .98rem; line-height: 1.55; }
.month .meta strong { color: #fff; }
.month .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.month .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.month .btn-ghost:hover { border-color: #fff; color: #fff; }
.month .legal { margin-top: 20px; font-size: .84rem; line-height: 1.55; color: #dcebd6; }
.month .legal a { color: #fff; }
.month .mascot { width: 200px; justify-self: center; margin-top: 12px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
@media (min-width: 900px) {
  .month { padding: 56px 64px; }
  .month .copy { max-width: 820px; }
  .month .big { grid-template-columns: repeat(3, 1fr); }
  .month .big div:first-child { grid-column: auto; }
  .month .mascot { width: 300px; align-self: end; margin: 0; }
}

/* ---------- Split (friends) ---------- */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split .art { position: relative; display: flex; justify-content: center; }
.split .art .shot { width: 250px; border-radius: 30px; box-shadow: var(--shadow); border: 8px solid #1d2420; }
.split .art .mascot { position: absolute; width: 190px; right: 4%; bottom: -18px; filter: drop-shadow(0 14px 20px rgba(23,64,42,.22)); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.checks li::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--lime) center/16px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317402a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checks b { color: var(--ink); display: block; }
.checks span { color: var(--muted); font-size: .97rem; }

/* ---------- Trust ---------- */
.trust { display: grid; gap: 16px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.trust .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--mint-2); display: grid; place-items: center; margin-bottom: 14px; }
.trust .ic svg { width: 24px; height: 24px; stroke: var(--green-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.company { margin-top: 26px; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font: 800 1.05rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: .98rem; }
.faq-more { text-align: center; margin-top: 22px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding-bottom: 0; }
.final .mascot { width: 200px; margin: 0 auto 6px; }
.final p { margin: 14px auto 0; max-width: 32em; color: var(--muted); }
.final .hero-actions { justify-content: center; }
.final .inner { padding-bottom: 72px; }

/* ---------- Winners page ---------- */
.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, #fff, var(--mint)); }
.page-hero .container { display: grid; gap: 20px; align-items: center; }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 36em; }
.page-hero .mascot { width: 170px; justify-self: center; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 56px; } .page-hero .container { grid-template-columns: 1fr auto; } .page-hero .mascot { width: 220px; } }
.cycle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 22px; box-shadow: var(--shadow); }
.cycle + .cycle { margin-top: 22px; }
.cycle-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.status { display: inline-block; font: 800 .78rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.status.live { background: var(--yellow); color: var(--ink); }
.status.done { background: var(--mint-2); color: var(--green-ink); }
.cycle dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 0; }
.cycle dl div { background: var(--mint); border-radius: 14px; padding: 12px 14px; }
.cycle dt { font-size: .8rem; color: var(--muted); }
.cycle dd { margin: 2px 0 0; font: 900 1.25rem/1.2 var(--font-display); color: var(--ink); }
@media (min-width: 900px) { .cycle { padding: 34px 36px; } .cycle dl { grid-template-columns: repeat(4, 1fr); } }
.winners-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; }
.winners-table th { text-align: left; font: 800 .78rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 2px solid var(--line); }
.winners-table td { padding: 12px 8px; border-bottom: 1px solid #edf3ea; }
.winners-table td:last-child, .winners-table th:last-child { text-align: right; }
.sample-tag { display: inline-block; margin-left: 8px; font: 800 .7rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; background: #fff2c2; padding: 5px 8px; border-radius: 6px; vertical-align: middle; }
.sample { color: #a3ada6; }
.how { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 64px 0 96px; }
.not-found .mascot { width: 200px; margin: 0 auto 10px; }
.not-found p { margin: 14px auto 0; max-width: 30em; color: var(--muted); }
.not-found .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.cycle.empty { box-shadow: none; border-style: dashed; background: var(--mint); }
.cycle.empty p { margin-top: 10px; color: var(--muted); }
.month .ladder { margin-top: 14px; display: grid; gap: 12px; }
.month .ladder > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; }
.month .ladder h3 { color: #fff; font-size: 1rem; }
.month .ladder p { margin-top: 6px; color: #fff; font-size: 1.05rem; }
.month .ladder b { color: var(--lime); font-family: var(--font-display); font-weight: 900; white-space: nowrap; }
.month .ladder span { display: block; margin-top: 4px; font-size: .88rem; color: #cfe2c9; }
@media (min-width: 900px) { .month .ladder { grid-template-columns: 1fr 1fr; } }
.prize-list { margin-top: 22px; }
.cycle .fine { margin-top: 14px; font-size: .9rem; color: var(--muted); }
