/* Writestead marketing site. Light by default, dark when the system asks for it. */
@font-face {
    font-family: "Geist";
    src: url("/_ws/fonts/geist.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #6e43f5;
    --brand-strong: #5a2fe0;
    --brand-soft: #efeaff;
    --ink: #15122b;
    --text: #1c1933;
    --muted: #625e7a;
    --line: rgba(21, 18, 43, 0.08);
    --bg: #ffffff;
    --bg-tint: #f7f5ff;
    --card: #ffffff;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-card: 0 1px 2px rgba(21, 18, 43, 0.04), 0 8px 24px rgba(21, 18, 43, 0.06);
    color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* Text styles */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

@media (max-width: 720px) {
    .heading-1 { font-size: 48px; line-height: 48px; }
    .heading-2 { font-size: 36px; line-height: 40px; }
    .heading-3 { font-size: 30px; line-height: 36px; }
    .hide-sm { display: none !important; }
}

/* Buttons: solid fill with a soft top highlight and a lift on hover. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 8px 16px; border: 0; border-radius: 10px;
    font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
    background: var(--brand); color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(48, 20, 140, 0.3), 0 4px 12px rgba(110, 67, 245, 0.28);
}
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-secondary { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(21, 18, 43, 0.06); }
.btn-secondary:hover { background: var(--bg-tint); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(110, 67, 245, 0.08); }
.btn-on-dark { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.16); }
.btn-sm { min-height: 32px; padding: 4px 12px; font-size: 14px; line-height: 20px; border-radius: 8px; }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 18px; line-height: 24px; border-radius: 12px; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center-row { justify-content: center; }

.card { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }

/* Floating nav */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav {
    pointer-events: auto; display: flex; align-items: center; gap: 24px; width: 100%; max-width: 1104px;
    padding: 8px 8px 8px 16px; border-radius: 16px;
    background: color-mix(in srgb, var(--card) 72%, transparent);
    backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(21, 18, 43, 0.06);
}
.nav-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav-links a:hover { color: var(--text); background: rgba(110, 67, 245, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--text); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 500ms var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: 0; z-index: 40; padding: 96px 24px 24px; display: flex; flex-direction: column; gap: 8px;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; padding: 8px 0; opacity: 0; transform: translateY(24px); animation: menu-in 500ms var(--ease) forwards; }
.mobile-menu a:nth-child(2) { animation-delay: 60ms; } .mobile-menu a:nth-child(3) { animation-delay: 120ms; } .mobile-menu a:nth-child(4) { animation-delay: 180ms; }
.mobile-menu a:nth-child(5) { animation-delay: 240ms; } .mobile-menu a:nth-child(6) { animation-delay: 300ms; }
@keyframes menu-in { to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; }
    .menu-toggle { display: inline-block; }
}

/* Hero with a slow, colorful moving gradient, cut at an angle like a page corner. */
.hero { position: relative; padding: 160px 0 64px; isolation: isolate; }
.hero-small { padding-bottom: 96px; min-height: 70vh; }
.hero-bg {
    position: absolute; inset: 0 0 auto 0; height: 720px; z-index: -1; overflow: hidden;
    background: #ffd9ec;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
}
.hero-small .hero-bg { height: 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 100%); }
.blob { position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%; filter: blur(64px); opacity: 0.9; will-change: transform; }
.b1 { background: #7c3aed; top: -30%; left: -10%; animation: drift-a 18s var(--ease) infinite alternate; }
.b2 { background: #ff6b6b; top: -20%; right: -15%; animation: drift-b 22s var(--ease) infinite alternate; }
.b3 { background: #ffb547; top: 20%; left: 25%; animation: drift-c 20s var(--ease) infinite alternate; }
.b4 { background: #22d3ee; top: 10%; right: 10%; width: 40vw; height: 40vw; animation: drift-a 26s var(--ease) infinite alternate-reverse; }
.b5 { background: #ec4899; top: 35%; left: -15%; width: 45vw; height: 45vw; animation: drift-b 24s var(--ease) infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(18vw, 10%) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-16vw, 18%) scale(0.9); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(0.9); } to { transform: translate(10vw, -14%) scale(1.2); } }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero-inner.center { align-items: center; text-align: center; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; text-decoration: none;
    background: rgba(255, 255, 255, 0.6); color: #2a2048; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: background-color 300ms var(--ease);
}
.pill:hover { background: rgba(255, 255, 255, 0.85); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.hero-title { margin-top: 24px; max-width: 680px; color: #1a1430; mix-blend-mode: color-burn; }
.hero-sub { margin-top: 24px; max-width: 680px; color: #2c2547; font-size: 18px; line-height: 28px; }
.hero-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.address-field {
    display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; background: #fff; color: #1c1933;
    box-shadow: 0 0 0 1px rgba(21, 18, 43, 0.08), 0 4px 16px rgba(21, 18, 43, 0.08); transition: box-shadow 300ms var(--ease);
}
.address-field:focus-within { box-shadow: 0 0 0 3px rgba(110, 67, 245, 0.35), 0 4px 16px rgba(21, 18, 43, 0.08); }
.address-field input { width: 140px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: inherit; text-align: right; }
.address-field .suffix { color: #625e7a; font-size: 16px; }
.hero-note { margin-top: 12px; color: #3b3358; }
.hero-note a { font-weight: 500; }

/* Drawn product shot */
.mock { margin-top: 64px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 32px 64px rgba(40, 20, 100, 0.18); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-tint); }
.mock-bar span { width: 12px; height: 12px; border-radius: 50%; background: #e4e1ef; }
.mock-bar p { margin-left: 12px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 200px 1fr 240px; min-height: 380px; }
.mock-side { padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; background: var(--bg-tint); }
.mock-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; }
.mock-nav { padding: 8px; border-radius: 8px; color: var(--muted); }
.mock-nav.on { background: var(--brand-soft); color: var(--brand); }
.mock-editor { padding: 32px 40px; display: flex; flex-direction: column; gap: 12px; }
.mock-h { color: var(--text); }
.mock-img { height: 120px; border-radius: 12px; background: #ffd9ec; overflow: hidden; position: relative; }
.mock-img::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 30% 40%, #ffb547, transparent 40%), radial-gradient(circle at 70% 60%, #7c3aed, transparent 45%), radial-gradient(circle at 50% 100%, #22d3ee, transparent 40%); filter: blur(12px); }
.mock-code { padding: 8px 12px; border-radius: 8px; background: var(--bg-tint); color: var(--muted); }
.mock-code span { color: var(--brand); font-family: ui-monospace, Menlo, monospace; }
.mock-panel { padding: 24px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 1px 0 0 var(--line); }
.mock-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 10px; background: var(--bg-tint); margin-bottom: 8px; }
.mock-seg span { padding: 4px 8px; text-align: center; border-radius: 6px; color: var(--muted); }
.mock-seg .on { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.mock-field { padding: 8px 12px; border-radius: 8px; background: var(--bg-tint); margin-bottom: 8px; }
.mock-panel .btn { margin-top: auto; }
@media (max-width: 960px) {
    .mock-body { grid-template-columns: 1fr; }
    .mock-side, .mock-panel { display: none; }
    .mock-editor { padding: 24px; }
}

.proof { padding: 24px; text-align: center; }

/* Sections */
.section { padding: 96px 24px; }
.section.container { padding-left: 24px; padding-right: 24px; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; }
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { transform: none; transition: opacity 300ms var(--ease); }
    .blob { animation: none; }
    .mobile-menu a { animation: none; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: transform 500ms var(--ease), box-shadow 300ms var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Tagline: each word lights up as it crosses the middle of the screen. */
.tagline-section { padding: 96px 0; }
.tagline { max-width: 880px; text-align: center; }
.tagline .w { color: color-mix(in srgb, var(--text) 28%, transparent); transition: color 600ms var(--ease); }
.tagline .w.on { color: var(--text); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step-number { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); color: #fff; margin-bottom: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 48px; }
.theme-card { display: flex; flex-direction: column; gap: 12px; }
.theme-preview {
    aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg); padding: 12px; display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 0 0 1px var(--line), var(--shadow-card); transition: transform 500ms var(--ease);
}
.theme-card:hover .theme-preview { transform: translateY(-4px) rotate(-1deg); }
.theme-preview { background: var(--bg); }
.theme-preview .tp-bar { height: 6px; width: 40%; border-radius: 3px; background: var(--fg); opacity: 0.8; }
.theme-preview .tp-title { height: 10px; width: 75%; border-radius: 4px; background: var(--fg); margin-top: 6px; }
.theme-preview .tp-line { height: 5px; width: 90%; border-radius: 3px; background: var(--fg); opacity: 0.25; }
.theme-preview .tp-line.short { width: 60%; }
.theme-preview .tp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.theme-preview .tp-cards i { aspect-ratio: 1; border-radius: 6px; background: var(--ac); opacity: 0.85; }
.theme-preview .tp-cards i:nth-child(2) { opacity: 0.5; } .theme-preview .tp-cards i:nth-child(3) { opacity: 0.3; }
.theme-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tag-pro { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > div > * + * { margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { flex-shrink: 0; color: var(--brand); margin-top: 1px; }

.stats-mock { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sm-chart { width: 100%; height: 140px; }
.sm-list p { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; }
.sm-list p:nth-child(odd) { background: var(--bg-tint); }

.section-ink { background: #15122b; color: #f1effa; }
.section-ink .eyebrow { color: #b9a6ff; }
.code-card { margin: 0; padding: 24px; border-radius: 16px; background: #0b0a17; color: #e6e1ff; overflow-x: auto; font-family: ui-monospace, "Geist Mono", Menlo, monospace; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.code-card .c { color: #8b85ad; }

.billing-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg-tint); box-shadow: inset 0 0 0 1px var(--line); }
.billing-toggle button { border: 0; background: transparent; padding: 4px 16px; border-radius: 8px; font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.billing-toggle button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
body:not([data-billing="yearly"]) .y, body[data-billing="yearly"] .m { display: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.plan { position: relative; padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; }
.plan-featured { box-shadow: 0 0 0 2px var(--brand), 0 24px 48px rgba(110, 67, 245, 0.18); }
.plan-badge { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-radius: 12px; background: var(--bg-tint); padding: 0 24px; transition: background-color 300ms var(--ease); }
.faq-item[open] { background: var(--brand-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { display: inline-flex; transition: transform 500ms var(--ease); color: var(--brand); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding-bottom: 16px; }

.final-cta { position: relative; padding: 128px 0; isolation: isolate; overflow: hidden; }
.final-cta .hero-bg { height: 100%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
.final-cta h2 { color: #1a1430; }
.final-cta p { margin-top: 16px; color: #2c2547; }

.legal { max-width: 720px; padding-top: 160px; padding-bottom: 96px; }
.legal > * + * { margin-top: 16px; }
.legal h2 { margin-top: 32px; }

.footer { padding: 64px 0 32px; background: var(--bg-tint); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > div:first-child p { margin-top: 12px; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; transition: color 300ms var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion and depth ---------- */

/* Pointer parallax: the script sets --px/--py per layer from its data-depth. */
[data-depth] { translate: var(--px, 0) var(--py, 0); transition: translate 600ms var(--ease); }
.blob-layer { position: absolute; inset: 0; }
.grain {
    position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* The headline's second line shimmers through the brand colors. */
.shine {
    background: linear-gradient(100deg, #2b0d73 0%, #5b2ee8 30%, #b0177e 52%, #d1243f 66%, #2b0d73 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 7s var(--ease) infinite alternate;
}
.hero-title:has(.shine) { mix-blend-mode: normal; }
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Product shot sits on a stage with floating cards at different depths. */
.mock-stage { position: relative; perspective: 1600px; }
.mock { transform-origin: 50% 0; }
.floater {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
    background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(40, 20, 100, 0.18);
    font-size: 14px; line-height: 20px; animation: bob 6s var(--ease) infinite alternate;
}
.floater b { display: block; font-weight: 600; }
.floater small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.fi { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; }
.fi-green { background: #16a34a; } .fi-violet { background: var(--brand); } .fi-amber { background: #f59e0b; } .fi-cyan { background: #0891b2; }
.f1 { top: 96px; left: -8px; animation-delay: -1s; }
.f2 { top: 40px; right: -16px; animation-delay: -3s; }
.f3 { bottom: 72px; left: 40px; animation-delay: -2s; }
.f4 { bottom: 120px; right: 24px; animation-delay: -4s; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@media (max-width: 860px) { .floater { display: none; } }

/* Marquee of what's included; pauses while hovered. */
.marquee { overflow: hidden; padding: 24px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--bg-tint); font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; color: var(--text); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.marquee-item svg { color: var(--brand); }
.marquee-item:hover { background: var(--brand); color: #fff; }
.marquee-item:hover svg { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cursor spotlight on cards. */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms var(--ease);
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 67, 245, 0.14), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(110, 67, 245, 0.25), 0 24px 48px rgba(110, 67, 245, 0.14); }
.feature:hover .feature-icon { background: var(--brand); color: #fff; transform: rotate(-8deg) scale(1.08); }
.feature-icon { transition: transform 500ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease); }

/* Highlighter: marks in long text sweep in when the reader hovers the paragraph or card. */
mark.hl {
    color: inherit; padding: 0 2px; margin: 0 -2px; border-radius: 4px;
    background: linear-gradient(100deg, rgba(255, 210, 90, 0.55), rgba(255, 160, 110, 0.5)) no-repeat 0 0 / 0% 100%;
    transition: background-size 600ms var(--ease), color 300ms var(--ease);
}
.hl-text:hover mark.hl, .faq-item[open] mark.hl { background-size: 100% 100%; color: var(--text); }
.hl-text:hover mark.hl:nth-of-type(2) { transition-delay: 120ms; }
.hl-text:hover mark.hl:nth-of-type(3) { transition-delay: 240ms; }
.hl-text:hover mark.hl:nth-of-type(4) { transition-delay: 360ms; }
.section-ink mark.hl { background-image: linear-gradient(100deg, rgba(110, 67, 245, 0.75), rgba(224, 69, 123, 0.7)); }
.section-ink .hl-text:hover mark.hl { color: #fff; }

/* Giant words band. */
.words-band { overflow: hidden; padding: 64px 0 0; display: flex; flex-direction: column; gap: 8px; }
.words-row { white-space: nowrap; font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text) 40%, transparent); }
.words-row i { font-style: normal; color: var(--brand); -webkit-text-stroke: 0; font-size: 0.5em; vertical-align: middle; }
.row-b { width: max-content; -webkit-text-stroke: 0; background: linear-gradient(90deg, #6e43f5, #c026d3 35%, #f43f5e 60%, #ff8a3d 80%, #6e43f5); -webkit-background-clip: text; background-clip: text; }
.row-b i { color: #ff8a3d; }
@media (max-width: 720px) { .words-row { font-size: 60px; } }

.theme-card .theme-preview { transform-style: preserve-3d; }
.theme-card:hover .theme-preview { transform: translateY(-6px) rotateX(6deg) rotateY(-8deg); box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(40, 20, 100, 0.18); }
.plan { transition: transform 500ms var(--ease), box-shadow 300ms var(--ease); }
.plan:hover { transform: translateY(-6px); }

/* Scroll-linked parallax where the browser supports scroll timelines; elsewhere things just sit still. */
@supports (animation-timeline: scroll()) {
    .blob-layer { animation: blobs-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes blobs-drift { to { transform: translateY(28%) scale(1.08); } }
    .hero-inner { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes hero-lift { to { opacity: 0.2; transform: translateY(-80px); } }
    .mock { animation: mock-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes mock-tilt { from { transform: rotateX(24deg) scale(0.9) translateY(40px); } to { transform: none; } }
    .row-a { animation: words-left linear both; animation-timeline: view(); }
    .row-b { animation: words-right linear both; animation-timeline: view(); }
    @keyframes words-left { from { transform: translateX(0); } to { transform: translateX(-35%); } }
    @keyframes words-right { from { transform: translateX(-35%); } to { transform: translateX(0); } }
    .stats-mock.tilt { animation: card-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes card-rise { from { transform: perspective(1200px) rotateY(-14deg) translateY(48px); } to { transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
    [data-depth] { translate: none; }
    .shine, .floater, .marquee-track, .blob-layer, .hero-inner, .mock, .words-row, .stats-mock.tilt { animation: none !important; }
    .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
    mark.hl { transition: none; }
}

/* ---------- Illustrated icons ---------- */
.art { position: relative; display: inline-flex; flex-shrink: 0; width: var(--art); height: var(--art); align-items: center; justify-content: center; }
.art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(40, 20, 100, 0.18)); }
/* The Phosphor fallback only shows when the image is missing. */
.art img ~ svg { display: none; }
.art svg { color: var(--brand); }

.feature-icon { width: auto; height: auto; background: none; border-radius: 0; margin-bottom: 8px; }
.feature:hover .feature-icon { background: none; color: inherit; transform: rotate(-8deg) scale(1.12) translateY(-4px); }

.floater .art img { filter: drop-shadow(0 3px 6px rgba(40, 20, 100, 0.2)); }

/* Icons drifting across the hero at different depths. */
.hero-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hi { position: absolute; opacity: 0.95; animation: bob 7s var(--ease) infinite alternate; }
.hi1 { top: 150px; right: 14%; animation-delay: -2s; rotate: 8deg; }
.hi2 { top: 300px; right: 30%; animation-delay: -4s; rotate: -10deg; }
.hi3 { top: 110px; right: 36%; animation-delay: -1s; rotate: -6deg; }
.hi4 { top: 380px; right: 8%; animation-delay: -5s; rotate: 12deg; }
.hi5 { top: 470px; right: 22%; animation-delay: -3s; rotate: -4deg; }
@media (max-width: 1100px) { .hi2, .hi3 { display: none; } }
@media (max-width: 720px) { .hero-icons { display: none; } }

.step-art { position: relative; display: inline-flex; margin-bottom: 8px; }
.step-art .step-number { position: absolute; right: -10px; bottom: -6px; margin: 0; width: 28px; height: 28px; box-shadow: 0 0 0 3px var(--card); }
.step:hover .art { transform: translateY(-4px) rotate(-6deg); }
.step .art { transition: transform 500ms var(--ease); }

.plan-name { display: flex; align-items: center; gap: 12px; }
.plan:hover .plan-name .art { transform: rotate(-10deg) scale(1.1); }
.plan-name .art { transition: transform 500ms var(--ease); }

.section-ink .art img { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)); }

@media (prefers-reduced-motion: reduce) {
    .hi { animation: none; }
}
.feature-icon, .step-art, .section-ink .split > div > .art { align-self: flex-start; }
/* The pastel set needs a tinted tile to read on white. */
.step-art .art, .plan-name .art { padding: 10px; border-radius: 16px; background: linear-gradient(140deg, #efeaff, #fde7ef); }
.step-art .art { width: 72px; height: 72px; }
.plan-name .art { width: 48px; height: 48px; padding: 8px; border-radius: 14px; }
.step-art .art img, .plan-name .art img { filter: drop-shadow(0 2px 4px rgba(40, 20, 100, 0.12)); }
