:root {
  --bg: #ececec;
  --fg: #050505;
  --muted: #5c5c5c;
  --panel: #ffffff;
  --line: #0f0f0f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

.topbar {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.menu-toggle {
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 32px;
  height: 5px;
  background: var(--fg);
  margin: 0 auto;
  border-radius: 999px;
}

.menu-panel {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(320px, calc(100vw - 40px));
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-link {
  width: 100%;
  border: 3px solid var(--line);
  background: #fff;
  color: var(--fg);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.page {
  width: min(900px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.hero {
  text-align: center;
  margin-top: 36px;
}

.count {
  font-size: clamp(4.8rem, 15vw, 9rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.count-label {
  margin-top: 10px;
  font-size: clamp(1rem, 2.8vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.28em;
}

.cta-section {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.cta-shell {
  width: min(780px, 100%);
  position: relative;
  min-height: 116px;
}

.unredact-button,
.unredact-form,
.success-state {
  width: 100%;
  height: 116px;
  border-radius: 34px;
}

.unredact-button {
  border: none;
  background: var(--fg);
  color: #7d7d7d;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: transform 240ms ease, opacity 240ms ease;
}

.unredact-form {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.unredact-form input {
  width: 100%;
  border-radius: 34px;
  border: 7px solid var(--line);
  background: #fff;
  color: var(--fg);
  padding: 0 34px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
  outline: none;
}

.unredact-form input::placeholder {
  color: #8d8d8d;
}

.arrow-submit {
  border: none;
  border-radius: 34px;
  background: var(--fg);
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  cursor: pointer;
  transition: transform 180ms ease;
}

.arrow-submit:active {
  transform: scale(0.98);
}

.success-state {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cta-shell.is-closed .unredact-button {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cta-shell.is-closed .unredact-form,
.cta-shell.is-closed .success-state {
  opacity: 0;
  pointer-events: none;
}

.cta-shell.is-open .unredact-button {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.cta-shell.is-open .unredact-form {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cta-shell.is-open .success-state {
  opacity: 0;
  pointer-events: none;
}

.cta-shell.is-submitted .unredact-button,
.cta-shell.is-submitted .unredact-form {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.cta-shell.is-submitted .success-state {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.names-section {
  margin-top: 68px;
}

.names-wall {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 22px;
  row-gap: 8px;
  text-align: center;
}

.name-chip {
  display: inline-block;
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  line-height: 1;
}

.newsletter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 30;
}

.newsletter-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.newsletter-modal {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  color: var(--fg);
  border: 4px solid var(--line);
  border-radius: 28px;
  padding: 28px 24px 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  cursor: pointer;
}

.newsletter-kicker {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.newsletter-modal h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1;
}

.newsletter-modal p {
  margin: 0 0 20px;
  color: #3f3f3f;
  line-height: 1.4;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 126px;
  gap: 12px;
}

.newsletter-form input {
  height: 62px;
  border-radius: 20px;
  border: 3px solid var(--line);
  padding: 0 18px;
  font-size: 1.05rem;
}

.newsletter-submit {
  height: 62px;
  border: none;
  border-radius: 20px;
  background: var(--fg);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.skip-newsletter {
  margin-top: 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.newsletter-message {
  margin-top: 12px;
  min-height: 20px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 680px) {
  .page {
    width: min(100vw - 28px, 900px);
  }

  .cta-shell {
    min-height: 94px;
  }

  .unredact-button,
  .unredact-form,
  .success-state {
    height: 94px;
    border-radius: 28px;
  }

  .unredact-form {
    grid-template-columns: 1fr 94px;
    gap: 10px;
  }

  .unredact-form input {
    border-width: 5px;
    padding: 0 22px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-submit {
    width: 100%;
  }
}