:root {
  --bg: #0f0a14;
  --panel: #1a1424;
  --accent: #e040fb;
  --accent2: #9b6dff;
  --text: #faf7ff;
  --muted: #b8aec8;
  --line: #3a3050;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent2); }
a:hover { color: var(--accent); }

.margin-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 20;
}
.margin-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: transparent;
  text-decoration: none;
}
.margin-dots .dot.is-active,
.margin-dots .dot:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.hero {
  position: relative;
  padding: 4rem 1.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.hero.diagonal-band .hero__band {
  position: absolute;
  inset: 8% 5% auto 0;
  height: 55%;
  background: linear-gradient(125deg, rgba(224, 64, 251, 0.35), rgba(155, 109, 255, 0.12) 60%, transparent);
  transform: skewY(-6deg);
  border-radius: 12px;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 36rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: 800;
}
.hero__line2 { color: var(--accent2); }
.hero__tagline { color: var(--muted); font-size: 1.05rem; max-width: 32rem; }
.hero__cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #120818;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.hero__visual img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.features, .screens, .legal {
  padding: 3.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-intro { margin-bottom: 2rem; max-width: 38rem; }
.section-intro.align-left { text-align: left; margin-right: auto; }
.section-intro.align-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro.align-right { text-align: right; margin-left: auto; }
.section-intro h2 { font-size: 1.75rem; margin: 0 0 0.5rem; }

.bento__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
.bento__tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  grid-column: span 6;
}
.bento__tile--wide { grid-column: span 8; }
.bento__tile--tall { grid-column: span 4; grid-row: span 2; }
.bento__tile h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.bento__tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.polaroid__scatter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.polaroid__frame {
  margin: 0;
  background: #faf7ff;
  padding: 0.65rem 0.65rem 2.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}
.polaroid__frame img {
  width: 100%;
  display: block;
  border-radius: 2px;
}
.polaroid__frame figcaption {
  text-align: center;
  color: #2a2238;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.p1 { grid-column: 2 / span 4; transform: rotate(-4deg); }
.p2 { grid-column: 5 / span 4; transform: rotate(3deg) translateY(1.5rem); }
.p3 { grid-column: 8 / span 4; transform: rotate(-2deg); }

.legal.two-column .legal__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  column-gap: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.legal__col p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 768px) {
  .margin-dots { display: none; }
  .bento__tile,
  .bento__tile--wide,
  .bento__tile--tall { grid-column: 1 / -1; grid-row: auto; }
  .p1, .p2, .p3 {
    grid-column: 1 / -1;
    transform: none;
  }
  .legal.two-column .legal__cols { grid-template-columns: 1fr; }
}