:root {
    --ink: #171a3a; --text: #4b5070; --muted: #667085; --line: #ebe8f4; --line2: #d6d0e6;
    --page: #fcfbff; --card: #fff; --soft: #f3effe; --soft2: #f7f5fc; --nav: rgba(252, 251, 255, .85);
    --brand: #6a3de8; --brand-d: #5a2fd6; --brand-ink: #5a2fd6; --wa: #128c5e; --ok-bg: #f0fdf4; --ok-line: #bbf7d0; --ok: #0f7a51;
    --glow-1: rgba(130, 89, 238, .16); --glow-2: rgba(2, 132, 199, .08); --dot: rgba(106, 61, 232, .11); --shadow: 0 30px 70px rgba(59, 31, 143, .13);
}
[data-theme="dark"] {
    --ink: #f0eefa; --text: #c5c6dc; --muted: #a4a6c2; --line: #2e3056; --line2: #434570;
    --page: #111226; --card: #1c1e3a; --soft: #2d2858; --soft2: #23254a; --nav: rgba(17, 18, 38, .85);
    --brand-ink: #b9a3f8; --ok-bg: #16322c; --ok-line: #24584b; --ok: #6ee7b7;
    --glow-1: rgba(130, 89, 238, .22); --glow-2: rgba(2, 132, 199, .1); --dot: rgba(185, 163, 248, .08); --shadow: 0 30px 70px rgba(0, 0, 0, .4);
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--text); font: 400 1.05rem/1.85 'Cairo', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; transition: background .25s, color .25s; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.sr { position: absolute; }
.wrap { width: min(1280px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 3rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .55rem 1.4rem; border-radius: 14px; font-weight: 800; font-size: 1rem; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #c4b0f7; outline-offset: 2px; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #a78bfa; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.8rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 800; font-size: 1.22rem; }
.nav-links { display: flex; gap: 1.5rem; font-size: .96rem; font-weight: 600; }
.nav-links a:hover, .nav-text:hover, .nav-links a.is-active { color: var(--brand-ink); }
.menu-btn { display: none; }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: .8rem; }
.nav-text { font-weight: 600; font-size: .95rem; }
.nav .btn { min-height: 42px; padding: .3rem 1.05rem; font-size: .93rem; }
.theme { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
.theme:hover { border-color: #a78bfa; color: var(--brand-ink); }
.theme .sun { display: none; }
[data-theme="dark"] .theme .sun { display: block; }
[data-theme="dark"] .theme .moon { display: none; }

/* Hero */
.hero-bg { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(620px 420px at 78% 12%, var(--glow-1), transparent 70%), radial-gradient(560px 420px at 18% 70%, var(--glow-2), transparent 70%); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-bg::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(#000, transparent 92%); mask-image: linear-gradient(#000, transparent 92%); }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; gap: 4rem; align-items: center; padding-block: 4.5rem 5rem; }
.kicker { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-ink); background: var(--soft); border-radius: 20px; padding: .12rem .85rem; font-weight: 800; font-size: .9rem; margin-bottom: 1rem; }
h1 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); line-height: 1.22; }
h1 em { white-space: nowrap; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand), #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] h1 em { background-image: linear-gradient(100deg, #a78bfa, #d8b4fe); }
.lead { margin-top: 1.15rem; font-size: 1.2rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.4rem; font-size: .9rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: .35rem; }
.trust svg { color: var(--ok); flex: none; }

/* Hero example */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-bottom: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-bar span { margin-inline-start: .5rem; }
.demo-tabs { display: flex; gap: .2rem; padding: .4rem .85rem; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 700; overflow: hidden; }
.demo-tabs span { display: inline-flex; align-items: center; gap: .25rem; padding: .14rem .55rem; border-radius: 8px; white-space: nowrap; transition: background .25s, color .25s; }
.demo-tabs span.is-on { background: var(--soft); color: var(--brand-ink); }
.demo-body { padding: .85rem 1.05rem .95rem; display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; line-height: 1.6; }
.voice { display: flex; align-items: center; gap: .35rem; color: var(--muted); }
.voice small { font-size: .72rem; font-weight: 600; }
.mic { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--brand-ink); transition: background .2s, color .2s; }
.waves { display: inline-flex; align-items: center; gap: 2px; height: 13px; }
.waves i { width: 2px; height: 5px; border-radius: 2px; background: #c4b0f7; }
.voice.is-on .mic { background: #dc2626; color: #fff; }
.voice.is-on .waves i { background: var(--brand); animation: wave .7s ease-in-out infinite alternate; }
.waves i:nth-child(2) { animation-delay: .1s; }
.waves i:nth-child(3) { animation-delay: .25s; }
.waves i:nth-child(4) { animation-delay: .05s; }
.waves i:nth-child(5) { animation-delay: .3s; }
.waves i:nth-child(6) { animation-delay: .15s; }
@keyframes wave { to { height: 13px; } }
.bubble { align-self: flex-start; max-width: 100%; min-height: 3.5em; padding: .42rem .75rem; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; }
.ai-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.reply { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); background: var(--soft); border-radius: 10px; padding: .22rem .65rem; font-weight: 600; font-size: .84rem; }
.reply svg { color: var(--brand-ink); flex: none; }
.fake-btn { flex: none; background: var(--brand); color: #fff; font-weight: 800; font-size: .78rem; padding: .22rem .75rem; border-radius: 8px; transition: transform .15s, opacity .3s; }
.fake-btn.is-pressed { transform: scale(.93); }
.links { display: block; width: 100%; height: 22px; margin-block: -.1rem -.45rem; overflow: visible; transition: opacity .4s; }
[dir="rtl"] .links { transform: scaleX(-1); }
.links path { fill: none; stroke: var(--line2); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.links path.is-live { stroke: var(--brand); }
.links.is-off { opacity: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.tile { min-width: 0; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 10px; padding: .38rem .5rem .42rem; line-height: 1.35; transition: background .3s, border-color .3s, opacity .3s, transform .3s; }
.tile-ic { display: block; color: var(--c); height: 15px; }
.tile b { display: block; color: var(--ink); font-size: .8rem; font-weight: 800; }
.tile small { display: block; font-size: .71rem; font-weight: 600; color: var(--muted); }
.tile .is-ok { display: none; color: var(--ok); }
.tile.is-done { background: var(--ok-bg); border-color: var(--ok-line); border-top-color: var(--c); }
.tile.is-done .to-do { display: none; }
.tile.is-done .is-ok { display: block; }
.flow { background: linear-gradient(135deg, #171a3a, #241f55); border-radius: 12px; padding: .5rem .65rem .6rem; color: #c9c6e6; margin-top: .15rem; }
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; font-size: .77rem; }
.flow-head b { color: #fff; font-weight: 800; }
.flow-head em { font-style: normal; font-weight: 800; color: #a78bfa; }
.nodes { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.nodes li { position: relative; min-width: 0; min-height: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem; text-align: center; border: 1px solid rgba(255, 255, 255, .13); border-radius: 8px; padding: .25rem .1rem; font-size: .69rem; font-weight: 700; line-height: 1.2; background: rgba(255, 255, 255, .04); transition: border-color .3s, background .3s, color .3s; }
.nodes i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .3s, box-shadow .3s; }
.nodes li::after { content: ''; position: absolute; top: 50%; inset-inline-start: 100%; width: calc(.55rem + 2px); height: 2px; background: rgba(255, 255, 255, .18); transition: background .3s; }
.nodes li:last-child::after { display: none; }
.nodes li.done { color: #fff; border-color: #10b981; }
.nodes li.done i, .nodes li.done::after { background: #10b981; }
.nodes li.now { color: #fff; border-color: #a78bfa; background: rgba(167, 139, 250, .16); }
.nodes li.now i { background: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .3); }
.nodes li.now.client { border-style: dashed; border-color: #fbbf24; background: rgba(251, 191, 36, .12); }
.nodes li.now.client i { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .25); }
.auto { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .35rem; transition: opacity .3s, transform .3s; }
.auto small { display: inline-flex; align-items: center; gap: .2rem; color: var(--brand-ink); font-size: .74rem; font-weight: 800; }
.auto span { background: var(--soft); color: var(--text); border-radius: 12px; padding: .03rem .5rem; font-size: .72rem; font-weight: 700; }
.demo [data-reply], .demo [data-approve] { transition: opacity .3s, transform .3s; }
.demo .is-hidden { opacity: 0; transform: translateY(6px); }

/* Sections */
.section { padding-block: 5rem; }
.head { max-width: 680px; margin-bottom: 2.5rem; }
.head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: block; color: var(--brand-ink); font-size: .92rem; font-weight: 800; margin-bottom: .3rem; }
.head h2, .band h2, .final h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.head p { margin-top: .5rem; font-size: 1.1rem; }

/* Features, each with a small piece of the real interface */
.cell { grid-column: span 4; min-width: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s, opacity .6s; }
.cell:hover { transform: translateY(-3px); border-color: #c4b0f7; box-shadow: 0 16px 36px rgba(59, 31, 143, .09); }
.cell h3 { font-size: 1.2rem; }
.cell > p { font-size: .98rem; margin-top: .25rem; }
.ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--brand-ink); margin-bottom: .75rem; }
.mini { margin-top: auto; padding-top: 1rem; font-size: .82rem; line-height: 1.5; }
.m-row { display: flex; align-items: center; gap: .5rem; padding: .32rem .55rem; border-radius: 9px; background: var(--soft2); color: var(--ink); font-weight: 600; margin-top: .3rem; }
.m-row i { width: 8px; height: 8px; border-radius: 50%; background: #a78bfa; flex: none; }
.m-row i.late { background: #dc2626; }
.m-row span { flex: 1; min-width: 0; }
.m-row small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.m-row small.bad { color: #ef4444; }
.m-row small.wait { color: var(--brand-ink); }
.m-flow { gap: .7rem; background: linear-gradient(135deg, #171a3a, #241f55); border-radius: 12px; padding: .7rem; }
.m-flow.nodes li { min-height: 48px; font-size: .78rem; color: #c9c6e6; }
.m-flow.nodes li.done, .m-flow.nodes li.now { color: #fff; }
.m-flow.nodes li::after { width: calc(.7rem + 2px); }
.pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.pills span { background: var(--soft); color: var(--brand-ink); border-radius: 14px; padding: .05rem .6rem; font-size: .78rem; font-weight: 700; }
.m-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; border-radius: 12px; background: var(--soft2); }
.m-wave i { width: 4px; height: var(--h); border-radius: 3px; background: linear-gradient(var(--brand), #a855f7); animation: pulse 1.3s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes pulse { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* A day in Masahati */
.day { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.day::before { content: ''; position: absolute; top: 21px; inset-inline: 16.7%; height: 2px; background: linear-gradient(90deg, #c4b0f7, var(--brand), #c4b0f7); }
.day li { position: relative; text-align: center; padding-inline: 1rem; }
.time { position: relative; display: inline-grid; place-items: center; min-height: 42px; padding-inline: 1rem; border-radius: 21px; background: var(--brand); color: #fff; font-size: .9rem; font-weight: 800; box-shadow: 0 0 0 7px var(--page); }
.day h3 { font-size: 1.2rem; margin-top: .85rem; }
.day p { font-size: .98rem; margin-top: .25rem; }

/* Steps */

/* More */
.more { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.more span { display: inline-flex; align-items: center; gap: .35rem; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: .3rem .95rem; color: var(--ink); font-size: .95rem; font-weight: 600; }
.more svg { color: var(--ok); }

/* Custom dashboard */
.band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; background: #1c1842; color: #d9d5ee; border-radius: 28px; padding: clamp(1.8rem, 4.5vw, 3.8rem); }
.band::before { content: ''; position: absolute; inset-block-start: -40%; inset-inline-end: -8%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .4), transparent 68%); pointer-events: none; }
.band > * { position: relative; }
.band h2 { color: #fff; }
.band p { margin-top: .6rem; max-width: 42em; }
.band ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.band li { background: rgba(255, 255, 255, .1); border-radius: 20px; padding: .12rem .9rem; font-size: .92rem; font-weight: 600; color: #fff; }
.band .btn { flex: none; }

details { border-bottom: 1px solid var(--line); padding-block: .95rem; }
summary { cursor: pointer; color: var(--ink); font-weight: 800; font-size: 1.08rem; }
details p { margin-top: .35rem; }

.final { text-align: center; padding-block: 3rem 5.5rem; }
.final p { margin: .4rem 0 1.3rem; font-size: 1.1rem; }
.cta.center { justify-content: center; }

/* Features: six equal cards, preview on top */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feat { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); border-color: #c4b0f7; box-shadow: 0 16px 36px rgba(59, 31, 143, .09); }
.shot { height: 178px; display: flex; flex-direction: column; justify-content: center; gap: .1rem; padding: 1.1rem 1.2rem; background: radial-gradient(circle at 85% 0, var(--glow-1), transparent 60%), var(--soft2); border-bottom: 1px solid var(--line); font-size: .82rem; line-height: 1.5; }
.shot .m-row { background: var(--card); box-shadow: 0 1px 2px rgba(23, 26, 58, .05); }
.shot .m-row.is-done span { text-decoration: line-through; color: var(--muted); }
.shot .m-row.is-done i { background: var(--ok); }
.feat-body { padding: 1.1rem 1.3rem 1.3rem; }
.feat-body h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; }
.feat-body .ic { width: 34px; height: 34px; margin: 0; border-radius: 10px; flex: none; }
.feat-body p { font-size: .96rem; margin-top: .45rem; }
.m-draft { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; padding: .35rem .6rem; border-radius: 9px; border: 1px dashed #c4b0f7; color: var(--brand-ink); font-weight: 700; font-size: .78rem; }
.m-doc { position: relative; background: var(--card); border-radius: 12px; padding: .7rem .85rem; box-shadow: 0 6px 18px rgba(23, 26, 58, .07); }
.m-doc b { display: block; color: var(--ink); margin-bottom: .3rem; }
.m-line { display: flex; justify-content: space-between; padding: .18rem 0; border-top: 1px solid var(--line); color: var(--text); }
.m-line em { font-style: normal; font-weight: 800; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.m-pdf { position: absolute; top: .6rem; inset-inline-end: .7rem; background: #fee2e2; color: #b91c1c; border-radius: 6px; padding: 0 .4rem; font-size: .68rem; font-weight: 800; }
.shot .m-flow { margin: 0; }
.shot .m-wave { background: var(--card); }
.m-said { margin-top: .55rem; text-align: center; color: var(--ink); font-weight: 600; }
.m-plan { background: var(--card); border-radius: 12px; padding: .7rem .85rem; box-shadow: 0 6px 18px rgba(23, 26, 58, .07); }
.m-plan b { display: flex; align-items: center; gap: .35rem; color: var(--brand-ink); margin-bottom: .35rem; }
.m-step { display: flex; align-items: flex-start; gap: .5rem; padding: .2rem 0; color: var(--ink); font-weight: 600; }
.m-step em { font-style: normal; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--brand-ink); font-size: .7rem; font-weight: 800; }

/* AI marker and the richer previews */
.ai-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .05rem .5rem; border-radius: 20px; background: linear-gradient(100deg, var(--brand), #a855f7); color: #fff; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.m-input { display: flex; align-items: center; gap: .4rem; padding: .3rem .35rem .3rem .7rem; margin-bottom: .35rem; border-radius: 10px; border: 1.5px solid #c4b0f7; background: var(--card); color: var(--muted); font-weight: 600; }
.m-input span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-mic, .m-plus { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; font-style: normal; }
.m-mic { background: var(--soft); color: var(--brand-ink); }
.m-plus { background: var(--brand); color: #fff; font-weight: 800; }
.m-mail { display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem; border-radius: 10px; background: var(--card); box-shadow: 0 1px 2px rgba(23, 26, 58, .05); }
.m-mail .av { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-size: .78rem; }
.m-mail span { flex: 1; min-width: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mail strong { color: var(--ink); margin-inline-end: .35rem; }
.m-mail small { font-size: .72rem; font-weight: 700; color: var(--brand-ink); }
.m-reply { margin-top: .45rem; padding: .5rem .6rem; border-radius: 10px; border: 1px dashed #c4b0f7; background: var(--card); }
.m-reply p { margin: .3rem 0 .35rem; color: var(--ink); font-weight: 600; }
.m-send { display: inline-block; padding: 0 .65rem; border-radius: 7px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; }
.m-doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.m-doc-head b { margin: 0; }
.m-doc .m-pdf { position: static; }
.m-by { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .72rem; color: var(--muted); font-weight: 600; }
.m-proj { background: var(--card); border-radius: 12px; padding: .65rem .8rem; box-shadow: 0 6px 18px rgba(23, 26, 58, .07); }
.m-proj-head { display: flex; justify-content: space-between; color: var(--ink); }
.m-proj-head em { font-style: normal; font-weight: 800; color: var(--brand-ink); }
.m-bar { height: 6px; border-radius: 3px; background: var(--soft); margin: .3rem 0 .4rem; overflow: hidden; }
.m-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #a855f7); border-radius: 3px; }
.m-phase { display: flex; align-items: center; gap: .45rem; padding: .12rem 0; color: var(--muted); font-weight: 600; }
.m-phase i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--line2); flex: none; }
.m-phase small { margin-inline-start: auto; font-size: .7rem; font-weight: 700; }
.m-phase.done { color: var(--ink); } .m-phase.done i { background: var(--ok); border-color: var(--ok); } .m-phase.done small { color: var(--ok); }
.m-phase.wait { color: var(--ink); } .m-phase.wait i { background: #fbbf24; border-color: #fbbf24; } .m-phase.wait small { color: #b45309; }
[data-theme="dark"] .m-phase.wait small { color: #fcd34d; }
.m-result { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .45rem; color: var(--ok); font-weight: 700; font-size: .78rem; }
.m-plan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.m-plan-head b { margin: 0; color: var(--ink); }
.m-step em { width: auto; height: auto; padding: 0 .4rem; border-radius: 6px; font-variant-numeric: tabular-nums; }
.m-step span { flex: 1; }
.m-step small { font-size: .68rem; font-weight: 800; color: #ef4444; }

/* Who it is for: icon, story, before/after */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.persona { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem 1.4rem 1.3rem; overflow: hidden; }
.persona::before { content: ''; position: absolute; top: -60px; inset-inline-end: -60px; width: 170px; height: 170px; border-radius: 50%; background: var(--c); opacity: .08; }
.persona-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--c); color: #fff; box-shadow: 0 12px 24px -8px var(--c); margin-bottom: 1rem; }
.persona h3 { font-size: 1.2rem; }
.persona > p { font-size: .97rem; margin-top: .35rem; }
.ba { display: grid; gap: .45rem; margin-top: auto; padding-top: 1.1rem; }
.ba-row { display: flex; gap: .55rem; align-items: baseline; padding: .5rem .7rem; border-radius: 12px; font-size: .9rem; line-height: 1.55; }
.ba-row b { flex: none; font-size: .75rem; padding: 0 .5rem; border-radius: 10px; }
.ba-row.before { background: var(--soft2); color: var(--muted); }
.ba-row.before b { background: var(--line); color: var(--muted); }
.ba-row.after { background: var(--ok-bg); color: var(--ink); font-weight: 600; }
.ba-row.after b { background: var(--ok); color: #fff; }

/* Steps: numbered, joined by a line, each with a small preview */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps::before { content: ''; position: absolute; top: 22px; inset-inline: 16.7%; height: 2px; background: repeating-linear-gradient(90deg, #c4b0f7 0 8px, transparent 8px 14px); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-n { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--page), 0 10px 22px rgba(106, 61, 232, .3); }
.step-ui { width: 100%; height: 132px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; margin: 1.1rem 0 .9rem; padding: .9rem; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(circle at 85% 0, var(--glow-1), transparent 60%), var(--soft2); font-size: .8rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .96rem; margin-top: .25rem; max-width: 30ch; }
.m-field { width: 78%; padding: .2rem .6rem; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--muted); text-align: start; }
.m-cta { width: 78%; padding: .2rem; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; }
.m-bubble { display: flex; align-items: center; gap: .45rem; max-width: 92%; padding: .45rem .7rem; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 600; text-align: start; }
.m-bubble .m-mic { background: rgba(255, 255, 255, .2); color: #fff; }
.m-action { display: flex; align-items: center; gap: .45rem; width: 92%; padding: .45rem .55rem; border-radius: 12px; background: var(--card); border: 1px solid var(--ok-line); color: var(--ink); font-weight: 600; text-align: start; }
.m-action span { flex: 1; }
.m-action svg { color: var(--ok); flex: none; }
.m-action b { padding: 0 .55rem; border-radius: 7px; background: var(--ok); color: #fff; font-size: .72rem; }

/* Who it is for, privacy */
.kicker .beta { display: inline-block; margin-inline-start: .4rem; padding: 0 .55rem; border-radius: 20px; background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); font-size: .78em; }
.safe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--soft2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.6rem, 4vw, 3rem); }
.safe p { margin-top: .5rem; }
.safe ul { list-style: none; display: grid; gap: .7rem; }
.safe li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-weight: 600; }
.safe li svg { flex: none; margin-top: .35rem; color: var(--ok); }

/* Plan */
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(106, 61, 232, .24); }
.btn-brand:hover { background: var(--brand-d); }
.plan { display: grid; gap: .8rem; max-width: 460px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.4rem; }
.plan-price { color: var(--brand-ink); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.plan ul { list-style: none; display: grid; gap: .45rem; margin-bottom: .5rem; }
.plan li { display: flex; align-items: center; gap: .5rem; }
.plan li svg { flex: none; color: var(--ok); }
.foot { border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; }

[data-theme="dark"] .flow, [data-theme="dark"] .m-flow { background: #14152b; box-shadow: inset 0 0 0 1px var(--line); }

/* Sections rise in as they enter the screen (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .cell.reveal.in:hover { transform: translateY(-3px); }

@media (max-width: 1080px) {
    .who, .safe { grid-template-columns: 1fr; }
    .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
    .feats { grid-template-columns: repeat(2, 1fr); }
    .band { flex-direction: column; align-items: flex-start; }
    .nav-links { display: none; }
    .menu-btn { display: grid; }
    .nav-links.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; inset-inline: 0; padding: .4rem 1.25rem 1rem; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(23, 26, 58, .08); }
    .nav-links.is-open a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
    .nav-signup { display: none; }
    .wrap { width: min(1280px, 100% - 2.5rem); }
    .feats { grid-template-columns: 1fr; }
    .steps, .day { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .day::before { display: none; }
    .section { padding-block: 3.2rem; }
    .cta .btn, .band .btn { width: 100%; }
    .nav-end { gap: .45rem; }
    .nav-in { gap: .6rem; }
    .demo-tabs { justify-content: space-between; gap: 0; padding: .35rem .4rem; font-size: .7rem; }
    .demo-tabs span { padding: .14rem .3rem; gap: .15rem; }
    .links { display: none; }
    .tiles { grid-template-columns: 1fr 1fr; margin-top: .2rem; }
    .nodes { grid-template-columns: repeat(3, 1fr); }
    .nodes li:nth-child(3n)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .cell, .demo * { transition: none; }
    .voice.is-on .waves i, .m-wave i { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
