:root {
  --bg: #0d0d10;
  --bg-soft: #151519;
  --panel: rgba(24, 24, 28, 0.88);
  --panel-strong: #1b1b20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-soft: #b1b1b7;
  --text-muted: #7f7f88;
  --accent: #ff7a24;
  --accent-2: #ff5a23;
  --accent-gradient: linear-gradient(135deg, #ff9832 0%, #ff7a24 35%, #ff5a23 100%);
  --glow: 0 26px 70px rgba(255, 91, 35, 0.18);
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Geologica", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 122, 36, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(255, 90, 35, 0.12), transparent 24%),
    linear-gradient(180deg, #151216 0%, #0d0d10 34%, #09090b 100%);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.section--tight {
  padding-top: 84px;
  padding-bottom: 84px;
}

.surface {
  background: linear-gradient(180deg, rgba(31, 31, 35, 0.86), rgba(20, 20, 24, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffae72;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #ffae72, rgba(255, 174, 114, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.brand__mark img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand__text span {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding-top: 48px;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 122, 36, 0.14), transparent 22%),
    radial-gradient(circle at 80% 24%, rgba(255, 90, 35, 0.14), transparent 20%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
}

.hero-copy {
  padding: 34px 0 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-subtitle {
  margin: 18px 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  color: #f2f2f4;
}

.hero-description {
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent-gradient);
  box-shadow: var(--glow);
  color: #fff;
}

.button--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button--wide {
  width: 100%;
  max-width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 420px;
  margin: 0;
}

.hero-facts div {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge--accent {
  background: rgba(255, 122, 36, 0.14);
  color: #ffc394;
  border: 1px solid rgba(255, 144, 68, 0.2);
}

.queue-item__bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.queue-item__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--accent-gradient);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  margin: 12px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card__index,
.step-card__number {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ffae72;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-card p,
.step-card p,
.download-card p {
  margin: 0;
  color: var(--text-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 28px;
}

.screens-actions {
  display: flex;
  gap: 10px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.screens-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(380px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screens-track::-webkit-scrollbar {
  display: none;
}

.screen-card {
  padding: 18px;
  scroll-snap-align: start;
}

.screen-card__top {
  margin-bottom: 14px;
  color: #d8d8dc;
  font-weight: 600;
}

.screen-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
}

.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.screen-shot:hover img {
  transform: scale(1.02);
}

.screen-card__description {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 48px));
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  background: #101014;
}

.lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 72px);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(11, 11, 14, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.requirements-card,
.download-card {
  padding: 30px;
}

.download-card {
  overflow: hidden;
}

.download-card .button--primary {
  box-shadow: 0 16px 28px rgba(255, 91, 35, 0.18);
}

.requirements-card h2,
.download-card h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}


.requirements-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.requirements-list li {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.release-meta div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.release-meta dt {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.release-meta dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand--footer .brand__mark {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.site-footer__copy {
  margin: 0;
  color: var(--text-muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .section {
    padding: 88px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(14, 14, 17, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-facts,
  .features-grid,
  .steps-grid,
  .release-meta {
    grid-template-columns: 1fr;
  }

  .section-heading--split,
  .site-footer__inner {
    flex-direction: column;
    align-items: start;
  }

    .screens-track {
      grid-template-columns: repeat(3, minmax(300px, 84vw));
    }
  }

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
