:root {
  --bg: #fbfaff; --surface: #ffffff; --surface-2: #f5f3ff; --border: #ebe7fb;
  --text: #241f4a; --muted: #6d6896; --heading: #15112f;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 55%, #f59e0b 100%);
  --violet: #7c3aed; --pink: #ec4899; --amber: #f59e0b; --green: #10b981;
  --shadow: 0 18px 50px rgba(76, 29, 149, .12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0b24; --surface: #1c1840; --surface-2: #26205a; --border: #322a6b;
    --text: #e4e0ff; --muted: #a49fd0; --heading: #ffffff; --shadow: 0 18px 50px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--violet); }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--heading); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; image-rendering: pixelated; }
.top nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--violet); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--heading); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(236, 72, 153, .3); }
.btn.big { padding: 15px 28px; font-size: 17px; border-radius: 14px; }
.btn:hover { filter: brightness(1.05); }
@media (max-width: 720px) { .top nav a.hide-sm { display: none; } }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; margin: 0 0 16px; color: var(--heading); letter-spacing: -.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pill { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; }

section { padding: 56px 0; }
h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; color: var(--heading); text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 34px; }

/* feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; color: var(--heading); font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* free vs premium */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--surface-2); color: var(--heading); }
.compare thead th.prem { background: var(--grad); color: #fff; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 120px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--muted); }
.compare td small { display: block; color: var(--muted); }
@media (max-width: 640px) { .compare th, .compare td { padding: 10px; font-size: 14px; } .compare td:nth-child(2), .compare td:nth-child(3) { width: 64px; } }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 34px; border-radius: 26px; background: var(--surface);
  border: 2px solid transparent; background-clip: padding-box; position: relative; box-shadow: var(--shadow); }
.price-card::before { content: ""; position: absolute; inset: -2px; border-radius: 28px; background: var(--grad); z-index: -1; }
.price-phase { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 13px; color: var(--violet); }
.price { font-size: 56px; font-weight: 800; color: var(--heading); margin: 10px 0 0; }
.price s { font-size: 22px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.price-sub { color: var(--muted); margin: 4px 0 18px; }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 18px 0; }
.price-card li { padding: 6px 0 6px 28px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.early { margin-top: 12px; font-size: 14px; color: var(--pink); font-weight: 600; }
.ladder { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* faq & forms */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.faq p { margin: 10px 0 0; color: var(--muted); }
.form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.form label { font-weight: 600; color: var(--heading); }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.msg { padding: 12px 14px; border-radius: 12px; display: none; }
.msg.ok { display: block; background: color-mix(in srgb, var(--green) 14%, transparent); }
.msg.err { display: block; background: color-mix(in srgb, #f43f5e 14%, transparent); }

/* plain pages */
.page { padding: 48px 0 64px; }
.page h1 { color: var(--heading); font-size: clamp(30px, 5vw, 44px); margin: 0 0 8px; }
.page .prose { max-width: 780px; }
.page .prose h2 { text-align: left; font-size: 22px; margin-top: 28px; }

footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; }
.pill svg { color: var(--violet); }
.card .ico svg { display: block; }
#features .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* clips: the hero shot and the "See it in action" player */
.frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border);
  box-shadow: var(--shadow); aspect-ratio: 1280 / 800; }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-shot { max-width: 1000px; margin: 44px auto 0; }
.hero-shot figcaption, .tour-player figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.tour { max-width: 1000px; margin: 0 auto; }
.tour-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 -60px 18px; }
.tour-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.tour-tabs button:hover { color: var(--violet); }
.tour-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(236, 72, 153, .25); }
.tour-tabs button:focus-visible, .tour-play:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.tour-player { margin: 0; }
.tour-player .frame video { cursor: pointer; }
.tour-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; display: grid;
  place-items: center; background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(76, 29, 149, .35); }
.tour-play svg { margin-left: 4px; }
.tour-play[hidden] { display: none; }
.tour-player figcaption { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.tour-player figcaption strong { color: var(--heading); margin-right: 8px; }
.badge { display: inline-block; padding: 1px 9px; margin-right: 8px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--violet); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.credit { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
#see { padding-top: 32px; }
@media (max-width: 640px) {
  .hero-shot { margin-top: 32px; }
  .frame { border-radius: 12px; }
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; margin: 0 0 18px; }
  .tour-tabs button { flex: none; }
  .tour-play { width: 56px; height: 56px; }
}
section[id] { scroll-margin-top: 72px; }

/* faq: a soft chevron that turns, and (where the browser can) answers that slide open */
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; transition: transform .3s cubic-bezier(.4, 0, .2, 1), background-color .2s; }
.faq details[open] > summary::after { transform: rotate(180deg); }
.faq summary:hover::after { background-color: color-mix(in srgb, var(--violet) 16%, var(--surface-2)); }
.faq summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 8px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .faq summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  }
}
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s cubic-bezier(.4, 0, .2, 1), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after, .faq details::details-content { transition: none; } }

/* badges: Free, Premium, or both */
.badge.free { color: var(--green); }
.badge.prem { background: var(--grad); color: #fff; border-color: transparent; }
.badge.both { color: var(--pink); }

/* help center */
.help-head { text-align: center; }
.help-head .sub { margin-bottom: 22px; }
.help-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 0 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--muted); }
.help-search:focus-within { outline: 3px solid var(--violet); outline-offset: 2px; }
.help-search input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 17px; outline: none; }
.help-none { margin-top: 18px; color: var(--muted); }
.help-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; margin-top: 40px; align-items: start; }
.help-toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14.5px; scrollbar-width: thin; }
.help-toc summary { font-weight: 700; color: var(--heading); cursor: pointer; margin-bottom: 8px; }
.help-toc ul { list-style: none; margin: 0; padding: 0; }
.help-toc > details > ul > li { margin-bottom: 14px; }
.help-toc span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.help-toc a { display: block; padding: 3px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.help-toc a:hover, .help-toc a.on { background: var(--surface-2); color: var(--violet); }
.help-body { min-width: 0; }
.help-group { text-align: left; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 34px 0 12px; }
.help-group:first-child { margin-top: 0; }
.help-topic { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin-bottom: 14px; scroll-margin-top: 84px; }
.help-topic:target { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 22%, transparent); }
.help-topic h3 { margin: 0 0 8px; font-size: 20px; color: var(--heading); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.help-topic h3 a { color: inherit; text-decoration: none; }
.help-topic h3 .badge { margin: 0; vertical-align: 0; }
.help-topic p, .help-topic li { color: var(--text); font-size: 15.5px; }
.help-topic p { margin: 0 0 8px; }
.help-topic ul { margin: 6px 0 0; padding-left: 20px; }
.help-topic li { margin-bottom: 6px; }
.help-topic li::marker { color: var(--violet); }
.help-topic mark { background: color-mix(in srgb, var(--amber) 35%, transparent); color: inherit; border-radius: 3px; }
.help-cta { margin-top: 24px; padding: 18px 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
@media (max-width: 860px) {
  .help-layout { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .help-toc { position: static; max-height: none; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; }
  .help-toc summary { margin: 0; }
  .help-toc details[open] summary { margin-bottom: 10px; }
  .help-topic { padding: 16px 18px; }
}

/* features page */
.feat-hero { padding: 64px 0 24px; text-align: center; }
.feat-hero h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.1; margin: 0 0 14px; color: var(--heading); letter-spacing: -.02em; }
.feat-hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 700px; margin: 0 auto 24px; }
.jump { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jump a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.jump a:hover { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 40%, var(--border)); }
.feat { padding: 48px 0; }
.feat .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.feat.flip .wrap { grid-template-columns: 1.25fr 1fr; }
.feat.flip .feat-text { order: 2; }
.feat h2 { text-align: left; margin-bottom: 8px; }
.feat .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.feat .kicker .badge { margin: 0; letter-spacing: 0; text-transform: none; }
.feat-text > p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.feat-list { list-style: none; padding: 0; margin: 0 0 16px; }
.feat-list li { position: relative; padding: 7px 0 7px 30px; border-top: 1px solid var(--border); }
.feat-list li:first-child { border-top: 0; }
.feat-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.feat-list .badge { margin: 0 0 0 6px; font-size: 11px; }
.feat-more { font-weight: 600; text-decoration: none; }
.feat-more:hover { text-decoration: underline; }
.feat .frame video { cursor: pointer; }
.feat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat-cards .card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat-cards .card h3 .badge { margin: 0; }
.feat-cards .card a { font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-block; margin-top: 10px; }
.feat-end { text-align: center; }
.feat-end .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 860px) {
  .feat .wrap, .feat.flip .wrap { grid-template-columns: 1fr; gap: 22px; }
  .feat.flip .feat-text { order: 0; }
  .feat { padding: 32px 0; }
}
.more-link { text-align: center; margin: 28px 0 0; }
