@font-face {
  font-family: Geist;
  src: url("/geist-latin.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --screen: #171221;
  --surface: #1d1728;
  --field: #282036;
  --edge: #4b405e;
  --text: #f4f4f5;
  --subtle: #a1a1aa;
  --soft: #82828b;
  --focus: #a7a0ff;
  --white: #f2f2f3;
  --radius-control: 14px;
  --radius-panel: 28px;
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  background: var(--screen);
  color: var(--text);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 280px; margin: 0; }
button, input, summary { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
p, h1, h2, ol { margin: 0; }
.access-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 12px; min-height: 100svh; padding: 12px; }
.access-scene, .access-panel { min-width: 0; border-radius: var(--radius-panel); }
.access-scene { position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(11rem, 1fr) auto; align-content: space-between; gap: 1.25rem; overflow: hidden; background: #0e0614; padding: 1.5rem 1.75rem 2rem; }
.access-scene chromatic-wave { position: absolute; z-index: -2; inset: 0; }
.access-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #100a1c80, transparent 40%, #0c061677 69%, #0c0616d9); }
.access-brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.access-brand a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: .98rem; }
.access-mark { display: block; flex: none; width: 40px; height: 40px; }
.access-emblem { place-self: center; display: grid; place-items: center; width: clamp(9rem, 24%, 12rem); aspect-ratio: 1; border: 1px solid #d3c8ff55; border-radius: 36%; background: #160d29c9; box-shadow: 0 0 2.5rem #8e65ec47; animation: access-emblem-in 520ms cubic-bezier(.2, .7, .3, 1) both; }
.access-emblem img { display: block; width: 72%; height: auto; }
@keyframes access-emblem-in { from { opacity: 0; transform: translateY(.75rem) scale(.94); } }
.access-intro { display: grid; gap: 1.125rem; }
.access-message { display: grid; gap: .875rem; min-height: 10.5rem; align-content: end; }
.access-preview-title { max-width: 11ch; font-size: clamp(2.6rem, 5vw, 4.65rem); line-height: 1.01; font-weight: 680; letter-spacing: -.065em; text-wrap: balance; }
.access-preview-title strong { color: #ded1ff; font-weight: inherit; }
#scene-description { max-width: 34ch; color: #f0e8f8; line-height: 1.45; }
.access-preview-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.access-preview-nav button, .access-motion { padding: .5rem .75rem; min-height: 2.25rem; border: 1px solid #e9dcff50; border-radius: 1rem; background: #160f25dc; color: var(--text); font-size: .78rem; font-weight: 650; }
.access-preview-nav button[aria-pressed="true"] { border-color: #e9dcff; background: #e9dcff; color: #26193f; }
.access-motion:hover, .access-preview-nav button[aria-pressed="false"]:hover { border-color: #e9dcff; }
.access-motion { flex: none; }
.access-scene[data-compact] .access-preview-nav { display: none; }
.access-panel { display: grid; align-items: center; justify-items: center; min-height: min(826px, calc(100svh - 24px)); background: var(--surface); padding: 32px 24px; }
.access-content { width: min(100%, 380px); }
.access-heading { margin-bottom: 1.5rem; text-align: center; }
.access-heading h1 { font-size: clamp(1.55rem, 3.1vw, 2rem); line-height: 1.22; font-weight: 670; letter-spacing: -.04em; }
.access-heading p { color: var(--subtle); margin-top: 7px; font-size: .89rem; line-height: 1.45; }
.access-providers { display: grid; gap: 10px; }
.access-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; width: 100%; padding: 8px 15px; border: 1px solid transparent; border-radius: var(--radius-control); background: var(--white); color: #070708; font-weight: 650; font-size: .91rem; text-decoration: none; transition: background-color .15s, border-color .15s; }
.access-button:hover { background: #fff; }
.access-button:disabled { opacity: .62; cursor: default; }
.access-button-google { background: #f9f7ff; color: #20172e; border-color: #ddd1ff; }
.access-button-google:hover { background: #eee6ff; }
.access-button-apple { background: var(--field); color: var(--text); border-color: var(--edge); }
.access-button-apple:hover { background: var(--surface); }
.access-button svg { width: 18px; height: 18px; }
.access-separator { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--soft); font-size: .72rem; }
.access-separator::before, .access-separator::after { content: ''; flex: 1; height: 1px; background: var(--edge); }
.access-form { display: grid; gap: 16px; }
.access-field { display: grid; gap: 7px; min-width: 0; }
.access-field-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.access-field > label, .access-field-top label { font-size: .78rem; }
.access-field-top a { color: var(--subtle); font-size: .74rem; text-decoration: none; }
.access-field-top a:hover, .access-foot a:hover { text-decoration: underline; }
.access-field input { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--edge); border-radius: var(--radius-control); background: var(--field); color: var(--text); font-size: .94rem; }
.access-field input::placeholder { color: #858591; opacity: 1; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.password-toggle { position: absolute; inset: 3px 3px 3px auto; min-width: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; color: var(--subtle); background: transparent; }
.password-toggle:hover { background: #ffffff14; }
.password-toggle svg { width: 17px; height: 17px; }
.access-submit { margin-top: 3px; }
.access-foot { margin-top: 20px; text-align: center; font-size: .86rem; color: var(--subtle); }
.access-foot a { color: var(--text); text-decoration: none; font-weight: 660; }
.access-privacy { margin-top: 24px; text-align: center; color: var(--subtle); font-size: .68rem; line-height: 1.58; }
.access-privacy a { text-underline-offset: 2px; }
.access-feedback { padding: 11px 12px; margin-top: 14px; background: #242235; border: 1px solid #696087; border-radius: 10px; color: #eee9ff; font-size: .82rem; }
.access-feedback[data-error="true"] { background: #361d26; border-color: #81445c; color: #ffdae4; }
.access-invitation { color: var(--subtle); font-size: .78rem; }
.access-invitation summary { width: fit-content; cursor: pointer; }
.access-invitation label { margin-top: 8px; }
.access-consent { display: flex; align-items: start; gap: 9px; color: var(--subtle); font-size: .73rem; line-height: 1.6; }
.access-consent input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--focus); }
.access-info { display: grid; gap: 16px; color: var(--subtle); font-size: .89rem; line-height: 1.55; }
@media(max-width: 700px) {
  .access-layout { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .access-scene { grid-template-rows: auto auto; align-content: start; gap: 1rem; padding: 1rem; }
  .access-scene::after { background: linear-gradient(180deg, #100a1c80, #0c06167d 45%, #0c0616d9); }
  .access-emblem { display: none; }
  .access-preview-title { max-width: none; font-size: clamp(1.9rem, 6.5vw, 2.65rem); }
  .access-message { min-height: 0; gap: .5rem; }
  .access-intro { gap: .875rem; }
  .access-panel { align-self: start; min-height: auto; padding: 1.5rem 1rem; }
  .access-scene[data-compact] .access-intro { display: none; }
}
@media(max-width: 470px) {
  .access-scene { padding-inline: 16px; }
  .access-brand a { font-size: .86rem; gap: 7px; }
}
@media(prefers-reduced-motion: reduce) {
  .access-button { transition: none; }
  .access-emblem { animation: none; }
}
