:root {
  --yellow: #FFD21F;
  --ink: #111111;
  --green: #0B6E4F;
  --paper: #FFF8E6;
  --red: #E8402F;
  --white: #FFFFFF;
  --muted: #444444;
  --display: Anton, Impact, 'Arial Narrow Bold', sans-serif;
  --body: Archivo, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --radius: 20px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--ink); }
a:hover { color: var(--green); }

img, svg { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(48px, 7vw, 104px); line-height: 0.95; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 32px; }

.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 5px; text-transform: uppercase; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--yellow); padding: 12px 16px; z-index: 10;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---- Launch banner ---- */
.launch-bar { background: var(--ink); color: var(--white); }
.launch-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; text-align: center;
}
.launch-bar strong { color: var(--yellow); }
.launch-bar a { color: var(--yellow); font-weight: 800; padding: 8px 0; }

/* ---- Header ---- */
.site-header { background: var(--yellow); border-bottom: 3px solid var(--ink); position: sticky; top: 0; z-index: 5; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--display); font-size: 26px; line-height: 1; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; font-weight: 800; font-size: 16px; }
.main-nav a { text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 800 17px/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 3px solid var(--ink); background: var(--ink); color: var(--yellow);
}
.btn:hover { color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn svg { flex: 0 0 auto; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-yellow { background: var(--yellow); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink a { color: var(--yellow); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }

.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy p { margin: 0; font-size: 20px; max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { background: var(--yellow); border-bottom: 3px solid var(--ink); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-hero p { margin: 0; font-size: 20px; max-width: 640px; }

/* ---- Cards ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 28px;
}

/* Drop cards */
.drop {
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px;
  scroll-margin-top: 100px;
}
.drop-live { background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); }
.drop-found { background: var(--green); color: var(--white); border: 3px solid var(--green); }
.drop-found a { color: var(--white); }
.drop .amount { font-family: var(--display); font-size: 56px; line-height: 1; }
.drop .where { font-weight: 800; font-size: 18px; }
.drop .meta { font-size: 15px; }
.drop .note { margin: 0; font-size: 15px; }
.badge { align-self: flex-start; font-weight: 800; font-size: 13px; letter-spacing: 3px; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; }
.badge-live { background: var(--red); color: var(--white); }
.badge-found { background: var(--paper); color: var(--green); }
.badge-launch { background: var(--yellow); color: var(--ink); }

.feature-drop {
  flex: 1 1 320px; max-width: 440px; background: var(--ink); color: var(--white);
  border: 3px solid var(--ink); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 10px 10px 0 var(--ink);
}
.feature-drop .amount { font-family: var(--display); font-size: clamp(80px, 10vw, 112px); line-height: 0.9; color: var(--yellow); }
.feature-drop .where { font-family: var(--display); font-size: 38px; line-height: 1; text-transform: uppercase; }
.feature-drop .meta { color: #DDDDDD; }

.empty { padding: 28px; border: 3px dashed currentColor; border-radius: var(--radius); }

/* ---- Lists ---- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { flex: 0 0 auto; margin-top: 1px; }

/* ---- Alerts panel ---- */
.alerts { background: var(--yellow); border-top: 3px solid var(--ink); }
.alerts .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.alerts-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.alerts-copy p { margin: 0; font-size: 18px; }
.alert-status { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.ios-hint { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; padding: 16px 20px; font-size: 16px; max-width: 520px; }
.ios-hint[hidden] { display: none; }

/* ---- Prose (rules, FAQ) ---- */
.prose-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 64px; padding-bottom: 88px; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.toc a { padding: 8px 0; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.prose section { padding-bottom: 32px; scroll-margin-top: 100px; }
.prose h2 { font-size: 36px; margin-bottom: 12px; }
.prose p, .prose li { color: #222222; }
.prose ul { padding-left: 22px; }
.callout { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; padding: 20px 24px; margin: 16px 0; }

.faq details { border-top: 3px solid var(--ink); }
.faq details:last-child { border-bottom: 3px solid var(--ink); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 19px; list-style-position: outside; }
.faq details p { margin: 0 0 20px; max-width: 720px; }

/* ---- Filters ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.filters button[aria-pressed="false"] { background: transparent; color: var(--ink); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .brand span { color: var(--yellow); }
.site-footer p { margin: 0; font-size: 15px; color: #CCCCCC; max-width: 420px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 600; font-size: 15px; }
.site-footer nav a { color: var(--white); padding: 12px 0; }
.site-footer .legal { flex: 1 1 100%; font-size: 13px; color: #AAAAAA; }

/* ---- Admin ---- */
.admin-wrap { max-width: 900px; margin: 0 auto; padding: 40px 24px 80px; display: flex; flex-direction: column; gap: 28px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.field input, .field textarea {
  font: 400 17px/1.4 var(--body); padding: 12px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink);
}
.field-wide { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.check input { width: 22px; height: 22px; }
.admin-drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; }
.admin-drop .actions { gap: 8px; }
.msg { font-weight: 600; min-height: 1.5em; }
.msg-error { color: #B3261E; }

@media (max-width: 600px) {
  /* The header wraps to two rows on phones; don't let it pin that much screen. */
  .site-header { position: static; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 64px; }
  .main-nav { gap: 0 16px; font-size: 15px; }
}
