@font-face {
  font-family: Inter;
  src: url("/static/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, Inter, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid #f0f0f2;
}
.logo, .nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.sheet {
  width: min(440px, calc(100% - 32px));
  margin: 48px auto 64px;
}
.eyebrow { color: #0071e3; font-weight: 600; margin: 0 0 8px; }
h1 { font-size: clamp(32px, 8vw, 44px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 36px 0 12px; }
.lede { color: #6e6e73; margin: 0 0 24px; }
.stack { display: grid; gap: 10px; }
label { font-size: 13px; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; min-height: 180px; }
button {
  height: 44px;
  border: 0;
  border-radius: 980px;
  background: #0071e3;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
button:active { transform: scale(0.98); }
.err { color: #c41c1c; background: #fff2f2; padding: 10px 12px; border-radius: 12px; }
.ok { color: #0b7a2b; background: #eefbf1; padding: 10px 12px; border-radius: 12px; }
.warn { color: #8a5a00; background: #fff6e5; padding: 10px 12px; border-radius: 12px; }
.quiet { margin-top: 16px; text-align: center; }
.linkish, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 980px;
  background: #0071e3;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
}
.linkish { background: transparent; color: #0071e3; height: auto; padding: 0; }
.text-link { color: #0071e3; font-weight: 500; }
.admin { background: #f5f5f7; }
.admin-nav { background: rgba(255,255,255,.86); position: sticky; top: 0; }
.nav-end { display: flex; gap: 10px; align-items: center; }
.wide { width: min(960px, calc(100% - 32px)); margin: 28px auto 64px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.stats li { background: #fff; border-radius: 16px; padding: 14px 16px; min-width: 120px; }
.stats b { display: block; font-size: 28px; letter-spacing: -0.03em; }
.table-wrap { overflow: auto; background: #fff; border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #f0f0f2; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; background: #eee; }
.tag.active { background: #e8f8ed; color: #0b7a2b; }
.tag.pending { background: #fff6e5; color: #8a5a00; }
.tag.unsubscribed { background: #f0f0f2; color: #6e6e73; }
.mail-form { max-width: 640px; }
.logs { color: #6e6e73; font-size: 14px; padding-left: 18px; }
#code { letter-spacing: 0.35em; font-size: 22px; text-align: center; }

.sub { background: #f5f5f7; overflow-x: hidden; }
.sub .nav { background: rgba(251,251,253,.8); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 5; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 8px; height: 8px; border-radius: 50%; background: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.12); }
.hero {
  width: min(1080px, calc(100% - 24px));
  margin: 16px auto 28px;
  display: grid;
  gap: 16px;
}
.stage {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 24px;
  background: #121526;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stage-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 20px;
}
.stage-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stage-kicker .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: beat 1.8s ease-out infinite;
}
.stage-title {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 20px 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.05);
  width: auto;
  margin: 0;
}
.brands-kicker {
  text-align: center;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 8px 0 14px;
}
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(920px, calc(100% - 24px));
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
}
.brands li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 980px;
  padding: 8px 12px 8px 10px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.brands img {
  width: 18px;
  height: 18px;
  display: block;
}
.brands { margin-bottom: 48px; }

@keyframes beat {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: stretch; margin-top: 28px; }
  .stage { min-height: 420px; border-radius: 32px; }
  .card { padding: 36px 32px; border-radius: 32px; }
}

.win {
  min-height: 100vh;
  background: #080a16;
  color: #f5f5f7;
  overflow: hidden;
}
.win .nav {
  position: relative;
  z-index: 3;
  background: transparent;
  border-bottom-color: transparent;
}
.win .logo, .win .nav a { color: #f5f5f7; }
#fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.win-card {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 32px));
  margin: 12vh auto 28px;
  padding: 36px 28px 32px;
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32px;
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.win-card h1 {
  font-size: clamp(44px, 10vw, 72px);
  margin: 0 0 12px;
  color: #fff;
}
.win-card .lede { color: #d2d2d7; }
.win-note { color: #a1a1a6; margin: 0 0 24px; font-size: 15px; }
.win .brands-kicker { color: #a1a1a6; position: relative; z-index: 2; }
.win .brands { position: relative; z-index: 2; }
.win .brands li { background: rgba(255,255,255,.1); color: #f5f5f7; }

@media (prefers-reduced-motion: reduce) {
  .stage-kicker .pulse { animation: none !important; }
}
