:root {
  color-scheme: dark;
  --background: #09090b;
  --panel: #111116;
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #fff7fb;
  --muted: #c8bac2;
  --accent: #ff7fb2;
  --accent-strong: #D7F1FA;
  --error: #ff9a9a;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgb(245, 148, 145), transparent 32rem),
    linear-gradient(180deg, #161116 0%, var(--background) 58%);
}

.presell-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    12px
    max(18px, env(safe-area-inset-bottom));
}

.access-panel {
  width: min(100%, 368px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px 16px 22px;
  text-align: center;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: clamp(224px, 74vw, 286px);
  height: clamp(224px, 74vw, 286px);
  object-fit: cover;
  object-position: 50% 44%;
  border: 7px solid var(--accent-strong);
  border-radius: 50%;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.copy-stack {
  display: grid;
  gap: 8px;
  max-width: 310px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 10.5vw, 2.55rem);
  line-height: 0.98;
  font-weight: 800;
}

p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.cf-turnstile {
  width: 300px;
  max-width: 100%;
  min-height: 65px;
  display: grid;
  place-items: center;
}

.access-button {
  width: min(100%, 300px);
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #14080e;
  background:#D7F1FA;
  box-shadow: 0 14px 32px rgba(255, 127, 178, 0.18);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.access-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.access-button:not(:disabled):active {
  transform: translateY(1px);
}

.access-button:focus-visible {
  outline: 3px solid rgba(215, 241, 250, 0.72);
  outline-offset: 3px;
}

.status-message {
  min-height: 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.status-message--success {
  color: #a9ffc7;
}

.status-message--error {
  color: var(--error);
}

@media (max-width: 520px) {
  .presell-shell {
    align-items: center;
  }

  .access-panel {
    width: min(100%, 368px);
    min-height: calc(100svh - 88px);
    align-content: center;
    gap: 17px;
  }

  p {
    font-size: 0.97rem;
  }
}

@media (max-width: 340px) {
  .presell-shell {
    padding-inline: 10px;
  }

  .access-panel {
    padding-inline: 0;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }

  .copy-stack,
  .status-message {
    padding-inline: 14px;
  }
}
