/* Halo landing: shared tokens and pieces for the three directions. */
:root {
  --sky-top: #2C6FD6;
  --sky-mid: #1B4FAE;
  --sky-deep: #0D2C6E;
  --sky-floor: #091F52;
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, 0.78);
  --ink-3: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.16);
  --page: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sky-floor);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 10px rgba(4, 20, 60, 0.35); }
.soon {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(9, 31, 82, 0.34); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.cta {
  display: inline-flex; align-items: center;
  padding: 14px 24px; border-radius: 999px;
  background: #fff; color: #0D2C6E; font-weight: 700; font-size: 17px;
}
.cta-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.lede { margin: 22px 0 0; max-width: 30em; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); }

.phone {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1206 / 2622;
  padding: 9px;
  border-radius: 54px;
  background: #0A1228;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 40px 80px -20px rgba(3, 14, 44, 0.65),
    0 12px 28px rgba(3, 14, 44, 0.35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 46px; }

/* The live sky. The canvas fills its box; the still image shows until (or instead of) WebGL. */
.sky-box { position: absolute; inset: 0; overflow: hidden; }
.sky-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* No WebGL2 (or software rendering): the still picture of the glass stands in. */
.sky-box.is-still { background: var(--sky-mid) center top / cover no-repeat; }

/* Shared hero type */
.headline { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.thin { font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Two stacked screenshots in a phone, cross-faded (day / night). */
.phone .screens { position: relative; width: 100%; height: 100%; }
.phone .screens img { position: absolute; inset: 0; transition: opacity 900ms; }
.phone .screens img.off { opacity: 0; }

/* Soft local scrim under sharp copy on a bright sky: a blurred shadow, never a box. */
.scrim { text-shadow: 0 1px 2px rgba(6, 24, 66, 0.35), 0 0 24px rgba(6, 24, 66, 0.45); }

/* Renders and reduced motion: no CSS transitions at all. */
.frozen * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
