:root {
  color-scheme: dark;
  --obsidian: #0a0b0f;
  --carbon: #111318;
  --midnight: #0e1626;
  --indigo: #1b1e3f;
  --blue: #2563ff;
  --violet: #7b3dff;
  --magenta: #ff2db2;
  --text: #f2f4f8;
  --secondary: #a7adb8;
  --muted: rgba(242, 244, 248, 0.56);
  --border: rgba(242, 244, 248, 0.12);
  --border-strong: rgba(242, 244, 248, 0.2);
  --surface: rgba(17, 19, 24, 0.82);
  --surface-strong: rgba(27, 30, 63, 0.58);
  --gradient: linear-gradient(135deg, #2563ff 0%, #7b3dff 48%, #ff2db2 100%);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(123, 61, 255, 0.3), transparent 34rem),
    radial-gradient(circle at 8% 38%, rgba(37, 99, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--obsidian), #080910 46%, #0d1020 100%);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 5px;
  opacity: 0.18;
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(10, 11, 15, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 17px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.brand.small img {
  width: 28px;
  height: 28px;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--secondary);
  font-size: 14px;
}

.main-nav a,
.site-footer a {
  transition: color 180ms ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(242, 244, 248, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 92px);
  padding: 88px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
}

.platform,
.section-label {
  margin: 0 0 14px;
  color: #d9ddff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-tagline {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--text);
}

.hero-description {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--secondary);
  font-size: 20px;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 18px 50px rgba(123, 61, 255, 0.38);
}

.button-primary:hover {
  box-shadow: 0 24px 74px rgba(123, 61, 255, 0.48);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  background: rgba(242, 244, 248, 0.08);
  color: var(--text);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 620px;
  margin: 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(242, 244, 248, 0.055);
}

.hero-facts dt {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -8% 2% 12%;
  border-radius: 40px;
  background: var(--gradient);
  filter: blur(58px);
  opacity: 0.34;
}

.mockup-frame,
.large-shot,
.shot-grid figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(242, 244, 248, 0.055);
  box-shadow: var(--shadow);
}

.mockup-frame {
  border-radius: 34px;
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
}

.mockup-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2,
.info-panel h2,
.download-panel h2,
.privacy-legal h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.preview,
.features,
.workflow,
.requirements,
.install,
.privacy-legal,
.roadmap {
  padding: 82px 0;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  gap: 22px;
  align-items: start;
}

figure {
  margin: 0;
}

.large-shot,
.shot-grid figure {
  border-radius: 24px;
}

.large-shot img,
.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.72);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shot-grid figure:first-child {
  grid-column: span 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-grid article,
.steps article,
.roadmap-track article,
.info-panel,
.download-panel,
.privacy-legal article,
.install-list li {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(242, 244, 248, 0.075), rgba(242, 244, 248, 0.035));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.feature-grid article {
  min-height: 178px;
  padding: 22px;
}

.feature-grid h3,
.steps h3,
.roadmap-track h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.feature-grid p,
.steps p,
.roadmap-track p,
.download-panel p,
.privacy-legal li,
.install-list li,
.check-list li {
  color: var(--secondary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps article {
  padding: 26px;
}

.steps span {
  display: block;
  margin-bottom: 58px;
  color: var(--magenta);
  font-weight: 900;
}

.requirements,
.privacy-legal {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 22px;
  align-items: stretch;
}

.info-panel,
.download-panel,
.privacy-legal article {
  padding: 32px;
}

.check-list,
.privacy-legal ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.privacy-legal li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before,
.privacy-legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(123, 61, 255, 0.55);
}

.download-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 178, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(27, 30, 63, 0.68), rgba(17, 19, 24, 0.82));
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 0;
  color: #dfe4ff;
  font-weight: 800;
}

.checksum {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.install-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-list li {
  padding: 24px;
  min-height: 184px;
}

.install-list span {
  display: block;
  margin-bottom: 48px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

code {
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.roadmap-track article {
  padding: 24px;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--secondary);
}

[data-reveal] {
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

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

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

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .main-nav {
    display: none;
  }

  .hero,
  .preview-layout,
  .requirements,
  .privacy-legal {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .mockup-frame {
    transform: none;
  }

  .feature-grid,
  .steps,
  .install-list,
  .roadmap-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  .site-header {
    border-radius: 20px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
    gap: 34px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-tagline {
    font-size: 30px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts,
  .feature-grid,
  .steps,
  .install-list,
  .roadmap-track,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid figure:first-child {
    grid-column: auto;
  }

  .preview,
  .features,
  .workflow,
  .requirements,
  .install,
  .privacy-legal,
  .roadmap {
    padding: 54px 0;
  }

  .section-heading h2,
  .info-panel h2,
  .download-panel h2,
  .privacy-legal h2 {
    font-size: 34px;
  }

  .feature-grid article,
  .steps article,
  .roadmap-track article,
  .info-panel,
  .download-panel,
  .privacy-legal article,
  .install-list li {
    border-radius: 18px;
  }
}
