:root {
  color-scheme: light dark;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --fg: #18181b;
  --muted: #5f5f6b;
  --line: rgb(24 24 27 / 0.1);
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --accent-soft: rgb(99 102 241 / 0.1);
  --glow: rgb(139 92 246 / 0.18);
  --shadow: 0 30px 60px -30px rgb(30 27 75 / 0.35), 0 8px 24px -12px rgb(30 27 75 / 0.18);
  --radius: 20px;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0f;
    --surface: #141419;
    --fg: #f4f4f5;
    --muted: #a1a1aa;
    --line: rgb(244 244 245 / 0.1);
    --accent: #818cf8;
    --accent-strong: #6366f1;
    --accent-soft: rgb(129 140 248 / 0.14);
    --glow: rgb(139 92 246 / 0.25);
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8), 0 8px 24px -12px rgb(0 0 0 / 0.6);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, var(--glow), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--fg);
  font: 17px/1.6 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.topbar-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.topbar-links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.topbar-links a:hover {
  color: var(--fg);
}

@media (width < 640px) {
  .topbar-links {
    display: none;
  }

  .topbar .button {
    margin-left: auto;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), #8b5cf6);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgb(79 70 229 / 0.7);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgb(79 70 229 / 0.8);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.button-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--accent-soft);
  box-shadow: none;
}

.hero {
  padding-top: clamp(56px, 10vw, 104px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 80px);
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-strong), #a855f7 60%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.reassurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.reassurances li {
  padding-left: 22px;
  background: no-repeat left center / 16px var(--tick);
}

.demo {
  margin: clamp(40px, 5vw, 56px) 0 0;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c0a24;
  box-shadow: var(--shadow);
}

.demo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font: 600 0.85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.browser-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.steps h3 {
  margin: 16px 0 8px;
  font-size: 19px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  gap: clamp(72px, 10vw, 128px);
  padding-block: clamp(96px, 12vw, 160px) 0;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.feature:nth-child(even) {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.feature:nth-child(even) .feature-text {
  order: 2;
}

@media (width < 860px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-text {
    order: 0;
  }
}

.step {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
}

.feature-text p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.how,
.summary-parts,
.trust,
.pricing,
.faq {
  padding-top: clamp(96px, 12vw, 160px);
}

.how h2,
.summary-parts h2,
.trust h2,
.pricing h2,
.faq h2,
.closing h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
}

.parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.parts li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.parts span {
  color: var(--muted);
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.section-link {
  margin: 24px 0 0;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 40px auto 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.plan h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  margin: 8px 0 0;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-alt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.plan li {
  padding-left: 28px;
  background: no-repeat left 4px / 18px var(--tick);
}

.plan-note {
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.plan-action {
  margin-top: auto;
  padding-block: 10px;
  text-align: center;
}

.faq {
  max-width: 760px;
}

.faq h2 {
  margin-bottom: 32px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: rotate 0.2s ease;
}

details[open] summary::after {
  rotate: 45deg;
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
}

.closing {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-block: clamp(96px, 12vw, 160px);
  text-align: center;
}

.closing img {
  border-radius: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 32px;
}

.footer-inner p {
  margin: 0;
  max-width: 480px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-inner a {
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--fg);
}
