:root {
  color-scheme: dark;
  --base: #07080e;
  --ink: #f4f5fd;
  --muted: #acb1cb;
  --gutter: clamp(23px, 6.25vw, 112px);
  font-family: "Inter", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #bbadff; outline-offset: 5px; }
[hidden] { display: none !important; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  min-height: max(690px, 100svh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-bottom: 1px solid #24243a;
  overflow: hidden;
}
.scene, .still, .shade, canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { z-index: -1; background: #06070f; touch-action: pan-y pinch-zoom; }
canvas { display: block; opacity: 0; }
[data-mode="live"] canvas { opacity: 1; }
[data-mode="live"] .still { display: none; }
[data-mode="live"] .scene { cursor: grab; }
[data-dragging] .scene, [data-dragging] .handle { cursor: grabbing; }
.still {
  background: url("aurora-still.webp") center / cover no-repeat,
    radial-gradient(ellipse at 82% 65%, #432194, transparent 55%),
    radial-gradient(ellipse at 67% 80%, #123983, transparent 65%);
}
.shade {
  pointer-events: none;
  background: linear-gradient(90deg, #06070ff5 0%, #06070fe0 23%, #06070f85 46%, transparent 74%),
    linear-gradient(0deg, #06070fee, transparent 22%, transparent 84%, #06070faa);
}
.header, .hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: var(--gutter);
  pointer-events: none;
}
.header { padding-block: 25px; border-bottom: 1px solid #d6d9ff24; }
.header a, .hero-footer a, .controls { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { display: block; flex: none; object-fit: contain; }
.brand > span { font-size: 20px; line-height: 1; font-weight: 750; letter-spacing: .19em; }
.brand small { display: block; margin-top: 6px; color: #bec4dc; font-size: 8px; letter-spacing: .19em; text-transform: uppercase; }
.header-link { font-size: 13px; font-weight: 600; padding: 10px 0 10px 14px; }
.header-link span { margin-left: 10px; color: #aa9cff; }
.hero-copy {
  align-self: center;
  margin: 58px var(--gutter) 76px;
  pointer-events: none;
}
.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 28px;
  color: #cbd0ed;
  font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
}
.kicker span { width: 7px; height: 7px; border-radius: 50%; background: #8f8aff; box-shadow: 0 0 14px #8f8aff; flex: none; }
.kicker b { height: 1px; width: 16px; background: #a5a6cb7a; }
h1 { margin: 0; max-width: 1050px; font-size: clamp(42px, 6vw, 103px); font-weight: 620; line-height: .99; letter-spacing: -.067em; }
h1 em { font-style: normal; color: #b3bbff; background: linear-gradient(105deg, #d7e1ff, #a9b4ff 48%, #cdb3ff); background-clip: text; -webkit-text-fill-color: transparent; }
.slogan { margin: 26px 0 32px; color: #d1d5ea; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .025em; }
.cta {
  display: inline-flex; align-items: center; gap: 27px;
  padding: 15px 18px; min-height: 50px; border-radius: 8px;
  background: #e7eaff; color: #101127; font-size: 13px; font-weight: 700;
  pointer-events: auto; transition: background .18s;
}
.cta:hover { background: white; }
.cta span { font-size: 16px; }
.hero-footer { border-top: 1px solid #d6d9ff24; min-height: 78px; gap: 10px; }
.scroll-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #c7cbe2; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.scroll-link > span:first-child { color: #b1a6ff; font-size: 17px; }
.controls { display: flex; align-items: center; gap: 8px; }
.handle, #reset { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 13px; border: 1px solid #a9acf248; border-radius: 7px; background: #101223db; color: #e5e6fa; font-size: 11px; white-space: nowrap; }
.handle { touch-action: none; cursor: grab; user-select: none; }
.handle span:first-child { color: #b4aaff; font-size: 16px; }
#reset { cursor: pointer; font-size: 15px; }
#reset span { font-size: 11px; }
#reset:hover { background: #25234a; }
.touch-copy { display: none; }
.solutions { padding: clamp(72px, 10vw, 150px) var(--gutter) 55px; background: radial-gradient(ellipse at 88% 0%, #171430 0%, transparent 54%), #0a0b13; }
.solutions h2 { font-size: clamp(46px, 6vw, 86px); font-weight: 590; letter-spacing: -.065em; line-height: .98; margin: 0; }
.intro, article p { color: var(--muted); line-height: 1.65; }
.intro { max-width: 510px; margin: 24px 0 50px; }
.offerings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
article { border-top: 1px solid #41415d; padding: 8px 0 21px; }
article h3 { font-size: 19px; margin-bottom: 8px; }
article p { margin: 0; font-size: 14px; }
article .next { margin-top: 12px; color: #bfadff; font-size: 11px; }
.return { margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (pointer: coarse), (max-width: 640px) {
  .touch-copy { display: inline; }
  .mouse-copy { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: max(610px, 100svh); }
  .header { padding-block: 18px; }
  .hero-copy { margin-block: 60px 125px; }
  .kicker { gap: 7px; margin-bottom: 23px; font-size: 9px; letter-spacing: .11em; }
  h1 { font-size: clamp(39px, 9.9vw, 60px); }
  .shade { background: linear-gradient(180deg, #06070feb 4%, #06070fa0 40%, transparent 70%, #06070ff5 100%); }
  .still { background-position: 72% center; }
  .hero-footer { min-height: 71px; }
  .scroll-word { display: none; }
  .offerings { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-intro] .brand { animation: reveal-copy .7s cubic-bezier(.2,.65,.25,1) both; }
  [data-intro] .scene { animation: reveal-scene 1.25s ease-out both; }
  [data-intro] .hero-copy .kicker,
  [data-intro] h1 { animation: reveal-copy .88s .42s cubic-bezier(.2,.65,.25,1) both; }
  [data-intro] .slogan { animation: reveal-copy .65s .91s cubic-bezier(.2,.65,.25,1) both; }
  [data-intro] .cta { animation: reveal-cta .69s 1.25s ease-out both; }
  [data-intro] .brand:focus-visible,
  [data-intro] .cta:focus-visible { animation: none; }

  @keyframes reveal-copy {
    from { opacity: 0; translate: 0 9px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes reveal-scene {
    from { opacity: .27; }
    to { opacity: 1; }
  }
  @keyframes reveal-cta {
    from { opacity: .35; }
    to { opacity: 1; }
  }
}


.brand img { width: clamp(160px, 24vw, 230px); height: auto; }
.preview-notice { display: block; color: #c8baff; margin-top: .4rem; }
.preview-notice[hidden] { display: none; }

.skip-link {
  position: absolute;
  inset: 12px auto auto 12px;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 6px;
  background: #e7eaff;
  color: #101127;
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: none; }
