:root {
  --wg-access-oxblood: #4A1824;
  --wg-access-ink: #282329;
  --wg-access-paper: #fffaf8;
  --wg-access-blush: #f4e9ec;
  --wg-access-border: #d8c9c7;
}

.wg-prelaunch-surface,
.wg-beta-access-surface {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  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));
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--wg-access-paper), var(--wg-access-blush));
  color: var(--wg-access-ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.wg-access-card {
  box-sizing: border-box;
  width: min(100%, 560px);
  padding: clamp(24px, 7vw, 54px);
  border: 1px solid var(--wg-access-border);
  border-radius: 22px;
  background: rgba(255, 250, 248, .96);
  box-shadow: 0 22px 70px rgba(37, 18, 25, .14);
}

.wg-access-card > img { width: min(170px, 52vw); height: auto; margin-bottom: 30px; }
.wg-access-card h1 { margin: 6px 0 14px; color: var(--wg-access-ink); font: 600 clamp(2rem, 8vw, 3.2rem)/1.06 Fraunces, Georgia, serif; }
.wg-access-card p { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.6; }
.wg-access-form { display: grid; gap: 10px; margin: 28px 0 18px; }
.wg-access-form label { font-weight: 700; }
.wg-access-form input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #716873; border-radius: 9px; background: #fff; color: var(--wg-access-ink); font: inherit; }
.wg-access-form button { min-height: 48px; margin-top: 6px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--wg-access-oxblood); color: #fff; font: 800 1rem/1.2 "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.wg-access-form input:focus-visible,
.wg-access-form button:focus-visible { outline: 3px solid #9c5263; outline-offset: 3px; }
.wg-access-message { padding: 12px 14px; border-left: 4px solid var(--wg-access-oxblood); background: var(--wg-access-blush); font-weight: 700; }
.wg-access-note { padding-top: 18px; border-top: 1px solid var(--wg-access-border); color: #665a5e; font-size: .94rem !important; }

.wg-header--beta .wg-header__inner--beta { justify-content: space-between; }
.wg-header--beta .wg-brand { cursor: default; }
.wg-beta-shell-label { display: grid; justify-items: end; color: var(--wg-access-ink); font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; }
.wg-beta-shell-label strong { color: var(--wg-access-oxblood); font-size: .72rem; }
.wg-test-beta-only-hero { min-height: auto; padding-bottom: clamp(36px, 7vw, 72px); }
.wg-footer--beta .wg-footer__bottom { justify-content: space-between; gap: 20px; }

@media (max-width: 560px) {
  .wg-access-card { padding: 24px 20px; border-radius: 16px; }
  .wg-header--beta .wg-header__inner--beta { align-items: center; gap: 14px; }
  .wg-header--beta .wg-brand img { width: 112px; }
  .wg-beta-shell-label { font-size: .72rem; }
  .wg-footer--beta .wg-footer__bottom { display: grid; }
}

@media (max-width: 340px) {
  .wg-prelaunch-surface,
  .wg-beta-access-surface { padding-left: 12px; padding-right: 12px; }
  .wg-access-card { padding-left: 16px; padding-right: 16px; }
  .wg-header--beta .wg-header__inner--beta { align-items: flex-start; }
  .wg-header--beta .wg-brand img { width: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  .wg-prelaunch-surface *,
  .wg-beta-access-surface *,
  .wg-beta-only-shell * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
