:root {
  --bg: #020714;
  --panel: #050d20;
  --panel-soft: #07142d;
  --line: #14306a;
  --line-soft: rgba(33, 70, 148, 0.46);
  --text: #edf3ff;
  --muted: #7180aa;
  --blue: #1248ff;
  --violet: #7c4dce;
  --violet-soft: rgba(124, 77, 206, 0.18);
  --font-body: "Cascadia Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-display: "Cascadia Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.landing-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.checkout-button {
  text-decoration: none;
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
  padding: clamp(42px, 8vh, 76px) 0 54px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p,
blockquote {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 520;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(90deg, #7c4dce 0%, #9c7cff 48%, #1248ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

blockquote {
  max-width: 690px;
  padding-left: 16px;
  border-left: 1px solid var(--violet);
}

blockquote p {
  color: #cbd6ff;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.62;
  font-weight: 400;
}

blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--violet);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.download-panel {
  padding: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 13, 32, 0.54);
}

.download-panel h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.94;
  font-weight: 520;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(90deg, #7c4dce 0%, #9c7cff 52%, #1248ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.download-panel p:not(.eyebrow):not(.checkout-note) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--violet);
  border-radius: 0;
  color: transparent;
  background: transparent;
  background-image: linear-gradient(90deg, #9c7cff 0%, #8f82ff 52%, #5f84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.checkout-button:hover,
.checkout-button:focus-visible {
  border-color: var(--blue);
  background-color: var(--violet-soft);
}

.checkout-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.gallery-section {
  padding: 44px 0 62px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.02;
  font-weight: 520;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(90deg, #7c4dce 0%, #9c7cff 48%, #1248ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--panel);
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.90) contrast(1.06);
  transition: filter 160ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, rgba(2, 7, 20, 0), rgba(2, 7, 20, 0.74));
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1) contrast(1.08) brightness(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 48px 70px;
  background: rgba(2, 7, 20, 0.94);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-open {
  overflow: hidden;
}

.gallery-lightbox img {
  display: block;
  width: min(100%, 1240px);
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border: 0;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: rgba(5, 13, 32, 0.92);
  border: 1px solid rgba(18, 72, 255, 0.42);
  border-radius: 0;
  cursor: pointer;
}

.gallery-lightbox-close {
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  font-weight: 900;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 42px;
  height: 58px;
  font-size: 22px;
  transform: translateY(-50%);
}

.gallery-lightbox-nav.prev {
  left: 18px;
}

.gallery-lightbox-nav.next {
  right: 18px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  border-color: var(--violet);
  background: rgba(124, 77, 206, 0.18);
}

.site-footer {
  min-height: 68px;
  padding: 18px max(20px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  background: var(--bg);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0 42px;
  }

  .download-panel {
    width: min(100%, 420px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .landing-shell {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  blockquote {
    padding-left: 13px;
  }

  blockquote p {
    font-size: 16px;
  }

  .download-panel h2 {
    font-size: 56px;
  }

  .checkout-button {
    width: 100%;
  }

  .gallery-section {
    padding: 34px 0 50px;
  }

  .gallery-lightbox {
    padding: 54px 14px;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 14px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
