:root {
  color-scheme: dark;
  --bg: #0a0d10;
  --surface: #101820;
  --surface-2: #16222c;
  --surface-3: #1b2a36;
  --line: #2b3d4a;
  --text: #f1f7fb;
  --muted: #a7b7c2;
  --soft: #7d94a4;
  --blue: #138bcd;
  --ice: #9bc5d9;
  --cyan: #4fc4e7;
  --green: #78b98d;
  --shadow: rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(19, 139, 205, .16), transparent 32rem),
    linear-gradient(225deg, rgba(120, 185, 141, .1), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 60px);
  border-bottom: 1px solid rgba(155, 197, 217, .16);
  background: rgba(10, 13, 16, .9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 174px;
}

.brand img {
  width: min(216px, 44vw);
  height: auto;
  display: block;
}

nav,
.actions,
.socials,
footer,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

nav { justify-content: flex-end; }

nav a,
.socials a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 760;
  font-size: .95rem;
}

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

.shop-link,
.primary {
  color: #061015;
  background: var(--ice);
  border-color: var(--ice);
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 68px;
}

.hero {
  min-height: clamp(560px, 76vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.hero-content {
  padding: 36px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 850;
  text-transform: uppercase;
  font-size: .78rem;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .9;
  font-weight: 880;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.58rem, 3vw, 2.55rem);
  line-height: 1.08;
}

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

p,
li {
  color: var(--muted);
  line-height: 1.62;
  font-size: 1.02rem;
}

.lead {
  max-width: 720px;
  color: #cad8df;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 850;
  background: rgba(255, 255, 255, .025);
}

.button.large {
  min-height: 52px;
  padding: 0 20px;
}

.button:hover,
.shop-link:hover,
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px var(--shadow);
}

.hero-card {
  min-height: 410px;
  display: grid;
  align-content: center;
  gap: 30px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(155, 197, 217, .18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(27, 42, 54, .94), rgba(11, 17, 22, .96)),
    linear-gradient(90deg, rgba(19, 139, 205, .12), rgba(120, 185, 141, .12));
  box-shadow: 0 30px 84px var(--shadow);
}

.hero-card img {
  width: min(100%, 430px);
  height: auto;
  display: block;
}

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

.hero-metrics span {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(155, 197, 217, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.hero-metrics strong {
  color: var(--ice);
  font-size: 1.2rem;
}

.hero-metrics small {
  color: var(--muted);
  line-height: 1.35;
}

.section,
.shop-section {
  margin: 18px 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(155, 197, 217, .16);
  border-radius: 8px;
  background: rgba(16, 24, 32, .88);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head.compact {
  margin-bottom: 18px;
}

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

.card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(155, 197, 217, .14);
  border-radius: 8px;
  background: var(--surface-2);
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 880;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 48px);
}

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

.steps li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(155, 197, 217, .14);
}

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

.shop-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.shop-section {
  background:
    linear-gradient(135deg, rgba(19, 139, 205, .2), rgba(16, 24, 32, .9) 42%),
    var(--surface);
}

.contact-actions {
  justify-content: flex-end;
}

footer {
  justify-content: center;
  padding: 24px;
  border-top: 1px solid rgba(155, 197, 217, .16);
  color: var(--muted);
}

.version-button,
.close-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ice);
  background: rgba(255, 255, 255, .025);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.version-button {
  padding: 0 12px;
}

.changelog {
  width: min(620px, calc(100% - 32px));
  border: 1px solid rgba(155, 197, 217, .22);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 84px var(--shadow);
}

.changelog::backdrop {
  background: rgba(0, 0, 0, .62);
}

.changelog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.changelog ol {
  padding-left: 24px;
}

.close-button {
  width: 36px;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .process,
  .shop-section,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card {
    min-height: 300px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 540px) {
  main {
    width: min(100% - 24px, 1160px);
    padding-top: 24px;
  }

  .topbar {
    padding: 12px;
  }

  nav a {
    min-height: 34px;
  }

  h1 {
    font-size: 3rem;
  }

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

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

  .button {
    min-width: 100%;
  }
}
