:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --text: #ffffff;
  --muted: #cccccf;
  --pink: #dc1d68;
  --pink-hover: #c81759;
  --hero-height: 320px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100svh; background: var(--background); }
button, input { font: inherit; }
a { color: inherit; }

.landing { position: relative; min-height: 100svh; isolation: isolate; }
.hero {
  position: absolute;
  inset: 0 0 auto;
  height: var(--hero-height);
  overflow: hidden;
  z-index: -1;
  background: linear-gradient(115deg, #36212a 0%, #583541 42%, #2e202b 100%);
}
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(10 10 10 / 0) 28%, rgb(10 10 10 / .1) 47%, rgb(10 10 10 / .72) 78%, #0a0a0a 100%);
}
.profile {
  max-width: 440px;
  margin-inline: auto;
  padding: calc(var(--hero-height) - 76px) 24px 64px;
  text-align: center;
}
.profile h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgb(0 0 0 / .25);
}
.profile-description {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.pill {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 17px 24px;
  color: white;
  background: var(--pink);
  font-size: .9375rem;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.main-link { margin: 21px auto 0; max-width: 372px; box-shadow: 0 10px 25px rgb(0 0 0 / .1); }
.pill:hover { background: var(--pink-hover); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible, .page-url:focus-visible, .browser-help summary:focus-visible { outline: 3px solid #ffa8ca; outline-offset: 5px; }
.pill[aria-disabled="true"], .pill:disabled { cursor: default; }

.age-confirmation {
  max-width: 372px;
  margin: 21px auto 0;
  padding: 19px 16px 17px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 22px;
  background: linear-gradient(135deg, #852055, #701a4b);
  box-shadow: 0 10px 30px rgb(85 15 50 / .22);
  text-align: center;
}
.age-confirmation h2 {
  margin: 0;
  color: #ffffff;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .035em;
}
.age-confirmation p { margin: 9px 0 13px; color: #f4dce8; font-size: .875rem; line-height: 1.5; }
.age-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.age-button {
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.age-cancel { color: #ffffff; background: rgb(255 255 255 / .16); }
.age-cancel:hover { background: rgb(255 255 255 / .24); }
.age-continue { color: #cc1763; background: #ffffff; }
.age-continue:hover { background: #ffe8f2; }
.age-button:active { transform: translateY(1px); }
.age-button:focus-visible, .age-confirmation:focus-visible { outline: 3px solid #ffa8ca; outline-offset: 4px; }

.browser-gate {
  display: grid;
  min-height: 100svh;
  align-items: center;
  justify-items: center;
  padding: max(36px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
}
.gate-content {
  width: min(100%, 440px);
  padding: 30px 24px 20px;
  border: 1px solid #30262b;
  border-radius: 22px;
  background: #121012;
  box-shadow: 0 24px 80px rgb(0 0 0 / .3);
  text-align: center;
}
.browser-symbol {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid #4f2538;
  border-radius: 22px;
  background: #25141b;
  color: #fa78a7;
}
.browser-symbol svg { width: 44px; height: 44px; }
.gate-content h1 { margin: 0; font-size: clamp(1.6rem, 6.2vw, 1.875rem); line-height: 1.25; letter-spacing: -.025em; }
.gate-intro, .gate-content p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.gate-intro { margin: 14px 0 22px; }
.gate-content .handoff-status { margin: 16px 0 0; font-size: .875rem; }
.browser-help { margin-top: 14px; }
.browser-help summary { min-height: 44px; padding: 12px 0; color: var(--muted); font-size: .875rem; line-height: 1.5; cursor: pointer; }
.browser-help[open] summary { margin-bottom: 12px; }
.browser-help:not([open]) { margin-top: 4px; }
.open-instructions {
  counter-reset: steps;
  display: grid;
  gap: 17px;
  list-style: none;
  padding: 20px;
  margin: 0 0 22px;
  border: 1px solid #2e2529;
  border-radius: 16px;
  background: #151214;
  text-align: left;
}
.open-instructions li { display: flex; align-items: baseline; gap: 12px; font-size: .9375rem; line-height: 1.6; }
.open-instructions li::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-grid;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #38202a;
  color: #ffbdd6;
  font-size: .875rem;
  font-weight: 700;
}
.open-instructions strong { font-weight: 700; }
.gate-content .copy-intro { margin: 20px 0 12px; font-size: .875rem; }
.page-url {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid #3a3035;
  border-radius: 12px;
  color: #e9dfe4;
  background: #141114;
  font-size: 1rem;
  text-align: center;
}
.gate-content .copy-status { min-height: 44px; margin: 14px 0 0; font-size: .875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  :root { --hero-height: clamp(320px, 49svh, 440px); }
  .profile { padding-inline: 24px; }
  .profile h1 { font-size: 1.75rem; }
  .hero-image { object-position: var(--mobile-photo-position, 50% 38%) !important; }
}
@media (max-width: 350px) {
  .profile, .browser-gate { padding-inline: 18px; }
  .open-instructions { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
