:root {
  --bg: #0f0b0b;
  --panel: rgba(20, 15, 12, 0.78);
  --panel-strong: rgba(27, 20, 15, 0.9);
  --gold: #f6c251;
  --gold-soft: #ffe7a1;
  --text: #fffaf0;
  --muted: rgba(255, 250, 240, 0.7);
  --line: rgba(246, 194, 81, 0.28);
  --solid-shadow: 16px 14px 0 #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  padding: 16px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity 420ms ease, transform 420ms ease, background 420ms ease;
}

.site-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header.is-solid {
  background: rgba(15, 11, 11, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(246, 194, 81, 0.82));
}

.desktop-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-nav a,
.mobile-menu a {
  padding: 12px 20px;
  border-radius: 18px;
  color: rgba(255, 250, 240, 0.68);
  font-weight: 800;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-download {
  padding: 12px 22px;
  border-radius: 999px;
  color: #140d05;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 900;
  box-shadow: 0 0 24px rgba(246, 194, 81, 0.32);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 34px));
  margin: 12px auto 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(15, 11, 11, 0.92);
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.download-page::before {
  position: absolute;
  inset: 0;
  z-index: -5;
  background: url("/assets/solaris-forest-bg.jpg") center / cover no-repeat;
}

.download-page::before {
  content: "";
  position: fixed;
  opacity: 0.25;
  filter: saturate(0.85) brightness(0.58);
  pointer-events: none;
}

.hero-bg {
  filter: saturate(0.9) brightness(0.7);
  transform: scale(1.02);
}

.hero-shade,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(15, 11, 11, 0.18), rgba(15, 11, 11, 0.78) 74%, var(--bg));
}

.hero-vignette {
  background: radial-gradient(circle at 50% 35%, transparent 0 22%, rgba(15, 11, 11, 0.52) 55%, rgba(15, 11, 11, 0.94) 100%);
}

.hero-glow {
  position: absolute;
  top: 23%;
  left: 50%;
  z-index: -3;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 194, 81, 0.32), transparent 66%);
  transform: translateX(-50%);
  animation: softPulse 6s ease-in-out infinite;
}

.solaris-orbit {
  position: absolute;
  top: 16%;
  left: 50%;
  z-index: -2;
  width: min(560px, 74vw);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 194, 81, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: rotateOrbit 22s linear infinite;
}

.hero-content {
  width: min(1050px, calc(100% - 32px));
  text-align: center;
  transform: translateY(-18px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(76px, 15vw, 190px);
  line-height: 0.83;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 span:first-child {
  color: var(--gold);
  font-style: italic;
  text-shadow: 0 0 34px rgba(246, 194, 81, 0.22);
}

.hero h1 b {
  color: var(--gold);
}

.hero-action {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.launcher-button {
  position: relative;
  min-width: 292px;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  background: rgba(24, 17, 13, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.launcher-button::after {
  content: "";
  position: absolute;
  inset: -120% -45%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.22), transparent 58%);
  transform: translateX(-60%);
  animation: shine 7.8s ease-in-out infinite;
}

.launcher-button:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 194, 81, 0.42);
}

.launcher-button--primary {
  min-width: 356px;
  color: #160f06;
  border-color: rgba(255, 236, 166, 0.8);
  background: linear-gradient(135deg, #ffeaa7, var(--gold));
  box-shadow: 0 0 40px rgba(246, 194, 81, 0.36);
}

.launcher-button__text {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: left;
}

.launcher-button__title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.launcher-button__meta,
.meta {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.72;
  font-weight: 900;
}

.download-page,
.page-view {
  position: relative;
  background: var(--bg);
}

.download-page {
  padding: 72px 0 86px;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
}

.download-page > * {
  pointer-events: auto;
}

.section-title {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.showcase {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 86px;
}

.media-system {
  display: grid;
  gap: 16px;
}

.feature-video,
.video-item {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--solid-shadow);
}

.feature-video {
  min-height: 430px;
  border-radius: 22px;
}

.feature-video__poster,
.video-item__thumb {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.feature-video__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 11, 11, 0.04), rgba(15, 11, 11, 0.75));
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-button__disc {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #120b04;
  background: var(--gold);
  box-shadow: 0 0 38px rgba(246, 194, 81, 0.48);
  transition: transform 260ms ease;
}

.play-button:hover .play-button__disc {
  transform: scale(1.08);
}

.feature-video__caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
}

.feature-video__caption h3,
.video-item strong {
  display: block;
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.video-item {
  width: 100%;
  min-height: 238px;
  display: grid;
  grid-template-rows: 145px 1fr;
  padding: 0;
  border-radius: 15px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 280ms ease, border-color 280ms ease;
}

.video-item:hover,
.video-item.is-active {
  transform: translateY(-4px);
  border-color: rgba(246, 194, 81, 0.78);
}

.video-item__thumb {
  position: relative;
  display: block;
}

.video-item__copy {
  padding: 17px 20px 20px;
  background: rgba(15, 11, 11, 0.86);
}

.video-item strong {
  font-size: 16px;
}

.ready {
  width: min(1226px, calc(100% - 32px));
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.ready-card {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  padding: 58px 32px;
  border: 1px solid rgba(246, 194, 81, 0.34);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 22%, rgba(246, 194, 81, 0.14), transparent 42%), rgba(19, 14, 11, 0.82);
  overflow: hidden;
}

.ready-card h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.ready-card p {
  margin: -10px 0 10px;
  color: var(--muted);
  font-size: 21px;
  text-align: center;
}

.ready-glow {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 420px;
  height: 210px;
  background: radial-gradient(circle, rgba(246, 194, 81, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
}

.download-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
}

.page-view {
  min-height: 100vh;
  padding: 142px 0 88px;
}

.faq-list {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(246, 194, 81, 0.2);
  border-radius: 18px;
  background: rgba(19, 14, 11, 0.82);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-trigger strong {
  font-size: 18px;
}

.faq-trigger span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #130d06;
  background: var(--gold);
  transition: transform 260ms ease;
}

.faq-item.is-open .faq-trigger span {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  padding: 0 24px;
  color: var(--muted);
  line-height: 1.65;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-item.is-open .faq-panel {
  max-height: 180px;
  padding: 0 24px 22px;
}

.doc-timeline {
  position: relative;
  width: min(1060px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  gap: 28px;
}

.doc-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(246, 194, 81, 0.58), transparent);
  transform: translateX(-50%);
}

.doc-card {
  position: relative;
  width: calc(50% - 46px);
  opacity: 0;
  animation: riseIn 620ms ease forwards;
  animation-delay: var(--delay);
}

.doc-card:nth-child(even) {
  justify-self: end;
}

.doc-card__dot {
  position: absolute;
  top: 30px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(246, 194, 81, 0.45);
}

.doc-card:nth-child(odd) .doc-card__dot {
  right: -55px;
}

.doc-card:nth-child(even) .doc-card__dot {
  left: -55px;
}

.doc-card__content {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(246, 194, 81, 0.24);
  border-radius: 20px;
  background: rgba(19, 14, 11, 0.86);
  box-shadow: 12px 12px 0 #000;
}

.doc-card h3 {
  margin: 10px 0 10px;
  font-size: 25px;
  line-height: 1.05;
}

.doc-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  padding: 34px min(34px, 5vw) 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 250, 240, 0.72);
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  color: var(--text);
}

.footer-brand p,
.footer-legal p {
  margin: 4px 0 0;
}

.footer-links a {
  font-weight: 800;
  transition: color 220ms ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal {
  text-align: right;
  font-size: 13px;
}

@keyframes shine {
  0%, 65% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(70%);
  }
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes rotateOrbit {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-download {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav-open .mobile-menu {
    display: grid;
  }

  .hero h1 {
    font-size: clamp(68px, 22vw, 120px);
  }

  .download-page {
    padding-top: 48px;
  }

  .feature-video {
    min-height: 300px;
  }

  .video-list,
  .download-row {
    grid-template-columns: 1fr;
  }

  .video-item {
    min-height: 210px;
    grid-template-rows: 126px 1fr;
    box-shadow: 10px 10px 0 #000;
  }

  .ready-card {
    min-height: 430px;
  }

  .launcher-button,
  .launcher-button--primary {
    width: 100%;
    min-width: 0;
  }

  .doc-timeline::before {
    left: 10px;
  }

  .doc-card,
  .doc-card:nth-child(even) {
    width: calc(100% - 36px);
    justify-self: end;
  }

  .doc-card:nth-child(odd) .doc-card__dot,
  .doc-card:nth-child(even) .doc-card__dot {
    left: -44px;
    right: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .mobile-menu,
  .section-title,
  .showcase,
  .ready,
  .faq-list,
  .doc-timeline {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-action {
    margin-top: 36px;
  }

  .launcher-button {
    min-height: 68px;
    padding: 14px 18px;
  }

  .launcher-button__title {
    font-size: 17px;
  }

  .launcher-button__meta,
  .meta {
    letter-spacing: 2.6px;
  }

  .feature-video {
    min-height: 230px;
    box-shadow: 9px 9px 0 #000;
  }

  .feature-video__caption {
    left: 16px;
    bottom: 16px;
  }

  .feature-video__caption h3 {
    font-size: 18px;
  }

  .play-button__disc {
    width: 58px;
    height: 58px;
  }

  .ready-card {
    padding: 42px 16px;
    border-radius: 22px;
  }

  .ready-card p {
    font-size: 17px;
  }

  .faq-trigger {
    padding: 16px 18px;
  }

  .doc-card__content {
    padding: 20px;
  }
}
