.landing-page { background: #010713; }
.landing-page #main-content { outline: none; }
.landing {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #010713;
}
.landing-art, .landing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.landing-art { object-fit: cover; }
.landing-canvas { opacity: 0; transition: opacity 900ms ease; }
.landing[data-renderer="ready"] .landing-canvas { opacity: 1; }
.landing-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.landing-navigation {
  position: absolute;
  z-index: 3;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100% - 96px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 90px);
}
.neon-link {
  --cut: 13px;
  --edge-start: #26d9f3;
  --edge-end: #ef66df;
  --shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 24px;
  color: #edfaff;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  text-shadow: 0 0 14px #63dfff70;
  filter: drop-shadow(-2px 0 7px #19bbec35) drop-shadow(2px 0 7px #ed4fd12b);
  transition: transform .2s ease, filter .2s ease, color .2s ease;
}
.neon-link::before, .neon-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--shape);
  pointer-events: none;
}
.neon-link::before {
  inset: 0;
  background: linear-gradient(120deg, var(--edge-start), #5bcff26b 42%, #c56eee75 58%, var(--edge-end));
}
.neon-link::after {
  inset: 1px;
  background: linear-gradient(115deg, #071727f2, #070d20ed 48%, #20102aef);
  transition: opacity .2s ease;
}
.neon-link:hover {
  color: #fff;
  transform: translateY(-3px);
  filter: drop-shadow(-2px 0 12px #19bbec66) drop-shadow(2px 0 12px #ed4fd15c);
}
.neon-link:hover::after { opacity: .85; }
.neon-link:focus-visible { outline: 2px solid #e7faff; outline-offset: 5px; }
.neon-link--apps { --edge-end: #9575e8; }
.neon-link--sites { --edge-start: #a891ef; }
.landing-footer {
  position: absolute;
  z-index: 3;
  inset: auto 70px 18px;
  display: grid;
  justify-items: center;
  gap: 13px;
}
.landing-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.neon-link--small {
  --cut: 8px;
  min-height: 36px;
  padding: 9px 17px;
  font-size: .58rem;
  letter-spacing: .14em;
  text-indent: .14em;
  color: #b4ccdf;
  filter: drop-shadow(0 0 4px #26cef515);
}
.neon-link--small::before { opacity: .58; }
.landing-copyright { color: #94aac3; font-size: .59rem; letter-spacing: .04em; text-shadow: 0 1px 5px #010713; }
.motion-toggle {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #8beaff45;
  border-radius: 3px;
  background: #020a19b8;
  color: #a4bdce;
  font-size: .72rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.motion-toggle:hover { border-color: #8beaff; background: #08152a; }
.motion-toggle:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.motion-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.motion-toggle .play-icon { display: none; }
.motion-toggle[data-paused="true"] .play-icon { display: block; }
.motion-toggle[data-paused="true"] .pause-icon { display: none; }
.landing .hq-link, .landing .secret { opacity: .65; text-shadow: 0 1px 8px #000; }
@media (max-aspect-ratio: 960/1000) {
  /* Keep the complete wordmark in frame on a portrait screen. Match landing.js. */
  .landing-art { width: 185%; height: auto; left: -42.5%; top: calc(64% - 72.4275vw); }
}
@media (max-width: 640px) {
  .landing { min-height: 640px; }
  .landing-navigation { top: 77%; width: calc(100% - 36px); gap: 12px; }
  .neon-link { --cut: 10px; min-height: 54px; padding: 12px 8px; font-size: .7rem; letter-spacing: .16em; text-indent: .16em; }
  .landing-footer { inset: auto 42px 16px; gap: 12px; }
  .landing-footer-links { gap: 8px; }
  .neon-link--small { --cut: 6px; min-height: 32px; padding: 7px 10px; font-size: .51rem; letter-spacing: .08em; text-indent: .08em; }
  .landing-copyright { font-size: .5rem; text-align: center; }
  .motion-toggle { top: 16px; right: 16px; font-size: .65rem; }
  .landing .hq-link { left: 6px; bottom: 11px; }
  .landing .secret { right: 6px; bottom: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-canvas { display: none; transition: none; }
  .motion-toggle { display: none; }
  .neon-link, .neon-link::after { transition: none; }
}
