:root {
  --paper: #eef5f1;
  --sea-bright: #2fd0c4;
  --copper: #ff9a57;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--paper);
  background: #0a1a1e;
  line-height: 1.55;
}

a {
  color: var(--sea-bright);
}

/* Background only — no JS transforms on content (prevents button sink glitch) */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(165deg, #14353a 0%, #0f2a30 45%, #0a1a1e 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: rgba(47, 208, 196, 0.35);
  top: -12%;
  left: -10%;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: rgba(255, 154, 87, 0.28);
  bottom: 0;
  right: -12%;
  animation-delay: -10s;
}

.grid-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -35%;
  height: 55%;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: center top;
  background:
    linear-gradient(rgba(47, 208, 196, 0.25) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 154, 87, 0.12) 1px, transparent 1px);
  background-size: 100% 40px, 48px 100%;
  opacity: 0.25;
  mask-image: linear-gradient(to top, black, transparent 80%);
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(24px, -16px);
  }
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.logo-mark {
  color: var(--sea-bright);
  font-size: 1.1rem;
  text-shadow: 0 0 20px rgba(47, 208, 196, 0.6);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-bright);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.lede {
  margin: 1rem auto 0;
  max-width: 36ch;
  color: rgba(238, 245, 241, 0.75);
  font-size: 1.02rem;
}

.download-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 1.15rem 1.5rem;
  max-width: 360px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0c171c, #1a4548);
  border: 1px solid rgba(47, 208, 196, 0.45);
  color: var(--paper);
  text-decoration: none;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(47, 208, 196, 0.22);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(47, 208, 196, 0.35);
  text-decoration: none;
}

.download-btn:active {
  transform: translateY(0);
}

.download-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.download-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(238, 245, 241, 0.65);
  font-weight: 400;
}

.alt {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: rgba(238, 245, 241, 0.55);
}

code {
  font-family: Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.steps {
  margin-top: 3rem;
  text-align: left;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.steps h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
}

.steps ol {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(238, 245, 241, 0.78);
  font-size: 0.95rem;
}

.steps li {
  margin-bottom: 0.45rem;
}

.note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: rgba(238, 245, 241, 0.5);
  text-align: center;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(47, 208, 196, 0.12);
  border: 1px solid rgba(47, 208, 196, 0.25);
  color: rgba(238, 245, 241, 0.85);
}

.foot {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: rgba(238, 245, 241, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }

  .download-btn {
    transition: none;
  }
}
