:root {
  --bg: #0c0b12;
  --bg-elev: #16141e;
  --fg: #f5f2f8;
  --muted: rgba(245, 242, 248, 0.64);
  --faint: rgba(245, 242, 248, 0.4);
  --ink: #120814;
  --line: rgba(129, 52, 175, 0.28);
  --radius: 14px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max: 1080px;
  --prism: linear-gradient(135deg, #515bd4, #8134af, #dd2a7b, #fd1d1d, #feda77);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background:
    radial-gradient(70% 45% at 90% -8%, rgba(129, 52, 175, 0.35), transparent 55%),
    radial-gradient(55% 40% at 0% 100%, rgba(221, 42, 123, 0.18), transparent 50%),
    var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

.grad {
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 14px;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 34rem;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(12, 11, 18, 0.78);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.28rem;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--fg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--prism);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

.soon {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--faint);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 80px;
}

.hero .lede {
  margin: 24px 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.82rem;
}

.device {
  width: min(280px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 17.6;
  border-radius: 28px;
  padding: 9px;
  transform: rotate(-5deg);
  background: var(--prism);
  box-shadow: 0 28px 64px rgba(81, 91, 212, 0.28);
}

.device-screen {
  height: 100%;
  border-radius: 20px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(221, 42, 123, 0.28), transparent 58%),
    #121018;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
}

.device-screen strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.device-screen span {
  color: var(--faint);
  font-size: 0.82rem;
}

/* Sections */

.section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.split .lede,
.feature .lede {
  margin-top: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.feature.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature.reverse .copy {
  order: 2;
}

.placeholder-frame {
  min-height: 260px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
  color: var(--faint);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.pillar {
  background: transparent;
  border-top: 2px solid transparent;
  border-image: var(--prism) 1;
  border-radius: 0;
  padding: 22px 4px 8px;
}

.pillar p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.tile {
  background: var(--bg-elev);
  border: 0;
  border-radius: 12px;
  padding: 24px;
}

.tile p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */

.faq {
  max-width: 680px;
}

details {
  background: var(--bg-elev);
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 0 18px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 650;
  letter-spacing: -0.015em;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.cta-panel {
  text-align: left;
  padding: 48px;
  border-radius: 16px;
  background: var(--bg-elev);
}

.cta-panel .lede {
  margin: 16px 0 28px;
}

.footer {
  padding: 32px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.86rem;
}

.footer nav {
  display: flex;
  gap: 18px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--fg);
}

/* Inner pages */

.page-simple {
  min-height: 100vh;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.panel,
.legal-body {
  width: min(640px, 100%);
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
}

.brand-mark,
.brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.panel h1,
.legal-body h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.panel p,
.legal-body p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.legal-body {
  padding: 72px 0 96px;
}

.legal-body a {
  color: #e8a0c8;
}

@media (max-width: 860px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero,
  .split,
  .feature,
  .feature.reverse,
  .pillars,
  .grid {
    grid-template-columns: 1fr;
  }

  .feature.reverse .copy {
    order: 0;
  }

  .hero {
    padding-top: 48px;
  }

  .device {
    transform: none;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .cta-panel {
    padding: 28px;
  }
}
