:root {
  --text-primary: #e6faff;
  --text-muted: #99b2b6;
  --s: 1; /* world px -> CSS px, set by sky.js */
}
* { box-sizing: border-box; margin: 0; }
html, body { background: #010206; color: var(--text-primary); height: 100%; overflow: hidden; overscroll-behavior: none; }
body { font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

#sky, .fallback {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block;
}
.fallback { object-fit: cover; }

/* The lockup is laid out in world px at its pan-end position and scaled as one unit. */
.lockup {
  position: fixed; left: 0; top: 0; width: 1512px; height: 982px;
  transform-origin: 0 0; pointer-events: none;
}
.lockup > * { position: absolute; }
.wordmark, .contact, .privacy { opacity: 0; }
.wordmark { filter: blur(14px); transform: scale(1.015); transition: opacity 2.2s cubic-bezier(.2,.6,.2,1), filter 2.2s cubic-bezier(.2,.6,.2,1), transform 2.6s cubic-bezier(.2,.6,.2,1); }
.contact, .privacy { transform: translateY(4px); transition: opacity 1s ease 1.5s, transform 1.2s cubic-bezier(.2,.6,.2,1) 1.5s, background .2s ease, box-shadow .25s ease; }
.settled .wordmark { opacity: 1; filter: blur(0); transform: none; }
.wordmark, .ctas { margin-top: var(--drop, 0px); }  /* set by sky.js layout() */
.wordmark { scale: var(--ws, none); }  /* shrinks it about its centre on narrow screens, set by layout() */
.settled .contact, .settled .privacy { opacity: 1; transform: none; }
.wordmark {
  left: 0; width: 1512px; top: 368px; height: 78px; line-height: 78px;
  text-align: center; font: 900 64px/78px Supria, system-ui, sans-serif;  /* Skyborn: Supria Black, the brand display face (packages/ui) */
  letter-spacing: 0.48em; text-indent: 0.48em; color: var(--text-primary);
  text-shadow: 0 0 18px rgba(181, 209, 255, 0.35);  /* Figma 38:2817: drop shadow, blur 18, spread 0, #B5D1FF at 35% */
}
/* Contact and Privacy sit side by side, the pair centred on the page axis whatever the labels. */
.ctas { left: 756px; translate: -50% 0; top: 496px; display: flex; gap: 10px; white-space: nowrap; }
.contact, .privacy {
  position: relative; height: 33.4px; padding: 0 13.9px; gap: 7px;
  display: inline-flex; align-items: center; pointer-events: auto;
  border-radius: 999px; text-decoration: none;
  font: 500 13px/16px Inter, sans-serif; letter-spacing: 0.01em;
}
.contact {
  color: #050506;
  background: linear-gradient(180deg, #ffffff, #d9e0eb);
  box-shadow: 0 0 0 0.5px rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(120,160,255,.10), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.06);
}
/* Privacy is the quiet one: an outline on the sky, in the page's own text color. */
.privacy {
  color: var(--text-primary); background: rgba(200, 222, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(200, 222, 255, .22), 0 1px 2px rgba(0,0,0,.4);
}
.settled .privacy:hover { transition-delay: 0s; transform: translateY(-1px); background: rgba(200, 222, 255, .09); box-shadow: inset 0 0 0 1px rgba(200, 222, 255, .34), 0 2px 4px rgba(0,0,0,.4), 0 8px 32px rgba(140,180,255,.12); }
.settled .contact:hover { transition-delay: 0s; transform: translateY(-1px); box-shadow: 0 0 0 0.5px rgba(255,255,255,.2), 0 2px 4px rgba(0,0,0,.4), 0 8px 32px rgba(140,180,255,.22), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.06); }

/* On touch and phone-sized screens the buttons are 38 px tall with a 44 px tap target. Their sizes are CSS px
   divided by the lockup's scale. */
@media (pointer: coarse), (max-width: 640px) {
  .ctas { top: calc(489px + 26px / var(--s)); gap: calc(10px / var(--s)); }
  .contact, .privacy {
    -webkit-tap-highlight-color: transparent;
    height: calc(38px / var(--s)); padding: 0 calc(19px / var(--s)); gap: calc(7px / var(--s)); white-space: nowrap;
    font-size: calc(13.6px / var(--s)); line-height: calc(17px / var(--s));
  }
  .contact::after, .privacy::after { content: ""; position: absolute; inset: calc(-3px / var(--s)) 0; }  /* keeps the tap target 44 px tall */
  .contact:active, .privacy:active { scale: .97; }
}
@media (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (max-width: 640px) {
  .contact, .privacy { height: calc(36px / var(--s)); font-size: calc(12.7px / var(--s)); }   /* a phone on its side */
  .contact::after, .privacy::after { inset: calc(-4px / var(--s)) 0; }   /* tap target still 44 px */
}


.label {
  position: fixed; left: 0; top: 0; pointer-events: none;
  font: 400 11px/1 Inter, sans-serif; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0; transition: opacity .6s ease;
}
.label.on { opacity: .9; }

@media (prefers-reduced-motion: reduce) { .wordmark, .contact, .privacy { transition: none; filter: none; } }
