@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --page: #f1f6f3;
  --card: #ffffff;
  --ink: #12261f;
  --muted: #5d7068;
  --teal: #00917d;
  --teal-deep: #0b6b55;
  --yellow: #ffd92e;
  --leaf: #8ed36f;
  --link: #00806e;
  --beak: #2f78d0;
  --sky: #7db8f0;
  --beak-link: #2a6cbd;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #08130f;
    --card: #11211b;
    --ink: #eef5f1;
    --muted: #93a79e;
    --teal: #00826f;
    --teal-deep: #0a5446;
    --link: #5fd3b9;
    --beak: #2563b0;
    --beak-link: #8cc0f5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.55 "Geist", -apple-system, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.badge img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--banner, var(--teal));
  color: #ffffff;
  border-radius: 30px;
  padding: 20px;
  margin-bottom: 14px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  right: -44px;
  top: -52px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: -18px 22px 0 -2px var(--halo, var(--leaf));
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(38px, 9vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.lede {
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
  max-width: 26ch;
  text-wrap: pretty;
}

.hero .lede { color: rgba(255, 255, 255, 0.92); }

body.support {
  --dot: var(--beak);
  --link: var(--beak-link);
}

.hero.support {
  --banner: var(--beak);
  --halo: var(--sky);
}

mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  color: inherit;
  padding: 0 2px;
}

.hero mark {
  background: none;
  color: var(--yellow);
  padding: 0;
}

.card {
  background: var(--card);
  border-radius: 26px;
  padding: 22px 24px;
  margin-bottom: 14px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--teal));
}

.card p { margin: 0; }
.card p + p { margin-top: 10px; }

a { color: var(--link); }

.mail {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  border-radius: 26px;
  background: var(--teal);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.next.to-support { background: var(--beak); }

.next-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.next-text small {
  font-family: "Geist", -apple-system, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  opacity: 0.8;
}

.arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: #12261f;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.next:hover .arrow { transform: translateX(4px); }
.next:active { transform: scale(0.98); }
.next:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .next, .arrow { transition: none; }
}

footer {
  margin-top: 16px;
  padding-left: 4px;
  font-size: 14px;
  color: var(--muted);
}

footer a { color: inherit; }
