/* PallyPilot website — home page styles
   Brand: indigo #4F46E5 → violet #7C3AED (matches the desktop app). */

:root {
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #ffffff;
  --brand-text: #4338ca;          /* brand colour for text on light backgrounds (AA) */
  --grad: linear-gradient(135deg, var(--brand), var(--brand-2));

  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #f4f4f8;
  --ink: #16162a;
  --ink-soft: #55556e;
  --line: #e6e6ef;
  --ok: #15803d;
  --excel: #1d7a45;
  --word: #2b5cb8;
  --pdf: #c2352b;
  --ppt: #c4522a;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 22, 42, 0.06), 0 2px 8px rgba(22, 22, 42, 0.04);
  --shadow: 0 2px 6px rgba(22, 22, 42, 0.05), 0 18px 40px -12px rgba(40, 30, 120, 0.18);
  --shadow-lg: 0 4px 12px rgba(22, 22, 42, 0.06), 0 40px 80px -24px rgba(40, 30, 120, 0.32);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'IBM Plex Sans Arabic', sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif;

  --gutter: 16px;
  --maxw: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-text: #a5b4fc;
    --bg: #0e0e1b;
    --bg-soft: #141426;
    --surface: #1a1a30;
    --surface-2: #22223a;
    --ink: #ececf6;
    --ink-soft: #a9a9c6;
    --line: #2c2c48;
    --ok: #4ade80;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.35), 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;            /* 18px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='ar'] body { font-family: var(--font-ar); line-height: 1.8; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 800; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-text); }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #a5b4fc; } }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 28px; } }
.narrow { max-width: 860px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-primary { background: var(--grad); color: var(--brand-ink); box-shadow: 0 8px 22px -6px rgba(79, 70, 229, 0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.6); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.btn-small { white-space: nowrap; min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.logo-mark { width: 34px; height: 34px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 8px; }


@media (max-width: 1100px) { .main-nav { display: none; } }
@media (max-width: 600px) { .header-cta { display: none; } .header-inner { min-height: 64px; } }
@media (max-width: 380px) { .logo span { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding-block: 88px 112px; } }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(124, 58, 237, 0.16), transparent 70%),
    radial-gradient(40% 45% at 20% 10%, rgba(79, 70, 229, 0.14), transparent 70%);
}
html[dir='rtl'] .hero-glow { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 9%, var(--surface)); color: var(--brand-text);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  font-weight: 700; font-size: 0.92rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); } }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.1rem);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 52%, var(--brand) 78%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .hero h1 { color: var(--ink); } }
.lead { margin-top: 22px; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.32rem); color: var(--ink-soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }
.cta-note { margin-top: 14px; font-size: 0.98rem; color: var(--ink-soft); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-weight: 600; font-size: 1rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof .ico { color: var(--ok); }

/* ---------------------------------------------------------------- product mock */
.mock { margin: 0; position: relative; }
.mock-screen {
  position: relative; padding: 28px 22px 96px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(79, 70, 229, 0.16), transparent 60%),
    linear-gradient(160deg, #eef0ff, #f6efff);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem; line-height: 1.5;
  min-height: 460px;
}
@media (prefers-color-scheme: dark) {
  .mock-screen { background: radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.28), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(79, 70, 229, 0.24), transparent 60%), linear-gradient(160deg, #1b1b38, #221b3a); }
}

.sheet {
  position: absolute; top: 28px; inset-inline-start: 22px; width: 62%;
  background: var(--surface); border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; opacity: 0.97;
}
.sheet-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.sheet-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--excel); color: #fff; font-size: 0.7rem; font-weight: 800; flex: none; }
.sheet-grid { display: grid; grid-template-columns: 1.4fr 1fr; font-size: 0.88rem; }
.cell { padding: 8px 12px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); color: var(--ink); min-height: 38px; }
.cell.num { text-align: end; font-variant-numeric: tabular-nums; }
.cell.head { font-weight: 700; color: var(--ink-soft); background: color-mix(in srgb, var(--excel) 7%, var(--surface)); }
.cell.ghost { background: repeating-linear-gradient(90deg, transparent 0 6px, color-mix(in srgb, var(--brand) 6%, transparent) 6px 12px); }

.panel {
  position: relative; z-index: 2;
  width: min(360px, 86%); margin-inline-start: auto; margin-top: 92px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.panel-head div { display: flex; flex-direction: column; line-height: 1.25; }
.panel-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 0.8rem; }
.panel-mark { width: 30px; height: 30px; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.panel-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.msg { max-width: 90%; padding: 10px 14px; border-radius: 16px; }
.msg-user { align-self: flex-end; background: var(--brand); color: #fff; border-end-end-radius: 6px; }
.msg-bot { align-self: flex-start; background: var(--surface-2); color: var(--ink); border-end-start-radius: 6px; }
.ask { margin-top: 6px; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip-yes { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.7); }
.panel-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.share-btn { padding: 6px 10px; border-radius: 10px; background: var(--surface-2); font-weight: 700; white-space: nowrap; }
.input { flex: 1; min-width: 0; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.send-btn { padding: 6px 12px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; }

.bubble {
  position: absolute; bottom: 14px; inset-inline-end: 20px; z-index: 3;
  width: 58px; height: 58px; border-radius: 50%;
  box-shadow: 0 10px 24px -6px rgba(40, 30, 120, 0.55);
  animation: float 5s ease-in-out infinite;
}
.bubble svg { width: 100%; height: 100%; }
@keyframes float { 50% { transform: translateY(-6px); } }

@media (max-width: 520px) {
  .mock-screen { padding: 18px 12px 92px; min-height: 0; }
  .sheet { top: 18px; inset-inline-start: 12px; width: 74%; }
  .panel { width: 92%; margin-top: 110px; }
  .panel-foot .share-btn { display: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: 80px; }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.section-soft { background: var(--bg-soft); border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 52px; }
.section-head.align-start { text-align: start; margin-inline: 0; margin-bottom: 36px; }
.kicker { font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); }
html[lang='ar'] .kicker { letter-spacing: 0; font-size: 1rem; }
.section-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
.section-lead { margin-top: 16px; color: var(--ink-soft); font-size: 1.2rem; }

/* how it works */
.steps { display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.55);
}
.step h3 { margin-top: 20px; font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--ink-soft); }

/* what it can do */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.app-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.app-badge svg { width: 26px; height: 26px; }
.badge-word { background: linear-gradient(135deg, #3b6fd6, var(--word)); }
.badge-excel { background: linear-gradient(135deg, #24995a, var(--excel)); }
.badge-pdf { background: linear-gradient(135deg, #e0483d, var(--pdf)); font-size: 0.95rem; }
.badge-ppt { background: linear-gradient(135deg, #e0663a, var(--ppt)); }
.badge-write, .badge-help { background: var(--grad); }
.card h3 { margin-top: 18px; font-size: 1.3rem; }
.card p { margin-top: 8px; color: var(--ink-soft); }
.card .example {
  margin-top: auto; padding-top: 18px; color: var(--ink); font-weight: 600; font-size: 1rem;
}
.card .example::before { content: ''; display: block; height: 1px; background: var(--line); margin-bottom: 16px; }
.can-foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.soon { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); font-weight: 600; }
.soon-tag { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-text); font-size: 0.85rem; font-weight: 800; }
.fine { color: var(--ink-soft); font-size: 1rem; max-width: 40em; }

/* what is helpmate */
.what-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .what-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.what-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.what-visual {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 120px; margin-bottom: 22px;
  border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--brand-2) 7%, var(--surface)));
}
.what-mark { width: 44px; height: 44px; flex: none; }
.say { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 18px; font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-sm); }
.say-user { background: var(--brand); color: #fff; border-end-end-radius: 6px; }
.say-bot { background: var(--surface); border-end-start-radius: 6px; }
.say-bot i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); opacity: 0.35; animation: blink 1.4s infinite; }
.say-bot i:nth-child(2) { animation-delay: 0.2s; } .say-bot i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 40% { opacity: 1; } }
.say-ok { background: var(--surface); font-size: 1.35rem; font-weight: 800; padding: 12px 20px; }
.say-ok b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1rem; }
.what-card h3 { font-size: 1.3rem; }
.what-card p { margin-top: 8px; color: var(--ink-soft); }
.ai-note {
  display: flex; gap: 22px; align-items: flex-start; margin-top: 28px; padding: 30px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
}
@media (max-width: 600px) { .ai-note { flex-direction: column; padding: 24px; } }
.ai-badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; }
.ai-note h3 { font-size: 1.3rem; }
.ai-note p { margin-top: 8px; color: var(--ink-soft); max-width: 52em; }
.no-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-weight: 700; }
.no-list li { display: inline-flex; align-items: center; gap: 8px; }
.no-list .ico { color: var(--ok); }

/* what it can do: topic tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.tab:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.tab[aria-selected='true'] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -6px rgba(79, 70, 229, 0.55); }
.tab-ico { width: 22px; height: 22px; flex: none; }
@media (max-width: 560px) { .tabs { display: grid; grid-template-columns: 1fr 1fr; } .tab { justify-content: center; padding-inline: 12px; font-size: 0.98rem; } }
.panel-title { margin: 8px 0 18px; font-size: 1.4rem; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tab-panel + .tab-panel { margin-top: 40px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel:focus-visible { outline-offset: 8px; }
.badge-files { background: linear-gradient(135deg, #d97706, #b45309); }
.badge-apps { background: linear-gradient(135deg, #0d9488, #0f766e); }
.badge-help { background: var(--grad); }
.can-foot .soon { max-width: 46em; }

/* file-type icons (generic shapes, not the official app logos) */
.ft { width: 22px; height: 26px; flex: none; }
.ft-lg { width: 40px; height: 47px; }
.badge-file { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid var(--line); }
.badge-file .ft { width: 32px; height: 38px; }

/* before and after */
.showcase { max-width: 1080px; margin-inline: auto; }
.show-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 26px; }
.show-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.show-tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 1.02rem;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.show-tab[aria-selected='true'] { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent), var(--shadow-sm); }
.show-arrow {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
}
.show-arrow svg { width: 24px; height: 24px; }
html[dir='rtl'] .show-arrow svg { transform: scaleX(-1); }
@media (max-width: 640px) { .show-arrow { display: none; } .show-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .show-tab { justify-content: center; } }
.show-slide {
  padding: 26px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (max-width: 600px) { .show-slide { padding: 16px; } }
.show-slide + .show-slide { margin-top: 24px; }
.show-ask { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.show-ask p { font-size: 1.15rem; }
.ask-label { font-weight: 700; color: var(--ink-soft); }
.ask-text { font-weight: 700; }
.ba { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .ba { grid-template-columns: 0.85fr 64px 1.15fr; } }
.ba-pane { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ba-label { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
html[lang='ar'] .ba-label { letter-spacing: 0; }
.ba-label.is-after { background: color-mix(in srgb, var(--ok) 15%, var(--surface)); color: var(--ok); }
.ba-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ba-arrow svg { width: 46px; height: 46px; filter: drop-shadow(0 8px 16px rgba(79, 70, 229, 0.4)); }
.ba-chev { width: 14px; height: 14px; border-top: 3px solid var(--brand); border-inline-end: 3px solid var(--brand); transform: rotate(45deg); }
html[dir='rtl'] .ba-chev { transform: rotate(-45deg); }
@media (max-width: 899px) { .ba-arrow { flex-direction: row; } .ba-chev, html[dir='rtl'] .ba-chev { transform: rotate(135deg); } }

.doc-win { flex: 1; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.9rem; line-height: 1.45; }
.doc-win.is-plain { opacity: 0.92; }
.doc-win.is-after { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.doc-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-bar .ft { width: 18px; height: 21px; }
.doc-body { flex: 1; padding: 14px; overflow: hidden; }
.notes { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.86rem; color: var(--ink-soft); display: grid; gap: 4px; }
html[lang='ar'] .notes { font-family: var(--font-ar); }

/* spreadsheet look (matches what PallyPilot makes: purple header row, totals, chart) */
.xl { display: grid; gap: 14px; }
.xl-grid { display: grid; grid-template-columns: auto auto 1fr auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 0.82rem; }
.xc { padding: 5px 8px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xc:nth-child(4n) { border-inline-end: 0; }
.xc.num { text-align: end; }
.xc.xh { background: #4f46e5; color: #fff; font-weight: 700; }
.xc.xt { border-bottom: 0; font-weight: 800; background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.xl-chart { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 8px; }
.chart-title { font-weight: 700; font-size: 0.85rem; text-align: center; }
.bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; height: 120px; margin-top: 6px; }
.bar { position: relative; flex: 1; max-width: 70px; height: var(--h); background: #4f46e5; border-radius: 6px 6px 0 0; display: flex; flex-direction: column; align-items: center; }
.bar b { position: absolute; top: -20px; font-size: 0.75rem; }
.bar span { position: absolute; bottom: -20px; font-size: 0.75rem; color: var(--ink-soft); white-space: nowrap; }
.bars { margin-bottom: 22px; margin-top: 26px; }

/* Word page look */
.page { background: #fff; color: #1f1f2e; border-radius: 4px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); font-size: 0.8rem; line-height: 1.5; display: grid; gap: 6px; }
@media (prefers-color-scheme: dark) { .doc-body:has(.page) { background: #2a2a40; } }
.l-from { font-weight: 700; }
.l-from.small { font-weight: 400; color: #55556e; margin-top: -6px; }
.l-date { color: #55556e; margin-top: 4px; }
.l-subject { font-weight: 800; color: #2b5cb8; font-size: 0.92rem; margin-top: 4px; }
.l-sign { margin-top: 4px; }
.l-name { font-weight: 700; margin-top: -4px; }
.report .r-title { font-weight: 800; font-size: 0.95rem; }
.r-lines { display: block; height: 70px; background: repeating-linear-gradient(#fff 0 9px, #e6e6ef 9px 11px); }

/* PDF pages */
.pdf-stack { position: relative; height: 230px; }
.pdf-page {
  position: absolute; top: calc(var(--i) * 26px); inset-inline-start: calc(var(--i) * 26px); width: 72%;
  background: #fff; color: #1f1f2e; border-radius: 4px; padding: 12px 14px; font-size: 0.75rem; line-height: 1.4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); border: 1px solid #e3e3ec;
}
.pdf-h { color: #c2352b; font-weight: 800; font-size: 0.95rem; }
.pdf-no { font-weight: 700; }
.pdf-from { color: #55556e; }
.pdf-lines { display: block; height: 30px; margin-block: 6px; background: repeating-linear-gradient(#fff 0 7px, #e6e6ef 7px 9px); }

/* slides */
.slides { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.slide { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: #fff; color: #1a1a2e; padding: 10px 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); border: 1px solid #e3e3ec; font-size: 0.7rem; line-height: 1.35; }
.slide .st { font-weight: 800; font-size: 0.85rem; }
.s-bar { position: absolute; top: 0; inset-inline: 0; height: 4px; background: #4f46e5; }
.s-title { grid-column: 1 / -1; background: #4f46e5; color: #fff; display: flex; flex-direction: column; justify-content: center; padding-inline: 20px; }
.s-title .st { font-size: 1.25rem; }
.s-title .ss { opacity: 0.9; font-size: 0.85rem; }
.s-bul ul { margin-top: 6px; display: grid; gap: 3px; }
.s-bul li::before { content: '•  '; }
.s-chart .bars { height: 46%; margin-top: 18px; margin-bottom: 0; gap: 6px; }
.s-chart .bar b { top: -15px; font-size: 0.62rem; }
.s-chart .bar span { display: none; }

.show-done { display: grid; gap: 8px 22px; margin-top: 22px; font-weight: 600; }
@media (min-width: 760px) { .show-done { grid-template-columns: 1fr 1fr; } }
.show-done li { display: flex; align-items: flex-start; gap: 10px; }
.show-done .ico { color: var(--ok); margin-top: 0.25em; }
html[lang='ar'] .doc-win, html[lang='ar'] .show-slide { font-family: var(--font-ar); }

/* see it in action */
.story { display: grid; gap: 22px; counter-reset: none; }
@media (min-width: 980px) { .story { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 24px; } }
.story-label { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.step-num.small { width: 36px; height: 36px; border-radius: 11px; font-size: 1rem; flex: none; }
.story-card {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 1rem; line-height: 1.55;
}
.story-card .msg { max-width: 94%; }
.plan-list { display: grid; gap: 6px; margin-top: 10px; }
.plan-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pl-ico { width: 22px; height: 18px; border-radius: 4px; flex: none; position: relative; }
.pl-ico::before { content: ''; position: absolute; top: -3px; inset-inline-start: 0; width: 10px; height: 5px; border-radius: 3px 3px 0 0; background: inherit; }
.pl-pic { background: #0d9488; } .pl-pdf { background: var(--pdf); } .pl-doc { background: var(--word); } .pl-oth { background: #8b8ba3; }
.plan-note { margin-top: 10px; font-size: 0.95rem; color: var(--ok); font-weight: 700; }
.choice-row.end { justify-content: flex-end; margin-top: 0; }
.undo-demo {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface)); font-weight: 600; font-size: 0.95rem;
}
.undo-btn { padding: 6px 14px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; white-space: nowrap; }
.story-note { color: var(--ink-soft); font-size: 0.98rem; }
html[lang='ar'] .story-card { font-family: var(--font-ar); }

/* safety */
.safety-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .safety-grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; } }
@media (max-width: 979px) { .safety-grid .section-head.align-start { text-align: center; margin-inline: auto; } }
.promises { display: grid; gap: 22px; }
.promises li { display: flex; gap: 16px; align-items: flex-start; }
.p-ico {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 13%, var(--surface)); color: var(--ok);
}
.promises h3 { font-size: 1.2rem; margin-top: 6px; }
.promises p { margin-top: 4px; color: var(--ink-soft); }

.ok-card-wrap { position: relative; max-width: 420px; width: 100%; margin-inline: auto; padding-block: 24px; }
.ok-card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.ok-card::before {
  content: ''; position: absolute; inset: -14px; z-index: -1; border-radius: 36px;
  background: var(--grad); opacity: 0.14; filter: blur(18px);
}
.ok-file { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.ok-file .xls { width: 34px; height: 34px; border-radius: 9px; font-size: 1rem; }
.ok-backup { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 10%, var(--surface)); color: var(--ink); font-size: 0.98rem; }
.ok-backup .ico { color: var(--ok); }
.ok-ask { margin-top: 22px; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.ok-actions { display: flex; gap: 10px; margin-top: 14px; }
.ok-actions .chip { font-size: 1rem; padding: 10px 22px; }
.shield { position: absolute; top: 0; inset-inline-end: -8px; width: 64px; filter: drop-shadow(0 10px 18px rgba(79, 70, 229, 0.4)); }
.shield svg { width: 100%; height: auto; }

/* for everyone */
.features { display: grid; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.f-ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 11%, var(--surface)); color: var(--brand-text);
}
.f-ico svg { width: 26px; height: 26px; }
.f-text { font-weight: 800; font-size: 1.3rem; }
.f-ar { font-family: var(--font-ar); font-size: 1.6rem; }
.feature h3 { margin-top: 18px; font-size: 1.25rem; }
.feature p { margin-top: 8px; color: var(--ink-soft); }

/* faq */
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.faq-list summary::after {
  content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%234F46E5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 24px; color: var(--ink-soft); max-width: 46em; }

/* final CTA */
#download { padding-top: 0; }
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 24px; border-radius: 36px; color: #fff;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #4338ca, #6d28d9);
  box-shadow: var(--shadow-lg);
}
.final-mark { width: 64px; height: 64px; margin: 0 auto 20px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)); }
.kicker-light { color: #e0e7ff; }
.final h2 { margin-top: 12px; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); color: #fff; }
.final-lead { margin: 16px auto 0; max-width: 34em; color: #eef0ff; font-size: 1.2rem; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.platforms li {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px;
  padding: 10px 14px 10px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700; font-size: 1.08rem;
}
html[dir='rtl'] .platforms li { padding: 10px 20px 10px 14px; }
.soon-pill { padding: 4px 12px; border-radius: 999px; background: #fff; color: #4338ca; font-size: 0.85rem; font-weight: 800; }
.final-note { margin-top: 22px; color: #eef0ff; font-size: 1rem; }

/* footer */
.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.footer-brand p { margin-top: 12px; color: var(--ink-soft); max-width: 22em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--brand-text); text-decoration: underline; }
.footer-meta { display: grid; gap: 8px; }
.muted { color: var(--ink-soft); font-size: 1rem; }

/* ---------------------------------------------------------------- RTL details */
html[dir='rtl'] .btn .ico, html[dir='rtl'] .proof .ico { transform: none; } /* logos/checks are not directional */
html[dir='rtl'] .eyebrow { padding: 7px 12px 7px 16px; }
html[lang='ar'] .msg, html[lang='ar'] .panel-foot, html[lang='ar'] .sheet-grid { font-family: var(--font-ar); }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* before/after polish */
.ba-pane:first-child .doc-win { flex: 0 1 auto; }
.s-title { aspect-ratio: 21 / 8; }
@media (min-width: 900px) { .show-slide { min-height: 640px; } }
.doc-body:has(.xl) { overflow-x: auto; }

/* ================================================================ Before/after v2: richer previews */
.show-tab { position: relative; }
.tab-new { font-style: normal; margin-inline-start: 6px; padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.02em; }
.v-paper-bg { background: #eef0f6; }
@media (prefers-color-scheme: dark) { .v-paper-bg { background: #2a2a40; } }

/* a Windows error dialog */
.v-err-wrap { display: grid; place-items: center; padding: 26px 14px; background: linear-gradient(135deg, #1e3a8a, #0e7490); }
.v-err { width: min(100%, 360px); background: #fff; color: #1f1f2e; border-radius: 8px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55); overflow: hidden; font-family: 'Segoe UI', var(--font); font-size: 0.82rem; text-align: start; }
.v-err-bar { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; background: #f3f3f3; border-bottom: 1px solid #e5e5e5; font-size: 0.76rem; }
.v-err-bar i { font-style: normal; color: #555; }
.v-err-body { display: flex; gap: 12px; align-items: flex-start; padding: 16px 14px 8px; line-height: 1.45; }
.v-err-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #dc2626; color: #fff; display: grid; place-items: center; font-weight: 900; }
.v-err-foot { display: flex; justify-content: flex-end; padding: 8px 12px 12px; }
.v-err-ok { padding: 4px 26px; border: 1px solid #2563eb; border-radius: 4px; background: #f0f5ff; font-size: 0.78rem; }

/* PallyPilot's answer */
.v-robot { width: 20px; height: 20px; border-radius: 6px; }
.v-chat { display: grid; gap: 10px; align-content: start; }
.v-steps { display: grid; gap: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.85rem; color: var(--ink-soft); }
.v-steps li { display: flex; gap: 8px; align-items: center; }
.v-ok { width: 18px; height: 18px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, var(--surface)); color: var(--ok); font-weight: 900; font-size: 0.7rem; }
.v-bubble { background: var(--surface-2); border-radius: 14px; border-start-start-radius: 5px; padding: 12px 14px; display: grid; gap: 8px; font-size: 0.9rem; }
.v-found { font-weight: 700; }
.v-fix { display: grid; gap: 5px; padding-inline-start: 20px; list-style: decimal; }
.v-fix li::marker { color: var(--brand); font-weight: 800; }
.v-warn { font-size: 0.82rem; color: #b45309; font-weight: 600; }
.v-next { display: flex; flex-wrap: wrap; gap: 6px; }
.v-chip { padding: 5px 11px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--brand-text); font-weight: 700; font-size: 0.8rem; background: var(--surface); }
@media (prefers-color-scheme: dark) { .v-chip { color: #a5b4fc; } .v-warn { color: #fbbf24; } }

/* invoice */
.v-inv { background: #fff; color: #1f2937; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); padding: 14px 16px 12px; font-size: 0.76rem; line-height: 1.4; border-top: 5px solid #065f46; display: grid; gap: 10px; }
.v-inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.v-inv-logo { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: #064e3b; }
.v-logo-dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #34d399, #059669); }
.v-inv-title { display: grid; justify-items: end; color: #6b7280; font-size: 0.7rem; }
.v-inv-title b { font-size: 1.15rem; color: #065f46; letter-spacing: 0.04em; }
.v-inv-to { display: grid; color: #6b7280; }
.v-inv-to b { color: #1f2937; }
.v-k { font-size: 0.62rem; font-weight: 800; color: #065f46; text-transform: uppercase; letter-spacing: 0.06em; }
.v-inv-table { display: grid; grid-template-columns: 1fr auto auto auto; column-gap: 12px; }
.v-inv-table span { padding: 4px 0; border-bottom: 1px solid #eef0f3; }
.v-inv-table .h { background: #065f46; color: #fff; font-weight: 700; padding: 4px 6px; border: 0; }
.v-inv-table .n { text-align: end; font-variant-numeric: tabular-nums; }
.v-inv-table .b { font-weight: 700; }
.v-inv-sum { display: grid; grid-template-columns: auto auto; justify-content: end; column-gap: 18px; row-gap: 2px; color: #6b7280; }
.v-inv-sum .n { text-align: end; color: #1f2937; font-variant-numeric: tabular-nums; }
.v-inv-sum .t { background: #065f46; color: #fff; font-weight: 800; padding: 3px 6px; margin-top: 3px; }
.v-inv-sum .d { color: #065f46; font-weight: 800; font-size: 0.85rem; }
.v-formats { display: flex; gap: 6px; justify-content: center; }
.v-formats span { padding: 2px 10px; border-radius: 99px; background: #ecfdf5; color: #065f46; font-weight: 700; font-size: 0.66rem; }

/* slides */
.v-anim { margin-inline-start: auto; font-style: normal; font-size: 0.72rem; color: var(--brand-text); font-weight: 700; }
@media (prefers-color-scheme: dark) { .v-anim { color: #a5b4fc; } }
.v-deck { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #e9eaf3; }
@media (prefers-color-scheme: dark) { .v-deck { background: #2a2a40; } }
.vs { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: #fff; color: #1f2937; padding: 9px 10px; overflow: hidden; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14); font-size: 0.6rem; line-height: 1.3; }
.vs .h { font-weight: 800; font-size: 0.72rem; }
.vs .hb { display: block; width: 18px; height: 3px; border-radius: 2px; background: #4f46e5; margin: 3px 0 6px; }
.vs-title { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.vs-title .c1, .vs-title .c2 { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.vs-title .c1 { width: 70%; aspect-ratio: 1; inset-inline-end: -22%; top: -40%; }
.vs-title .c2 { width: 30%; aspect-ratio: 1; inset-inline-start: -10%; bottom: -25%; background: rgba(6, 182, 212, 0.35); }
.vs-title .k { font-size: 0.5rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.vs-title .t { font-weight: 800; font-size: 0.86rem; line-height: 1.15; position: relative; }
.vs-title .u { display: block; width: 22px; height: 3px; background: #22d3ee; margin: 5px 0; }
.vs-title .s { opacity: 0.85; position: relative; }
.vs-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.vs-kpis div { background: #f4f4fb; border-radius: 5px; padding: 5px 6px; display: grid; gap: 1px; }
.vs-kpis b { font-size: 0.82rem; }
.vs-kpis .p1 { color: #4f46e5; } .vs-kpis .p2 { color: #7c3aed; } .vs-kpis .p3 { color: #0891b2; }
.vs-kpis em { font-style: normal; color: #16a34a; font-weight: 800; font-size: 0.52rem; }
.vs-chart { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; height: 62%; }
.vs-bars { display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid #e5e7eb; padding: 10px 4px 0; }
.vs-bars span { flex: 1; height: var(--h); background: #4f46e5; border-radius: 3px 3px 0 0; position: relative; }
.vs-bars b { position: absolute; top: -10px; inset-inline: 0; text-align: center; font-size: 0.48rem; }
.vs-take { background: #f4f4fb; border-inline-start: 2px solid #4f46e5; padding: 4px 6px; display: grid; align-content: start; gap: 2px; }
.vs-take em { font-style: normal; font-size: 0.45rem; font-weight: 800; color: #4f46e5; text-transform: uppercase; letter-spacing: 0.05em; }
.vs-proc { display: flex; margin-top: 8px; }
.vs-proc span { flex: 1; color: #fff; font-weight: 800; font-size: 0.5rem; padding: 9px 2px 9px 9px; text-align: center; clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%, 14% 50%); margin-inline-end: -4px; }
.vs-proc span:first-child { clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%); }
html[dir='rtl'] .vs-proc span { clip-path: polygon(14% 0, 100% 0, 86% 50%, 100% 100%, 14% 100%, 0 50%); }
html[dir='rtl'] .vs-proc span:first-child { clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%); }
.vs-proc .q1 { background: #4f46e5; } .vs-proc .q2 { background: #7c3aed; } .vs-proc .q3 { background: #0891b2; } .vs-proc .q4 { background: #f59e0b; }

/* messy export → analysis */
.v-raw { display: grid; grid-template-columns: repeat(5, auto); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.72rem; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.v-raw span { padding: 4px 6px; border-bottom: 1px solid var(--line); white-space: pre; color: var(--ink-soft); }
.v-raw .h { background: var(--surface-2); font-weight: 700; color: var(--ink); }
.v-raw .bad { background: color-mix(in srgb, #f59e0b 22%, transparent); color: var(--ink); }
.v-raw .more { grid-column: 1 / -1; text-align: center; font-family: var(--font); border-bottom: 0; }
.v-ana { display: grid; gap: 10px; }
.v-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-kpi div { background: color-mix(in srgb, #0891b2 9%, var(--surface)); border-radius: 10px; padding: 7px 10px; display: grid; }
.v-kpi span { font-size: 0.72rem; color: var(--ink-soft); }
.v-kpi b { font-size: 1.05rem; color: #0e7490; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .v-kpi b { color: #67e8f9; } }
.v-ana-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .v-ana-grid, .v-deck { grid-template-columns: 1fr; } }
.v-card { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 5px; align-content: start; }
.v-ct { font-weight: 700; font-size: 0.78rem; }
.v-hbar { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 6px; font-size: 0.72rem; }
.v-hbar i { height: 9px; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, #0891b2, #22d3ee); }
.v-hbar b { text-align: end; font-variant-numeric: tabular-nums; }
.v-months { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 74px; border-bottom: 1px solid var(--line); }
.v-months span { flex: 1; height: var(--h); background: #0891b2; border-radius: 3px 3px 0 0; }
.v-months span.lo { background: #ef4444; }
.v-months .tgt { position: absolute; inset-inline: 0; bottom: var(--t); border-top: 2px dashed #64748b; }
.v-legend { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--ink-soft); }
.lo-key { width: 10px; height: 10px; border-radius: 2px; background: #ef4444; }
.v-sheets { display: flex; gap: 2px; font-size: 0.7rem; border-top: 1px solid var(--line); padding-top: 6px; }
.v-sheets span { padding: 2px 8px; border-radius: 0 0 6px 6px; color: var(--ink-soft); }
.v-sheets .on { background: color-mix(in srgb, #0891b2 14%, transparent); color: #0e7490; font-weight: 800; }

/* PDF form */
.v-form { background: #fff; color: #1f2937; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); padding: 14px 16px; display: grid; gap: 8px; font-size: 0.76rem; }
.v-form-t { font-weight: 800; font-size: 0.86rem; margin-bottom: 2px; }
.v-row { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 8px; }
.v-row > i { font-style: normal; min-height: 22px; border: 1px solid #cbd5e1; border-radius: 3px; padding: 2px 6px; display: flex; align-items: center; }
.v-row > i b { color: #1e3a8a; font-weight: 600; }
.v-check > i { width: 20px; min-height: 20px; justify-content: center; padding: 0; }
.v-check > i.on { color: #1e3a8a; font-weight: 900; }
.v-row > i.line { border: 0; border-bottom: 1px solid #94a3b8; border-radius: 0; min-height: 30px; }
.v-sig { width: 110px; height: 30px; }

/* budget with colours, bars and a dropdown */
.v-bud { display: grid; grid-template-columns: 1.2fr repeat(3, auto) auto; font-size: 0.78rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.v-bud.plain { grid-template-columns: 1.2fr auto auto; }
.v-bud span { padding: 5px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; position: relative; white-space: nowrap; }
.v-bud .h { background: #1d7a45; color: #fff; font-weight: 700; }
.v-bud.plain .h { background: var(--surface-2); color: var(--ink); }
.v-bud .n { text-align: end; }
.v-bud .over { background: #fee2e2; color: #991b1b; }
.v-bud .t { font-weight: 800; border-bottom: 0; background: color-mix(in srgb, #1d7a45 10%, var(--surface)); }
.v-bud .db { position: absolute; inset-block: 4px; inset-inline-start: 4px; width: calc(var(--w) * 0.9); background: color-mix(in srgb, #3b82f6 22%, transparent); border-radius: 2px; z-index: 0; }
.v-bud .dd::after { content: ' ▾'; color: var(--ink-soft); font-size: 0.7em; }

/* letter with a letterhead */
.v-letter { border-top: 5px solid #2b5cb8; }
.v-lhead { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; }
.v-mono { width: 32px; height: 32px; border-radius: 8px; background: #2b5cb8; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; flex: none; }
.v-lhead .l-from.small { margin-top: 0; }

/* walkthrough: the error screenshot */
.v-shot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; color: #1f1f2e; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.82rem; font-family: 'Segoe UI', var(--font); }
.v-shot-ico { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #dc2626; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 0.7rem; }
.v-shot-cap { font-size: 0.8rem; color: var(--ink-soft); margin: 6px 0 10px; }
.story-card .v-steps { margin-bottom: 10px; }

/* ================================================================ What is PallyPilot: animated scene */
.wis { position: relative; display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; gap: 0; max-width: 1040px; margin: 0 auto; }
@media (max-width: 860px) { .wis { grid-template-columns: 1fr; gap: 6px; max-width: 420px; } }
.wis::before { content: ''; position: absolute; inset: 10% 5% -5%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); filter: blur(30px); z-index: -1; pointer-events: none; }
.wis-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wis-step { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; justify-content: center; }
.wis-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 0.85rem; flex: none; }
.wis-stage { position: relative; height: 250px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }

/* the three examples take turns (9 s loop, 3 s each) */
.wis-cycle { position: absolute; opacity: 0; transform: translateY(8px); animation: wis-turn 9s infinite; }
.wis-cycle.c2 { animation-delay: 3s; }
.wis-cycle.c3 { animation-delay: 6s; }
@keyframes wis-turn { 0% { opacity: 0; transform: translateY(8px); } 5%, 28% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(-8px); } }

/* 1. you */
.wis-you { place-items: center; padding: 18px; }
.wis-face { position: absolute; bottom: 14px; inset-inline-start: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-soft); }
.wis-face svg { width: 32px; height: 32px; }
.wis-say { position: relative; width: 100%; height: 100%; }
.wis-say .wis-cycle { inset-inline: 10px; top: 34%; padding: 12px 16px; border-radius: 18px; border-end-end-radius: 6px; background: var(--grad); color: #fff; font-weight: 700; font-size: 1.15rem; text-align: center; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.7); }

/* flowing arrows between the panels */
.wis-flow { display: flex; align-items: center; padding-top: 40px; }
.wis-flow i { display: block; width: 100%; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 18px); background-size: 36px 4px; animation: wis-flow 0.9s linear infinite; position: relative; }
.wis-flow i::after { content: ''; position: absolute; inset-inline-end: -4px; top: -6px; border: 8px solid transparent; border-inline-start: 10px solid var(--brand); border-inline-end: 0; }
html[dir='rtl'] .wis-flow i { animation-direction: reverse; }
@keyframes wis-flow { to { background-position: 36px 0; } }
@media (max-width: 860px) { .wis-flow { padding: 0; justify-content: center; height: 34px; } .wis-flow i { width: 4px; height: 100%; background: repeating-linear-gradient(180deg, var(--brand) 0 8px, transparent 8px 14px); background-size: 4px 28px; animation-name: wis-flow-v; } .wis-flow i::after { inset-inline-end: auto; left: -8px; top: auto; bottom: -8px; border: 8px solid transparent; border-top: 10px solid var(--brand); border-bottom: 0; } }
@keyframes wis-flow-v { to { background-position: 0 28px; } }

/* 2. the robot thinking */
.wis-bot img { width: 96px; height: 96px; border-radius: 24px; position: relative; z-index: 2; animation: wis-bob 3s ease-in-out infinite; box-shadow: 0 14px 30px -12px rgba(79, 70, 229, 0.8); }
@keyframes wis-bob { 50% { transform: translateY(-6px); } }
.wis-ring { position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 60%, transparent); animation: wis-ring 2.4s ease-out infinite; }
.wis-ring.r2 { animation-delay: 1.2s; }
@keyframes wis-ring { from { transform: scale(0.9); opacity: 0.8; } to { transform: scale(2.1); opacity: 0; } }
.wis-dots { position: absolute; bottom: 22px; display: flex; gap: 6px; }
.wis-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: wis-dot 1.2s infinite; }
.wis-dots i:nth-child(2) { animation-delay: 0.2s; } .wis-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes wis-dot { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }

/* 3. the results */
.wis-done .wis-r { inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; padding: 16px; }
.wis-rt { font-weight: 800; color: var(--ink-soft); font-size: 0.9rem; }
.wis-slider { width: 70%; height: 8px; border-radius: 4px; background: var(--surface-2); position: relative; }
.wis-slider i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 30%; border-radius: 4px; background: var(--grad); animation: wis-grow 9s infinite; }
.wis-slider i::after { content: ''; position: absolute; inset-inline-end: -9px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
@keyframes wis-grow { 0%, 6% { width: 25%; } 22%, 100% { width: 80%; } }
.wis-aa b { display: inline-block; font-size: 1.4rem; animation: wis-aa 9s infinite; }
@keyframes wis-aa { 0%, 6% { transform: scale(1); } 22%, 100% { transform: scale(1.9); } }
.wis-doc { width: 112px; height: 136px; border-radius: 8px; background: #fff; color: #065f46; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.4); border-top: 6px solid #059669; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.wis-doc b { font-size: 0.72rem; letter-spacing: 0.06em; }
.wis-doc i { height: 6px; border-radius: 3px; background: #e5e7eb; }
.wis-doc i:nth-of-type(2) { width: 70%; }
.wis-doc em { margin-top: auto; font-style: normal; font-weight: 800; font-size: 0.85rem; text-align: end; color: #065f46; }
.wis-chk { position: absolute; top: 34px; inset-inline-end: calc(50% - 76px); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-weight: 900; box-shadow: 0 8px 18px -8px rgba(21, 128, 61, 0.9); animation: wis-pop 9s infinite; }
.wis-cycle.c2 .wis-chk { animation-delay: 3s; }
.wis-chk.big { position: static; width: 64px; height: 64px; font-size: 1.8rem; animation-delay: 6s; }
@keyframes wis-pop { 0%, 8% { transform: scale(0); } 13% { transform: scale(1.2); } 16%, 100% { transform: scale(1); } }
.wis-fixt { font-weight: 700; text-align: center; max-width: 220px; }

/* small facts and the AI line */
.wis-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 34px; }
.wis-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; box-shadow: var(--shadow-sm); }
.wis-ai { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--ink-soft); text-align: center; flex-wrap: wrap; }
.wis-ai-badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 0.75rem; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .wis-cycle, .wis-flow i, .wis-bot img, .wis-ring, .wis-dots i, .wis-slider i, .wis-aa b, .wis-chk { animation: none; }
  .wis-cycle.c1 { opacity: 1; transform: none; }
  .wis-ring { display: none; }
  .wis-slider i { width: 80%; }
  .wis-chk { transform: none; }
}

/* ================================================================ Redesign 2: hero, steps, cards, safety, everyone, FAQ, download */
/* hero: proof pills */
.proof.pills { gap: 10px; }
.proof.pills li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.95rem; }
.pr-ic { font-size: 1rem; line-height: 1; }

/* hero: animated chat window (12 s loop, 4 s per job) */
.hx { position: relative; margin: 0; padding: 50px 10px 40px; display: grid; place-items: center; min-height: 480px; font-size: 1.05rem; }
.hx-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, 0.35), transparent); filter: blur(30px); }
.hx-win { position: relative; width: min(440px, 100%); border-radius: 22px; background: #1b1d29; color: #e8e9f3; box-shadow: 0 40px 80px -30px rgba(20, 16, 70, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; z-index: 2; }
.hx-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #2c2f44; }
.hx-head img { width: 36px; height: 36px; }
.hx-head b { display: block; color: #fff; }
.hx-head small { display: flex; align-items: center; gap: 6px; color: #9a9cb5; font-size: 0.8rem; }
.hx-head small i { width: 7px; height: 7px; border-radius: 50%; background: #2bc266; }
.hx-body { position: relative; height: 230px; }
.hx-sc { position: absolute; inset: 16px 14px; display: flex; flex-direction: column; gap: 10px; opacity: 0; animation: hx-turn 12s infinite; --d: 0s; animation-delay: var(--d); }
.hx-sc.c2 { --d: 4s; } .hx-sc.c3 { --d: 8s; }
@keyframes hx-turn { 0% { opacity: 0; } 3%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
.hx-u { align-self: flex-end; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #5b4fe0; color: #fff; font-weight: 600; font-size: 0.95rem; }
html[dir='rtl'] .hx-u { border-radius: 16px 16px 16px 4px; }
.hx-res, .hx-nx { opacity: 0; transform: translateY(10px); animation: hx-in 12s infinite; animation-delay: var(--d); }
.hx-nx { animation-name: hx-in2; }
@keyframes hx-in { 0%, 9% { opacity: 0; transform: translateY(10px); } 13%, 30% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; } }
@keyframes hx-in2 { 0%, 15% { opacity: 0; transform: translateY(10px); } 19%, 30% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; } }
.hx-res { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #2a2a52, #24263a); border: 1px solid #3e3a86; }
.hx-res.ok { background: linear-gradient(135deg, #17402c, #1f3a2c); border-color: #2c6b48; }
.hx-ft svg { width: 30px; height: 36px; display: block; }
.hx-fn { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hx-fn b { color: #fff; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-fn small { color: #9a9cb5; font-size: 0.8rem; }
.hx-bars { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.hx-bars i { width: 8px; border-radius: 2px 2px 0 0; background: linear-gradient(#c026d3, #4f46e5); height: 50%; }
.hx-bars i:nth-child(2) { height: 75%; } .hx-bars i:nth-child(3) { height: 100%; }
.hx-open { padding: 6px 12px; border-radius: 9px; background: #5b4fe0; color: #fff; font-weight: 700; font-size: 0.82rem; }
.hx-big { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #2bc266; color: #0f2a1b; font-weight: 900; flex: none; }
.hx-nx { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-nx span { padding: 6px 11px; border-radius: 999px; border: 1px solid #4b44b8; color: #d6d2ff; background: rgba(91, 79, 224, 0.12); font-size: 0.8rem; }
.hx-in { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 12px; border-radius: 16px; border: 1.5px solid #3a3d58; background: #1f2133; }
.hx-ph { flex: 1; color: #7f82a0; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #5b4fe0; color: #fff; font-weight: 800; }
.hx-bot { position: absolute; width: 84px; height: 84px; bottom: 6px; inset-inline-end: 4%; z-index: 3; filter: drop-shadow(0 14px 22px rgba(79, 70, 229, 0.55)); animation: wis-bob 3s ease-in-out infinite; }
.hx-fl { position: absolute; z-index: 1; width: 54px; height: 62px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); animation: hx-float 6s ease-in-out infinite; }
.hx-fl svg { width: 30px; height: 36px; }
.hx-fl.f1 { top: 4%; inset-inline-start: 6%; }
.hx-fl.f2 { top: 10%; inset-inline-end: 4%; animation-delay: -1.5s; }
.hx-fl.f3 { bottom: 14%; inset-inline-start: 2%; animation-delay: -3s; }
.hx-fl.f4 { bottom: 34%; inset-inline-end: 0; animation-delay: -4.5s; }
@keyframes hx-float { 50% { transform: translateY(-12px) rotate(-4deg); } }
@media (max-width: 520px) { .hx-fl { width: 44px; height: 50px; } .hx-fl svg { width: 24px; height: 28px; } .hx-bot { width: 64px; height: 64px; } }

/* how it works: three visual steps joined by a moving line */
.hw { position: relative; display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 860px) {
  .hw { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .hw::before { content: ''; position: absolute; top: 62px; inset-inline: 16%; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 18px); background-size: 36px 4px; animation: wis-flow 0.9s linear infinite; opacity: 0.6; }
  html[dir='rtl'] .hw::before { animation-direction: reverse; }
}
.hw-step { position: relative; text-align: center; display: grid; justify-items: center; gap: 8px; padding: 0 8px; }
.hw-vis { position: relative; z-index: 1; width: 124px; height: 124px; border-radius: 32px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hw-n { position: absolute; top: -6px; inset-inline-start: calc(50% + 40px); z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 0.9rem; }
.hw-step h3 { margin-top: 10px; font-size: 1.25rem; }
.hw-step p { color: var(--ink-soft); max-width: 18em; }
.hw-bub { display: flex; gap: 5px; padding: 14px 18px; border-radius: 20px 20px 6px 20px; background: var(--grad); }
.hw-bub i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: wis-dot 1.2s infinite; }
.hw-bub i:nth-child(2) { animation-delay: 0.2s; } .hw-bub i:nth-child(3) { animation-delay: 0.4s; }
.hw-scr { position: relative; width: 70px; height: 48px; border-radius: 8px; border: 4px solid var(--ink); overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.hw-scr::after { content: ''; position: absolute; bottom: -14px; left: 50%; width: 22px; height: 6px; margin-left: -11px; }
.hw-scr i { position: absolute; inset-inline: 0; top: 0; height: 30%; background: linear-gradient(transparent, color-mix(in srgb, var(--brand-2) 55%, transparent)); animation: hw-scan 2s ease-in-out infinite; }
@keyframes hw-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(330%); } }
.hw-ok { font-weight: 800; font-size: 1.6rem; color: var(--ink); animation: hw-okk 3s infinite; }
.hw-chk { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 1.4rem; font-weight: 900; animation: hw-chk 3s infinite; }
@keyframes hw-okk { 0%, 45% { opacity: 1; transform: none; } 55%, 92% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; } }
@keyframes hw-chk { 0%, 45% { opacity: 0; transform: scale(0); } 55% { opacity: 1; transform: scale(1.2); } 60%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* what it can do: lighter cards, the example as a chat bubble */
#can .card { padding: 22px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; align-items: center; position: relative; }
#can .card .app-badge { width: 46px; height: 46px; grid-row: 1; }
#can .card h3 { margin: 0; font-size: 1.12rem; grid-row: 1; }
/* the long description stays for screen readers; the example says it in fewer words */
#can .card > p:not(.example) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
#can .card .example { grid-column: 1 / -1; align-self: end; margin-top: 14px; padding: 11px 14px; border-radius: 16px 16px 4px 16px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
html[dir='rtl'] #can .card .example { border-radius: 16px 16px 16px 4px; }
#can .card .example::before { display: none; }
#can .tab-panel:not([hidden]) .card { animation: cd-in 0.45s both; }
#can .tab-panel .card:nth-child(2) { animation-delay: 0.05s; } #can .tab-panel .card:nth-child(3) { animation-delay: 0.1s; } #can .tab-panel .card:nth-child(4) { animation-delay: 0.15s; } #can .tab-panel .card:nth-child(5) { animation-delay: 0.2s; } #can .tab-panel .card:nth-child(n+6) { animation-delay: 0.25s; }
@keyframes cd-in { from { opacity: 0; transform: translateY(14px); } }
.badge-fix { background: linear-gradient(135deg, #16a34a, #0e7490); }
.card-new { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.new-tag { position: absolute; top: 14px; inset-inline-end: 14px; padding: 2px 10px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 0.75rem; font-weight: 800; }

/* safety: an animated OK card and nine short tiles */
.sf { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .sf { grid-template-columns: 0.8fr 1.7fr; gap: 48px; } }
.sf-card { position: relative; max-width: 380px; width: 100%; margin-inline: auto; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sf-card::before { content: ''; position: absolute; inset: -14px; z-index: -1; border-radius: 36px; background: var(--grad); opacity: 0.16; filter: blur(18px); }
.sf-shield { position: absolute; top: -26px; inset-inline-end: -14px; width: 58px; filter: drop-shadow(0 10px 18px rgba(79, 70, 229, 0.4)); animation: wis-bob 3s ease-in-out infinite; }
.sf-shield svg { width: 100%; height: auto; display: block; }
.sf-ft svg { width: 28px; height: 34px; display: block; }
.sf-tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 0.8rem; font-weight: 900; animation: sf-tick 5s infinite; }
@keyframes sf-tick { 0%, 10% { transform: scale(0); } 16% { transform: scale(1.25); } 20%, 100% { transform: scale(1); } }
.sf-yes { position: relative; animation: sf-yes 5s infinite; }
@keyframes sf-yes { 0%, 58% { box-shadow: none; } 62%, 80% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 35%, transparent); } 100% { box-shadow: none; } }
.sf-ptr { position: absolute; width: 26px; height: 26px; bottom: 6px; inset-inline-start: 70%; animation: sf-ptr 5s infinite; }
.sf-ptr svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
@keyframes sf-ptr { 0%, 30% { transform: translate(60px, 40px); opacity: 0; } 45% { opacity: 1; } 55%, 85% { transform: translate(-150px, -38px); opacity: 1; } 60% { transform: translate(-150px, -38px) scale(0.85); } 100% { transform: translate(-150px, -38px); opacity: 0; } }
html[dir='rtl'] .sf-ptr { animation-name: sf-ptr-rtl; }
@keyframes sf-ptr-rtl { 0%, 30% { transform: translate(-60px, 40px); opacity: 0; } 45% { opacity: 1; } 55%, 85% { transform: translate(150px, -38px); opacity: 1; } 100% { transform: translate(150px, -38px); opacity: 0; } }
.sf-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.sf-t { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.sf-t:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sf-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); }
.sf-t h3 { margin-top: 12px; font-size: 1.05rem; }
.sf-t p { margin-top: 4px; color: var(--ink-soft); font-size: 0.95rem; }

/* for everyone: four small live pictures */
.ev { display: grid; gap: 20px; }
@media (min-width: 640px) { .ev { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ev { grid-template-columns: repeat(4, 1fr); } }
.ev-c { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.ev-vis { height: 120px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), color-mix(in srgb, var(--brand-2) 8%, var(--surface))); overflow: hidden; }
.ev-c h3 { margin-top: 16px; font-size: 1.15rem; }
.ev-c p { margin-top: 6px; color: var(--ink-soft); font-size: 0.98rem; }
.ev-lv { position: relative; display: grid; gap: 4px; width: 78%; }
.ev-lv b { position: relative; z-index: 1; padding: 5px 8px; font-size: 0.85rem; border-radius: 9px; color: var(--ink-soft); animation: ev-lvt 6s infinite; }
.ev-lv b:nth-of-type(2) { animation-delay: 2s; } .ev-lv b:nth-of-type(3) { animation-delay: 4s; }
@keyframes ev-lvt { 0%, 30% { color: #fff; } 34%, 100% { color: var(--ink-soft); } }
.ev-knob { position: absolute; inset-inline: 0; top: 0; height: calc((100% - 8px) / 3); border-radius: 9px; background: var(--grad); animation: ev-knob 6s infinite; }
@keyframes ev-knob { 0%, 30% { transform: translateY(0); } 34%, 63% { transform: translateY(calc(100% + 4px)); } 67%, 96% { transform: translateY(calc(200% + 8px)); } 100% { transform: translateY(0); } }
.ev-vis:has(.ev-aa) { grid-auto-flow: column; gap: 14px; }
.ev-aa { font-weight: 800; color: var(--brand-text); font-size: 1.4rem; animation: ev-aa 4s ease-in-out infinite; }
@keyframes ev-aa { 50% { font-size: 2.6rem; } }
.ev-wave { display: flex; gap: 4px; align-items: center; height: 40px; }
.ev-wave i { width: 5px; height: 30%; border-radius: 3px; background: var(--brand); animation: ev-wave 1s ease-in-out infinite; }
.ev-wave i:nth-child(2) { animation-delay: 0.15s; } .ev-wave i:nth-child(3) { animation-delay: 0.3s; } .ev-wave i:nth-child(4) { animation-delay: 0.45s; } .ev-wave i:nth-child(5) { animation-delay: 0.6s; }
@keyframes ev-wave { 50% { height: 100%; } }
.ev-lang { position: relative; width: 100%; height: 50px; }
.ev-lang b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: var(--brand-text); opacity: 0; animation: wis-turn 6s infinite; }
.ev-lang b:nth-child(2) { animation-delay: 2s; } .ev-lang b:nth-child(3) { animation-delay: 4s; font-family: var(--font-ar); }
.ev-fam { display: flex; align-items: center; gap: 10px; font-size: 2.2rem; }
.ev-fam i { font-style: normal; color: #e11d48; font-size: 1.6rem; animation: ev-beat 1.4s ease-in-out infinite; }
@keyframes ev-beat { 15%, 45% { transform: scale(1.3); } 30% { transform: scale(1); } }

/* FAQ: icons and a curious robot */
.fq-bot { position: relative; display: inline-block; margin-top: 18px; }
.fq-bot img { width: 56px; height: 56px; animation: wis-bob 3s ease-in-out infinite; }
.fq-bot i { position: absolute; top: -8px; inset-inline-end: -16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-style: normal; font-weight: 800; animation: wis-pop 4s infinite; }
.faq-list summary { justify-content: flex-start; }
.faq-list summary h3 { flex: 1; }
.fq-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.faq-list details p { padding-inline-start: 80px; }
.faq-list details[open] p { animation: cd-in 0.35s both; }
@media (max-width: 560px) { .faq-list details p { padding-inline-start: 24px; } }

/* download: robot with pulse rings */
.final-orb { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 22px; }
.final-orb i { position: absolute; inset: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); animation: wis-ring 3s ease-out infinite; }
.final-orb i:nth-child(2) { animation-delay: 1s; } .final-orb i:nth-child(3) { animation-delay: 2s; }
.final-orb .final-mark { position: relative; width: 96px; height: 96px; margin: 0; animation: wis-bob 3s ease-in-out infinite; }
.pf li { min-width: 210px; justify-content: space-between; padding: 14px 14px 14px 20px; border-radius: 18px; transition: transform 0.2s, background 0.2s; }
.pf li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.2); }
.pf .ico { width: 26px; height: 26px; }
.pf b { flex: 1; text-align: start; }

@media (prefers-reduced-motion: reduce) {
  .hx-sc.c1, .hx-sc.c1 .hx-res, .hx-sc.c1 .hx-nx { opacity: 1; transform: none; }
  .ev-lang b:first-child { opacity: 1; }
  .ev-knob { transform: none; } .ev-lv b:first-of-type { color: #fff; }
  .hw-chk { opacity: 0; } .sf-ptr { display: none; } .sf-tick { transform: none; }
}

/* ================================================================ Trust: facts, real reviews, early testers, partners */
.tr-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tr-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.tr-t { padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; transition: transform 0.25s ease; }
.tr-t:hover { transform: translateY(-3px); }
.tr-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; background: color-mix(in srgb, var(--brand) 12%, transparent); margin-bottom: 10px; }
.tr-t h3 { font-size: 1.05rem; margin: 0 0 6px; }
.tr-t p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }

.rv { margin-top: 48px; }
.rv-title { text-align: center; font-size: 1.35rem; margin: 0 0 20px; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rv-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rv-list { grid-template-columns: repeat(3, 1fr); } }
.rv-c { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-stars { color: #f5a524; letter-spacing: 2px; font-size: 1.1rem; }
.rv-q { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.rv-who { margin-top: auto; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.92rem; }
.rv-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.rv-who b { color: var(--ink); }

.tester { margin-top: 40px; display: grid; gap: 18px; align-items: center; justify-items: center; text-align: center; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); }
@media (min-width: 860px) { .tester { grid-template-columns: auto 1fr auto; justify-items: start; text-align: start; padding: 28px 32px; gap: 24px; } }
.tester-mark img { display: block; width: 56px; height: 56px; filter: drop-shadow(0 8px 14px rgba(79, 70, 229, 0.35)); animation: wis-bob 3s ease-in-out infinite; }
.tester-text h3 { margin: 0 0 6px; font-size: 1.2rem; }
.tester-text p { margin: 0; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.tester-btn { white-space: nowrap; }

.pt { padding-block: 8px 28px; }
.pt-title { text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; }
.pt-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pt-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: pt-slide 40s linear infinite; }
.pt-view:hover .pt-track { animation-play-state: paused; }
.pt-track li { flex: none; }
.pt-track a, .pt-track span { display: block; opacity: 0.7; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.pt-track a:hover, .pt-track a:focus-visible { opacity: 1; filter: none; }
.pt-track img { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; }
[dir='rtl'] .pt-track { animation-name: pt-slide-rtl; }
@keyframes pt-slide { to { transform: translateX(-50%); } }
@keyframes pt-slide-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .pt-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 20px; }
  .pt-track [data-copy] { display: none; }
  .tester-mark img { animation: none; }
}
