:root {
  color-scheme: dark;
  --ink: #04111d;
  --deep: #062338;
  --panel: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.18);
  --text: #f0fff8;
  --muted: rgba(240, 255, 248, 0.72);
  --cyan: #34e0e5;
  --mint: #85fad8;
  --coral: #ff6b52;
  --gold: #ffd15a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(4, 17, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
}

.site-header nav {
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  min-width: 0;
}

.site-header a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: 108px 28px 72px;
  overflow: hidden;
  background:
    image-set(
      url("assets/dmg-background.png") 1x
    )
    center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 17, 29, 0.86), rgba(4, 17, 29, 0.42) 58%, rgba(4, 17, 29, 0.18));
}

.hero-content {
  position: relative;
  width: min(620px, 100%);
  margin-inline: max(0px, calc((100vw - var(--max)) / 2));
}

.hero-icon {
  width: 116px;
  height: 116px;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(52, 224, 229, 0.28);
}

.eyebrow {
  margin: 24px 0 10px;
  color: var(--mint);
  font-weight: 800;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 4.7rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.6rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 580px;
  color: rgba(240, 255, 248, 0.88);
  font-size: 1.24rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 850;
  border: 1px solid var(--stroke);
}

.button.primary {
  color: #03121d;
  background: linear-gradient(135deg, var(--cyan), var(--mint) 52%, var(--coral));
  box-shadow: 0 14px 36px rgba(52, 224, 229, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.license {
  margin-top: 18px;
  color: rgba(240, 255, 248, 0.64);
  font-weight: 700;
}

.app-preview,
.feature-band,
.install-band {
  padding: 78px 28px;
}

.app-preview {
  background: linear-gradient(180deg, #06192a, #04111d);
}

.section-copy,
.window-shot,
.feature-grid,
.install-band > * {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.section-copy {
  margin-bottom: 32px;
}

.section-copy p {
  max-width: 720px;
}

.window-shot {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.feature-band {
  background: #04111d;
}

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

.feature {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--panel);
}

.feature:nth-child(2) {
  border-color: rgba(52, 224, 229, 0.36);
}

.feature:nth-child(3) {
  border-color: rgba(255, 209, 90, 0.34);
}

.feature:nth-child(4) {
  border-color: rgba(255, 107, 82, 0.32);
}

.install-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(6, 35, 56, 0.96), rgba(6, 35, 56, 0.72)),
    url("assets/dmg-background.png") center / cover no-repeat;
}

.install-band > div {
  margin: 0;
}

.install-band .button {
  flex: 0 0 auto;
}

footer {
  justify-content: center;
  gap: 18px;
  padding: 28px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: #030b13;
}

footer a {
  color: var(--mint);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    padding: 14px 18px;
  }

  .site-header nav {
    gap: 12px;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 76svh;
    padding: 104px 20px 52px;
  }

  .hero-icon {
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy,
  p {
    font-size: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-band {
    display: block;
  }

  .install-band .button {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .site-header nav {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
