:root {
  color-scheme: dark;
  --bg: #02080d;
  --paper: #f6fcff;
  --muted: #a6bfce;
  --cyan: #47cfff;
  --line: #75d6ff28;
  --sans: Arial, Helvetica, sans-serif;
  --display: 'Arial Black', Arial, Helvetica, sans-serif;
  --mono: 'Lucida Console', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); font-size: 16px; }
body { margin: 0; min-width: 280px; min-height: 100svh; color: var(--paper); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button svg, a svg { width: 24px; height: 24px; flex: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
::selection { background: var(--cyan); color: var(--bg); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--cyan); color: var(--bg); padding: 14px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-wrap { position: relative; width: min(100%, 1720px); min-height: 100svh; margin: 0 auto; padding: 0 clamp(22px, 5vw, 88px); }
.topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 106px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.25rem; font-weight: 900; letter-spacing: .075em; white-space: nowrap; }
.wordmark span, .dialog-brand span { color: #9fe8ff; }
.home-link { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .875rem; color: var(--muted); transition: color .2s; }
.home-link:hover { color: var(--paper); }
.home-link svg { width: 18px; height: 18px; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: max(690px, calc(100svh - 106px)); padding: 72px 0 110px; }
.hero-copy { position: relative; z-index: 1; width: 54%; }
h1 { margin: 0 0 34px; font-family: var(--display); font-size: clamp(4.7rem, 8.8vw, 9.4rem); font-weight: 900; letter-spacing: -.07em; line-height: .91; }
h1 span, h2 span { color: var(--cyan); }
.hero-description { margin: 0 0 35px; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.hero-description strong { color: #e1f5ff; font-weight: 400; }
.primary-button { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; padding: 18px 25px; border: 1px solid #a3edff; border-radius: 6px; background: linear-gradient(105deg, #8ae5ff, #47cfff); color: #031723; font-size: .875rem; font-weight: 800; letter-spacing: .07em; box-shadow: inset 0 1px 0 #ffffff50, 0 5px 32px #47cfff17; transition: transform .2s, box-shadow .2s, filter .2s; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 42px #47cfff35; }
.primary-button:active { transform: translateY(1px); }
.hero-button { width: 308px; max-width: 100%; }
.hero-art { position: absolute; z-index: -1; inset: 0 -5vw 0 25%; overflow: hidden; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% 50%; animation: scene-drift 14s ease-in-out infinite alternate; }
.hero-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, var(--bg) 0%, #02080dd9 12%, #02080d33 40%, transparent 70%), linear-gradient(0deg, var(--bg), transparent 20% 80%, #02080d99); }
.access-dialog { width: min(570px, calc(100vw - 32px)); max-height: calc(100svh - 40px); padding: 0; border: 1px solid #5291ad77; border-radius: 16px; background: #06121c; color: var(--paper); box-shadow: 0 30px 130px #000c; overflow: auto; overscroll-behavior: contain; }
.access-dialog::backdrop { background: #01060ecc; backdrop-filter: blur(14px); }
.access-dialog[open] { animation: dialog-in .3s ease both; }
.access-dialog.is-success { width: min(1000px, calc(100vw - 32px)); background: #04101a; }
.dialog-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 12px 20px 12px 32px; border-bottom: 1px solid var(--line); }
.dialog-brand { font-size: .9375rem; font-weight: 800; letter-spacing: .1em; }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--muted); }
.close-button:hover { background: #163246; color: var(--paper); border-color: var(--line); }
.close-button svg { width: 20px; height: 20px; }
.dialog-panel { padding: 44px 40px 42px; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.65rem, 4.5vw, 3.5rem); letter-spacing: -.06em; line-height: .99; margin: 0 0 20px; }
h2:focus { outline: none; }
.dialog-description { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0 0 32px; }
form label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 11px; }
.wallet-field { display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid #496579; border-radius: 6px; background: #020b12; min-height: 60px; }
.wallet-field:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #47cfff15; }
.wallet-field > svg { width: 21px; height: 21px; flex: none; stroke: #8fc9e5; stroke-width: 1.5; }
.wallet-field input { width: 100%; min-width: 0; height: 58px; padding: 0; border: 0; background: transparent; color: var(--paper); font: 1rem var(--mono); letter-spacing: -.035em; }
.wallet-field input:focus-visible { outline: none; }
.wallet-field input::placeholder { color: #859dac; font-family: var(--sans); letter-spacing: 0; }
.wallet-field.has-error { border-color: #ffafc1; }
.field-error { color: #ffb4c5; margin: 12px 0 0; font-size: .875rem; line-height: 1.5; }
.field-error:empty { display: none; }
.request-button { margin-top: 26px; width: 100%; }
.success-panel { position: relative; display: grid; grid-template-columns: .98fr 1fr; overflow: hidden; isolation: isolate; }
.success-art { position: relative; min-width: 0; min-height: 525px; overflow: hidden; background: #02080d; }
.success-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.success-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #04101a), linear-gradient(0deg, #04101a88, transparent 30%); }
.success-content { position: relative; z-index: 1; align-self: center; padding: 48px 38px 36px 24px; }
.success-content h2 { font-size: clamp(2.5rem, 4vw, 3.6rem); }
.success-content .dialog-description { margin-bottom: 24px; }
.wallet-receipt { display: flex; align-items: center; gap: 9px; margin: 0 0 34px; color: #adddf2; }
.wallet-receipt svg { width: 21px; height: 21px; stroke: #70dcff; stroke-width: 1.8; flex: none; }
.wallet-receipt code { font: .875rem var(--mono); overflow-wrap: anywhere; }
.engagement { border-top: 1px solid var(--line); padding-top: 24px; }
.engagement p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.engage-button { width: 100%; min-height: 58px; }
.text-button { display: block; min-height: 44px; padding: 13px 16px; margin: 8px auto 0; border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-underline-offset: 5px; }
.text-button:hover { color: var(--paper); text-decoration: underline; }
.reveal-light { position: absolute; z-index: 2; inset: -30% auto -30% -50%; width: 35%; transform: rotate(18deg); pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #b2edff70, transparent); filter: blur(20px); }
.access-dialog[open].is-success .success-art img { animation: art-reveal 1.25s cubic-bezier(.15,.7,.2,1) both; }
.access-dialog[open].is-success .success-content > * { animation: content-reveal .8s cubic-bezier(.2,.7,.2,1) both; }
.access-dialog[open].is-success .success-content > :nth-child(1) { animation-delay: .15s; }
.access-dialog[open].is-success .success-content > :nth-child(2) { animation-delay: .25s; }
.access-dialog[open].is-success .success-content > :nth-child(3) { animation-delay: .35s; }
.access-dialog[open].is-success .success-content > :nth-child(4) { animation-delay: .45s; }
.access-dialog[open].is-success .reveal-light { animation: light-sweep 1.25s .05s ease-out both; }
body.dialog-open { overflow: hidden; }
.noscript-message { padding: 20px; color: var(--muted); }
@keyframes scene-drift { from { transform: scale(1); } to { transform: scale(1.035) translateY(-.5%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes art-reveal { from { opacity: 0; transform: scale(1.12); filter: blur(12px) brightness(1.6); } to { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes light-sweep { 0% { left: -50%; opacity: 0; } 20% { opacity: .8; } 100% { left: 120%; opacity: 0; } }
@media (min-width: 1720px) { .hero-art { right: -85px; } }
@media (max-width: 1000px) {
  .site-wrap { padding: 0 32px; }
  .hero { min-height: max(660px, calc(100svh - 96px)); }
  .topbar { min-height: 96px; }
  .hero-copy { width: 65%; }
  .hero-art { left: 18%; right: -32px; }
  .hero-art::after { background: linear-gradient(90deg, var(--bg), #02080dcc 18%, #02080d30 65%), linear-gradient(0deg, var(--bg), transparent 25% 85%); }
  .success-content { padding: 38px 30px 28px 18px; }
}
@media (max-width: 680px) {
  .site-wrap { padding: 0 22px; }
  .topbar { min-height: 82px; gap: 14px; flex-wrap: wrap; padding: 17px 0; }
  .wordmark { font-size: 1rem; letter-spacing: .045em; }
  .home-link { font-size: .875rem; gap: 6px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 790px; padding: 350px 0 55px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(4.5rem, 16vw, 6.8rem); margin-bottom: 23px; }
  .hero-description { font-size: 1rem; margin-bottom: 26px; }
  .hero-art { inset: -15px -22px auto -22px; height: 480px; }
  .hero-art img { object-position: 65% 40%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg) 0%, #02080ddd 9%, transparent 44%), linear-gradient(180deg, #02080d80, transparent 20%); }
  .hero-button { width: 100%; max-width: 355px; }
  .access-dialog, .access-dialog.is-success { max-height: calc(100svh - 24px); width: calc(100vw - 24px); border-radius: 13px; }
  .dialog-topbar { min-height: 62px; padding: 8px 14px 8px 25px; }
  .dialog-panel { padding: 33px 25px; }
  .dialog-description { margin-bottom: 25px; }
  .success-panel { display: block; }
  .success-art { min-height: 0; height: clamp(210px, 64vw, 310px); }
  .success-art img { object-position: 50% 38%; }
  .success-art::after { background: linear-gradient(0deg, #04101a, transparent 45%); }
  .success-content { padding: 0 25px 20px; margin-top: -12px; }
  .success-content h2 { font-size: clamp(2.55rem, 10vw, 3.5rem); }
  .success-content .dialog-description { margin-bottom: 16px; }
  .wallet-receipt { margin-bottom: 24px; }
  .engagement { padding-top: 20px; }
}
@media (max-width: 380px) {
  .topbar { column-gap: 12px; }
  .home-link { font-size: .875rem; }
  .home-link svg { display: none; }
  .hero { padding-top: 315px; min-height: 750px; }
  .hero-art { height: 435px; }
  h1 { font-size: clamp(3.55rem, 15.8vw, 4.6rem); }
  .dialog-panel, .success-content { padding-left: 20px; padding-right: 20px; }
  .wallet-field { gap: 9px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-light { display: none; }
}
