:root {
  color-scheme: dark;
  --bg: #0b0e0b;
  --ink: #edf0e5;
  --lime: #d8f77b;
  --gutter: clamp(24px, 5.2vw, 112px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { height: 100dvh; display: flex; flex-direction: column; isolation: isolate; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { opacity: .55; cursor: wait; }
svg { display: block; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
::selection { color: var(--bg); background: var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Every content edge uses the same grid. The canvas sits outside it. */
#signal-field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; }
.scene-shade { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg,#0b0e0bf1 0%,#0b0e0bdc 20%,#0b0e0b87 41%,#0b0e0b00 65%),linear-gradient(0deg,#0b0e0bd1,transparent 23%,transparent 77%,#0b0e0b60); }
.scene-grain { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .02; background: repeating-linear-gradient(0deg,transparent 0 1px,#c4de9233 1px 2px); }
.site-header { height: 94px; flex: none; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand svg { width: 31px; height: 31px; color: var(--lime); }
.brand span { font-size: 20px; letter-spacing: -.55px; font-weight: 550; }
.invite-link { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: #b6c8a2; transition: color .25s; white-space: nowrap; }
.invite-link > span { font-size: 20px; color: #cae98b; }
.invite-link:hover { color: var(--lime); }
main { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; padding: 0 var(--gutter) 24px; }
.main-copy { width: min(690px, 62vw); }
.eyebrow { display: flex; align-items: center; gap: 11px; font-size: 14px; line-height: 1.3; letter-spacing: 2px; color: #9eb585; font-weight: 500; }
.eyebrow > span { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 10px #d8f77b66; flex: none; }
.main-copy h1 { display: inline-block; position: relative; width: max-content; max-width: 100%; font-size: clamp(95px,9.4vw,158px); line-height: .99; letter-spacing: -.078em; font-weight: 450; margin: 25px 0 0 -5px; white-space: nowrap; }
.headline-line { display: block; }
.headline-line:nth-child(2) { padding-left: .065em; }
.main-copy h1 em { font-style: normal; color: var(--lime); font-weight: 350; letter-spacing: -.079em; }
.headline-dot { position: absolute; top: 6px; left: calc(100% + 24px); width: 43px; height: 43px; color: #dbfa82; animation: star-turn 36s linear infinite; }
.headline-dot svg { width: 100%; height: 100%; }
.opening-note { font-size: 16px; color: #a5b893; line-height: 1.55; margin-top: 27px; }
#waitlist-form { max-width: 520px; margin-top: 32px; }
.email-line { display: flex; align-items: stretch; height: 59px; border: 1px solid #7e9358; background: #1720119e; border-radius: 5px; box-shadow: 0 5px 30px #0002; transition: background .25s,border-color .25s; }
.email-line:focus-within { border-color: var(--lime); background: #1d2913d1; }
.email-line input { width: 100%; min-width: 0; background: none; color: #e4edda; border: 0; padding: 16px 18px; font-size: 16px; outline: none; box-shadow: none; }
.email-line input::placeholder { color: #a0b38b; }
.email-line input:focus-visible { outline: none; }
.email-line input[aria-invalid=true] { box-shadow: inset 0 0 0 1px #da9f9f; border-radius: 5px 0 0 5px; }
.email-line button { display: flex; align-items: center; justify-content: space-between; gap: 17px; flex: none; padding: 0 18px; border-left: 1px solid #7e9358; border-radius: 0 4px 4px 0; background: var(--lime); color: #1e2d0f; transition: background .25s; }
.email-line button:hover { background: #e5ff9b; }
.email-line button > span { font-size: 14px; font-weight: 650; white-space: nowrap; }
.email-line button svg { width: 21px; height: 21px; transition: transform .35s var(--ease); }
.email-line button:hover svg { transform: translateX(4px); }
.consent-label { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; cursor: pointer; }
.consent-label input { width: 15px; height: 15px; flex: none; margin: 3px 0 0; accent-color: var(--lime); cursor: pointer; }
.consent-label > span { font-size: 14px; line-height: 1.5; color: #a7bc93; }
.consent-label a { color: #d3e5bc; text-decoration: underline; text-decoration-color: #7c9560; text-underline-offset: 3px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 43px; font-size: 14px; line-height: 1.5; margin-top: 11px; color: #c9e89d; }
.form-status.error { color: #e9b7ae; }
.form-status.success { color: #d6eeac; }
.form-status a { color: var(--lime); text-decoration: underline; }
.site-footer { height: 70px; flex: none; padding: 0 var(--gutter) 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 13px; letter-spacing: 1px; color: #91a97b; }
.site-footer nav { display: flex; gap: 25px; font-size: 14px; color: #b2c69e; }
.site-footer nav a { transition: color .25s; }
.site-footer nav a:hover { color: var(--lime); }

/* Native dialog provides focus trapping, with its own scrollable interior. */
.access-dialog { color: #e4eada; border: 1px solid #647848; border-radius: 10px; background: #151e12; width: 450px; max-width: calc(100% - 30px); max-height: calc(100dvh - 32px); overflow: auto; padding: 31px; box-shadow: 0 30px 150px #000a; scrollbar-width: thin; scrollbar-color: #57713a #182312; }
.access-dialog[open] { animation: dialog-in .4s var(--ease) both; }
.access-dialog::backdrop { background: #090d09b8; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 31px; height: 31px; display: grid; place-items: center; color: #bed4a6; border-radius: 50%; }
.dialog-close:hover { background: #304525; }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; color: #b2cb98; font-size: 14px; letter-spacing: 1px; }
.dialog-brand svg { width: 25px; height: 25px; color: var(--lime); }
.access-dialog h2 { font-size: 33px; line-height: 1.12; letter-spacing: -1.25px; font-weight: 450; }
.access-dialog > p { margin-top: 10px; font-size: 14px; color: #b2c89d; line-height: 1.55; }
.access-modes { display: flex; gap: 3px; padding: 4px; border: 1px solid #52693f; border-radius: 4px; background: #101a0c; margin: 21px 0; }
.access-modes > button { flex: 1; text-align: center; padding: 10px 5px; font-size: 14px; color: #b2cb95; border-radius: 3px; }
.access-modes > button.active { background: #2f4122; color: #daeac0; }
.access-dialog form label { display: block; font-size: 14px; color: #bed4a6; margin-bottom: 8px; }
.access-dialog form input { display: block; width: 100%; min-height: 45px; border: 1px solid #597440; background: #101a0c; color: #deebd3; border-radius: 4px; font-size: 16px; padding: 10px 12px; margin-bottom: 15px; }
.access-dialog form input:focus { border-color: #b7d876; outline-offset: 2px; }
.password-help { font-size: 14px; line-height: 1.5; color: #acc697; margin: -2px 0 16px; }
.access-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--lime); color: #1c2c0c; border-radius: 4px; font-size: 14px; font-weight: 650; padding: 14px 17px; min-height: 49px; width: 100%; margin-top: 7px; transition: background .2s; }
.access-submit:hover { background: #e4ff9b; }
.access-submit svg { width: 21px; height: 21px; }
.access-dialog .form-status { font-size: 14px; min-height: 24px; margin-top: 12px; }
.access-dialog > .dialog-privacy { font-size: 14px; color: #b4cba0; line-height: 1.5; border-top: 1px solid #344929; padding-top: 15px; margin-top: 13px; }
.dialog-privacy a { color: #d1e5b8; text-decoration: underline; text-underline-offset: 2px; }

/* Nothing is hidden unless the JS startup explicitly requests its entrance. */
body.is-loading .site-header, body.is-loading .eyebrow, body.is-loading .headline-line,
body.is-loading .headline-dot, body.is-loading .opening-note, body.is-loading #waitlist-form,
body.is-loading .site-footer, body.is-loading #signal-field { opacity: 0; }
body.is-ready .site-header { animation: soft-enter 1.1s var(--ease) .02s both; }
body.is-ready .eyebrow { animation: soft-enter 1.15s var(--ease) .10s both; }
body.is-ready .headline-line:nth-child(1) { animation: headline-enter 1.35s var(--ease) .17s both; }
body.is-ready .headline-line:nth-child(2) { animation: headline-enter 1.45s var(--ease) .28s both; }
body.is-ready .headline-dot { animation: star-enter 1.35s var(--ease) .43s both, star-turn 36s linear 1.75s infinite; }
body.is-ready .opening-note { animation: soft-enter 1.2s var(--ease) .40s both; }
body.is-ready #waitlist-form { animation: soft-enter 1.25s var(--ease) .51s both; }
body.is-ready .site-footer { animation: soft-enter 1.2s var(--ease) .62s both; }
body.is-ready #signal-field { animation: scene-enter 1.7s var(--ease) .05s both; }
@keyframes soft-enter { from { opacity: 0; transform: translate3d(0,12px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes headline-enter { from { opacity: 0; transform: translate3d(0,24px,0); filter: blur(3px); } to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); } }
@keyframes star-enter { from { opacity: 0; transform: rotate(-35deg) scale(.7); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes star-turn { to { transform: rotate(360deg); } }
@keyframes scene-enter { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes dialog-in { from { opacity: .3; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (min-width: 1800px) {
  .main-copy { width: 760px; }
  .main-copy h1 { font-size: 168px; }
  .headline-dot { width: 49px; height: 49px; left: calc(100% + 30px); }
  #waitlist-form { margin-top: 39px; max-width: 545px; }
}
@media (max-width: 1100px) {
  .site-header { height: 82px; }
  .site-footer { height: 62px; }
  .main-copy { width: 67vw; }
  .main-copy h1 { font-size: clamp(84px,10.3vw,117px); }
  .headline-dot { width: 36px; height: 36px; left: calc(100% + 20px); }
  .scene-shade { background: linear-gradient(90deg,#0b0e0bf0,#0b0e0bbc 29%,#0b0e0b56 52%,transparent 75%),linear-gradient(0deg,#0b0e0be0,transparent 30%); }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .site-header { height: 74px; gap: 12px; }
  .brand { gap: 9px; }
  .brand svg { width: 26px; height: 26px; }
  .brand span { font-size: 18px; }
  .invite-link { font-size: 13px; gap: 7px; }
  .invite-link > span { font-size: 18px; }
  main { padding-bottom: 17px; }
  .main-copy { width: 100%; }
  .eyebrow { font-size: 13px; letter-spacing: 1.7px; gap: 10px; }
  .main-copy h1 { font-size: clamp(76px,20.5vw,112px); line-height: 1; letter-spacing: -.08em; margin-top: 22px; margin-left: -4px; }
  .headline-dot { width: 29px; height: 29px; top: 6px; left: calc(100% + 13px); }
  .opening-note { font-size: 14px; line-height: 1.45; margin-top: 22px; }
  #waitlist-form { max-width: 520px; margin-top: 28px; }
  .email-line { height: 57px; }
  .email-line input { font-size: 16px; padding-inline: 13px; }
  .email-line button { padding-inline: 13px; gap: 10px; }
  .email-line button > span { font-size: 14px; }
  .email-line button svg { width: 19px; height: 19px; }
  .consent-label { margin-top: 14px; gap: 9px; }
  .consent-label > span { font-size: 13px; line-height: 1.5; }
  .consent-label input { width: 14px; height: 14px; margin-top: 3px; }
  .form-status { min-height: 40px; font-size: 13px; margin-top: 10px; }
  .site-footer { height: 58px; padding-bottom: 10px; gap: 12px; }
  .footer-brand { font-size: 13px; letter-spacing: .3px; }
  .site-footer nav { font-size: 13px; gap: 19px; }
  .scene-shade { background: linear-gradient(90deg,#0b0e0bb5,#0b0e0b74 50%,#0b0e0b35),linear-gradient(0deg,#0b0e0be3,#0b0e0b47 30%,#0b0e0b55 69%,#0b0e0b9a); }
  .scene-grain { opacity: .018; }
  .access-dialog { padding: 28px 25px; }
}
@media (max-width: 420px) {
  .headline-dot { width: 27px; height: 27px; left: calc(100% + 11px); }
  .email-line button { padding-inline: 12px; gap: 8px; }
  .email-line input { padding-inline: 12px; }
}
@media (max-height: 700px) {
  .site-header { height: 65px; }
  .site-footer { height: 48px; padding-bottom: 6px; }
  main { padding-bottom: 5px; }
  .main-copy h1 { font-size: clamp(76px,8.6vw,110px); margin-top: 18px; }
  .headline-dot { top: 4px; width: 30px; height: 30px; }
  .opening-note { margin-top: 17px; }
  #waitlist-form { margin-top: 23px; }
  .email-line { height: 53px; }
  .consent-label { margin-top: 12px; }
  .form-status { margin-top: 8px; min-height: 40px; }
}
@media (max-height: 520px) and (max-width: 760px) {
  .site-header { height: 47px; }
  .site-footer { height: 36px; padding-bottom: 3px; }
  main { padding-bottom: 0; }
  .eyebrow { font-size: 13px; }
  .main-copy h1 { font-size: 44px; margin-top: 10px; }
  .headline-dot { width: 22px; height: 22px; top: 2px; left: calc(100% + 12px); }
  .opening-note { display: none; }
  #waitlist-form { margin-top: 16px; }
  .email-line { height: 45px; }
  .consent-label { margin-top: 10px; }
  .form-status { margin-top: 6px; min-height: 40px; }
}
@media (max-height: 370px) and (max-width: 760px) {
  .eyebrow, .main-copy h1 { display: none; }
  #waitlist-form { margin-top: 0; }
  .site-header { height: 43px; }
  .site-footer { height: 33px; }
}
@media (max-height: 540px) and (min-width: 761px) {
  .site-header { height: 54px; }
  .site-footer { height: 40px; }
  main { padding-bottom: 0; }
  .main-copy { width: min(950px,86vw); display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 12px 40px; }
  .eyebrow { grid-column: 1/-1; }
  .main-copy h1 { font-size: 67px; margin-top: 0; }
  .headline-dot, .opening-note { display: none; }
  #waitlist-form { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.is-loading .site-header, body.is-loading .eyebrow, body.is-loading .headline-line,
  body.is-loading .headline-dot, body.is-loading .opening-note, body.is-loading #waitlist-form,
  body.is-loading .site-footer, body.is-loading #signal-field,
  body.is-ready .site-header, body.is-ready .eyebrow, body.is-ready .headline-line,
  body.is-ready .headline-dot, body.is-ready .opening-note, body.is-ready #waitlist-form,
  body.is-ready .site-footer, body.is-ready #signal-field { opacity: 1; transform: none; filter: none; }
  .scene-grain { display: none; }
}
