:root {
  --bg: #0a0d1f;
  --bg-raise: #121733;
  --text: #eef0fa;
  --muted: #a3a9c6;
  --faint: #6c7396;
  --line: rgba(170, 180, 240, 0.14);
  --brand: #e056c8;
  --brand-hi: #ff7ae0;
  --aqua: #08e4e4;
  --aqua-hi: #6fdcc4;
  --accent: #3b82f7;
  --spectrum: linear-gradient(90deg, #08e4e4, #4f8ff0, #e056c8, #ff7ae0);
  --display: "Unbounded", "SF Pro Display", system-ui, sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(224, 86, 200, 0.18), transparent 60%),
    radial-gradient(700px 480px at 12% 20%, rgba(8, 228, 228, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 12px; z-index: 20; background: var(--bg-raise); padding: 8px 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 31, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}
.brand img { border-radius: 8px; }
.brand .dot {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-links {
  display: none;
  gap: 22px;
  align-items: center;
}
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(170, 180, 240, 0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
  border-color: rgba(224, 86, 200, 0.55);
  transform: translateY(-1px);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang a {
  text-decoration: none;
  color: var(--faint);
  padding: 5px 9px;
  border-radius: 999px;
}
.lang a:hover { color: var(--text); }
.lang a.is-active {
  color: var(--bg);
  background: var(--spectrum);
}

.hero {
  position: relative;
  min-height: calc(100svh - 62px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,13,31,0.25) 0%, rgba(10,13,31,0.55) 45%, rgba(10,13,31,0.92) 100%),
    url("/assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: ken 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-inner {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 14vh 0 9vh;
  animation: rise 0.85s ease both;
}
.hero .mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 18px;
}
.hero .mark .dot {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 0 14px;
}
.hero .lead {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #fff;
  color: #0a0d1f;
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 168px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(224, 86, 200, 0.22);
}
.store-btn .kicker {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a616c;
  font-weight: 600;
}
.store-btn .label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}
.store-btn svg { flex-shrink: 0; }
.store-btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.store-btn.ghost .kicker { color: var(--faint); }
.store-btn.ghost:hover {
  border-color: rgba(8, 228, 228, 0.45);
  box-shadow: none;
}

section {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 88px 0;
}
section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  line-height: 1.1;
  font-weight: 700;
}
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 44ch;
  margin: 0 0 36px;
}

.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.step {
  counter-increment: step;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  animation: rise 0.75s ease both;
}
.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 860px) {
  .feature { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.feature img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: float 5.5s ease-in-out infinite;
}
.feature-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
  max-width: 38ch;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
}

.download {
  text-align: center;
  padding-bottom: 110px;
}
.download .section-lead { margin-left: auto; margin-right: auto; }
.download .cta-row { justify-content: center; }
.spectrum-bar {
  width: min(220px, 40vw);
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--spectrum);
  opacity: 0.9;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.2);
}
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--aqua-hi); }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ken {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

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