/* Self-hosted font: no visitor data goes to Google. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --brand: #5b5bd6; --brand-2: #6e6ef7; --teal: #14b8a6; --ink: #14152b; --text: #2a2b45; --muted: #64668a;
  --bg: #fbfbfe; --surface: #fff; --soft: #f3f3fb; --border: #e6e7f2; --radius: 16px; --max: 1160px;
  --shadow: 0 1px 2px rgba(20, 21, 43, .04), 0 12px 32px -12px rgba(20, 21, 43, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.025em; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 91, 214, .7); }
.btn-primary:hover { background: #4a49b8; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.btn-white { background: #fff; color: var(--ink); }
:focus-visible { outline: 3px solid rgba(91, 91, 214, .45); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 254, .82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(230, 231, 242, .8); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background: radial-gradient(900px 500px at 0% -10%, rgba(110, 110, 247, .18), transparent 60%), radial-gradient(700px 420px at 100% 0%, rgba(20, 184, 166, .14), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: rgba(91, 91, 214, .1); color: var(--brand); font-weight: 600; font-size: .82rem; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--brand-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 56ch; margin: 22px 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: .92rem; }
.checks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* Product mock */
.mock { background: var(--surface); border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(20, 21, 43, .35), 0 0 0 1px var(--border); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--soft); font-size: .78rem; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dae8; }
.mock-bar span { margin-left: 8px; }
.mock-body { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 360px; }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--border); background: linear-gradient(180deg, #fafaff, #fff); }
.msg { margin: 0; padding: 9px 12px; border-radius: 14px; font-size: .8rem; line-height: 1.45; max-width: 92%; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--soft); color: var(--text); border-bottom-left-radius: 4px; }
.msg.ai b { color: var(--brand); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #a6a6c8; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.site { padding: 14px; background: #fffaf5; }
.site-nav { display: flex; justify-content: space-between; font-size: .72rem; color: #7a5b48; margin-bottom: 18px; }
.site-nav b { color: #2b1a10; }
.site-hero { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, #ffe9d6, #fffaf5 75%); }
.site-hero .pill { justify-self: start; font-size: .65rem; font-weight: 700; color: #c2410c; background: rgba(194, 65, 12, .1); padding: 3px 8px; border-radius: 999px; }
.site-hero strong { font-size: 1.05rem; line-height: 1.2; color: #2b1a10; letter-spacing: -.02em; }
.site-hero .cta { justify-self: start; font-size: .7rem; font-weight: 700; color: #fff; background: #c2410c; padding: 7px 12px; border-radius: 999px; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.site-cards span { height: 64px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #f1e2d6; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { margin: 0 0 10px; color: var(--brand); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; max-width: 22ch; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-2), var(--teal)); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3, .card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p, .card p { margin: 0; color: var(--muted); font-size: .97rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(91, 91, 214, .1); margin-bottom: 16px; position: relative; }
.ic::after { content: ""; position: absolute; inset: 11px; background: var(--brand); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic[data-i="chat"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ic[data-i="code"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 18l6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.ic[data-i="bolt"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
.ic[data-i="globe"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E"); }
.ic[data-i="mail"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E"); }
.ic[data-i="wp"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.ic[data-i="server"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='8' rx='2'/%3E%3Crect x='2' y='13' width='20' height='8' rx='2'/%3E%3Cpath d='M6 7h.01M6 17h.01'/%3E%3C/svg%3E"); }
.ic[data-i="inbox"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z'/%3E%3C/svg%3E"); }
.ic[data-i="shield"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

/* Pricing */
.toggle { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--border); }
.toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 21, 43, .1); }
.toggle em { font-style: normal; font-size: .75rem; color: #0f766e; background: rgba(20, 184, 166, .12); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.plan.hl { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 91, 214, .1), 0 24px 60px -30px rgba(91, 91, 214, .55); }
.badge { position: absolute; top: -12px; left: 30px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.tag { margin: 4px 0 18px; color: var(--muted); font-size: .92rem; }
.price { margin: 0; font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 10px; }
.fine { margin-top: 22px; color: var(--muted); font-size: .88rem; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details:first-of-type { margin-top: 32px; border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* Final CTA + footer */
.final { padding: 88px 0; }
.final-inner { text-align: center; padding: 64px 24px; border-radius: 28px; background: linear-gradient(135deg, var(--brand), #4a49b8 45%, var(--teal)); color: #fff; }
.final h2 { color: #fff; margin: 0 auto; }
.final p { opacity: .9; margin: 12px 0 28px; font-size: 1.1rem; }
.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 1rem; }
  .menu-btn { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 56px 0 64px; }
  .mock-body { grid-template-columns: 1fr; }
  .chat { border-right: 0; border-bottom: 1px solid var(--border); }
  .section { padding: 72px 0; }
  .grid, .plans { grid-template-columns: 1fr; }
  .final-inner { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Grid children may shrink below their content width (prevents horizontal overflow on phones). */
.hero-grid > *, .grid > *, .plans > *, .steps > *, .mock-body > * { min-width: 0; }

.billed { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 22px; padding: 8px 8px 8px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(91, 91, 214, .08), rgba(20, 184, 166, .08)); box-shadow: inset 0 0 0 1px rgba(91, 91, 214, .14); color: #4a49b8; font-size: .88rem; font-weight: 600; min-height: 40px; }
.save { flex-shrink: 0; font-size: .74rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .7); }
.save:empty { display: none; }
.plan.hl .billed { background: linear-gradient(90deg, rgba(91, 91, 214, .14), rgba(20, 184, 166, .12)); }

/* How it works — timeline */
.how { position: relative; }
.how-head { text-align: center; max-width: 640px; margin: 0 auto; }
.how-head h2 { margin: 0 auto; max-width: none; }
.how-head .sub { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.timeline { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: calc(16.66% + 10px); right: calc(16.66% + 10px); height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand-2), var(--teal)); opacity: .35; }
.step { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.step-badge { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -10px rgba(91, 91, 214, .6); }
.step-badge span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.step-badge.done span { background: linear-gradient(135deg, var(--teal), #0d9488); }
.step-card { margin-top: 22px; width: 100%; height: 100%; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20, 21, 43, .35); }
.step-card h3 { font-size: 1.2rem; margin: 20px 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.step-art { height: 150px; border-radius: 14px; background: linear-gradient(160deg, #f4f4ff, #f2fbf9); box-shadow: inset 0 0 0 1px #ececf8; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 22px; text-align: left; }
.art-register .field { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 9px; padding: 8px 10px; box-shadow: 0 0 0 1px var(--border); font-size: .75rem; color: var(--muted); }
.art-register .field i { width: 14px; height: 14px; border-radius: 4px; background: rgba(91, 91, 214, .18); }
.art-register .field b { font-weight: 500; }
.art-register .go { align-self: stretch; text-align: center; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 8px; border-radius: 9px; }
.art-tell { gap: 10px; }
.bubble { margin: 0; font-size: .76rem; line-height: 1.45; padding: 8px 11px; border-radius: 12px; max-width: 90%; }
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; display: inline-flex; gap: 4px; background: #fff; box-shadow: 0 0 0 1px var(--border); }
.bubble.ai span { width: 6px; height: 6px; border-radius: 50%; background: #a6a6c8; animation: blink 1.2s infinite; }
.bubble.ai span:nth-child(2) { animation-delay: .2s; }
.bubble.ai span:nth-child(3) { animation-delay: .4s; }
.art-ready { position: relative; align-items: stretch; }
.browser { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--border), 0 10px 24px -14px rgba(20, 21, 43, .35); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: var(--soft); }
.browser .bar i { width: 6px; height: 6px; border-radius: 50%; background: #d4d5e6; }
.browser .bar em { font-style: normal; font-size: .62rem; color: var(--muted); margin-left: 6px; background: #fff; padding: 1px 8px; border-radius: 6px; }
.browser .page { padding: 12px; display: grid; gap: 6px; }
.browser .page b { display: block; height: 8px; border-radius: 4px; background: #e3e3f5; }
.browser .page b:first-child { width: 70%; height: 11px; background: linear-gradient(90deg, var(--brand-2), var(--teal)); opacity: .7; }
.browser .page b:nth-child(2) { width: 50%; }
.browser .page span { width: 64px; height: 18px; border-radius: 6px; background: var(--brand); margin-top: 4px; }
.live { position: absolute; right: 14px; bottom: 12px; background: #fff; color: #0f766e; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(20, 184, 166, .35), 0 6px 16px -8px rgba(20, 184, 166, .8); }
.how-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.how-cta span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin-left: auto; margin-right: auto; }
  .timeline::before { top: 27px; bottom: 60px; left: 26px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--brand-2), var(--teal)); }
  .step { flex-direction: row; align-items: flex-start; gap: 16px; padding-bottom: 24px; }
  .step-badge { flex-shrink: 0; }
  .step-card { margin-top: 0; text-align: left; }
}

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-side { position: sticky; top: 92px; font-size: .9rem; }
.legal-docs { display: grid; gap: 2px; margin-bottom: 24px; }
.legal-docs a { text-decoration: none; color: var(--muted); padding: 7px 10px; border-radius: 8px; font-weight: 500; }
.legal-docs a:hover { background: var(--soft); color: var(--ink); }
.legal-docs a[aria-current="page"] { background: rgba(91, 91, 214, .1); color: var(--brand); }
.legal-toc-title { margin: 0 0 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.legal-toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: calc(100vh - 320px); overflow: auto; }
.legal-toc a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.legal-toc a:hover { color: var(--brand); }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.legal-meta { color: var(--muted); font-size: .9rem; margin: 8px 0 28px; }
.legal-lead { font-size: 1.08rem; color: var(--text); }
.legal-body h2 { font-size: 1.3rem; margin: 40px 0 12px; scroll-margin-top: 90px; max-width: none; }
.legal-body p, .legal-body li { color: #3f415e; }
.legal-body ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-body a { color: var(--brand); }
.legal-summary { margin: 24px 0 8px; padding: 18px 22px; border-radius: 14px; background: linear-gradient(90deg, rgba(91, 91, 214, .07), rgba(20, 184, 166, .07)); box-shadow: inset 0 0 0 1px rgba(91, 91, 214, .15); }
.legal-summary p { margin-top: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { background: var(--soft); color: var(--ink); font-weight: 600; }
.legal-contact { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.legal-body .linklike { color: var(--brand); text-decoration: underline; }
.linklike:hover { color: var(--ink); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-side { position: static; }
  .legal-toc { display: none; }
  .legal-toc-title { display: none; }
  .legal-docs { grid-template-columns: repeat(2, 1fr); }
  .legal-table { display: block; overflow-x: auto; }
}

/* Cookie consent banner */
.cc { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-right: auto; /* bottom-left: the chat bubble is bottom-right */ background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(20, 21, 43, .45), 0 0 0 1px var(--border); padding: 20px 22px; font-size: .92rem; }
.cc[hidden] { display: none; }
.cc h2 { font-size: 1.05rem; margin: 0 0 6px; max-width: none; }
.cc p { margin: 0 0 14px; color: var(--muted); }
.cc a { color: var(--brand); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { height: 38px; }
.cc-prefs { display: grid; gap: 10px; margin: 0 0 14px; }
.cc-prefs[hidden] { display: none; }
.cc-prefs label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.cc-prefs input { margin-top: 4px; accent-color: var(--brand); }
.cc-prefs b { display: block; color: var(--ink); }
.cc-prefs span span { color: var(--muted); font-size: .85rem; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.cc [hidden] { display: none !important; }

.ic[data-i="users"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.pill-mini { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--brand); background: rgba(91, 91, 214, .1); }

/* Contact page */
.contact-page { padding-top: 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-grid h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-points li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.contact-points b { color: var(--ink); }
.contact-points span { color: var(--muted); font-size: .95rem; }
.contact-points a { color: var(--brand); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { display: block; margin-top: 6px; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(91, 91, 214, .35); border-color: var(--brand); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .fine { margin: 0; font-size: .82rem; }
.contact-form .fine a { color: var(--brand); }
.contact-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: .92rem; }
.contact-error[hidden], .contact-done[hidden], .contact-form[hidden] { display: none; }
.contact-done { text-align: center; padding: 24px 8px; }
.contact-done .done-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--teal), #0d9488); }
.contact-done p { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .contact-form .row2 { grid-template-columns: 1fr; } }

/* New feature icons */
.ic[data-i="palette"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='1'/%3E%3Ccircle cx='17.5' cy='10.5' r='1'/%3E%3Ccircle cx='8.5' cy='7.5' r='1'/%3E%3Ccircle cx='6.5' cy='12.5' r='1'/%3E%3Cpath d='M12 2a10 10 0 0 0 0 20c1 0 1.7-.8 1.7-1.7 0-.4-.2-.8-.4-1.1-.3-.3-.4-.7-.4-1.1 0-.9.8-1.7 1.7-1.7H16a6 6 0 0 0 6-6C22 6 17.5 2 12 2z'/%3E%3C/svg%3E"); }
.ic[data-i="lang"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E"); }
.ic[data-i="calendar"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M9 16l2 2 4-4'/%3E%3C/svg%3E"); }
.ic[data-i="copy"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
.ic[data-i="plug"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-5M9 8V2M15 8V2M18 8v5a6 6 0 0 1-12 0V8z'/%3E%3C/svg%3E"); }

/* Measured speed, free trial and lifetime deal */
.speed { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #10b981 12%, transparent); color: #047857; font-weight: 600; font-size: .92rem; }
.speed small { font-weight: 500; opacity: .75; }
.trial-note { margin-top: 28px; }
.lifetime { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 24px auto 0; max-width: 960px; padding: 22px 26px; border-radius: 18px; border: 1px solid #f3d38a; background: linear-gradient(135deg, #fff8e6, #fff 55%, #f1f0ff); text-align: left; }
.lifetime h3 { margin: 4px 0; }
.lifetime p { margin: 0; color: #55566e; }
.lt-kicker { display: inline-block; font-size: .8rem; font-weight: 700; color: #92400e !important; background: #fde9b8; padding: 2px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .speed { color: #6ee7b7; } }
/* display rules above must not override the hidden attribute (shown only when the API has data) */
.lifetime[hidden], .speed[hidden] { display: none; }
/* Equal-height plan cards with the button pinned to the bottom */
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan li.free-dom { color: #047857; font-weight: 600; }
.plan li.free-dom:empty { display: none; }
.nav-cta [hidden], .menu [hidden] { display: none !important; }

/* Small info tooltip (keyboard and tap accessible, no JavaScript) */
.tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: var(--soft, #f1f1f7); color: var(--muted, #6b6b80); font: 700 11px/1 Georgia, serif; font-style: italic; cursor: help; vertical-align: 1px; outline: none; }
.tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; padding: 10px 12px; border-radius: 10px; background: #14152b; color: #fff; font: 400 12.5px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; font-style: normal; text-align: left; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 20; pointer-events: none; }
.tip:hover::after, .tip:focus::after { opacity: 1; visibility: visible; }
.tip:focus-visible { box-shadow: 0 0 0 2px var(--brand, #5b5bd6); }
@media (max-width: 640px) { .tip::after { left: auto; right: -12px; transform: none; width: 220px; } }
.local-note { margin-top: 18px; }
.local-note[hidden] { display: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand, #5b5bd6); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* AI Employee: receptionist + instant lead reply showcases */
.employee .sub { max-width: 60ch; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.showcase.flip .show-copy { order: 2; }
.show-tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(20, 184, 166, .12); color: #0f8a7e; font-weight: 700; font-size: .78rem; }
.show-copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 14px 0 12px; line-height: 1.2; }
.show-copy > p { margin: 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(91, 91, 214, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5bd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.show-art { position: relative; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(110, 110, 247, .12), rgba(20, 184, 166, .1)); min-height: 380px; }
.rc { width: min(330px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(20, 21, 43, .35); overflow: hidden; }
.rc-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--brand); color: #fff; }
.rc-head b { display: block; font-size: .86rem; }
.rc-head small { font-size: .72rem; opacity: .85; }
.rc-dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.rc-msgs { display: flex; flex-direction: column; gap: 7px; padding: 12px; background: #f7f7fb; }
.rc-m { margin: 0; max-width: 84%; padding: 8px 11px; border-radius: 13px; font-size: .8rem; line-height: 1.45; }
.rc-m.bot { align-self: flex-start; background: #fff; border: 1px solid #ececf6; border-bottom-left-radius: 4px; }
.rc-m.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.rc-m[dir="rtl"] { font-family: Tahoma, "Segoe UI", sans-serif; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 12px; background: #f7f7fb; }
.rc-chips span { font-size: .74rem; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #dcdcea; color: var(--ink); }
.rc-teaser { position: absolute; right: 28px; bottom: 96px; background: #fff; border-radius: 13px; padding: 9px 30px 9px 13px; font-size: .82rem; color: var(--ink); box-shadow: 0 10px 28px -8px rgba(20, 21, 43, .3); }
.rc-teaser i { position: absolute; top: 3px; right: 8px; font-style: normal; color: #8a8ca8; }
.rc-btn { position: absolute; right: 28px; bottom: 28px; width: 54px; height: 54px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 10px 24px -8px rgba(91, 91, 214, .8); }
.lr { display: grid; gap: 10px; }
.lr-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: #fff; border-radius: 14px; box-shadow: 0 8px 22px -14px rgba(20, 21, 43, .35); }
.lr-row b { display: block; font-size: .86rem; color: var(--ink); }
.lr-row small { display: block; font-size: .76rem; color: var(--muted); }
.lr-row time { margin-left: auto; font-size: .74rem; color: var(--muted); }
.lr-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .9rem; background: rgba(91, 91, 214, .12); color: var(--brand); }
.lr-row.out .lr-ic { background: rgba(20, 184, 166, .15); color: #0f8a7e; }
.lr-row.next { opacity: .75; }
.lr-mail { padding: 16px 18px; background: #fff; border-radius: 14px; border-left: 3px solid var(--teal); box-shadow: 0 16px 36px -20px rgba(20, 21, 43, .4); font-size: .82rem; line-height: 1.55; color: #33344d; }
.lr-mail p { margin: 0 0 8px; }
.lr-mail .lr-sub { font-weight: 700; color: var(--ink); font-size: .88rem; }
.lr-mail .lr-sig { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .showcase.flip .show-copy { order: 0; }
  .show-art { min-height: 0; padding: 20px 20px 92px; }
  .rc { margin: 0 auto; }
  .rc-teaser { right: 20px; bottom: 82px; }
  .rc-btn { right: 20px; bottom: 20px; }
  .showcase.flip .show-art { padding-bottom: 20px; }
}

/* Blog (thenexi.com/blog and "From the blog" on the home page) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card img, .post-card-ph { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: linear-gradient(135deg, rgba(110, 110, 247, .18), rgba(20, 184, 166, .16)); }
.post-card-body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.post-card-body time { font-size: .8rem; color: var(--muted); }
.post-card-body b { color: var(--ink); font-size: 1.06rem; line-height: 1.35; letter-spacing: -.01em; }
.post-card-body span { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-latest-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.blog-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 14px; }
.blog-head .sub { max-width: 62ch; }
.post-wrap { max-width: 760px; }
.post h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 6px 0 12px; }
.post-crumbs { margin: 0; font-size: .9rem; } .post-crumbs a { color: var(--brand); text-decoration: none; font-weight: 600; }
.post-meta { margin: 0 0 24px; color: var(--muted); font-size: .92rem; }
.post-photo { margin: 0 0 28px; } .post-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }
.post-photo figcaption { margin-top: 6px; font-size: .78rem; color: var(--muted); } .post-photo figcaption a { color: inherit; }
.post-body { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.post-body p { margin: 0 0 18px; }
.post-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 38px 0 14px; max-width: none; scroll-margin-top: 90px; }
.post-body h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.post-body ul { margin: 0 0 20px; padding-left: 22px; } .post-body li { margin: 6px 0; }
.post-body a { color: var(--brand); }
.post-body details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; background: var(--surface); }
.post-body summary { cursor: pointer; font-weight: 600; color: var(--ink); } .post-body details p { margin: 10px 0 0; }
.post-toc { margin: 8px 0 26px; padding: 16px 20px; border-radius: 14px; background: var(--soft); font-size: .95rem; }
.post-toc ol { margin: 8px 0 0; padding-left: 20px; } .post-toc a { color: var(--text); text-decoration: none; } .post-toc a:hover { color: var(--brand); }
.post-cta { margin: 36px 0 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(110, 110, 247, .1), rgba(20, 184, 166, .1)); text-align: center; }
.post-cta p { margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.post-more { margin-top: 64px; } .post-more h2 { font-size: 1.5rem; }
.post-more .post-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Hero: "your AI employee today" */
.day { padding-bottom: 6px; }
.day-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 16px 6px; }
.day-stats div { padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(110, 110, 247, .1), rgba(20, 184, 166, .1)); }
.day-stats b { display: block; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.day-stats small { font-size: .74rem; color: var(--muted); }
.day-feed { list-style: none; margin: 0; padding: 10px 16px 14px; display: grid; gap: 8px; }
.day-feed li { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--border); animation: rise .5s ease both; }
.day-feed li:nth-child(2) { animation-delay: .08s; } .day-feed li:nth-child(3) { animation-delay: .16s; } .day-feed li:nth-child(4) { animation-delay: .24s; } .day-feed li:nth-child(5) { animation-delay: .32s; }
.day-feed b { display: block; font-size: .84rem; color: var(--ink); }
.day-feed small { display: block; font-size: .74rem; color: var(--muted); }
.day-feed time { margin-left: auto; font-size: .72rem; color: var(--muted); }
.di { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .9rem; background: rgba(91, 91, 214, .1); }
.di-wa { background: rgba(37, 211, 102, .14); } .di-pay { background: rgba(20, 184, 166, .16); color: #0f8a7e; font-weight: 800; } .di-tax { background: rgba(245, 158, 11, .15); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Industries strip */
.industries { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.ind-title { margin: 0 0 16px; text-align: center; color: var(--muted); font-weight: 600; font-size: .95rem; }
.ind-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ind-chips li { padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .9rem; font-weight: 500; }

/* AI Employee showcases: invoice, briefing, VAT */
.employee .how-head { margin-bottom: 8px; }
.inv, .brief, .vat { width: min(340px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(20, 21, 43, .35); padding: 18px; font-size: .82rem; }
.inv-head, .vat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.inv-head b, .vat-head b { color: var(--ink); font-size: .95rem; } .inv-head small { display: block; color: var(--muted); }
.inv-st { padding: 3px 10px; border-radius: 999px; background: rgba(20, 184, 166, .15); color: #0f8a7e; font-weight: 700; font-size: .75rem; }
.inv-to { padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.inv-to small { display: block; font-weight: 400; color: var(--muted); }
.inv-line, .vat-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--text); }
.inv-line.muted { color: var(--muted); }
.inv-total, .vat-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 2px solid var(--ink); font-size: .95rem; color: var(--ink); font-weight: 700; }
.inv-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.inv-pay span { text-align: center; padding: 8px 0; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; font-size: .78rem; }
.inv-pay span:last-child { background: var(--brand); }
.float-chip { position: absolute; padding: 8px 13px; border-radius: 12px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(20, 21, 43, .35); }
.float-chip.c1 { top: 18px; right: 18px; } .float-chip.c2 { bottom: 18px; left: 18px; }
.brief-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 1.3rem; }
.brief-top b { display: block; font-size: .95rem; color: var(--ink); } .brief-top small { font-size: .74rem; color: var(--muted); }
.brief ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.brief li { display: flex; align-items: center; gap: 9px; color: var(--text); }
.brief li i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.b-blue { background: var(--brand); } .b-amber { background: #f59e0b; } .b-red { background: #ef4444; } .b-green { background: var(--teal); }
.brief-voice { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--text); font-style: italic; }
.brief-voice span { display: inline-block; margin-right: 8px; font-style: normal; font-weight: 700; color: var(--brand); }
.brief-done { margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(20, 184, 166, .12); color: #0f766e; font-weight: 600; }
.vat-head span { padding: 3px 10px; border-radius: 999px; background: rgba(245, 158, 11, .15); color: #b45309; font-weight: 700; font-size: .74rem; white-space: nowrap; }
.vat-row b { color: var(--ink); white-space: nowrap; }
.vat-row span { color: var(--muted); }

/* Everything it can do */
.all { margin-top: 72px; padding: 32px; border-radius: 24px; background: var(--bg); border: 1px solid var(--border); }
.all h3 { text-align: center; font-size: 1.3rem; margin-bottom: 24px; }
.all-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.all-h { margin: 0 0 10px; font-weight: 700; color: var(--brand); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.all ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .94rem; }
.all li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }
.all-grid > * { min-width: 0; }

/* Partners */
.partners-band { padding: 0 0 96px; }
.pb-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, rgba(110, 110, 247, .1), rgba(20, 184, 166, .1)); border: 1px solid var(--border); }
.pb-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 26ch; margin-bottom: 10px; }
.pb-inner p:not(.kicker) { margin: 0; color: var(--muted); max-width: 62ch; }
.pb-inner .btn { flex-shrink: 0; }

@media (max-width: 980px) { .all-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .day-stats b { font-size: 1.05rem; }
  .all { padding: 24px 20px; } .all-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pb-inner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .float-chip { position: static; display: inline-block; margin-top: 10px; }
}
@media (max-width: 460px) { .all-grid { grid-template-columns: 1fr; } .day-feed time { display: none; } }
.inv, .brief, .vat { margin: 34px auto; }
@media (max-width: 900px) { .show-art:has(.inv), .show-art:has(.vat) { padding-bottom: 20px; } .inv, .brief, .vat { margin: 0 auto; } }

/* Industry chips are links to sign-up with that industry */
.ind-chips a { display: block; text-decoration: none; color: inherit; }
.ind-chips li { transition: background .15s, box-shadow .15s; }
.ind-chips li:hover { background: #fff; box-shadow: 0 0 0 1px var(--brand), 0 8px 18px -10px rgba(91, 91, 214, .5); }
.ind-chips li a { margin: -8px -14px; padding: 8px 14px; }
.ind-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }

/* Compare plans */
.compare { margin-top: 40px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.compare summary { cursor: pointer; padding: 18px 24px; font-weight: 700; color: var(--ink); font-size: 1.05rem; list-style: none; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "▾"; float: right; color: var(--muted); transition: transform .2s; }
.compare[open] summary::after { transform: rotate(180deg); }
.compare-wrap { overflow-x: auto; border-top: 1px solid var(--border); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-size: .9rem; color: var(--ink); }
.compare thead th.hl { color: var(--brand); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); width: 44%; }
.compare tbody th small { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.compare td.y { color: var(--teal); font-weight: 800; font-size: 1.05rem; }
.compare td.n { color: #c3c4d6; }
.compare tr.grp td { text-align: left; padding: 18px 16px 8px; font-weight: 700; color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: var(--bg); }
.compare td:nth-child(3) { background: rgba(91, 91, 214, .04); }
.compare tr.grp td:nth-child(3) { background: var(--bg); }
.compare .fine { padding: 0 24px 18px; margin-top: 14px; }

/* Add-ons (one feature from a bigger plan) */
.addons { margin-top: 28px; padding: 28px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.addons-head { text-align: center; margin-bottom: 22px; }
.addons-head h3 { font-size: 1.25rem; }
.addons-head p { margin: 6px 0 0; color: var(--muted); }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.addons-grid > * { min-width: 0; }
.addons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.addons li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.addons li b { color: var(--ink); white-space: nowrap; }
.addons li b::after { content: "/mo"; font-weight: 400; color: var(--muted); font-size: .8rem; }
.addons .bundles li { padding: 10px 0; }
.addons .bundles small { display: block; color: var(--muted); font-size: .8rem; }
.addons-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { .addons-grid { grid-template-columns: 1fr; gap: 20px; } .addons { padding: 22px 18px; } }

/* Pricing cards: compact, wraps only between chunks, hanging indent under the tick */
.plans { gap: 14px; }
.plan { padding: 26px 20px; }
.plan ul { align-content: start; }
.price { font-size: clamp(2rem, 2.6vw, 2.4rem); white-space: nowrap; }
.plan ul { font-size: .92rem; gap: 9px; }
.plan li { position: relative; padding-left: 24px; line-height: 1.4; }
.plan li::before { position: absolute; left: 0; top: 0; margin-right: 0; }
.plan li .nw, .billed > span { white-space: nowrap; }
.plan li .dot { color: var(--muted); margin: 0 2px; }
.billed { flex-wrap: nowrap; gap: 6px; padding: 6px 6px 6px 10px; font-size: .82rem; }
.billed .save { padding: 4px 8px; font-size: .7rem; }
.tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Contact: quick answers under the form */
.contact-more { margin-top: 56px; }
.contact-more h2 { font-size: 1.4rem; margin-bottom: 18px; }
.contact-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-more-grid > div { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.contact-more-grid h3 { font-size: 1rem; margin: 0 0 6px; }
.contact-more-grid p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.contact-more-grid a { color: var(--brand); }
@media (max-width: 980px) { .contact-more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .contact-more-grid { grid-template-columns: 1fr; } }

/* ───── Motion: live hero card, floating icons, scroll reveals (all off with "reduce motion") ───── */
.hero-art { position: relative; }
.float { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #fff; font-size: 1.25rem; box-shadow: 0 14px 30px -12px rgba(20, 21, 43, .35), 0 0 0 1px var(--border); animation: float 6s ease-in-out infinite; }
.float.f1 { top: -20px; left: -22px; }
.float.f2 { top: -20px; right: 64px; animation-delay: -1.5s; }
.float.f3 { bottom: 70px; left: -26px; animation-delay: -3s; }
.float.f4 { bottom: -18px; right: 48px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-3deg); } }
.mock-bar .live-dot { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 600; color: #0f8a7e; }
.mock-bar .live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); } 100% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } }
.day-feed li.new { animation: slidein .55s cubic-bezier(.2, .8, .2, 1) both; }
.day-feed li.out { animation: fadeout .4s ease both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeout { to { opacity: 0; transform: translateY(8px); } }
.day-stats b.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: #0f8a7e; } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (max-width: 760px) { .float { display: none; } }

/* ───────── Help centre (/docs) ───────── */
.docs-home-link { margin-left: 18px; font-weight: 600; color: var(--muted); text-decoration: none; font-size: .95rem; }
.docs-home-link:hover { color: var(--brand); }
.docs { padding: 36px 0 80px; }
.docs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 200px; gap: 48px; align-items: start; }
.docs-side { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding-bottom: 20px; }
.docs-nav { display: grid; gap: 1px; margin-top: 14px; font-size: .9rem; }
.docs-group { margin: 16px 0 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.docs-nav a { text-decoration: none; color: var(--text); padding: 6px 10px; border-radius: 8px; }
.docs-nav a:hover { background: var(--soft); }
.docs-nav a[aria-current="page"] { background: rgba(91, 91, 214, .1); color: var(--brand); font-weight: 600; }
.docs-search { position: relative; }
.docs-search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364668a' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center; padding: 0 12px 0 36px; font: inherit; font-size: .92rem; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.docs-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 91, 214, .12); }
.docs-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); max-height: 420px; overflow: auto; min-width: 300px; }
.docs-results a { display: grid; gap: 2px; padding: 9px 11px; border-radius: 10px; text-decoration: none; color: var(--text); outline: none; }
.docs-results a:hover, .docs-results a:focus { background: var(--soft); }
.docs-results strong { color: var(--ink); font-size: .92rem; }
.docs-results small { color: var(--brand); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.docs-results span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.docs-results mark { background: rgba(91, 91, 214, .15); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.docs-results .none { padding: 12px; color: var(--muted); font-size: .88rem; }
.docs-body { min-width: 0; max-width: 780px; }
.docs-crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.docs-crumbs a { color: var(--muted); text-decoration: none; }
.docs-crumbs a:hover { color: var(--brand); }
.docs-body h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.docs-lead { font-size: 1.1rem; color: var(--muted); margin: 12px 0 28px; line-height: 1.55; }
.docs-body h2 { font-size: 1.35rem; margin: 40px 0 12px; scroll-margin-top: 90px; letter-spacing: -.01em; }
.docs-body h3 { font-size: 1.08rem; margin: 26px 0 8px; scroll-margin-top: 90px; }
.docs-body p, .docs-body li { color: #3a3c58; line-height: 1.7; }
.docs-body ul, .docs-body ol { padding-left: 22px; display: grid; gap: 7px; }
.docs-body ol > li::marker { color: var(--brand); font-weight: 700; }
.docs-body li > ul, .docs-body li > ol { margin-top: 7px; }
.docs-body a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.docs-body code { background: var(--soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: .86em; color: var(--ink); }
.docs-body strong { color: var(--ink); }
.doc-tip { display: flex; gap: 12px; margin: 20px 0; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(91, 91, 214, .08), rgba(20, 184, 166, .08)); box-shadow: inset 0 0 0 1px rgba(91, 91, 214, .15); }
.doc-tip p { margin: 0; }
.doc-table { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 14px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc-table th { text-align: left; background: var(--soft); color: var(--ink); font-weight: 600; padding: 10px 14px; }
.doc-table td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top; color: #3a3c58; line-height: 1.55; }
.docs-help { margin: 44px 0 24px; padding: 18px 20px; border-radius: 14px; background: var(--soft); color: var(--text); }
.docs-pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 22px; }
.docs-pager a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; max-width: 48%; transition: border-color .15s; }
.docs-pager a:hover { border-color: var(--brand); color: var(--brand); }
.docs-pager a.next { text-align: right; margin-left: auto; }
.docs-pager small { color: var(--muted); font-weight: 500; font-size: .78rem; }
.docs-toc { position: sticky; top: 92px; font-size: .85rem; }
.docs-toc p { margin: 0 0 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.docs-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-left: 2px solid var(--border); }
.docs-toc a { color: var(--muted); text-decoration: none; display: block; padding-left: 12px; margin-left: -2px; border-left: 2px solid transparent; }
.docs-toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.docs-index { padding: 0 0 80px; }
.docs-hero { padding: 64px 0 56px; background: radial-gradient(1000px 360px at 20% -10%, rgba(91, 91, 214, .16), transparent), radial-gradient(800px 320px at 90% 0%, rgba(20, 184, 166, .14), transparent); text-align: center; border-bottom: 1px solid var(--border); }
.docs-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; margin: 6px 0 10px; }
.docs-hero > .wrap > p:not(.docs-popular) { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 24px; }
.docs-search-hero { max-width: 600px; margin: 0 auto; text-align: left; }
.docs-search-hero input { height: 56px; font-size: 1.02rem; border-radius: 16px; padding-left: 44px; background-position: 16px center; box-shadow: var(--shadow); }
.docs-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; font-size: .86rem; max-width: 760px; }
.docs-popular span { color: var(--muted); align-self: center; }
.docs-popular a { text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.docs-popular a:hover { border-color: var(--brand); color: var(--brand); }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.docs-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 22px 12px; box-shadow: 0 1px 2px rgba(20, 21, 43, .03); }
.docs-card h2 { font-size: 1.08rem; margin: 0 0 10px; }
.docs-card ul { list-style: none; padding: 0; margin: 0; }
.docs-card li { border-top: 1px solid var(--border); }
.docs-card li:first-child { border-top: 0; }
.docs-card li a { display: block; padding: 10px 0 2px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.docs-card li a:hover { color: var(--brand); }
.docs-card li span { display: block; padding-bottom: 10px; color: var(--muted); font-size: .84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .docs-grid { grid-template-columns: 230px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 820px) {
  .docs-grid { grid-template-columns: 1fr; gap: 24px; }
  .docs-side { position: static; max-height: none; }
  .docs-nav { display: none; }
  .docs-home-link { display: none; }
  .docs-pager a { max-width: none; }
}
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); background: var(--soft); transition: color .15s, background .15s, transform .15s; }
.social a:hover { color: #fff; background: var(--brand); transform: translateY(-1px); }

/* ---------- Floating nav (after scrolling) ---------- */
.nav { transition: background .25s, border-color .25s; }
.nav-inner { transition: max-width .3s, margin .3s, padding .3s, border-radius .3s, box-shadow .3s, background .3s, height .3s; }
.nav.scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.nav.scrolled .nav-inner { max-width: 1180px; margin-top: 10px; height: 60px; padding: 0 10px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(20, 21, 43, .04), 0 18px 40px -18px rgba(20, 21, 43, .28); border: 1px solid rgba(230, 231, 242, .9); }
.nav.scrolled .btn { border-radius: 999px; }
@media (max-width: 900px) { .nav.scrolled .nav-inner { margin: 8px 10px 0; } .nav.scrolled .links { top: 70px; border-radius: 18px; } }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font: 600 .85rem Inter, sans-serif; color: var(--ink); cursor: pointer; }
.lang-btn img, .lang-list img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .6; }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 44px -16px rgba(20, 21, 43, .3); }
[dir="rtl"] .lang-list { right: auto; left: 0; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--text); }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--soft); color: var(--ink); }
.lang-list a[aria-current]::after { content: "✓"; margin-inline-start: auto; color: var(--brand); font-weight: 700; }
@media (max-width: 460px) { .lang-btn span { display: none; } .lang-btn { padding: 0 10px; } }

/* Serif-italic accent inside headings (system serif: no extra font download). */
.film h2 em, .film h3 em, .work h2 em { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.01em; }
[lang="ar"] .film h2 em, [lang="ar"] .film h3 em, [lang="ar"] .work h2 em { font-family: inherit; font-style: normal; font-weight: 800; }

/* ---------- Film: four animated scenes ---------- */
.film { padding: 88px 0 40px; }
.film-head { margin-bottom: 28px; }
.film-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; }
.film-head h2 em { color: var(--brand); }
.film-stage { position: relative; overflow: hidden; border-radius: 32px; color: #e8eaff; background: radial-gradient(900px 500px at 85% 0%, rgba(110, 110, 247, .35), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(20, 184, 166, .22), transparent 60%), #0d0e24; box-shadow: 0 40px 80px -40px rgba(20, 21, 43, .6); }
.film-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.film-scenes { display: grid; position: relative; }
.scene { grid-area: 1 / 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: center; padding: 56px 56px 30px; min-height: 520px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scene.on { opacity: 1; visibility: visible; }
.scene-k { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a5b4fc; background: rgba(165, 180, 252, .12); border: 1px solid rgba(165, 180, 252, .25); }
.scene h3 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.06; }
.scene h3 em { color: #7dd3fc; }
.scene-copy > p:last-child { margin: 18px 0 0; font-size: 1.06rem; line-height: 1.6; color: #b8bce0; max-width: 420px; }
.scene-art { position: relative; min-height: 400px; }

/* Elements play in one after another while their scene is on. */
.film .a { opacity: 0; transform: translateY(14px) scale(.98); }
.scene.on .a { animation: film-in .55s cubic-bezier(.2, .8, .2, 1) forwards; }
.scene.on .d1 { animation-delay: .15s; } .scene.on .d2 { animation-delay: .7s; } .scene.on .d3 { animation-delay: 1.5s; } .scene.on .d4 { animation-delay: 2.2s; }
.scene.on .d5 { animation-delay: 2.9s; } .scene.on .d6 { animation-delay: 3.7s; } .scene.on .d7 { animation-delay: 4.5s; } .scene.on .d8 { animation-delay: 5.2s; }
@keyframes film-in { to { opacity: 1; transform: none; } }
.film-stage.paused .a, .film-stage.paused .bar i, .film-stage.paused .scene * { animation-play-state: paused !important; }

/* Scene 1: ChatGPT + website */
.gpt { position: absolute; left: 0; top: 0; width: 58%; z-index: 2; padding: 18px; border-radius: 22px; background: #171933; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.gpt-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.gpt-top b { color: #fff; font-size: .95rem; }
.gpt-top small { margin-inline-start: auto; font-size: .72rem; font-weight: 600; color: #86efac; background: rgba(34, 197, 94, .12); padding: 3px 9px; border-radius: 999px; }
.gpt-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #10a37f; color: #fff; font-size: .9rem; }
.gpt-me { margin: 12px 0 0 auto; width: fit-content; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #5b5bd6; color: #fff; font-size: .9rem; line-height: 1.4; }
[dir="rtl"] .gpt-me { margin: 12px auto 0 0; border-radius: 16px 16px 16px 4px; }
.gpt-me.sm { padding: 7px 12px; font-size: .82rem; }
.gpt-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.gpt-steps li { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: #d7dbff; padding: 8px 11px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.gpt-steps i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #052e16; font-size: .66rem; font-weight: 800; }
.gpt-ask { margin: 10px 0 0; font-size: .86rem; color: #c7cbf0; }
.site { position: absolute; right: 0; top: 54px; width: 56%; border-radius: 18px; overflow: hidden; background: #f8fafc; color: #0f172a; box-shadow: 0 30px 70px -20px rgba(91, 91, 214, .55); }
.site-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; background: #e2e8f0; }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.site-bar span { margin-inline-start: 8px; flex: 1; background: #fff; border-radius: 6px; padding: 3px 10px; font-size: .7rem; color: #64748b; }
.site-body { padding: 14px 14px 64px 30%; display: grid; gap: 10px; }
.post { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; }
.post b { display: block; font-size: .8rem; line-height: 1.25; }
.post small { font-size: .68rem; color: #64748b; }
.post em { display: inline-block; font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1d4ed8; background: #dbeafe; padding: 2px 6px; border-radius: 4px; margin-bottom: 3px; }
.post.new { border-color: #a5b4fc; box-shadow: 0 0 0 4px rgba(165, 180, 252, .3); }
.post-img { flex: none; width: 46px; height: 46px; border-radius: 9px; background: linear-gradient(135deg, #f9a8d4, #f472b6 50%, #be185d); }
.post-img.p2 { background: linear-gradient(135deg, #fde68a, #f59e0b); } .post-img.p3 { background: linear-gradient(135deg, #a7f3d0, #10b981); }
.seo { position: absolute; left: 30%; right: 14px; bottom: 12px; display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; row-gap: 6px; padding: 8px 12px; border-radius: 12px; background: #0f172a; color: #fff; font-size: .75rem; }
.seo-n { position: relative; font-size: 1rem; }
.seo-n s, .seo-n ins { text-decoration: none; }
.seo-n ins { position: absolute; inset-inline-end: 0; opacity: 0; color: #4ade80; }
.seo > i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.seo > i u { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, #fbbf24, #4ade80); border-radius: 6px; }
.scene.on .seo-n s { animation: seo-out .3s 6s forwards; }
.scene.on .seo-n ins { animation: seo-in .3s 6.1s forwards; }
.scene.on .seo > i u { animation: seo-bar 1s 5.9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes seo-out { to { opacity: 0; } } @keyframes seo-in { to { opacity: 1; } } @keyframes seo-bar { to { width: 94%; } }

/* Scene 2: WhatsApp */
.phone { position: absolute; left: 4%; top: 0; width: 300px; border-radius: 34px; padding: 10px; background: #1b1c33; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .7); }
.wa-top { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 24px 24px 6px 6px; background: #075e54; color: #fff; }
.wa-top span, .rcp-top span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f472b6; font-weight: 800; color: #fff; flex: none; }
.wa-top b, .rcp-top b { display: block; font-size: .86rem; color: #fff; } .wa-top small, .rcp-top small { font-size: .7rem; opacity: .75; }
.wa-chat { min-height: 300px; padding: 14px 10px; border-radius: 6px 6px 24px 24px; background: #0b141a; display: flex; flex-direction: column; gap: 8px; }
.wa-out, .wa-in { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.4; color: #e9edef; }
.wa-out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.wa-in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }
.wa-stats { position: absolute; right: 0; top: 30px; width: 44%; display: grid; gap: 12px; }
.stat { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.stat small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #a5b4fc; }
.stat b { font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.stat span { margin-inline-start: 6px; font-size: .8rem; color: #b8bce0; }
.stat i { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.stat i u { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #22c55e, #86efac); }
.scene.on .stat i u { animation: fill-bar 2.4s 1s cubic-bezier(.3, .7, .3, 1) forwards; }
@keyframes fill-bar { to { width: 100%; } }
.toast { padding: 12px 16px; border-radius: 14px; background: #fff; color: #14152b; font-weight: 700; font-size: .9rem; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); width: fit-content; }

/* Scene 3: email */
.mail { position: absolute; left: 0; top: 0; width: 60%; border-radius: 20px; overflow: hidden; background: #f8fafc; color: #0f172a; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }
.mail-row { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #e2e8f0; font-size: .82rem; }
.mail-row small { width: 58px; color: #64748b; flex: none; }
.mail-row.sub { font-weight: 700; }
.mail-body { padding: 16px; display: grid; gap: 9px; }
.mail-body u { display: block; height: 9px; border-radius: 5px; background: #e2e8f0; } .mail-body u.s { width: 60%; }
.mail-btn { margin-top: 6px; width: fit-content; padding: 9px 14px; border-radius: 9px; background: #5b5bd6; color: #fff; font-size: .78rem; font-weight: 700; }
.mail-stats { position: absolute; right: 0; top: 24px; width: 34%; display: grid; gap: 12px; }
.mail-stats .stat i u { background: linear-gradient(90deg, #6e6ef7, #7dd3fc); }
.toast.hot { position: absolute; left: 8%; bottom: 18px; }

/* Scene 4: receptionist → booking → paid */
.rcp { position: absolute; left: 0; top: 0; width: 56%; padding: 0 0 14px; border-radius: 22px; overflow: hidden; background: #0b141a; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }
.rcp-top { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #5b5bd6; color: #fff; margin-bottom: 4px; }
.rcp .wa-in, .rcp .wa-out { margin: 0 12px; }
.rcp .wa-out { margin-left: auto; } [dir="rtl"] .rcp .wa-out { margin-left: 12px; margin-right: auto; }
.cal, .paid { position: absolute; right: 0; width: 40%; padding: 16px 18px; border-radius: 18px; background: #fff; color: #14152b; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); }
.cal { top: 40px; } .paid { top: 190px; }
.cal small, .paid small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64668a; }
.cal b, .paid b { display: block; margin: 4px 0 8px; font-size: 1.15rem; }
.cal span, .paid span { display: inline-block; font-size: .8rem; font-weight: 700; color: #15803d; background: #dcfce7; padding: 4px 10px; border-radius: 999px; }

/* Controls */
.film-ui { position: relative; display: flex; align-items: center; gap: 20px; padding: 18px 24px 22px 56px; }
.film-chapters { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.film-chapters button { width: 100%; padding: 0; border: 0; background: none; color: #8f94c4; font: 600 .82rem Inter, sans-serif; text-align: start; cursor: pointer; }
.film-chapters button[aria-current] { color: #fff; }
.bar { display: block; height: 3px; margin-bottom: 9px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.film-chapters li.done .bar i { width: 100%; background: rgba(255, 255, 255, .5); }
.film-chapters button[aria-current] .bar i { animation: film-bar 9s linear forwards; }
@keyframes film-bar { to { width: 100%; } }
.film-ctrl { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.film-count { direction: ltr; unicode-bidi: isolate; padding: 0 10px; font-size: .8rem; font-weight: 600; color: #b8bce0; font-variant-numeric: tabular-nums; }
.film-count b { color: #fff; }
.fc { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.fc:hover { background: rgba(255, 255, 255, .2); }
.fc-next { background: #7dd3fc; color: #0d0e24; } .fc-next:hover { background: #bae6fd; }
[dir="rtl"] .fc svg { transform: scaleX(-1); }
.fc .i-play { display: none; } .paused .fc .i-play { display: block; } .paused .fc .i-pause { display: none; }

@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; gap: 26px; padding: 34px 22px 10px; min-height: 0; align-content: start; }
  /* Small screens: the cards stack in normal flow instead of overlapping. */
  .scene-art { min-height: 0; display: grid; gap: 12px; align-content: start; }
  .scene-art > * { position: relative; inset: auto; width: auto; max-width: 100%; }
  .gpt-ask, .gpt-me.sm, .post:not(.new), .mail-body u, .wa-chat .wa-in + .wa-out { display: none; }
  .site-body { padding: 12px 12px 58px; } .seo { left: 12px; }
  .phone { width: auto; border-radius: 26px; } .wa-chat { min-height: 0; }
  .wa-stats, .mail-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wa-stats .toast { grid-column: 1 / -1; }
  .stat { padding: 10px 12px; } .stat b { font-size: 1.25rem; } .stat span { display: block; margin: 0; font-size: .72rem; }
  .toast.hot { position: relative; left: auto; bottom: auto; }
  .cal, .paid { width: auto; top: auto; right: auto; }
  .scene-art:has(.cal) { grid-template-columns: 1fr 1fr; } .rcp { grid-column: 1 / -1; }
  .film-ui { flex-direction: column-reverse; align-items: stretch; padding: 14px 18px 20px; }
  .film-chapters { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .film-chapters button { font-size: 0; } /* bars only on small screens */
  .film-ctrl { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .film .a, .film .seo-n ins { opacity: 1 !important; transform: none !important; } .film .seo-n s { opacity: 0; } .film .seo > i u, .film .stat i u { width: 100%; } }

/* ---------- Showcase marquee ---------- */
.work { padding: 72px 0 80px; overflow: hidden; }
.work-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.work-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; }
.work-head h2 em { color: var(--brand); }
.work-head > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; margin: 0; padding: 10px 0 20px; list-style: none; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 13px)); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; } @keyframes marquee-rtl { to { transform: translateX(calc(50% + 13px)); } }
.wk { width: 440px; flex: none; }
.wk-frame { display: block; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(20, 21, 43, .05), 0 24px 50px -24px rgba(20, 21, 43, .35); border: 1px solid var(--border); transition: transform .3s; }
.wk-frame:hover { transform: translateY(-6px); }
.wk-bar { display: flex; gap: 5px; padding: 9px 12px; background: #f1f2f8; border-bottom: 1px solid var(--border); }
.wk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d6e6; }
.wk-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.wk p { display: flex; justify-content: space-between; gap: 12px; margin: 14px 4px 0; font-size: .92rem; }
.wk p b { color: var(--ink); }
.wk p span { color: var(--muted); }
.work-cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.work-cta span { color: var(--muted); }
@media (max-width: 860px) { .work-head { grid-template-columns: 1fr; gap: 14px; } .wk { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }
/* Longer menu words in German and French: never wrap; tighten the gaps on narrower screens. */
.links a { white-space: nowrap; }
@media (max-width: 1320px) { .links { gap: 18px; margin-left: 4px; } .nav-inner { gap: 16px; } }
@media (max-width: 1100px) and (min-width: 901px) { .links a[href="/contact"], .links a[href="/blog"] { display: none; } }
/* No sideways scrolling on phones (decorations and the RTL page can reach past the edge); clip keeps sticky working. */
html, body { overflow-x: clip; }
.skip { left: 16px; top: -100px; }
.skip:focus { top: 16px; }
.all-h-gap { margin-top: 18px; }

/* ---------- Hero (v2) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { padding: 72px 0 88px; background: radial-gradient(800px 520px at 8% -10%, rgba(110, 110, 247, .2), transparent 62%), radial-gradient(640px 460px at 100% 10%, rgba(20, 184, 166, .16), transparent 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(91, 91, 214, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 91, 214, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(700px 420px at 30% 20%, #000, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; grid-template-columns: 1.08fr 1fr; gap: 64px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--border), 0 8px 20px -12px rgba(20, 21, 43, .3); color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.hero-badge:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #c9c9f3, 0 12px 26px -12px rgba(91, 91, 214, .45); }
.hero-badge span { padding: 3px 10px; border-radius: 999px; background: linear-gradient(120deg, var(--brand-2), var(--teal)); color: #fff; font-size: .74rem; font-weight: 700; }
.hero-badge i { font-style: normal; color: var(--brand); }
[dir="rtl"] .hero-badge i { transform: scaleX(-1); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.02; letter-spacing: -.035em; }
.rot { display: grid; margin-top: .08em; }
.rot b { grid-area: 1 / 1; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.015em; background: linear-gradient(120deg, var(--brand-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; opacity: 0; transform: translateY(.45em); animation: rot 12s infinite; }
[lang="ar"] .rot b { font-family: inherit; font-style: normal; font-weight: 800; }
.rot b:nth-child(2) { animation-delay: 3s; } .rot b:nth-child(3) { animation-delay: 6s; } .rot b:nth-child(4) { animation-delay: 9s; }
@keyframes rot { 0% { opacity: 0; transform: translateY(.45em); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-.45em); } }
.hero .lead { margin: 22px 0 28px; font-size: 1.16rem; }
.btn-play { gap: 10px; }
.play-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); position: relative; flex: none; box-shadow: 0 0 0 5px rgba(91, 91, 214, .15); }
.play-dot::after { content: ""; position: absolute; left: 9px; top: 7px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.ch-l { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-inline-end: 6px; }
.ch { padding: 5px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--border); font-size: .8rem; font-weight: 600; color: var(--text); }
/* Hero card: soft frame and floating status cards instead of emoji bubbles */
.hero-art { padding: 26px 10px 26px 26px; }
.hero-art::before { content: ""; position: absolute; inset: 0 0 0 0; border-radius: 30px; background: linear-gradient(150deg, rgba(110, 110, 247, .16), rgba(20, 184, 166, .12)); transform: rotate(-2.5deg); }
.hero-art .mock { position: relative; }
.hero-art .float { display: none; }
.hf { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--border), 0 18px 36px -16px rgba(20, 21, 43, .4); animation: hf 6s ease-in-out infinite; }
.hf b { display: block; font-size: .8rem; color: var(--ink); } .hf small { display: block; font-size: .72rem; color: var(--muted); }
.hf-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .9rem; flex: none; }
.hf-gpt { background: #10a37f; } .hf-wa { background: #25d366; font-size: .7rem; } .hf-star { background: #f59e0b; }
.hf1 { top: -8px; left: -34px; } .hf2 { bottom: 70px; left: -52px; animation-delay: -2s; } .hf3 { bottom: -14px; right: 6px; animation-delay: -4s; }
@keyframes hf { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .hf1 { left: -6px; } .hf2 { left: -10px; } }
@media (max-width: 900px) { .hero-art { margin-top: 18px; padding: 18px 6px 18px 14px; } .hf2 { display: none; } .hf1 { left: 4px; top: -16px; } }
@media (prefers-reduced-motion: reduce) { .rot b { opacity: 0 !important; } .rot b:first-child { opacity: 1 !important; transform: none !important; } }

/* Showcase stays inside the page width */
.marquee { max-width: calc(var(--max) - 40px); margin: 0 auto; border-radius: 22px; }
@media (max-width: 1200px) { .marquee { margin: 0 20px; } }
.hero h1 { font-size: clamp(2.4rem, 4.7vw, 3.75rem); }
.rot b { white-space: nowrap; }
.hero-art { padding-top: 48px; }
.hf1 { top: 0; left: 40px; } .hf3 { bottom: -10px; right: 0; }
@media (max-width: 900px) { .hf1 { left: 10px; top: 0; } .hero-art { padding-top: 40px; } }
@media (max-width: 460px) { .rot b { white-space: normal; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 44px 0 64px; } }

/* ---------- Full-screen hero banner (copy fixed on the left, the four product scenes play on the right) ---------- */
.hero-banner { position: relative; overflow: hidden; min-height: min(100svh, 920px); margin-top: -68px; padding: 128px 0 56px; display: flex; align-items: center; color: #c9cdf0; background: #090a1f; }
.hero-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(900px 600px at 70% 40%, #000, transparent 75%); pointer-events: none; }
.hb-bg { position: absolute; inset: 0; overflow: hidden; }
.hb-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: hb-drift 18s ease-in-out infinite alternate; }
.hb-glow.g1 { width: 620px; height: 620px; left: -160px; top: -200px; background: #4f46e5; }
.hb-glow.g2 { width: 560px; height: 560px; right: -120px; top: 10%; background: #0ea5a4; opacity: .4; animation-duration: 22s; }
.hb-glow.g3 { width: 520px; height: 420px; left: 35%; bottom: -260px; background: #7c3aed; opacity: .38; animation-duration: 26s; }
@keyframes hb-drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hb-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; width: 100%; }
.hero-banner h1 { color: #fff; font-size: clamp(2.4rem, 4.5vw, 3.7rem); line-height: 1.03; letter-spacing: -.035em; }
.hero-banner .rot b { background: linear-gradient(120deg, #a5b4fc, #5eead4); -webkit-background-clip: text; background-clip: text; }
.hero-banner .lead { color: #b4b9e0; margin: 22px 0 28px; font-size: 1.12rem; }
.hero-banner .hero-badge { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.hero-banner .hero-badge i { color: #a5b4fc; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.hero-banner .checks { color: #a3a8d4; }
.hero-banner .checks li::before { color: #5eead4; }
.hero-banner .channels { border-top-color: rgba(255, 255, 255, .1); }
.hero-banner .ch-l { color: #8a90c0; }
.hero-banner .ch { background: rgba(255, 255, 255, .06); color: #dfe2ff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero-banner .speed { background: rgba(94, 234, 212, .12); color: #5eead4; }
/* The film inside the banner: no card of its own, a short caption above each scene */
.hero-film { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.hero-film::before { display: none; }
.hero-film .scene { grid-template-columns: 1fr; gap: 18px; padding: 0; min-height: 0; align-content: start; }
.hero-film .scene-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.hero-film .scene-k { margin: 0; }
.hero-film .scene h3 { font-size: 1.35rem; }
.hero-film .scene-copy > p:last-child { display: none; }
.hero-film .scene-art { min-height: 430px; }
.hero-film .film-ui { padding: 22px 0 0; }
.hero-film .film-chapters button { font-size: .76rem; }
/* Menu bar over the dark banner (until it turns into the white pill on scroll) */
.nav-dark:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.nav-dark:not(.scrolled) .links a { color: #c9cdf0; } .nav-dark:not(.scrolled) .links a:hover { color: #fff; }
.nav-dark:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
.nav-dark:not(.scrolled) .btn-ghost, .nav-dark:not(.scrolled) .lang-btn { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.nav-dark:not(.scrolled) .menu-btn span { background: #fff; }
@media (max-width: 1100px) { .hb-grid { grid-template-columns: 1fr; gap: 40px; } .hero-banner { min-height: 0; padding-top: 112px; } .hero-film .scene-art { min-height: 400px; } }
@media (max-width: 900px) {
  .hero-film .scene-art { min-height: 0; }
  .hero-film .film-ui { padding: 16px 0 0; }
  .nav-dark:not(.scrolled) .links.open { background: #fff; } .nav-dark:not(.scrolled) .links.open a { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .hb-glow { animation: none; } }
.logo .logo-dark { display: none; }
.nav-dark:not(.scrolled) .logo img { filter: none; }
.nav-dark:not(.scrolled) .logo .logo-light { display: none; } .nav-dark:not(.scrolled) .logo .logo-dark { display: block; }
@media (min-width: 1101px) { .hb-grid { grid-template-columns: 1fr 1.05fr; } }
.hero-banner h1 { font-size: clamp(2.3rem, 4vw, 3.35rem); }
.film-count { white-space: nowrap; }
.hero-film .film-chapters button { font-size: 0; padding: 10px 0; }
.hero-film .film-chapters .bar { margin: 0; height: 4px; }
.hero-film .film-ui { align-items: center; }

/* "Your website" — animated panels (steps driven by app.js: [data-s].on) */
.sv { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; margin-top: 44px; }
.sv-p { position: relative; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); padding: 22px; overflow: hidden; }
.sv-build { grid-row: span 2; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 18px; background: linear-gradient(160deg, #f6f5ff, #fff 55%); }
.sv-lbl { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sv-lbl i { width: 22px; height: 22px; border-radius: 7px; background: rgba(91, 91, 214, .12); position: relative; flex: none; }
.sv-lbl i::after { content: ""; position: absolute; inset: 5px; background: var(--brand); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sv-spark { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.6 5.2 2.8 9.4 11 11-8.2 1.6-10.4 5.8-11 11-.6-5.2-2.8-9.4-11-11 8.2-1.6 10.4-5.8 11-11Z'/%3E%3C/svg%3E"); }
.sv-globe { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E"); }
.sv-env { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E"); }

/* shared reveal */
.sv [data-s] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), color .6s, background .6s; }
.sv [data-s].on { opacity: 1; transform: none; }

/* chat */
.sv-chat { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sv-msg { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: .84rem; line-height: 1.45; }
.sv-msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.sv-msg.ai { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.sv-typing { display: flex; gap: 4px; padding: 13px 14px; }
.sv-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a5a6c9; animation: svDot 1s infinite; }
.sv-typing i:nth-child(2) { animation-delay: .15s; } .sv-typing i:nth-child(3) { animation-delay: .3s; }
.sv-typing:not(.on) { display: none; }
@keyframes svDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* browser */
.sv-browser { position: relative; min-width: 0; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 48px -28px rgba(20, 21, 43, .35); overflow: hidden; align-self: start; }
.sv-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--border); }
.sv-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9dae8; }
.sv-bar span { margin-left: 10px; flex: 1; font-size: .7rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; direction: ltr; text-align: left; }
.sv-page { padding: 14px; background: #fffaf3; min-height: 300px; }
.sv-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.sv-nav b { font-size: .8rem; color: #7c3f12; font-weight: 800; margin-right: auto; white-space: nowrap; }
.sv-nav span { width: 26px; height: 5px; border-radius: 3px; background: #ead9c4; }
.sv-nav em { width: 44px; height: 18px; border-radius: 9px; background: #c2621f; }
.sv-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; }
.sv-copy { min-width: 0; }
.sv-h { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.sv-h.warm { color: #c2410c; }
.sv-line { height: 6px; margin: 0 0 7px; border-radius: 3px; background: #ead9c4; }
.sv-short { width: 70%; }
.sv-cta { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: #c2621f; color: #fff; font-size: .72rem; font-weight: 700; }
.sv-img { position: relative; aspect-ratio: 1 / .9; border-radius: 14px; background: radial-gradient(circle at 70% 25%, #fde3b8, transparent 55%), linear-gradient(150deg, #f4b56a, #b4541a); overflow: hidden; }
.sv-img i { position: absolute; border-radius: 50% 50% 46% 46%; background: linear-gradient(170deg, #f7c27a, #b8611f); box-shadow: inset 0 -6px 10px rgba(80, 30, 0, .3); }
.sv-img i:nth-child(1) { width: 58%; height: 30%; left: 8%; bottom: 14%; transform: rotate(-8deg); }
.sv-img i:nth-child(2) { width: 46%; height: 26%; right: 6%; bottom: 30%; transform: rotate(12deg); }
.sv-img i:nth-child(3) { width: 30%; height: 20%; right: 22%; bottom: 6%; }
.sv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.sv-cards span { height: 58px; border-radius: 10px; background: #fff; border: 1px solid #f0e3d2; position: relative; }
.sv-cards span::before { content: ""; position: absolute; left: 8px; top: 8px; width: 18px; height: 18px; border-radius: 6px; background: #f6dcc0; }
.sv-cards span::after { content: ""; position: absolute; left: 8px; right: 14px; bottom: 10px; height: 5px; border-radius: 3px; background: #ead9c4; }
.sv-cursor { position: absolute; left: 80%; top: 88%; width: 18px; height: 18px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7Z' fill='%2314152b' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: left 1s cubic-bezier(.4, 0, .2, 1), top 1s cubic-bezier(.4, 0, .2, 1), opacity .3s !important; }
.sv-cursor.on { left: 44%; top: 39%; }

/* domain */
.sv-url { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--border); font-weight: 600; color: var(--ink); direction: ltr; }
.sv-lock { width: 16px; height: 16px; flex: none; border-radius: 50%; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Crect x='6' y='11' width='12' height='9' rx='2' fill='white' stroke='none'/%3E%3Cpath d='M8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3C/svg%3E") center / 11px no-repeat; }
.sv-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 2px solid var(--brand); font-size: .92rem; }
.sv-url.on .sv-type { animation: svType 1.6s steps(16) .2s forwards, svCaret .8s step-end infinite; }
@keyframes svType { to { width: 16ch; } }
@keyframes svCaret { 50% { border-color: transparent; } }
.sv-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.sv-checks li { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--text); }
.sv-checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(16, 185, 129, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.sv-checks li:last-child::before { background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: svPulse 2s infinite; }
@keyframes svPulse { 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* mail */
.sv-mail { background: linear-gradient(200deg, #f2fbf9, #fff 60%); }
.sv-addr { margin: -4px 0 12px; font-weight: 700; color: var(--ink); direction: ltr; text-align: start; }
.sv-inbox { display: grid; gap: 8px; }
.sv-mi { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.sv-mi b { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--teal); }
.sv-mi:nth-child(2) b { background: var(--brand); } .sv-mi:nth-child(3) b { background: #f59e0b; }
.sv-mi div { min-width: 0; flex: 1; display: grid; }
.sv-mi strong { font-size: .82rem; color: var(--ink); }
.sv-mi span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-mi em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--brand); background: rgba(91, 91, 214, .1); padding: 2px 8px; border-radius: 999px; }

[dir="rtl"] .sv-msg.me { border-bottom-right-radius: 16px; border-bottom-left-radius: 5px; }
[dir="rtl"] .sv-msg.ai { border-bottom-left-radius: 16px; border-bottom-right-radius: 5px; }
[dir="rtl"] .sv-cursor { direction: ltr; }

@media (max-width: 900px) {
  .sv { grid-template-columns: 1fr; }
  .sv-build { grid-row: auto; grid-template-columns: 1fr; }
  .sv-page { min-height: 0; }
}
@media (max-width: 520px) {
  .sv-p { padding: 16px; border-radius: 18px; }
  .sv-h { font-size: 1.02rem; }
  .sv-hero { grid-template-columns: 1.2fr 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv [data-s] { transition: none; }
  .sv-url .sv-type { width: 16ch; animation: none !important; border-right: 0; }
  .sv-checks li:last-child::before { animation: none; }
}
.sv-browser { align-self: stretch; display: flex; flex-direction: column; }
.sv-page { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.sv-hero { flex: 1; }
.sv-img { aspect-ratio: 1 / 1.05; }
.sv-rate { margin: 12px 0 0; font-size: .72rem; color: #8a6a4d; }
.sv-rate b { color: #f59e0b; letter-spacing: 1px; }
.sv-input { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: .8rem; color: #9a9cbb; }
.sv-input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-input i { width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sv-msg { font-size: .86rem; }
@media (max-width: 900px) { .sv-input { margin-top: 6px; } }

/* "Your website" feature cards: each has a small looping scene that shows the feature (plays only while on screen). */
.fx-card { display: flex; flex-direction: column; padding: 10px 10px 24px; }
.fx-card h3, .fx-card > p { padding: 0 14px; }
.fx-card:hover .fv { border-color: rgba(91, 91, 214, .35); }
.fv { --fvs: 0 12px 26px -14px rgba(20, 21, 43, .35), 0 0 0 1px var(--border); position: relative; height: 172px; margin-bottom: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(circle at 12% 0%, rgba(110, 110, 247, .16), transparent 55%), radial-gradient(circle at 100% 100%, rgba(20, 184, 166, .16), transparent 55%), var(--soft); font-size: 11px; line-height: 1.3; color: var(--text); transition: border-color .2s; }
.fv *, .fv *::before, .fv *::after { animation-play-state: paused; }
.fv.play *, .fv.play *::before, .fv.play *::after { animation-play-state: running; }
.fv-win { position: absolute; background: #fff; border-radius: 10px; box-shadow: var(--fvs); overflow: hidden; }
.fv-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; background: #f6f6fb; border-bottom: 1px solid var(--border); }
.fv-bar > i { width: 6px; height: 6px; border-radius: 50%; background: #d9dae8; }
.fv-bar > span { margin-inline-start: auto; font-size: 9px; font-weight: 600; color: var(--muted); }
.fv-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
.fv-ln { display: block; width: 88%; height: 5px; border-radius: 3px; background: #e9eaf4; }
.fv-ln.fv-s { width: 58%; }
@keyframes fvA { 0%, 9% { opacity: 0; transform: translateY(8px) scale(.97); } 15%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fvB { 0%, 24% { opacity: 0; transform: translateY(8px) scale(.97); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fvC { 0%, 39% { opacity: 0; transform: translateY(8px) scale(.97); } 45%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fvD { 0%, 54% { opacity: 0; transform: translateY(8px) scale(.97); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fvPress { 0%, 62% { transform: none; box-shadow: 0 0 0 0 rgba(91, 91, 214, .5); } 66% { transform: scale(.9); box-shadow: 0 0 0 4px rgba(91, 91, 214, .25); } 71%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(91, 91, 214, 0); } }
@keyframes fvPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

/* Build by chatting */
.fv-chat .fv-win { left: 14px; top: 14px; width: 66%; }
.fv-hd { font-size: 12.5px; font-weight: 800; color: #d9480f; animation: fvWarm 8s infinite; }
.fv-btn { margin-top: 2px; padding: 4px 8px; border-radius: 6px; background: #d9480f; color: #fff; font-size: 9px; font-weight: 700; animation: fvWarmBg 8s infinite; }
@keyframes fvWarm { 0%, 44% { color: var(--ink); } 52%, 92% { color: #d9480f; } 100% { color: var(--ink); } }
@keyframes fvWarmBg { 0%, 44% { background: var(--brand); } 52%, 92% { background: #d9480f; } 100% { background: var(--brand); } }
.fv-chat .fv-bub { position: absolute; right: 12px; top: 80px; max-width: 46%; padding: 7px 10px; border-radius: 12px 12px 3px 12px; background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(91, 91, 214, .8); animation: fvA 8s infinite; }
.fv-ok { position: absolute; right: 12px; bottom: 14px; padding: 6px 10px; border-radius: 12px 12px 12px 3px; background: #fff; color: #0f9f6e; font-weight: 700; box-shadow: var(--fvs); animation: fvD 8s infinite; }

/* 30 industry designs: real showcase sites shuffling like a deck */
.fv-designs img { position: absolute; left: 16px; top: 22px; width: 64%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 14px 28px -14px rgba(20, 21, 43, .5), 0 0 0 1px rgba(20, 21, 43, .08); animation: fvDeck 9s infinite; }
.fv-designs img:nth-child(1) { z-index: 3; }
.fv-designs img:nth-child(2) { z-index: 2; opacity: .95; transform: translate(20%, -5px) rotate(4deg) scale(.92); animation-delay: -6s; }
.fv-designs img:nth-child(3) { z-index: 1; opacity: .8; transform: translate(38%, -10px) rotate(8deg) scale(.84); animation-delay: -3s; }
@keyframes fvDeck {
  0%, 27% { z-index: 3; opacity: 1; transform: none; }
  31% { z-index: 3; opacity: 0; transform: translate(-24%, 8px) rotate(-6deg); }
  32% { z-index: 1; opacity: 0; transform: translate(38%, -10px) rotate(8deg) scale(.84); }
  35%, 61% { z-index: 1; opacity: .8; transform: translate(38%, -10px) rotate(8deg) scale(.84); }
  66%, 94% { z-index: 2; opacity: .95; transform: translate(20%, -5px) rotate(4deg) scale(.92); }
  100% { z-index: 3; opacity: 1; transform: none; }
}
.fv-chip { position: absolute; z-index: 4; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 800; box-shadow: var(--fvs); }

/* Arabic & English */
.fv-lang .fv-win { inset: 16px 20px; }
.fv-lang .fv-body { position: absolute; inset: 20px 0 0; padding: 16px; }
.fv-lang .fv-body b { font-size: 15px; font-weight: 800; color: var(--ink); }
.fv-ar b { font-family: Tahoma, "Segoe UI", sans-serif; }
.fv-en { opacity: 0; animation: fvEn 8s infinite; }
.fv-ar { animation: fvAr 8s infinite; }
@keyframes fvEn { 0%, 42% { opacity: 1; transform: none; } 48%, 94% { opacity: 0; transform: translateX(-10px); } 100% { opacity: 1; transform: none; } }
@keyframes fvAr { 0%, 42% { opacity: 0; transform: translateX(10px); } 48%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }
.fv-tog { display: flex; gap: 2px; padding: 2px; border-radius: 7px; background: #ebebf5; }
.fv-tog em { padding: 1px 7px; border-radius: 5px; font-style: normal; font-weight: 700; color: var(--muted); }
.fv-tog em:first-child { animation: fvTogOn 8s infinite; }
.fv-tog em:last-child { background: var(--brand); color: #fff; animation: fvTogOff 8s infinite; }
@keyframes fvTogOn { 0%, 42% { background: var(--brand); color: #fff; } 48%, 94% { background: transparent; color: var(--muted); } 100% { background: var(--brand); color: #fff; } }
@keyframes fvTogOff { 0%, 42% { background: transparent; color: var(--muted); } 48%, 94% { background: var(--brand); color: #fff; } 100% { background: transparent; color: var(--muted); } }

/* Backups & one-click undo */
.fv-vers { position: absolute; inset: 18px 18px auto; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.fv-vers li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #fff; box-shadow: var(--fvs); font-weight: 600; color: var(--ink); }
.fv-vers b { padding: 1px 6px; border-radius: 5px; background: var(--soft); color: var(--brand); font-size: 9.5px; }
.fv-vers li:first-child b { background: #dcfce7; color: #15803d; }
.fv-vers li:nth-child(1) { animation: fvA 8s infinite; }
.fv-vers li:nth-child(2) { animation: fvB 8s infinite; }
.fv-vers li:nth-child(3) { animation: fvC 8s infinite; opacity: .7; }
.fv-vers em { margin-inline-start: auto; padding: 3px 9px; border-radius: 6px; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; animation: fvPress 8s infinite; }

/* Watched every 10 minutes */
.fv-up { position: absolute; inset: 16px 16px auto; padding: 11px 12px; border-radius: 10px; background: #fff; box-shadow: var(--fvs); }
.fv-st { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); }
.fv-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: fvPulse 1.6s infinite; }
.fv-bars { display: flex; gap: 3px; margin-top: 10px; }
.fv-bars i { flex: 1; height: 18px; border-radius: 3px; background: #22c55e; transform-origin: bottom; animation: fvBar 8s infinite; }
.fv-bars i:nth-child(2) { animation-delay: 0.08s; }
.fv-bars i:nth-child(3) { animation-delay: 0.16s; }
.fv-bars i:nth-child(4) { animation-delay: 0.24s; }
.fv-bars i:nth-child(5) { animation-delay: 0.32s; }
.fv-bars i:nth-child(6) { animation-delay: 0.40s; }
.fv-bars i:nth-child(7) { animation-delay: 0.48s; }
.fv-bars i:nth-child(8) { animation-delay: 0.56s; }
.fv-bars i:nth-child(9) { animation-delay: 0.64s; }
.fv-bars i:nth-child(10) { animation-delay: 0.72s; }
.fv-bars i:nth-child(11) { animation-delay: 0.80s; }
.fv-bars i:nth-child(12) { animation-delay: 0.88s; }
.fv-bars i:nth-child(13) { animation-delay: 0.96s; }
.fv-bars i:nth-child(14) { animation-delay: 1.04s; }
@keyframes fvBar { 0%, 3% { transform: scaleY(.2); opacity: .25; } 9%, 92% { transform: none; opacity: 1; } 100% { transform: scaleY(.2); opacity: .25; } }
.fv-alert { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; animation: fvD 8s infinite; }
.fv-env { flex: none; width: 14px; height: 14px; background: #a5b4fc; -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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E") center / contain 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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Your domain & email: scan the QR code, the mailbox appears on the phone */
.fv-code { position: absolute; left: 22px; top: 50%; width: 96px; height: 96px; margin-top: -48px; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' shape-rendering='crispEdges'%3E%3Cpath fill='%2314152b' d='M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1zM0 8h1v1h-1zM0 9h1v1h-1zM0 11h1v1h-1zM0 14h1v1h-1zM0 15h1v1h-1zM0 16h1v1h-1zM0 17h1v1h-1zM0 18h1v1h-1zM0 19h1v1h-1zM0 20h1v1h-1zM1 0h1v1h-1zM1 6h1v1h-1zM1 8h1v1h-1zM1 9h1v1h-1zM1 11h1v1h-1zM1 12h1v1h-1zM1 14h1v1h-1zM1 20h1v1h-1zM2 0h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 6h1v1h-1zM2 8h1v1h-1zM2 9h1v1h-1zM2 10h1v1h-1zM2 12h1v1h-1zM2 14h1v1h-1zM2 16h1v1h-1zM2 17h1v1h-1zM2 18h1v1h-1zM2 20h1v1h-1zM3 0h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 6h1v1h-1zM3 8h1v1h-1zM3 12h1v1h-1zM3 14h1v1h-1zM3 16h1v1h-1zM3 17h1v1h-1zM3 18h1v1h-1zM3 20h1v1h-1zM4 0h1v1h-1zM4 2h1v1h-1zM4 3h1v1h-1zM4 4h1v1h-1zM4 6h1v1h-1zM4 9h1v1h-1zM4 11h1v1h-1zM4 12h1v1h-1zM4 14h1v1h-1zM4 16h1v1h-1zM4 17h1v1h-1zM4 18h1v1h-1zM4 20h1v1h-1zM5 0h1v1h-1zM5 6h1v1h-1zM5 8h1v1h-1zM5 9h1v1h-1zM5 11h1v1h-1zM5 14h1v1h-1zM5 20h1v1h-1zM6 0h1v1h-1zM6 1h1v1h-1zM6 2h1v1h-1zM6 3h1v1h-1zM6 4h1v1h-1zM6 5h1v1h-1zM6 6h1v1h-1zM6 9h1v1h-1zM6 11h1v1h-1zM6 12h1v1h-1zM6 14h1v1h-1zM6 15h1v1h-1zM6 16h1v1h-1zM6 17h1v1h-1zM6 18h1v1h-1zM6 19h1v1h-1zM6 20h1v1h-1zM7 8h1v1h-1zM7 10h1v1h-1zM7 11h1v1h-1zM8 0h1v1h-1zM8 1h1v1h-1zM8 4h1v1h-1zM8 9h1v1h-1zM8 11h1v1h-1zM8 12h1v1h-1zM8 14h1v1h-1zM8 15h1v1h-1zM8 16h1v1h-1zM9 0h1v1h-1zM9 4h1v1h-1zM9 7h1v1h-1zM9 9h1v1h-1zM9 14h1v1h-1zM9 15h1v1h-1zM9 17h1v1h-1zM9 18h1v1h-1zM9 19h1v1h-1zM9 20h1v1h-1zM10 0h1v1h-1zM10 2h1v1h-1zM10 3h1v1h-1zM10 4h1v1h-1zM10 6h1v1h-1zM10 7h1v1h-1zM10 12h1v1h-1zM10 13h1v1h-1zM10 14h1v1h-1zM10 17h1v1h-1zM10 18h1v1h-1zM10 19h1v1h-1zM10 20h1v1h-1zM11 0h1v1h-1zM11 2h1v1h-1zM11 3h1v1h-1zM11 4h1v1h-1zM11 5h1v1h-1zM11 12h1v1h-1zM11 17h1v1h-1zM11 18h1v1h-1zM11 19h1v1h-1zM12 0h1v1h-1zM12 1h1v1h-1zM12 2h1v1h-1zM12 3h1v1h-1zM12 4h1v1h-1zM12 5h1v1h-1zM12 6h1v1h-1zM12 7h1v1h-1zM12 8h1v1h-1zM12 9h1v1h-1zM12 10h1v1h-1zM12 13h1v1h-1zM12 14h1v1h-1zM12 15h1v1h-1zM12 16h1v1h-1zM12 17h1v1h-1zM12 20h1v1h-1zM13 8h1v1h-1zM13 9h1v1h-1zM13 10h1v1h-1zM13 11h1v1h-1zM13 12h1v1h-1zM13 14h1v1h-1zM13 15h1v1h-1zM13 18h1v1h-1zM13 20h1v1h-1zM14 0h1v1h-1zM14 1h1v1h-1zM14 2h1v1h-1zM14 3h1v1h-1zM14 4h1v1h-1zM14 5h1v1h-1zM14 6h1v1h-1zM14 12h1v1h-1zM14 13h1v1h-1zM14 14h1v1h-1zM14 18h1v1h-1zM14 19h1v1h-1zM15 0h1v1h-1zM15 6h1v1h-1zM15 13h1v1h-1zM15 15h1v1h-1zM15 16h1v1h-1zM15 17h1v1h-1zM15 18h1v1h-1zM15 19h1v1h-1zM16 0h1v1h-1zM16 2h1v1h-1zM16 3h1v1h-1zM16 4h1v1h-1zM16 6h1v1h-1zM16 9h1v1h-1zM16 13h1v1h-1zM16 14h1v1h-1zM16 15h1v1h-1zM16 16h1v1h-1zM16 17h1v1h-1zM17 0h1v1h-1zM17 2h1v1h-1zM17 3h1v1h-1zM17 4h1v1h-1zM17 6h1v1h-1zM17 8h1v1h-1zM17 11h1v1h-1zM17 16h1v1h-1zM17 17h1v1h-1zM17 19h1v1h-1zM18 0h1v1h-1zM18 2h1v1h-1zM18 3h1v1h-1zM18 4h1v1h-1zM18 6h1v1h-1zM18 9h1v1h-1zM18 10h1v1h-1zM18 13h1v1h-1zM18 14h1v1h-1zM18 15h1v1h-1zM18 18h1v1h-1zM19 0h1v1h-1zM19 6h1v1h-1zM19 9h1v1h-1zM19 11h1v1h-1zM19 12h1v1h-1zM19 17h1v1h-1zM19 20h1v1h-1zM20 0h1v1h-1zM20 1h1v1h-1zM20 2h1v1h-1zM20 3h1v1h-1zM20 4h1v1h-1zM20 5h1v1h-1zM20 6h1v1h-1zM20 8h1v1h-1zM20 9h1v1h-1zM20 10h1v1h-1zM20 12h1v1h-1zM20 13h1v1h-1zM20 14h1v1h-1zM20 16h1v1h-1zM20 17h1v1h-1zM20 20h1v1h-1z'/%3E%3C/svg%3E") center / 80px no-repeat; box-shadow: var(--fvs); overflow: hidden; }
.fv-scan { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 10px 2px rgba(91, 91, 214, .55); opacity: 0; animation: fvScan 8s infinite; }
@keyframes fvScan { 0%, 4% { top: 8px; opacity: 0; } 8% { opacity: 1; } 30% { top: 86px; opacity: 1; } 34%, 100% { top: 86px; opacity: 0; } }
.fv-phone { position: absolute; right: 24px; top: 14px; bottom: -22px; width: 112px; display: flex; flex-direction: column; gap: 6px; padding: 22px 10px 0; border: 3px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 18px 30px -18px rgba(20, 21, 43, .6); }
.fv-notch { position: absolute; top: 6px; left: 50%; width: 30px; height: 5px; margin-left: -15px; border-radius: 3px; background: var(--ink); }
.fv-pm { display: flex; align-items: center; gap: 5px; color: #0f9f6e; font-size: 10px; font-weight: 800; animation: fvC 8s infinite; }
.fv-pm::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 8px no-repeat; }
.fv-pa { overflow: hidden; color: var(--ink); font-size: 9px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; animation: fvC 8s infinite; }
.fv-phone .fv-ln { width: 100%; animation: fvD 8s infinite; }
.fv-phone .fv-ln.fv-s { width: 70%; }

/* WordPress, managed: backup first, then the AI edits the page */
.fv-wp .fv-win { inset: 14px 14px auto; }
.fv-swap { position: relative; width: 100%; height: 17px; font-size: 12px; font-weight: 800; color: var(--ink); }
.fv-swap > * { position: absolute; left: 0; top: 0; white-space: nowrap; }
.fv-old { opacity: 0; animation: fvOld 8s infinite; }
.fv-swap b { animation: fvNew 8s infinite; }
.fv-swap::after { content: ""; position: absolute; inset: -2px -4px; border-radius: 4px; background: rgba(91, 91, 214, .16); transform-origin: left; opacity: 0; animation: fvSel 8s infinite; }
@keyframes fvOld { 0%, 38% { opacity: 1; } 42%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fvNew { 0%, 42% { opacity: 0; transform: translateY(4px); } 47%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fvSel { 0%, 24% { opacity: 1; transform: scaleX(0); } 34%, 39% { opacity: 1; transform: none; } 43%, 100% { opacity: 0; transform: none; } }
.fv-toast { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; animation: fvA 8s infinite; }
[dir="rtl"] .fv-swap > * { left: auto; right: 0; }
[dir="rtl"] .fv-swap::after { transform-origin: right; }

/* Built for agencies */
.fv-tiles { position: absolute; inset: 14px 14px auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fv-tiles i { aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(var(--c) 0 30%, #fff 30%); box-shadow: 0 0 0 1px var(--border), 0 6px 12px -8px rgba(20, 21, 43, .4); animation: fvTile 8s infinite; }
.fv-tiles i:nth-child(1) { --c: #f97316; animation-delay: 0.00s; }
.fv-tiles i:nth-child(2) { --c: #5b5bd6; animation-delay: 0.12s; }
.fv-tiles i:nth-child(3) { --c: #14b8a6; animation-delay: 0.24s; }
.fv-tiles i:nth-child(4) { --c: #e11d48; animation-delay: 0.36s; }
.fv-tiles i:nth-child(5) { --c: #0ea5e9; animation-delay: 0.48s; }
.fv-tiles i:nth-child(6) { --c: #a855f7; animation-delay: 0.60s; }
.fv-tiles i:nth-child(7) { --c: #22c55e; animation-delay: 0.72s; }
.fv-tiles i:nth-child(8) { --c: #eab308; animation-delay: 0.84s; }
.fv-tiles i:nth-child(9) { --c: #64748b; animation-delay: 0.96s; }
.fv-tiles i:nth-child(10) { --c: #ec4899; animation-delay: 1.08s; }
.fv-tiles i:nth-child(4) { box-shadow: 0 0 0 2px var(--brand), 0 6px 12px -8px rgba(20, 21, 43, .4); }
@keyframes fvTile { 0%, 2% { opacity: 0; transform: scale(.6); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.6); } }
.fv-count { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 800; box-shadow: var(--fvs); }
.fv-client { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; animation: fvD 8s infinite; }
.fv-client b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); font-size: 9px; }

/* Works with Claude & ChatGPT: you ask in your AI app, publishing waits for your OK */
.fv-apps { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.fv-apps span { display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--fvs); }
.fv-apps span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d97757; }
.fv-apps span + span::before { background: #10a37f; }
.fv-ai .fv-bub { position: absolute; right: 14px; top: 48px; max-width: 60%; padding: 7px 10px; border-radius: 12px 12px 3px 12px; background: var(--brand); color: #fff; font-weight: 600; animation: fvA 8s infinite; }
.fv-ask { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 11px; border-radius: 10px; background: #fff; box-shadow: var(--fvs); animation: fvC 8s infinite; }
.fv-ask div { flex: 1; min-width: 0; overflow: hidden; color: var(--ink); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.fv-ask span { padding: 4px 8px; border-radius: 6px; color: var(--muted); font-weight: 600; box-shadow: 0 0 0 1px var(--border); }
.fv-ask b { padding: 4px 9px; border-radius: 6px; background: var(--brand); color: #fff; animation: fvPress 8s infinite; }

@media (max-width: 520px) { .fv { height: 164px; } }
@media (prefers-reduced-motion: reduce) {
  .fv *, .fv *::before, .fv *::after { animation: none !important; }
  .fv-scan { display: none; }
}
