:root {
  --violet: #8a2be2;
  --magenta: #ff007f;
  --ink: #0e0a14;
  --ink-soft: #1a1224;
  --paper: #f7f4fb;
  --muted: #8b8299;
  --line: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(135deg, var(--violet), var(--magenta));
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #f4eef8;
  background: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-link {
  font-size: 0.9rem;
  color: rgba(244, 238, 248, 0.72);
}

.nav-link:hover {
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: visible;
  padding: 1.5rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(138, 43, 226, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(255, 0, 127, 0.28), transparent 50%),
    linear-gradient(180deg, #12081c 0%, #0e0a14 55%, #0a0710 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-top: 2rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-top: 1rem;
  }
}

.hero-copy {
  max-width: 34rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.85rem;
  animation: rise 0.8s ease 0.08s both;
}

.hero .lede {
  font-size: 1.05rem;
  color: rgba(244, 238, 248, 0.72);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.14s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 0, 127, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(138, 43, 226, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #f4eef8;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.play-badge {
  width: 18px;
  height: 18px;
}

.hero-visual {
  animation: float-in 1s ease 0.15s both;
  justify-self: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* One full phone — never crop the screenshot */
.device {
  margin: 0;
  width: min(260px, 72vw);
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--grad);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* App screenshots: full frames in a clean grid — no crop, no overlap */
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
  max-width: 720px;
  margin-inline: auto;
}

.phone-mini {
  margin: 0;
  width: 100%;
  text-align: center;
}

.phone-frame {
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.phone-mini figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(244, 238, 248, 0.72);
}

@media (max-width: 700px) {
  .phones {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 1.75rem;
  }
}

.audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  color: rgba(244, 238, 248, 0.85);
}

.band {
  margin: 1rem 0 0;
  padding: 3rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(138, 43, 226, 0.22), transparent 60%),
    #12081c;
  border-block: 1px solid var(--line);
  text-align: center;
}

.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgba(244, 238, 248, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Legal / utility pages */
.page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(138, 43, 226, 0.3), transparent 55%),
    var(--ink);
}

.page-main {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.page-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 1rem 0 0.75rem;
}

.page-main p,
.page-main li {
  color: rgba(244, 238, 248, 0.78);
  margin-bottom: 0.75rem;
}

.page-main ol {
  padding-left: 1.2rem;
  margin: 1rem 0 1.25rem;
}

.page-main form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-main label {
  font-size: 0.85rem;
  color: var(--muted);
}

.page-main input {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.page-main button {
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
}

.code-box {
  display: inline-block;
  margin: 0.75rem 0 1.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: rotate(-6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
