:root {
  --bg: #0f0b22;
  --bg-raised: #171231;
  --bg-card: #1c1640;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f0fa;
  --muted: #a7a2c3;
  --pink: #ff4fb8;
  --cyan: #22e1ff;
  --lime: #b6ff3b;
  --yellow: #ffd23f;
  --accent: #ff4fb8;
  --radius: 14px;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
}

code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 210, 63, 0.14);
  color: var(--yellow);
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  margin: 0 1px;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg-card);
  text-align: center;
  line-height: 1.4;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100% - 32px);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #241c52;
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), #c227e0);
  box-shadow: 0 8px 30px rgba(255, 79, 184, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ff6cc6, #cf45ea);
}

.button-small {
  padding: 7px 16px;
  font-size: 15px;
}

.button.is-disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 11, 34, 0.8);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.nav-links a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:not(.button):hover {
  color: var(--text);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

.confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 620px;
  opacity: 0.55;
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-icon {
  filter: drop-shadow(0 18px 40px rgba(255, 79, 184, 0.25));
}

.hero h1 {
  max-width: 860px;
  margin: 18px auto 0;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 850;
}

.highlight {
  background: linear-gradient(90deg, var(--cyan), var(--pink) 60%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Screenshot frames */

.window {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1b1d22;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 11px 14px;
  background: #15171b;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window img {
  display: block;
  width: 100%;
}

.hero-shot {
  position: relative;
  margin-top: 56px;
}

/* Stories */

.stories {
  padding: 80px 0 40px;
}

.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 110px;
}

.story.reverse .story-text {
  order: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story:nth-child(2) .eyebrow {
  color: var(--lime);
}

.story:nth-child(3) .eyebrow {
  color: var(--yellow);
}

.story-text p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

/* Feature grid */

.grid-section {
  padding: 40px 0 90px;
}

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

.tile {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.tile-team {
  background: linear-gradient(160deg, rgba(34, 225, 255, 0.07), transparent 60%), var(--bg-raised);
}

.pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(34, 225, 255, 0.14);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}

/* Pricing */

.pricing {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at top, rgba(255, 79, 184, 0.1), transparent 60%);
}

.pricing > .wrap > p {
  margin: 10px 0 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-raised);
}

.plan-featured {
  border-color: rgba(255, 79, 184, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 79, 184, 0.25), 0 20px 60px rgba(255, 79, 184, 0.12);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  margin: 0;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.price {
  margin: 10px 0 0;
  font-size: 34px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.price-soon {
  font-size: 22px;
  color: var(--muted);
}

.plan ul {
  flex: 1;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--muted);
}

.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--lime);
  border-bottom: 2.5px solid var(--lime);
  transform: rotate(-45deg);
}

/* FAQ */

.faq {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.faq h2 {
  margin-bottom: 32px;
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--pink);
  font-size: 24px;
  font-weight: 400;
}

details[open] summary::after {
  content: '–';
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* Closing + footer */

.closing {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}

.closing h2 {
  margin: 16px 0 26px;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

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

/* Small screens */

@media (max-width: 860px) {
  .story,
  .story.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 72px;
  }

  .story.reverse .story-text {
    order: 0;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .plans {
    grid-template-columns: minmax(0, 480px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

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

  .hero {
    padding-top: 48px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

.plans-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-note {
  margin: -10px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .plans-3 {
    grid-template-columns: minmax(0, 480px);
  }
}

.plan-note .price-soon {
  font-size: inherit;
}

.plan-note-top {
  margin: 6px 0 -6px;
}

/* Legal pages */

.legal {
  padding: 56px 0 90px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
}

.legal h2 {
  margin: 40px 0 10px;
  font-size: 22px;
}

.legal h3 {
  margin: 22px 0 6px;
  font-size: 17px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--text);
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin: 6px 0;
}

.legal a {
  color: var(--cyan);
}

.legal-meta {
  margin: 8px 0 28px;
  font-size: 14px;
}

.legal-summary {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raised);
}

/* Placeholders to fill in before publishing. */
.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 210, 63, 0.18);
  color: var(--yellow);
}
