:root {
  color-scheme: dark;
  color: #f5f5f5;
  background: #070807;
  font-family: Inter, system-ui, sans-serif;
  --muted: #bec4bc;
  --accent: #9dff5e;
  --border: #2d382a;
}

* { box-sizing: border-box; }

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  padding-top: max(76px, env(safe-area-inset-top, 0px));
  background: radial-gradient(ellipse at 50% 34%, #182015 0%, #0c0e0b 42%, #070807 75%);
}

.preview { width: min(100%, 480px); }

.pitch-back {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: max(14px, env(safe-area-inset-left, 0px));
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #10130f;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
}

.pitch-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.access {
  display: grid;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #10130f;
  box-shadow: 0 28px 80px #0005;
}

.brand {
  display: grid;
  place-items: center;
  padding: 2px 0 14px;
}

.brand a {
  display: block;
  width: min(100%, 362px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.access-content h1 {
  margin: 0;
  font: 400 clamp(3.1rem, 11vw, 4.65rem)/0.94 'Bebas Neue', 'Arial Narrow', sans-serif;
  letter-spacing: 0.015em;
}

.access-content > p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.brand a { transform: translateY(-14px); }
.access-content { text-align: center; }

@keyframes pitch-logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@media (prefers-reduced-motion: no-preference) {
  .brand img { animation: pitch-logo-pulse 4.5s ease-in-out infinite; }
}

form { text-align: start; }
label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 650; }

input,
button {
  display: block;
  width: 100%;
  min-height: 47px;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

input { border: 1px solid #6c7967; background: #090b09; color: inherit; }

button {
  margin-top: 12px;
  border: 1px solid transparent;
  color: #10160b;
  background: var(--accent);
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #b7ff8b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.error { margin: 8px 0 0; color: #ffb9ae; font-size: 0.875rem; line-height: 1.5; }

.deck { width: min(100%, 900px); }
.slide { display: block; width: 100%; height: auto; margin-bottom: 20px; border-radius: 8px; }
.deck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.deck-actions a { color: var(--muted); }
.deck-actions .download {
  display: inline-block;
  padding: 12px 15px;
  border-radius: 8px;
  color: #10160b;
  background: var(--accent);
  font-weight: 750;
  text-decoration: none;
}
.deck-actions .download:hover { background: #b7ff8b; }

@media (max-width: 400px) {
  .brand a { width: min(100%, 300px); }
}
