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

:root {
  --ink: #0e0b1f;
  --ink-2: #13102a;
  --text-1: rgba(255, 255, 255, 0.92);
  --text-2: rgba(255, 255, 255, 0.65);
  --text-3: rgba(255, 255, 255, 0.45);
  --rule: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-line: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --content-width: 1100px;
  --page-padding: clamp(22px, 6vw, 36px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

html,
body {
  background: var(--ink);
  color: var(--text-1);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.55;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

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

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

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-inline: var(--page-padding);
}

.stars {
  position: fixed;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: relative;
  z-index: 100;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 0;
  position: relative;
}

.logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.logo-mark {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  letter-spacing: 0;
  width: 32px;
}

.nav-links {
  color: var(--text-2);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 400;
  gap: 14px 28px;
  justify-content: flex-end;
  list-style: none;
}

.nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-1);
  cursor: pointer;
  display: none;
  font: inherit;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 42px;
  z-index: 120;
}

.nav-toggle-line {
  background: currentColor;
  border-radius: 99px;
  display: block;
  height: 2px;
  transition: opacity 0.18s ease, transform 0.18s ease;
  width: 20px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.nav-links a[aria-current="page"] {
  color: var(--text-1);
}

.section-eyebrow {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-store {
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  min-height: 56px;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-store:hover {
  transform: translateY(-1px);
}

.btn-store small {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1.1;
  margin-bottom: 2px;
  opacity: 0.6;
  text-transform: uppercase;
}

.btn-store strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.meta-line {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--text-3);
  font-size: 13px;
  padding: 64px 0 48px;
  text-align: center;
}

.site-footer .wordmark {
  color: var(--text-2);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-bottom: 16px;
}

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

.skip-link {
  background: var(--white);
  border-radius: 0 0 8px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  left: -9999px;
  padding: 12px 20px;
  position: absolute;
  text-decoration: none;
  top: 0;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

*:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.btn-store:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .stars {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 22px 0;
  }

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

  .nav-links {
    background: rgba(14, 11, 31, 0.96);
    border: 1px solid var(--surface-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: none;
    flex-direction: column;
    font-size: 16px;
    gap: 0;
    left: 0;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 110;
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 10px;
    display: block;
    padding: 13px 14px;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 480px) {
  :root {
    --page-padding: 24px;
  }

  .ctas,
  .btn-store {
    width: 100%;
  }

  .btn-store {
    justify-content: center;
  }

  .site-footer {
    padding: 48px 0 36px;
  }

  .footer-links {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}
