:root {
  color-scheme: dark;
  --bg: #120c1c;
  --panel: #1b1229;
  --line: #473356;
  --text: #fbf5ff;
  --muted: #c9b8d9;
  --accent: #d0a6f1;
  --violet: #7c17be;
  --edge: clamp(1.25rem, 5vw, 6rem);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
header, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--edge);
  color: var(--muted);
  font: .81rem/1.5 var(--mono);
}
header { border-bottom: 1px solid var(--line); }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); }
nav a:hover { color: var(--accent); }
.brand, .footer-brand { display: inline-flex; gap: .55rem; align-items: center; white-space: nowrap; }
.brand strong { color: var(--text); }
.slash { color: var(--accent); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: min(810px, 85svh);
  padding: clamp(4rem, 8vh, 7rem) var(--edge);
  text-align: center;
  background: radial-gradient(ellipse at 50% 27%, #50276f 0%, #271638 32%, transparent 76%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, #d0a6f121 0 1px, transparent 1px 42px),
              repeating-linear-gradient(90deg, #d0a6f121 0 1px, transparent 1px 42px);
  mask-image: radial-gradient(ellipse at 50% 27%, black 2%, transparent 70%);
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(90vw, 680px);
  height: clamp(180px, 29vh, 305px);
}
.hero-icon {
  width: clamp(136px, 22vh, 235px);
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 18px 30px #080212aa);
  animation: settle .9s cubic-bezier(.15,.65,.25,1) both;
}
.orbit {
  position: absolute;
  width: 92%;
  height: 57%;
  border: 1px solid #d0a6f174;
  border-radius: 50%;
  transform: rotate(-11deg);
}
.orbit-inner { width: 99%; height: 69%; border-style: dashed; opacity: .48; }
.orbit:not(.orbit-inner)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.24rem;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #eed6ff;
  box-shadow: 0 0 17px 5px #a855f7;
}
@keyframes settle {
  from { transform: translateY(14px) rotate(5deg) scale(.93); opacity: .25; }
  to { transform: rotate(-8deg); opacity: 1; }
}
h1, h2, p { margin: 0; }
h1 { font-size: clamp(3.75rem, 11vw, 10.5rem); line-height: .96; letter-spacing: -.085em; }
.hero p { max-width: 46ch; margin: 1.4rem auto 1.8rem; color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.25rem); }
.button {
  display: inline-flex;
  gap: 1.4rem;
  align-items: center;
  padding: .8rem 1rem;
  color: white;
  background: var(--violet);
  border: 1px solid #aa5ae1;
  border-radius: .65rem;
  font: 700 .88rem/1.4 var(--mono);
}
.button:hover { background: #912cd0; }
.connection, .downloads { border-top: 1px solid var(--line); padding: clamp(2rem, 5vw, 4rem) var(--edge); }
.connection { background: #181023; }
h2 { font-size: clamp(1.65rem, 4vw, 3rem); letter-spacing: -.05em; }
.terminal { position: relative; overflow: hidden; margin-top: 1.5rem; border-block: 1px solid var(--line); }
.terminal::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #d0a6f12c, transparent);
  animation: scan 1.8s .25s ease-out both;
}
@keyframes scan {
  from { transform: translateX(-100%); opacity: 0; }
  20%, 65% { opacity: 1; }
  to { transform: translateX(470%); opacity: 0; }
}
.route { margin: 0; padding: 0; list-style: none; display: flex; gap: clamp(1.1rem, 5vw, 6rem); flex-wrap: wrap; }
.route li { display: grid; grid-template-columns: 2.2rem 1fr; padding: .9rem 0; }
.route li > span { grid-row: span 2; color: var(--accent); font: .8rem/2 var(--mono); }
small { color: var(--muted); }
dl { max-width: 67rem; margin: 1.15rem 0 0; }
dl > div { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; align-items: baseline; padding: 1.2rem 0; border-top: 1px solid var(--line); }
dt { flex: 0 0 min(13rem, 100%); font-weight: 720; }
dt small { margin-left: .35rem; font: .72rem/1.5 var(--mono); }
dd { margin: 0; color: var(--muted); }
.status { color: var(--accent); font: .8rem/1.45 var(--mono); }
footer { border-top: 1px solid var(--line); }
@media (max-width: 690px) {
  .hero { min-height: 0; padding-block: 2.5rem 3.75rem; }
  .route { display: block; }
  .route li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 445px) {
  header { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-icon, .terminal::after { animation: none; }
  .terminal::after { display: none; }
}
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
  min-height: min(660px, 72svh);
  background: radial-gradient(ellipse at 29% 27%, #50276f 0%, #271638 32%, transparent 76%);
}
.hero {
  justify-items: center;
  text-align: center;
  min-height: 0;
  background: none;
  padding: clamp(2rem, 5vh, 5rem) var(--edge);
}
.hero::before { mask-image: radial-gradient(ellipse at 50% 30%, black 2%, transparent 73%); }
.hero-art { width: min(100%, 620px); height: clamp(145px, 23vh, 240px); }
.hero-icon { width: clamp(118px, 18vh, 210px); }
h1 { font-size: clamp(4rem, 9.5vw, 9rem); }
.hero p { margin: .9rem auto 0; color: var(--text); font-size: clamp(1.05rem, 2.2vw, 1.65rem); }
.hero .description { max-width: 46ch; margin-top: .55rem; color: var(--muted); font-size: 1rem; }
.downloads {
  align-self: center;
  margin: 1.5rem var(--edge) 1.5rem 0;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #1b1229ee;
}
.download-platform { padding-block: .9rem; border-bottom: 1px solid var(--line); }
.platform-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .3rem .6rem; }
.platform-heading h3 { margin: 0; font-size: 1rem; }
.platform-heading span, .download-meta { color: var(--accent); font: .75rem/1.5 var(--mono); }
.download-platform .button { display: flex; justify-content: space-between; margin-top: .65rem; }
.download-platform p { margin-top: .42rem; color: var(--muted); font-size: .86rem; }
.text-download { display: inline-flex; gap: .6rem; margin-top: .5rem; color: var(--accent); font: .82rem/1.5 var(--mono); }
.text-download:hover, .download-meta a:hover { color: var(--text); }
.download-meta { display: flex; gap: .8rem 1.2rem; flex-wrap: wrap; padding-top: .85rem; }
@media (min-width: 960px) and (min-height: 600px) {
  .shell { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; }
  main { display: grid; grid-template-rows: minmax(min-content, 1fr) auto; }
  header, footer { padding-block: .6rem; }
  .masthead { min-height: 0; }
  .hero { padding-block: clamp(.85rem, 3vh, 3rem); }
  .hero-art { height: clamp(110px, 22vh, 260px); }
  .hero-icon { width: clamp(90px, 17vh, 220px); }
  h1 { font-size: clamp(4rem, 11vh, 9.5rem); }
  .hero p { margin-top: .65rem; }
  .connection { padding-block: .72rem; }
  .connection h2 { font-size: clamp(1.3rem, 3vh, 2rem); }
  .terminal { margin-top: .44rem; }
  .route li { padding-block: .38rem; }
  .downloads { margin-block: .85rem; }
}
@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr; min-height: 0; }
  .hero { justify-items: center; text-align: center; padding-bottom: 1.4rem; }
  .hero p { margin-inline: auto; }
  .downloads { margin: 1rem var(--edge) 1.8rem; }
}
@media (min-width: 1080px) and (min-height: 580px) and (max-height: 700px) {
  header, footer { padding-block: .4rem; }
  .hero { padding-block: .7rem; }
  .hero-art { height: 110px; }
  .hero-icon { width: 96px; }
  .downloads { padding-block: .85rem; margin-block: .65rem; }
  .download-platform { padding-block: .6rem; }
  .connection { display: flex; align-items: center; gap: 1.6rem; padding-block: .62rem; }
  .connection h2 { flex: 0 0 9rem; font-size: 1.05rem; line-height: 1.23; }
  .terminal { margin: 0; border: 0; }
  .route { gap: clamp(.85rem, 3vw, 3rem); }
}
