:root {
  --bg: #070a14;
  --panel: #0e1324;
  --panel-2: #151b2f;
  --ink: #f5efe3;
  --muted: rgba(245, 239, 227, 0.66);
  --faint: rgba(245, 239, 227, 0.38);
  --line: rgba(245, 239, 227, 0.13);
  --strong: rgba(245, 239, 227, 0.28);
  --moon: #c9b8d4;
  --warm: #c8704a;
  --green: #86c486;
  --sky: #7da3c4;
  --blue: #2e78ff;
  --font: "Geist", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(201,184,212,0.18), transparent 34rem),
    radial-gradient(circle at 10% 25%, rgba(125,163,196,0.12), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.site { min-height: 100vh; position: relative; z-index: 1; }

/* Page-wide sky: fixed nebula + canvas starfield behind every section */
.sky,
.sky-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sky { width: 100%; height: 100%; }
.sky-glow { overflow: hidden; }
.sky-glow i {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: nebula-drift 70s ease-in-out infinite alternate;
}
.sky-glow i:nth-child(1) {
  width: 56vw; height: 56vw; left: -14vw; top: 30vh;
  background: radial-gradient(circle, rgba(125,163,196,0.16), transparent 66%);
}
.sky-glow i:nth-child(2) {
  width: 48vw; height: 48vw; right: -12vw; top: -8vh;
  background: radial-gradient(circle, rgba(201,184,212,0.16), transparent 66%);
  animation-duration: 90s;
  animation-direction: alternate-reverse;
}
.sky-glow i:nth-child(3) {
  width: 44vw; height: 44vw; right: 6vw; bottom: -18vh;
  background: radial-gradient(circle, color-mix(in srgb, var(--sky-accent, var(--moon)) 22%, transparent), transparent 68%);
  animation-duration: 80s;
  transition: background 1.2s ease;
}
@keyframes nebula-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, -8vh, 0) scale(1.15); }
}
.nav {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.82);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 24px;
}
.mark {
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.mark:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 58% 100%, 79% 76%, 90% 50%, 79% 24%);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav .meta { justify-self: end; color: var(--faint); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.container {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
}
.hero {
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 130px 0 72px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
}
.rail {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  display: grid;
  gap: 32px;
  align-content: start;
}
.label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.rail strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  margin-top: 6px;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}
.hero h1 {
  font-size: clamp(66px, 13vw, 218px);
  margin: 24px 0 0;
}
.hero h1 em { color: var(--moon); }
.hero-copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 44px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
p { color: var(--muted); line-height: 1.66; }
.hero-copy p { max-width: 560px; margin: 0; font-size: 17px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover { border-color: var(--ink); }
.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 22px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
}
.services {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 160px;
  border-top: 1px solid var(--line);
}
.service-row { display: contents; }
.service-row > * {
  padding: 28px 20px 28px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.service-row h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
}
.service-row p { margin: 0; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.work-grid .work-shot { min-height: 540px; }
@media (min-width: 901px) and (max-width: 1240px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nav-links { gap: 18px; }
  .nav .meta { display: none; }
}
.work-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.work-shot {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.work-shot:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: radial-gradient(circle at 50% 100%, var(--shot, var(--moon)), transparent 68%);
  opacity: 0.22;
}
.phone {
  width: 218px;
  aspect-ratio: 1320 / 2868;
  border: 8px solid #05070d;
  border-radius: 36px;
  background: #efe8dc;
  box-shadow: 0 28px 90px rgba(0,0,0,0.42);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mock-screen {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  border: 8px solid #05070d;
  border-radius: 36px;
  background: #0b2016;
  box-shadow: 0 28px 90px rgba(0,0,0,0.42);
  padding: 22px;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 16px;
}
.leaf-logo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #c6f59b, #3fa968);
  margin-bottom: auto;
  position: relative;
}
.leaf-logo:after {
  content: "";
  position: absolute;
  width: 26px;
  height: 46px;
  border-radius: 100% 0 100% 0;
  background: #082116;
  left: 24px;
  top: 13px;
  transform: rotate(18deg);
}
.progress-bars { display: grid; gap: 10px; }
.progress-bars span {
  height: 12px;
  border-radius: 999px;
  background: rgba(198,245,155,0.22);
}
.progress-bars span:nth-child(2) { width: 72%; }
.progress-bars span:nth-child(3) { width: 48%; }
.mac-window {
  width: min(400px, 90%);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: #1b1e26;
  box-shadow: 0 28px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.6);
  overflow: hidden;
  font-family: var(--font);
}
.mac-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #252933;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mac-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span {
  flex: 1;
  margin-right: 42px;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.mac-body { display: grid; grid-template-columns: 84px minmax(0, 1fr); min-height: 252px; }
.mac-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.tp-icon { width: 26px; height: 26px; margin: 0 0 10px 4px; border-radius: 6px; }
.mac-side span {
  padding: 5px 6px;
  border-radius: 5px;
  font-size: 9.5px;
  color: rgba(255,255,255,0.62);
}
.mac-side span.on { background: var(--blue); color: #fff; }
.mac-canvas {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px 16px 46px;
  background-color: #14161c;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 12px 12px;
}
.tp-label {
  position: relative;
  width: 76%;
  aspect-ratio: 58 / 40;
  display: flex;
  flex-direction: column;
  padding: 8% 8% 6%;
  border-radius: 6px;
  background: #fff;
  color: #111;
  outline: 1px dashed rgba(46,120,255,0.75);
  outline-offset: -6px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.tp-dim {
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8db4ff;
}
.tp-dim:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(141,180,255,0.45);
}
.tp-dim b { position: relative; padding: 0 6px; background: #14161c; font-weight: 400; }
.tp-name { font-size: 13px; font-weight: 700; line-height: 1.1; }
.tp-meta { margin-top: 3px; font-size: 8px; color: #555; }
.tp-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}
.tp-price { font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.tp-barcode { display: block; width: 56%; height: auto; }
.tp-barcode rect { fill: #111; }
.tp-barcode text { font: 500 8px var(--font); text-anchor: middle; fill: #111; }
.mac-status {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 8.5px;
  color: rgba(255,255,255,0.6);
}
.mac-status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mac-status b {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #28c840;
  vertical-align: 1px;
}
.mac-status em {
  flex: none;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 520px) {
  .mac-body { grid-template-columns: 62px minmax(0, 1fr); }
  .mac-side span { font-size: 8px; padding: 4px; }
  .tp-name { font-size: 11px; }
  .tp-price { font-size: 16px; }
}
.work-info { padding-top: 22px; }
.work-info h3 { margin: 0 0 8px; font-size: 44px; }
.work-info p { margin: 0; max-width: 520px; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 8vw, 100px);
}
.principles {
  display: grid;
  gap: 24px;
}
.principle {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.principle h3 { margin: 0 0 6px; font-size: 30px; }
.principle p { margin: 0; }
.project-hero {
  position: relative;
  padding: 130px 0 82px;
  border-bottom: 1px solid var(--line);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: clamp(36px, 8vw, 96px);
}
.project-hero h1 {
  font-size: clamp(68px, 11vw, 160px);
  margin: 22px 0 30px;
}
.project-hero h1.long-name { font-size: clamp(56px, 8.4vw, 124px); }
.project-hero h1 em { color: var(--app-accent, var(--moon)); }
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.meta-grid strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.feature {
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature h3 { margin: 10px 0; font-size: 30px; }
.legal {
  max-width: 920px;
  padding: 130px clamp(18px, 4vw, 56px) 80px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(54px, 9vw, 116px); margin: 18px 0 28px; }
.legal h2 { font-family: var(--display); font-size: 36px; font-weight: 400; margin: 46px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.72; }
.legal ul { padding-left: 20px; }
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255,255,255,0.025);
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.footer {
  position: relative;
  overflow: hidden;
  padding: 58px clamp(18px, 4vw, 56px) 34px;
}
.footer-top,
.footer-bottom { position: relative; z-index: 1; }
/* Lunar horizon: a dark dome with a lit rim rising behind the footer */
.footer-horizon {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: calc(100% - 170px);
  width: max(220vw, 1400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 30% 6% at 50% 0%, rgba(201,184,212,0.22), transparent 70%),
    linear-gradient(#0b0f1d, #070a14 12%);
  box-shadow:
    0 -1px 0 rgba(222,210,232,0.55),
    0 -16px 60px rgba(201,184,212,0.16),
    0 -70px 180px rgba(125,163,196,0.14),
    inset 0 22px 60px rgba(201,184,212,0.09);
  transform: translate3d(-50%, 70px, 0);
  opacity: 0;
  transition: transform 2.4s cubic-bezier(.2,.7,.2,1), opacity 2.4s ease;
}
.footer-horizon.is-visible { transform: translate3d(-50%, 0, 0); opacity: 1; }
.footer-horizon:after {
  /* faint crater shading near the rim */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 46% 1.5%, rgba(201,184,212,0.06), transparent 0.9%),
    radial-gradient(circle at 56% 2.2%, rgba(201,184,212,0.04), transparent 0.6%),
    radial-gradient(circle at 38% 3.2%, rgba(201,184,212,0.04), transparent 1.2%);
}
.footer h2 em { text-shadow: 0 0 40px rgba(201,184,212,0.35); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}
.footer h2 {
  font-size: clamp(44px, 7vw, 92px);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr; gap: 14px; }
  .nav-links { overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .nav .meta { justify-self: start; }
  .hero-grid, .project-grid, .split, .contact-card { grid-template-columns: 1fr; }
  .rail { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .hero-copy { align-items: flex-start; flex-direction: column; }
  .services { grid-template-columns: 1fr; }
  .service-row { display: block; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .service-row > * { border-bottom: 0; padding: 4px 0; }
  .work-grid, .feature-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .project-hero { padding-top: 172px; }
  .hero { padding-top: 180px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Template celestial graphics restored for production */
.celestial {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  color: var(--moon);
}
.celestial-warm { color: var(--warm); }
.celestial-green { color: var(--green); }
.celestial-blue { color: #6f9dff; }
.celestial + .container,
.celestial + .label,
.legal > .celestial ~ * { position: relative; z-index: 1; }
.hero > .container,
.section > .container,
.project-hero > .container { position: relative; z-index: 1; }
.star-field { position: absolute; inset: 0; }
.star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  animation: twinkle 4.8s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.72); }
  50% { opacity: 0.64; transform: scale(1.2); }
}
.planet {
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.82), color-mix(in srgb, currentColor 70%, #1b1730) 45%, #141726 78%);
  box-shadow: inset -18px -26px 60px rgba(0,0,0,0.62), 0 0 60px color-mix(in srgb, currentColor 34%, transparent);
  opacity: 0.72;
}
.planet:after {
  content: "";
  position: absolute;
  inset: 12% -34%;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: 0.42;
}
.planet-a { width: 120px; height: 120px; right: 8%; top: 18%; }
.planet-b { width: 58px; height: 58px; left: 9%; bottom: 14%; opacity: 0.54; }
.orbit-system {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -120px;
  border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  border-radius: 50%;
  opacity: 0.5;
  animation: slow-spin 46s linear infinite;
}
.orbit-system:before,
.orbit-system:after {
  content: "";
  position: absolute;
  border: 1px dashed color-mix(in srgb, currentColor 38%, transparent);
  border-radius: 50%;
}
.orbit-system:before { inset: 56px; }
.orbit-system:after { inset: 128px; border-style: solid; opacity: 0.55; }
.orbit-system i,
.orbit-system b,
.orbit-system em {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}
.orbit-system i { width: 10px; height: 10px; top: 50%; left: -5px; }
.orbit-system b { width: 8px; height: 8px; right: 66px; top: 62px; }
.orbit-system em { width: 6px; height: 6px; left: 49%; bottom: 124px; }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.constellation-a {
  position: absolute;
  width: 210px;
  height: 175px;
  left: 48%;
  top: 18%;
  color: currentColor;
  opacity: 0.55;
}
.constellation-a path { stroke: currentColor; stroke-width: 0.7; opacity: 0.58; }
.constellation-a circle { fill: currentColor; }
.comet {
  position: absolute;
  width: 160px;
  height: 2px;
  left: 18%;
  top: 28%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, currentColor);
  animation: comet-fly 9s ease-in infinite;
}
.comet:after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}
@keyframes comet-fly {
  0%, 78%, 100% { opacity: 0; transform: translate3d(-40px, -20px, 0) rotate(18deg); }
  9%, 34% { opacity: 0.74; }
  45% { opacity: 0; transform: translate3d(240px, 86px, 0) rotate(18deg); }
}
.celestial-section .planet-a,
.celestial-about .planet-a,
.celestial-legal .planet-a { right: -42px; top: 42px; width: 180px; height: 180px; opacity: 0.34; }
.celestial-section .orbit-system,
.celestial-about .orbit-system { left: -210px; right: auto; bottom: 12%; opacity: 0.36; }
.celestial-work .constellation-a { left: auto; right: 8%; top: 10%; }
.work-shot .celestial { z-index: 0; }
.work-shot .planet-a { width: 95px; height: 95px; right: 8%; top: 10%; opacity: 0.48; }
.work-shot .planet-b { width: 38px; height: 38px; left: 12%; bottom: 12%; }
.work-shot .orbit-system { width: 310px; height: 310px; right: -120px; bottom: -130px; opacity: 0.42; }
.work-shot .constellation-a { width: 130px; height: 110px; left: 10%; top: 12%; }
.work-shot .comet { left: 20%; top: 22%; width: 120px; }
.project-hero .planet-a { width: 190px; height: 190px; right: 5%; top: 16%; opacity: 0.44; }
.project-hero .orbit-system { width: 560px; height: 560px; right: -220px; bottom: -210px; opacity: 0.38; }
.legal { position: relative; overflow: hidden; }
.legal .celestial { position: fixed; opacity: 0.8; }
.legal .orbit-system { right: -230px; top: 160px; bottom: auto; opacity: 0.25; }
.legal .constellation-a { left: auto; right: 12%; top: 22%; opacity: 0.28; }
.celestial-features .planet-a { left: -60px; right: auto; top: 18%; width: 150px; height: 150px; opacity: 0.3; }
.celestial-features .orbit-system { right: -260px; left: auto; top: 30%; bottom: auto; width: 520px; height: 520px; opacity: 0.3; }
.celestial-features .constellation-a { left: 62%; top: 8%; opacity: 0.4; }
.celestial-urls .planet-a { right: 10%; top: 6%; width: 70px; height: 70px; opacity: 0.4; }
.celestial-urls .planet-b { left: 4%; bottom: 10%; }
.celestial-urls .orbit-system { left: -240px; right: auto; bottom: -160px; opacity: 0.3; }
.celestial-urls .constellation-a { left: 30%; top: 4%; opacity: 0.35; }
.celestial-facts .planet-a { right: -36px; top: auto; bottom: -44px; width: 130px; height: 130px; opacity: 0.32; }
.celestial-facts .orbit-system { right: auto; left: 40%; bottom: -330px; width: 600px; height: 600px; opacity: 0.25; }
.celestial-facts .constellation-a { left: 6%; top: 10%; opacity: 0.35; }
@media (prefers-reduced-motion: reduce) {
  .star, .orbit-system, .comet, .sky-glow i { animation: none; }
  .comet { display: none; }
  .footer-horizon { transition: none; }
}
@media (max-width: 900px) {
  .planet-a { width: 92px; height: 92px; right: -20px; top: 130px; }
  .planet-b { display: none; }
  .orbit-system { width: 280px; height: 280px; right: -170px; bottom: -90px; }
  .constellation-a { width: 140px; height: 120px; left: auto; right: 10px; top: 42%; opacity: 0.36; }
  .comet { width: 100px; }
}
