* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #071229;
  color: #f5f7ff;
  --accent: #ffde4a;
  --muted: #b9c4da;
  --line: #344567;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at top right, #1a305e, transparent 44rem);
}

a { color: var(--accent); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
p { line-height: 1.6; }
h1, h2, p { margin: 0; }

.shell { width: min(1040px, calc(100% - 32px)); margin-inline: auto; }

.site-header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

.site-header { border-bottom: 1px solid var(--line); }

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img { flex: none; object-fit: contain; }
.header-link { white-space: nowrap; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 24%);
  align-items: center;
  gap: clamp(18px, 5vw, 60px);
  padding-block: clamp(40px, 8vw, 92px) clamp(36px, 6vw, 64px);
}

.hero-crest {
  width: 100%;
  height: auto;
  max-width: 224px;
  justify-self: center;
  filter: drop-shadow(0 14px 24px #030a1866);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 750;
}

h1 {
  margin-block: 14px 20px;
  font-size: clamp(2.45rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

h1 span, .hashtag { color: var(--accent); }
.intro { max-width: 58ch; color: var(--muted); font-size: 1.13rem; }
.hashtag { margin-top: 16px; font-weight: 700; }

.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 20px;
}

.card {
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #10203f;
  scroll-margin-top: 24px;
}

.card h2 { margin-bottom: 8px; }
.count { margin-top: 12px; font-size: clamp(2.75rem, 6vw, 4.8rem); line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
progress { width: 100%; margin-block: 20px 8px; accent-color: var(--accent); }
.google-sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid #747775;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1f;
  font: 600 .9rem/1.4 "Google Sans", system-ui, sans-serif;
  text-decoration: none;
}

.google-sign-in:hover { background: #eef3fc; }

.secondary {
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 750;
}

.message { color: var(--muted); }
.message:empty { display: none; }
#share-status, #form-status { margin-top: 8px; }

.faq { margin-block: 56px; }
.faq h2 { margin-bottom: 18px; }
details { border-top: 1px solid var(--line); padding: 15px 0; }
details p { margin-top: 8px; color: var(--muted); }
summary { cursor: pointer; font-weight: 650; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.footer-credit { font-weight: 750; }

@media (max-width: 680px) {
  .campaign-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-crest { width: 90px; grid-row: 1; justify-self: start; }
  .brand { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
