:root {
  color-scheme: dark;
  --bg: #09090b;
  --text: #fff7ea;
  --muted: #beb6aa;
  --yes: #b8ff7d;
  --no: #ff6b7a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body.locked {
  overflow: hidden;
}

button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
}

button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.intro-gate,
.video-stage {
  position: fixed;
  inset: 0;
}

.intro-gate {
  z-index: 10;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.intro-card {
  width: min(100%, 360px);
  text-align: center;
}

.intro-card h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 17vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: lowercase;
}

.intro-card button {
  width: min(100%, 240px);
  background: var(--text);
  color: var(--bg);
}

.video-stage {
  z-index: 20;
  display: none;
  width: 100vw;
  height: 100dvh;
  background: #000;
}

.video-stage.active {
  display: block;
}

.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  pointer-events: none;
  user-select: none;
}

.app {
  display: none;
}

.app.revealed {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.apology {
  width: min(100%, 720px);
  text-align: center;
}

.apology h2 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 15vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.apology p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1.7rem, 7vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 420px);
  margin: 0 auto;
}

#yesButton {
  background: var(--yes);
  color: #10140c;
}

#noButton {
  background: var(--no);
  color: #18080b;
}

.status {
  min-height: 1.4em;
  margin-top: 18px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

@media (max-width: 420px) {
  .choices {
    grid-template-columns: 1fr;
  }
}
