/* Echo marketing site. Plain CSS, no build step. */

@font-face { font-family: 'Plex Arabic'; src: url('assets/fonts/IBMPlexSansArabic.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('assets/fonts/IBMPlexSansArabic-Medm.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('assets/fonts/IBMPlexSansArabic-SmBld.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('assets/fonts/IBMPlexSansArabic-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ff;
  --card: #f4f0ff;
  --card-2: #ffffff;
  --ink: #1b1030;
  --ink-2: #26084f;
  --muted: #6b6480;
  --line: #e9e4f5;
  --accent: #7b3fff;
  --accent-2: #5b6bff;
  --accent-soft: #ece4ff;
  --dark-btn: #26084f;
  --dark-btn-ink: #ffffff;
  --shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 12px 32px -12px rgba(38, 8, 79, .18);
  --hero-a: #e9dfff;
  --hero-b: #dfe4ff;
  --radius: 22px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Figtree', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
/* The site is light for everyone. The dark palette below stays available as
   an opt-in: set data-theme="dark" on <html>. */
:root[data-theme="dark"] {
  --bg: #0e0a16; --bg-soft: #140f1f; --card: #1b1428; --card-2: #1f172e;
  --ink: #f4f1f7; --ink-2: #efe7ff; --muted: #a39cb2; --line: #2c2438;
  --accent: #a985ff; --accent-2: #8c98ff; --accent-soft: #2a1252;
  --dark-btn: #efe7ff; --dark-btn-ink: #1b1030;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.7);
  --hero-a: #24133f; --hero-b: #151a3a;
  color-scheme: dark;
}

/* Arabic: one family for everything; Arabic has no italic, so the emphasised
   word is picked out in colour instead. */
:root[lang="ar"] { --serif: 'Plex Arabic', var(--sans); --sans: 'Plex Arabic', 'Figtree', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; margin-inline: auto; }

/* ── Type ── */
.h2 { font: 500 clamp(32px, 4.4vw, 52px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ink-2); }
.h3 { font: 600 clamp(22px, 2.4vw, 28px)/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink-2); }
em { font-style: italic; color: var(--accent); }
:root[lang="ar"] em { font-style: normal; }
:root[lang="ar"] .h2, :root[lang="ar"] .h3, :root[lang="ar"] .hero-title { font-weight: 700; letter-spacing: 0; }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 640px; margin-top: 18px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s; will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; white-space: nowrap; }
.btn-dark { background: var(--dark-btn); color: var(--dark-btn-ink); box-shadow: 0 10px 24px -10px rgba(38, 8, 79, .55); }
.btn-dark:hover { box-shadow: 0 16px 32px -12px rgba(38, 8, 79, .6); }

/* ── Nav ── */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50; transition: background .3s, box-shadow .3s, transform .45s var(--ease); }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 20px var(--serif); color: var(--ink-2); }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--accent-soft); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: 600 13px var(--sans); padding: 7px 11px; border-radius: 8px; cursor: pointer; transition: background .25s, color .25s; }
.lang button[data-set-lang="ar"] { font-family: 'Plex Arabic', sans-serif; }
.lang button[aria-pressed="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ── Hero ── */
.hero { position: relative; padding-block: 150px 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 20% 10%, var(--hero-a), transparent 70%),
  radial-gradient(50% 45% at 85% 20%, var(--hero-b), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--hero-a) 60%, var(--bg)) 0%, var(--bg) 85%); }
.hero-inner { text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card-2) 70%, transparent); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { font: 500 clamp(40px, 6.6vw, 80px)/1.08 var(--serif); letter-spacing: -.025em; color: var(--ink-2); margin-top: 26px; }
.hero-title .line { display: block; opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.hero-title .line:nth-child(2) { transition-delay: .14s; }
.ready .hero-title .line { opacity: 1; transform: none; filter: none; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 680px; margin: 24px auto 0; }
.hero-ctas { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.hero-stage { position: relative; margin: 64px auto 0; max-width: 900px; height: 600px; perspective: 1400px; }
.badge { position: absolute; display: flex; align-items: center; gap: 10px; text-align: start; background: color-mix(in srgb, var(--card-2) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); max-width: 250px; animation: float 6s ease-in-out infinite; }
.badge b { display: block; font-size: 14px; color: var(--ink); }
.badge small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.bi { font-size: 20px; }
.b1 { inset-inline-start: 2%; top: 70px; }
.b2 { inset-inline-end: 3%; top: 30px; animation-delay: -2s; }
.b3 { inset-inline-end: 8%; bottom: 120px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.doodle { position: absolute; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; opacity: .45; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 2.4s var(--ease) .6s; }
.ready .doodle { stroke-dashoffset: 0; }
.d1 { width: 120px; inset-inline-start: 14%; bottom: 60px; }
.d2 { width: 44px; inset-inline-end: 22%; top: 170px; fill: var(--accent-soft); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Phone drawn in HTML ── */
.phone { position: relative; margin-inline: auto; width: 300px; height: 600px; border-radius: 48px; background: #0d0a14; padding: 11px; box-shadow: 0 50px 90px -40px rgba(38, 8, 79, .55), 0 0 0 1px rgba(255,255,255,.06) inset; transform-style: preserve-3d; will-change: transform; }
.screen { height: 100%; border-radius: 38px; background: #fff; color: #17121f; overflow: hidden; padding: 16px 20px; text-align: start; position: relative; font-size: 13px; }
.sb { display: flex; justify-content: space-between; font-size: 13px; padding-inline: 8px; }
.sb-ic { width: 54px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #17121f 55%, transparent 55% 62%, #17121f 62%); opacity: .8; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.burger { width: 18px; height: 12px; background: linear-gradient(#17121f 0 2px, transparent 2px 5px, #17121f 5px 7px, transparent 7px 10px, #17121f 10px 12px); }
.upgrade { background: #efe6ff; color: #7b3fff; font-weight: 600; font-size: 12px; padding: 5px 11px; border-radius: 999px; }
.tabs { display: flex; gap: 14px; margin-top: 14px; font-size: 24px; font-weight: 700; }
.tabs b { color: #7b3fff; }
.tabs span { color: #c9c4d2; }
.upnext { border-bottom: 1px solid #eee; padding-block: 12px; }
.upnext small { color: #8a8494; font-size: 11px; }
.upnext div { display: flex; justify-content: space-between; }
.upnext em { font-style: normal; color: #7b3fff; font-weight: 600; font-size: 12px; }
.day { color: #8a8494; font-size: 11px; margin-top: 12px; }
.row { padding-block: 9px; }
.row b { display: block; font-size: 14px; }
.row small { color: #8a8494; font-size: 11px; }
.live-row { background: #f6f1ff; margin-inline: -10px; padding-inline: 10px; border-radius: 12px; }
.live-lines { display: block; min-height: 34px; color: #4b4458 !important; line-height: 1.45; }
.live-lines .cursor { display: inline-block; width: 6px; height: 12px; background: #7b3fff; vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.recbar { position: absolute; inset-inline: 16px; bottom: 22px; display: flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #7b3fff, #5b6bff); color: #fff; padding: 12px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; box-shadow: 0 12px 24px -10px rgba(91, 60, 255, .7); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d5e; animation: pulse 1.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.rec-time { font-variant-numeric: tabular-nums; }
.wave { display: flex; gap: 3px; align-items: center; margin-inline-start: auto; height: 18px; }
.wave i { width: 3px; background: rgba(255,255,255,.9); border-radius: 2px; height: 30%; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.5s; } .wave i:nth-child(4) { animation-delay: -.1s; }
.wave i:nth-child(5) { animation-delay: -.7s; } .wave i:nth-child(6) { animation-delay: -.3s; } .wave i:nth-child(7) { animation-delay: -.6s; }
@keyframes wave { 50% { height: 100%; } }
:root[dir="rtl"] .recbar { background: linear-gradient(270deg, #7b3fff, #5b6bff); }

/* ── Sections ── */
.section { padding-block: clamp(64px, 9vw, 110px); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font: 600 20px/1.3 var(--serif); color: var(--ink-2); margin-top: 18px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.card.sm { padding: 22px; }
.card.sm h3 { margin-top: 0; font-size: 17px; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--card-2); display: grid; place-items: center; box-shadow: var(--shadow); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Devices */
.dcard { background: var(--card); border-radius: var(--radius); padding: 18px 18px 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dcard h3 { font: 600 19px/1.3 var(--serif); color: var(--ink-2); margin: 20px 8px 0; }
.dcard p { color: var(--muted); font-size: 15px; margin: 6px 8px 0; }
.dvis { height: 240px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; }
.vis-app { background: linear-gradient(160deg, #efe6ff, #dfe6ff); }
.mini-phone { width: 140px; height: 250px; margin-top: 70px; background: #fff; border: 7px solid #0d0a14; border-radius: 26px; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.dcard:hover .mini-phone { transform: translateY(-10px); }
.mp-title { font-weight: 700; color: #7b3fff; font-size: 16px; }
.mini-phone i { display: block; height: 10px; border-radius: 4px; background: #eee9f5; }
.mini-phone i:nth-of-type(2) { width: 70%; } .mini-phone i:nth-of-type(3) { width: 85%; }
.mp-btn { margin-top: 6px; background: linear-gradient(90deg, #7b3fff, #5b6bff); color: #fff; font-size: 10px; font-weight: 600; text-align: center; padding: 6px; border-radius: 999px; }
.vis-lock { background: linear-gradient(170deg, #3b1f7a, #6a4bd8 60%, #f0a0c8); color: #fff; align-content: start; justify-items: center; padding-top: 18px; gap: 10px; }
.lock-time { font: 600 48px/1 var(--sans); letter-spacing: -.02em; order: 1; }
.island { order: 0; display: flex; align-items: center; gap: 8px; background: #000; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; }
.lock-card { order: 2; display: flex; gap: 8px; align-items: center; width: 82%; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.lock-card .rec-time { margin-inline-start: auto; }
.vis-cal { background: var(--card-2); border: 1px solid var(--line); align-content: center; justify-items: stretch; padding: 18px; gap: 10px; }
.cal-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; border-inline-start: 3px solid var(--line); }
.cal-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-row.hot { border-color: var(--accent); }
.toast { display: flex; gap: 10px; align-items: center; font-size: 13px; background: var(--dark-btn); color: var(--dark-btn-ink); padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow); animation: toast 5s var(--ease) infinite; }
@keyframes toast { 0%, 12% { transform: translateY(20px); opacity: 0; } 22%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-8px); opacity: 0; } }

/* Feature rows */
.rows { display: grid; gap: clamp(60px, 8vw, 110px); }
.frow { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.frow.flip .ftext { order: 2; }
.ftext p { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 480px; }
.fvis { background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--hero-b) 70%, var(--card))); border-radius: 28px; padding: clamp(24px, 4vw, 48px); min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.frow .fvis > * { transition: transform 1s var(--ease) .15s, opacity 1s var(--ease) .15s; transform: translateY(30px) scale(.97); opacity: 0; }
.frow.in .fvis > * { transform: none; opacity: 1; }
.note-card, .transcript, .tpl { width: 100%; max-width: 440px; background: var(--card-2); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.nc-h { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nc-h + * { margin-top: 8px; }
.nc-list { margin: 0 0 18px; padding-inline-start: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.todo { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.todo input { accent-color: var(--accent); width: 18px; height: 18px; }
.todo input:checked + span { text-decoration: line-through; color: var(--muted); }
.tl { display: flex; gap: 12px; padding: 10px; border-radius: 12px; font-size: 14px; transition: background .4s; }
.tl.on { background: var(--accent-soft); }
.ts { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; }
.player { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.play { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; }
.bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.frow.in .bar i { animation: progress 6s linear infinite; }
@keyframes progress { to { width: 100%; } }
.dialects { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 460px; }
.dialects span { padding: 12px 20px; border-radius: 999px; background: var(--card-2); box-shadow: var(--shadow); font-weight: 600; color: var(--ink-2); animation: float 7s ease-in-out infinite; }
.dialects span:nth-child(2n) { animation-delay: -2.5s; } .dialects span:nth-child(3n) { animation-delay: -4.5s; }
.tpl { display: grid; gap: 10px; }
.tpl-item { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.tpl-item.on { border-color: var(--accent); background: var(--accent-soft); }
.lockvis { width: 150px; height: 150px; border-radius: 40px; background: var(--card-2); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; }
.lockvis::before, .lockvis::after { content: ''; position: absolute; inset: -18px; border-radius: 52px; border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent); animation: ring 3s var(--ease) infinite; }
.lockvis::after { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.lockvis svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }

/* Ask Echo */
.ask-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.chat { background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--hero-b) 70%, var(--card))); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 360px; }
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.chat-head img { border-radius: 7px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 15px; }
.bubble.me { align-self: flex-end; background: var(--dark-btn); color: var(--dark-btn-ink); border-end-end-radius: 6px; }
.bubble.bot { align-self: flex-start; background: var(--card-2); box-shadow: var(--shadow); border-end-start-radius: 6px; min-height: 48px; white-space: pre-line; }
.caret { display: inline-block; width: 7px; height: 15px; background: var(--accent); vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(2) infinite; }

/* Marquee */
.band { padding-block: 26px; border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.track span { white-space: nowrap; padding: 12px 22px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font: 500 18px var(--serif); color: var(--ink-2); }
.track span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-inline-end: 12px; vertical-align: 2px; }
.band:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
:root[dir="rtl"] .track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; inset-inline: 16%; height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft)); transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
:root[dir="rtl"] .steps::before { transform-origin: right; }
.steps::before { transform-origin: left; }
.steps.in::before, .steps:has(li.in)::before { transform: scaleX(1); }
.steps li { text-align: center; position: relative; }
.num { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--dark-btn); color: var(--dark-btn-ink); font: 600 22px var(--serif); box-shadow: 0 0 0 8px var(--bg); position: relative; }
.steps h3 { font: 600 20px/1.3 var(--serif); color: var(--ink-2); margin-top: 22px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.use { grid-column: span 2; background: var(--card); border-radius: var(--radius); padding: 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; }
.use:nth-child(4) { grid-column: 2 / span 2; }
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.emo { font-size: 30px; display: inline-block; transition: transform .5s var(--ease); }
.use:hover .emo { transform: scale(1.15) rotate(-6deg); }
.use h3 { font: 600 19px/1.3 var(--serif); color: var(--ink-2); margin-top: 14px; }
.use p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* Final CTA */
.final { padding-block: clamp(40px, 6vw, 70px); }
.final-inner { text-align: center; padding: clamp(48px, 7vw, 90px) 24px; border-radius: 36px; background:
  radial-gradient(60% 80% at 20% 0%, var(--hero-a), transparent 70%),
  radial-gradient(60% 80% at 90% 100%, var(--hero-b), transparent 70%), var(--card); }
.final-inner .lead { margin-inline: auto; margin-bottom: 30px; }
.final-mark { margin: 0 auto 20px; border-radius: 18px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; color: var(--ink-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.ans { overflow: hidden; }
.ans p { padding: 0 24px 22px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 36px; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; margin-inline-start: auto; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.copy { color: var(--muted); font-size: 13px; width: 100%; }

/* ── Scroll reveal ── */
/* As on Cue: rise, fade and come into focus, one after another. */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal], .no-js .hero-title .line { opacity: 1; transform: none; filter: none; }

/* ── Buttons: the outline one, as on Cue's "Download for Mac" ── */
.btn-outline { background: var(--card-2); color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(38, 8, 79, .06); }
.btn-outline:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.apple { width: 15px; height: 15px; fill: currentColor; margin-top: -2px; }

/* ── Hero: the Mac app behind, the phone in front ── */
.mac { position: absolute; inset-inline-start: 50%; top: 40px; width: min(760px, 92%); translate: -58% 0; height: 470px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(38, 8, 79, .45); overflow: hidden; text-align: start; animation: macIn 1.4s var(--ease) .5s both; }
:root[dir="rtl"] .mac { translate: 58% 0; inset-inline-start: auto; inset-inline-end: 50%; }
@keyframes macIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.mac-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mac-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-body { display: grid; grid-template-columns: 200px 1fr; height: calc(100% - 36px); }
.mac-side { background: var(--bg-soft); border-inline-end: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mac-side b { color: var(--accent); font-size: 18px; margin-bottom: 8px; }
.mac-side span { padding: 8px 10px; border-radius: 9px; color: var(--muted); }
.mac-side span.on { background: var(--accent-soft); color: var(--ink-2); font-weight: 600; }
.mac-main { padding: 22px 26px; font-size: 14px; }
.mac-main h4 { font: 600 22px/1.2 var(--serif); color: var(--ink-2); margin: 4px 0 12px; }
.mac-date { color: var(--muted); font-size: 12px; }
.mac-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--muted); }
.mac-tabs b { color: var(--ink-2); box-shadow: 0 10px 0 -8px var(--accent); }
.mac-h { font-weight: 700; color: var(--ink-2); margin-top: 14px; }
.mac-main ul { margin: 8px 0 0; padding-inline-start: 18px; color: var(--muted); display: grid; gap: 6px; }
.hero-stage .phone { position: absolute; inset-inline-end: 9%; top: 0; transform-origin: bottom center; }
/* With the Mac window there, the labels sit on its edges and beside the phone. */
@media (min-width: 961px) {
  .hero-stage { max-width: 1060px; }
  .hero-stage .b1 { inset-inline-start: -1%; top: auto; bottom: 70px; }
  .hero-stage .b2 { inset-inline-end: -3%; top: 150px; }
  .hero-stage .b3 { inset-inline-end: auto; inset-inline-start: 30%; bottom: -6px; }
  .hero-stage .d2 { inset-inline-end: 1%; top: 40px; }
  .hero-stage .d1 { inset-inline-start: 2%; bottom: auto; top: 0; }
}
@media (max-width: 960px) { .mac { display: none; } .hero-stage .phone { position: relative; inset-inline-end: auto; } }

/* ── Devices ── */
.dbtns { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 8px 0; }
.vis-kb { background: linear-gradient(160deg, #e7f0ff, #efe6ff); align-content: end; padding: 0 22px; }
.kb-field { justify-self: center; align-self: center; margin-bottom: 18px; background: var(--card-2); color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: var(--shadow); }
.kb-field .caret { height: 13px; }
.kb { width: 100%; background: #d6d8de; border-radius: 14px 14px 0 0; padding: 8px 6px 10px; display: grid; gap: 6px; }
.kb-bar { display: flex; justify-content: center; padding-bottom: 2px; }
.kb-pill { display: flex; align-items: center; gap: 3px; background: #ff4d5e; border-radius: 999px; padding: 5px 12px; height: 22px; }
.kb-pill i { width: 2px; background: #fff; border-radius: 2px; height: 40%; animation: wave 1s ease-in-out infinite; }
.kb-pill i:nth-child(2) { animation-delay: -.3s; } .kb-pill i:nth-child(3) { animation-delay: -.6s; } .kb-pill i:nth-child(4) { animation-delay: -.2s; } .kb-pill i:nth-child(5) { animation-delay: -.5s; }
.kb-pill b { width: 8px; height: 8px; background: #fff; border-radius: 2px; margin-inline-start: 6px; }
.kb-row { display: flex; gap: 4px; justify-content: center; }
.kb-row i { width: 8.4%; height: 18px; background: #fff; border-radius: 4px; box-shadow: 0 1px 0 #9a9ca3; }
.vis-mac { background: linear-gradient(170deg, #3b1f7a, #6a4bd8 60%, #f0a0c8); }
.mini-mac { width: 82%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transition: transform .6s var(--ease); }
.dcard:hover .mini-mac, .dcard:hover .kb { transform: translateY(-6px); }
.kb { transition: transform .6s var(--ease); }
.mm-body { display: flex; align-items: center; gap: 10px; padding: 18px 16px; color: #17121f; font-weight: 600; }
.mm-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d5e; animation: pulse 1.4s ease-in-out infinite; }
.wave.dark i { background: var(--accent); }

/* ── Assistant: illustrated cards, three by two ── */
.ai-grid { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
.acard { text-align: center; }
.acard h3 { font: 600 20px/1.3 var(--serif); color: var(--ink-2); margin-top: 22px; }
.acard p { color: var(--muted); font-size: 15px; margin: 6px auto 0; max-width: 260px; }
.avis { height: 220px; border-radius: var(--radius); background: var(--card); display: grid; place-items: center; position: relative; overflow: hidden; padding: 18px; }
.avis .chat { min-height: 0; width: 100%; padding: 14px; gap: 8px; border-radius: 18px; background: var(--card-2); box-shadow: var(--shadow); text-align: start; }
.avis .bubble { font-size: 12.5px; padding: 8px 11px; }
.sheet { background: var(--card-2); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); text-align: start; width: 80%; font-size: 13px; transition: transform .6s var(--ease); }
.tilt-l { transform: rotate(-3deg); } .tilt-r { transform: rotate(3deg); }
.acard:hover .sheet, .scard:hover .sheet { transform: rotate(0) translateY(-4px); }
.sh-h { font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.hl { margin: 0; padding-inline-start: 16px; display: grid; gap: 6px; color: var(--muted); }
.hl mark { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 38%, transparent) 58%); color: inherit; background-size: 0 100%; background-repeat: no-repeat; transition: background-size 1.2s var(--ease) .4s; }
.in .hl mark, .acard.in .hl mark { background-size: 100% 100%; }
.checks { display: grid; gap: 8px; }
.ck { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.ck::before { content: ''; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--line); flex: none; }
.ck.on { color: var(--ink); } .ck.on::before { background: var(--accent); border-color: var(--accent); }
.scribble { position: absolute; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.in .scribble, .in.scribble, .scard .scribble { stroke-dashoffset: 0; }
.avis .scribble { width: 54px; inset-inline-end: 18px; top: 16px; }
.dates { display: flex; gap: 12px; }
.chip { width: 70px; border-radius: 14px; background: var(--card-2); box-shadow: var(--shadow); display: grid; place-items: center; padding: 12px 0; animation: float 6s ease-in-out infinite; }
.chip b { font: 600 26px/1 var(--serif); color: var(--accent); } .chip small { color: var(--muted); font-size: 12px; }
.chip.c2 { animation-delay: -2s; transform: translateY(14px); } .chip.c3 { animation-delay: -4s; }
.mail { width: 82%; background: var(--card-2); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); text-align: start; display: grid; gap: 8px; }
.mail-sub { font-weight: 700; font-size: 13px; color: var(--ink-2); }
.mail i, .sheet .ln { display: block; height: 8px; border-radius: 4px; background: var(--line); } .mail i.s, .sheet .ln.s { width: 60%; }
.sheet .ln + .ln { margin-top: 8px; }
.mail-send { justify-self: end; background: var(--dark-btn); color: var(--dark-btn-ink); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; }
.sheet .add { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin: 12px 0 0 auto; animation: ping 2.2s var(--ease) infinite; }
:root[dir="rtl"] .sheet .add { margin: 12px auto 0 0; }

/* ── How it works: cards pin mid-screen and stack, as on Cue ── */
.stack { display: grid; gap: 34vh; margin-top: 48px; padding-bottom: 6vh; }
.scard { position: sticky; top: calc(50vh - 230px); width: min(420px, 100%); margin-inline: auto; min-height: 440px; border-radius: 28px; padding: 26px 28px 30px; box-shadow: 0 30px 60px -30px rgba(38, 8, 79, .45); transform: rotate(var(--r, 0deg)) scale(var(--sc, 1)); transition: transform .4s var(--ease); color: #1b1030; }
.scard.s1 { background: #fff1a8; --r: -2deg; }
.scard.s2 { background: #ffc6e5; --r: 2.5deg; }
.scard.s3 { background: #c9f7b5; --r: -1.5deg; }
.svis { height: 230px; display: grid; place-items: center; position: relative; }
.svis .mini-phone { margin-top: 0; }
.mini-phone.tilt { transform: rotate(-6deg); }
.svis .scribble.loop { width: 150px; inset-inline-end: 0; bottom: 10px; stroke: #5b3fd9; }
.voice { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 12px 20px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.voice .play { color: #7b3fff; }
.voice .wave { height: 28px; }
.svis .sheet { width: 88%; border-radius: 18px; }
/* The cards are always pastel, so what sits on them stays light in dark mode too. */
.scard .sheet { background: #fff; color: #1b1030; }
.scard .sheet .sh-h { color: #26084f; } .scard .sheet .hl { color: #6b6480; }
.scard .sheet .todo { border-color: #ece7f5; } .scard .sheet .todo input:checked + span { color: #8a8494; }
.snum { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(27,16,48,.1); font-weight: 700; font-size: 14px; }
.scard h3 { font: italic 500 26px/1.2 var(--serif); margin-top: 10px; color: #1b1030; }
.scard p { margin-top: 6px; color: #4b4458; }
:root[lang="ar"] .scard h3 { font-style: normal; font-weight: 700; }

/* ── Closing panel with stickers, as on Cue ── */
.outro { position: relative; text-align: center; padding: clamp(70px, 9vw, 120px) 24px; border-radius: 40px; background:
  radial-gradient(60% 70% at 15% 10%, var(--hero-a), transparent 70%),
  radial-gradient(50% 60% at 90% 90%, var(--hero-b), transparent 70%), var(--card); }
.outro .lead { margin-inline: auto; }
.outro-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.sticker { position: absolute; background: var(--card-2); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow); text-align: start; font-size: 13px; animation: float 7s ease-in-out infinite; width: 220px; }
.sticker .todo { font-size: 12px; padding: 6px 0; }
.st1 { inset-inline-start: -28px; bottom: -34px; rotate: -6deg; }
.st2 { inset-inline-end: -26px; top: 40px; rotate: 5deg; animation-delay: -3s; background: color-mix(in srgb, var(--accent) 85%, #5b6bff); color: #fff; }
.st2 .sh-h, .st2 .todo span { color: #fff; } .st2 .todo { border-color: rgba(255,255,255,.25); }
.st2 .todo input:checked + span { color: rgba(255,255,255,.72); }
.st3 { inset-inline-start: 40px; top: -22px; width: auto; rotate: -4deg; background: #fff1a8; color: #1b1030; font-weight: 600; animation-delay: -5s; }
.tape { position: absolute; top: -9px; inset-inline-start: 40%; width: 54px; height: 18px; background: color-mix(in srgb, #ffc6e5 80%, transparent); rotate: -4deg; }
.outro .scribble.count { width: 80px; inset-inline-end: 9%; bottom: 40px; opacity: .6; }
@media (max-width: 960px) { .sticker { display: none; } .outro .scribble.count { display: none; } }

/* ── Footer on a grid, as on Cue ── */
.footer { position: relative; border-top: 0; padding-block: 70px 50px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.footer-inner { align-items: flex-end; justify-content: space-between; }
.foot-left { display: grid; gap: 14px; }
.foot-left .footer-links { margin-inline-start: 0; }
.foot-right { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .grid3, .steps, .ai-grid { grid-template-columns: 1fr; }
  .stack { gap: 24vh; }
  .scard { top: 90px; }
  .steps::before { display: none; }
  .frow, .ask-grid { grid-template-columns: 1fr; }
  .frow.flip .ftext { order: 0; }
  .uses { grid-template-columns: 1fr 1fr; }
  .use, .use:nth-child(4) { grid-column: auto; }
  .use:last-child { grid-column: 1 / -1; }
  .hero-stage { height: 560px; }
  .badge { transform-origin: center; }
  .b1 { inset-inline-start: 0; top: 40px; }
  .b2 { inset-inline-end: 0; top: 200px; }
  .b3 { inset-inline-start: 2%; inset-inline-end: auto; bottom: 60px; }
}
@media (max-width: 560px) {
  .nav-actions .mac-btn { display: none; }
  .hero { padding-top: 120px; }
  .btn-sm { padding: 9px 12px; }
  .brand span { display: none; }
  .phone { width: 260px; height: 520px; border-radius: 42px; }
  .screen { border-radius: 33px; padding: 14px 16px; }
  .hero-stage { height: 540px; margin-top: 48px; }
  .badge { max-width: 190px; padding: 8px 10px; }
  .b3 { top: 320px; bottom: auto; }
  .badge small { display: none; }
  .grid2, .uses { grid-template-columns: 1fr; }
  .use:last-child { grid-column: auto; }
  .d1, .d2 { display: none; }
}

/* ── Less motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-title .line, .frow .fvis > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .scard { position: relative; top: auto; }
  .stack { gap: 24px; }
  .doodle { stroke-dashoffset: 0; }
}

/* ── Hero scene: people talk, Echo listens, the note is ready ── */
.hero { padding-bottom: 90px; }
.hero-bg { background:
  radial-gradient(70% 55% at 50% 0%, var(--hero-a), transparent 72%),
  radial-gradient(45% 40% at 88% 30%, var(--hero-b), transparent 70%),
  radial-gradient(45% 40% at 10% 38%, #ffe9f3, transparent 70%); }
.hero-stage, .hero-stage[data-reveal] { height: auto; max-width: 1120px; margin-top: 72px; perspective: none; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: start; }
.hs-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hs-echo { flex: 0 0 240px; align-items: center; }
.hs-cap { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.hs-echo .hs-cap { justify-content: center; }
.hs-cap b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }

/* What was said */
.say { display: flex; align-items: flex-end; gap: 10px; animation: pop .7s var(--ease) both; animation-delay: calc(.9s + var(--n, 0) * .55s); }
.say.s2 { --n: 1; } .say.s3 { --n: 2; }
.say.alt { flex-direction: row-reverse; }
.say > div { background: var(--card-2); border-radius: 20px; border-end-start-radius: 6px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 290px; }
.say.alt > div { background: var(--accent); border-radius: 20px; border-end-end-radius: 6px; }
.say small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.say p { font-size: 16px; line-height: 1.4; color: var(--ink); }
.say.alt small { color: rgba(255,255,255,.75); } .say.alt p { color: #fff; }
.say [lang="ar"] { font-family: 'Plex Arabic', sans-serif; } .say [lang="en"] { font-family: 'Figtree', sans-serif; }
.say [lang] { display: block; }
/* Little faces, cousins of the Echo character. */
.face { flex: none; width: 40px; height: 40px; border-radius: 50%; background:
  radial-gradient(circle at 36% 46%, #3a2a1a 0 2.6px, transparent 3.2px),
  radial-gradient(circle at 64% 46%, #3a2a1a 0 2.6px, transparent 3.2px),
  radial-gradient(circle at 50% 30%, #ffd9a8, #ffb26b); box-shadow: 0 6px 14px -6px rgba(255, 150, 60, .8); }
.face.f2 { background:
  radial-gradient(circle at 36% 46%, #12403a 0 2.6px, transparent 3.2px),
  radial-gradient(circle at 64% 46%, #12403a 0 2.6px, transparent 3.2px),
  radial-gradient(circle at 50% 30%, #b9f3dc, #63d3ad); box-shadow: 0 6px 14px -6px rgba(60, 190, 150, .8); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }

/* Dots that carry the words along */
.hs-flow { flex: none; display: flex; gap: 7px; margin-top: 30px; }
.hs-flow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .18; animation: flow 1.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * .2s); }
.hs-flow i:nth-child(2) { --d: 1; } .hs-flow i:nth-child(3) { --d: 2; } .hs-flow i:nth-child(4) { --d: 3; }
.hs-flow.f-2 i { animation-delay: calc(.8s + var(--d, 0) * .2s); }
@keyframes flow { 30% { opacity: 1; transform: scale(1.35); } 60% { opacity: .18; transform: none; } }

/* Echo itself */
.buddy-wrap { position: relative; width: 200px; height: 190px; display: grid; place-items: center; }
.ring { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); animation: echo 3.6s ease-out infinite; }
.ring:nth-child(2) { animation-delay: 1.2s; } .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes echo { from { transform: scale(.75); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.buddy { position: relative; width: 150px; height: 138px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: radial-gradient(70% 60% at 50% 85%, #8a55ff, #b497ff 55%, #dccfff); box-shadow: inset 0 10px 18px rgba(255,255,255,.55), inset 0 -14px 26px rgba(91, 40, 220, .28), 0 26px 34px -18px rgba(91, 40, 220, .65); display: flex; justify-content: center; gap: 30px; padding-top: 44px; animation: bob 4s ease-in-out infinite; }
.eye { width: 21px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(60, 20, 160, .25); animation: blinkEye 4.6s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes blinkEye { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.hs-rec { display: inline-flex; align-items: center; gap: 8px; background: var(--card-2); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hs-rec .wave { margin-inline-start: 4px; }

/* The note that comes out */
.hs-card { background: var(--card-2); border-radius: 24px; padding: 22px 24px 24px; box-shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 30px 60px -30px rgba(91, 40, 220, .45); }
.hs-card-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 19px/1.2 var(--serif); color: var(--ink-2); }
.hs-card-top img { border-radius: 8px; }
.hs-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 16px; }
:root[lang="ar"] .hs-h { letter-spacing: 0; font-size: 13px; }
.hs-li { position: relative; padding-inline-start: 30px; margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--ink); animation: pop .7s var(--ease) both; animation-delay: calc(2.9s + var(--n, 0) * .45s); }
.hs-li.n2 { --n: 1; } .hs-li.n3 { --n: 2; }
.hs-li::before { content: ''; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; }
.hs-li.pt::before { background: radial-gradient(circle, var(--accent) 0 4px, var(--accent-soft) 4.6px); }
.hs-li.ck::before { border-radius: 7px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hs-li.n3::before { background: var(--card-2); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 45%, var(--line)); }

@media (max-width: 960px) {
  .hero-stage, .hero-stage[data-reveal] { flex-direction: column; gap: 22px; margin-top: 52px; max-width: 420px; }
  .hs-col, .hs-echo { flex: none; width: 100%; }
  .hs-flow { flex-direction: column; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .say, .hs-li { opacity: 1 !important; } }

/* ── Type: Instrument Serif for display, Figtree for everything else ── */
:root { --serif: 'Instrument Serif', Georgia, serif; --sans: 'Figtree', -apple-system, system-ui, 'Segoe UI', sans-serif; }
:root[lang="ar"] { --serif: 'Plex Arabic', 'Figtree', sans-serif; --sans: 'Plex Arabic', 'Figtree', system-ui, sans-serif; }
.hero-title { font-weight: 400; font-size: clamp(46px, 7.2vw, 92px); line-height: 1; letter-spacing: -.02em; }
.h2 { font-weight: 400; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; letter-spacing: -.015em; }
.h3 { font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.01em; }
.brand { font: 700 21px/1 'Figtree', sans-serif; letter-spacing: -.02em; }
/* The serif has one weight, so small titles are set in the sans. */
.card h3, .dcard h3, .use h3, .acard h3, .steps h3, .hs-card-top, .mac-main h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.scard h3 { font-weight: 400; font-size: 32px; }
.track span { font-weight: 400; font-size: 21px; }
.chip b, .num { font-weight: 400; }
.chip b { font-size: 32px; }
:root[lang="ar"] :is(.hero-title, .h2, .h3) { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
:root[lang="ar"] .hero-title { font-size: clamp(38px, 5.6vw, 70px); }
:root[lang="ar"] .h2 { font-size: clamp(30px, 4vw, 48px); }
:root[lang="ar"] .h3 { font-size: clamp(22px, 2.4vw, 28px); }

/* ── Hero: a clear sunrise valley as an inset panel, with the story on top ── */
.hero { padding-bottom: 96px; overflow: visible; }
.hero-bg { inset: 10px 10px 0; border-radius: 34px; overflow: hidden; background:
  radial-gradient(46% 30% at 50% 30%, rgba(255,255,255,.5), rgba(255,255,255,0) 75%),
  var(--valley) center 38% / cover no-repeat; }
/* On wide screens the picture sits at the bottom and its own sky colour carries on
   above it, so the headline reads against open sky and the valley frames the story. */
@media (min-width: 961px) {
  .hero-bg { background:
    radial-gradient(44% 26% at 50% 27%, rgba(255,255,255,.42), rgba(255,255,255,0) 75%),
    linear-gradient(#6a9ef5 0, #6a9ef5 25%, rgba(106,158,245,0) 44%),
    var(--valley) center bottom / max(100%, 1500px) auto no-repeat,
    #6a9ef5; }
}
.hero-sub { color: color-mix(in srgb, var(--ink) 86%, transparent); max-width: 560px; text-wrap: balance; }
:root[lang="ar"] .hero-sub { max-width: 640px; }
.nav:not(.scrolled) .nav-links { color: var(--ink-2); }
.hs-cap { align-self: flex-start; background: var(--card-2); padding: 6px 14px 6px 6px; border-radius: 999px; box-shadow: var(--shadow); }
:root[dir="rtl"] .hs-cap { padding: 6px 6px 6px 14px; }
.hs-echo .hs-cap { align-self: center; }
.hero-stage .hs-flow i { background: #fff; opacity: .35; }

/* The places Echo listens */
.src { display: flex; align-items: center; gap: 14px; background: var(--card-2); border-radius: 22px; padding: 14px 18px 14px 14px; box-shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 24px 44px -26px rgba(30, 20, 90, .55); animation: pop .7s var(--ease) both; animation-delay: calc(.9s + var(--n, 0) * .35s); }
:root[dir="rtl"] .src { padding: 14px 14px 14px 18px; }
.src.s2 { --n: 1; } .src.s3 { --n: 2; }
.src b { display: block; font-size: 17px; font-weight: 600; color: var(--ink-2); line-height: 1.25; }
.src small { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.src .wave { height: 22px; }
.src-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; }
.src-ic svg { width: 26px; height: 26px; fill: none; stroke: #2a1a4a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.src-ic.c1 { background: linear-gradient(150deg, #ffe1b8, #ffb26b); }
.src-ic.c2 { background: linear-gradient(150deg, #c9f6e3, #63d3ad); }
.src-ic.c3 { background: linear-gradient(150deg, #e6dcff, #a985ff); }
.hs-merge { flex: none; align-self: stretch; width: 96px; height: auto; overflow: visible; margin-inline: -6px; }
.hs-merge path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hs-merge circle { fill: #fff; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
:root[dir="rtl"] .hs-merge { transform: scaleX(-1); }
.hero-stage .hs-flow.f-1 { display: none; }
@media (max-width: 960px) {
  .hs-merge { display: none; }
  .hero-stage .hs-flow.f-1 { display: flex; }
  .hero-bg { inset: 0; border-radius: 0 0 28px 28px; }
}

/* ── Languages and dialects ── */
.section.tinted { background: var(--bg-soft); }
.langs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.lang-card { display: grid; justify-items: center; gap: 16px; padding: 26px 12px 22px; border-radius: var(--radius); background: var(--card-2); border: 1px solid var(--line); text-align: center; }
.lang-card b { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.flags { display: flex; justify-content: center; height: 44px; align-items: center; }
.flags img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--card-2); box-shadow: 0 2px 8px rgba(38, 8, 79, .18); object-fit: cover; }
.flags img + img { margin-inline-start: -12px; }
.glyph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 22px/1 'Plex Arabic', sans-serif; padding-bottom: 4px; }
.heard { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 28px auto 0; max-width: 760px; padding: 22px 28px; border-radius: var(--radius); background: var(--card-2); border: 1px solid var(--line); }
.heard > div { flex: 1; }
.heard small { display: block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.heard p { font-size: 20px; font-weight: 500; color: var(--ink-2); line-height: 1.5; }
.heard p[lang="ar"] { font-family: 'Plex Arabic', sans-serif; text-align: start; }
:root[dir="ltr"] .heard p[lang="ar"] { text-align: left; direction: rtl; unicode-bidi: plaintext; }
.heard-arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); position: relative; }
.heard-arrow::after { content: ''; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; }
:root[dir="rtl"] .heard-arrow { transform: scaleX(-1); }
@media (max-width: 960px) { .langs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .langs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .heard { flex-direction: column; gap: 14px; text-align: center; padding: 20px; }
  .heard p[lang="ar"], :root[dir="ltr"] .heard p[lang="ar"] { text-align: center; }
  .heard-arrow { transform: rotate(90deg); }
}

/* ── The note card: share, tools, and where each to-do came from ── */
.hs-card-top b { min-width: 0; }
.hs-share { margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--dark-btn); color: var(--dark-btn-ink); font: 600 13px/1 var(--sans); }
.hs-share svg, .hs-tool svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hs-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hs-tool { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.2; }
.hs-li .from { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.hs-li .from b { color: var(--accent); font-weight: 600; }
.hs-merge circle { r: 5px; }
.hs-li.ck { display: block; }

/* ══ Below the hero: the same friendly language (white cards, coloured tiles, the valley) ══ */
.btn-outline .apple { width: 16px; height: 16px; }
.src-ic.c4 { background: linear-gradient(150deg, #ffd9ea, #ff9cc4); }
.src-ic.c5 { background: linear-gradient(150deg, #d6e6ff, #7fb0ff); }
.src-ic.sm { width: 38px; height: 38px; border-radius: 12px; }
.src-ic.sm svg { width: 20px; height: 20px; }

/* The meeting deck */
.hs-deck { display: grid; position: relative; perspective: 1400px; }
.hs-deck::before, .hs-deck::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: var(--card-2); }
.hs-deck::before { transform: translateY(20px) scale(.9); opacity: .45; }
.hs-deck::after { transform: translateY(10px) scale(.95); opacity: .7; }
.hs-deck .hs-card { grid-area: 1 / 1; position: relative; z-index: 1; backface-visibility: hidden; transform: rotateY(-90deg); opacity: 0; transition: transform .75s var(--ease), opacity .3s; }
.hs-deck .hs-card.on { transform: none; opacity: 1; }
.hs-deck .hs-card.out { transform: rotateY(90deg); opacity: 0; }
.hs-li.still { animation: none; }
@media (prefers-reduced-motion: reduce) { .hs-deck .hs-card { transition: none; } }

/* Cards and icon tiles */
.card, .use, .dcard { background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(38, 8, 79, .04), 0 18px 40px -28px rgba(38, 8, 79, .28); }
.card:hover, .use:hover, .dcard:hover { transform: none; }
.card { padding: 32px; }
.card h3, .use h3 { font-size: 22px; margin-top: 22px; }
.card p, .use p { font-size: 16px; }
.icon { width: 56px; height: 56px; border-radius: 18px; box-shadow: none; }
.icon svg { width: 28px; height: 28px; stroke: #2a1a4a; stroke-width: 1.7; }
.grid3 > .card:nth-child(3n+1) .icon { background: linear-gradient(150deg, #ffe1b8, #ffb26b); }
.grid3 > .card:nth-child(3n+2) .icon { background: linear-gradient(150deg, #c9f6e3, #63d3ad); }
.grid3 > .card:nth-child(3n) .icon { background: linear-gradient(150deg, #e6dcff, #a985ff); }
.use { padding: 30px; }
.use .src-ic { width: 56px; height: 56px; border-radius: 18px; }
.use .src-ic svg { width: 28px; height: 28px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 56px; }
.bcell { border-radius: 30px; padding: 36px 36px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 500px; }
.bcell.w7 { grid-column: span 7; } .bcell.w5 { grid-column: span 5; }
.bcell > p, .bcell > div > p { color: color-mix(in srgb, var(--ink) 72%, transparent); font-size: 17px; margin-top: 12px; max-width: 520px; }
.b-lav { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.b-peach { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.b-mint { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.b-sky { background: linear-gradient(160deg, #e6f0ff, #cfdfff); }
.bmock { margin-top: auto; background: var(--card-2); border-radius: 22px 22px 0 0; padding: 24px 26px 28px; box-shadow: 0 -1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -30px rgba(38, 8, 79, .35); max-width: 520px; width: 100%; align-self: center; translate: 0 6px; }
.bcell > p { margin-bottom: 32px; }
.bcell .bmock { margin-top: auto; }
.bmock.tpl { max-width: 440px; box-shadow: 0 30px 60px -30px rgba(38, 8, 79, .35); }
.bmock .hs-h:first-child { margin-top: 0; }
.bcell.in .bar i { animation: progress 6s linear infinite; }
.play { color: #fff; }
.play svg { width: 13px; height: 13px; fill: currentColor; margin-inline-start: 2px; }
.tpl-item { padding: 10px 14px; font-size: 16px; }
.tpl-item b { font-weight: 600; color: var(--ink-2); }
.b-private { flex-direction: row; align-items: center; gap: 32px; padding-bottom: 36px; min-height: 0; }
.b-private > div:first-child { flex: 1; }
.guard { position: relative; flex: none; width: 220px; height: 210px; display: grid; place-items: center; }
.guard .buddy { animation: bob 5s ease-in-out infinite; }
.guard-lock { position: absolute; inset-inline-end: 14px; bottom: 22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--card-2); box-shadow: var(--shadow); }
.guard-lock svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Ask Echo: calm, colourful panels */
.avis { height: 240px; border-radius: 26px; }
.ai-grid > .acard:nth-child(6n+1) .avis { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.ai-grid > .acard:nth-child(6n+2) .avis { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.ai-grid > .acard:nth-child(6n+3) .avis { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.ai-grid > .acard:nth-child(6n+4) .avis { background: linear-gradient(160deg, #e6f0ff, #cfdfff); }
.ai-grid > .acard:nth-child(6n+5) .avis { background: linear-gradient(160deg, #ffe9f2, #ffd0e2); }
.ai-grid > .acard:nth-child(6n) .avis { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.tilt-l, .tilt-r { transform: none; }
.avis .scribble { display: none; }
.sheet { font-size: 14px; border-radius: 18px; }
.hl mark { background: color-mix(in srgb, var(--accent) 20%, transparent); background-size: auto; color: var(--ink); padding: .1em .3em; margin-inline: -.3em; border-radius: .35em; }
.in .hl mark, .acard.in .hl mark { background-size: auto; }
.acard h3 { font-size: 21px; }
.acard p { font-size: 16px; }
.chip { animation: none; } .chip.c2 { transform: none; }

/* Apps: the Mac shows the same valley as its wallpaper */
.dvis { border-radius: 20px; }
.vis-app { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.vis-kb { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.vis-mac { background: var(--valley) center 55% / cover; }
.dcard h3 { font-size: 21px; }
.dcard p { font-size: 16px; }

/* Closing panel: back in the valley */
.outro { background: radial-gradient(46% 50% at 50% 47%, rgba(255,255,255,.9), rgba(255,255,255,.7) 45%, rgba(255,255,255,0) 78%), linear-gradient(#6a9ef5 0, #6a9ef5 8%, rgba(106,158,245,0) 30%), var(--valley) center 12% / cover no-repeat; border-radius: 34px; padding: clamp(64px, 8vw, 104px) 24px clamp(120px, 14vw, 200px); }
.outro .buddy { width: 96px; height: 88px; margin: 0 auto 22px; animation: bob 5s ease-in-out infinite; }
.outro .buddy .eye { width: 13px; height: 19px; }
.outro .lead, .outro .fine { color: color-mix(in srgb, var(--ink) 86%, transparent); }
.outro .fine { font-weight: 500; }

/* Footer: links only */
.footer { background-image: none; -webkit-mask-image: none; mask-image: none; border-top: 1px solid var(--line); padding-block: 34px; margin-top: 0; }
.footer-inner { align-items: center; }
.foot-left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; width: 100%; justify-content: space-between; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .bcell.w7, .bcell.w5 { grid-column: auto; }
  .bcell { padding: 28px 24px 0; min-height: 0; }
  .b-private { flex-direction: column; align-items: flex-start; padding-bottom: 28px; }
  .guard { align-self: center; }
}

/* ── Second section: small product displays instead of icons ── */
.pgrid .card { padding: 14px 14px 30px; }
.pgrid .card h3 { margin: 24px 16px 0; }
.pgrid .card p:not([class]) { margin: 8px 16px 0; }
.pvis { height: 210px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 14px; padding: 18px; overflow: hidden; }
.pv-peach { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.pv-mint { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.pv-lav { background: linear-gradient(160deg, #f1eaff, #dfe2ff); align-content: end; padding-bottom: 0; }
.pv-line { max-width: 260px; background: var(--card-2); border-radius: 18px; border-end-start-radius: 6px; padding: 12px 16px; font-size: 15px; line-height: 1.45; color: var(--ink); box-shadow: var(--shadow); text-align: start; }
.pv-line .caret { height: 14px; }
.pv-rec { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(150deg, #9a6bff, #6b3df0); box-shadow: 0 18px 30px -14px rgba(91, 40, 220, .7); }
.pv-rec::before, .pv-rec::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(107, 61, 240, .35); animation: echo 3s ease-out infinite; }
.pv-rec::after { animation-delay: 1.5s; }
.pv-rec svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv-label { font-size: 15px; font-weight: 600; color: #14503f; }
.pv-note { width: min(100%, 290px); background: var(--card-2); border-radius: 18px 18px 0 0; padding: 18px 20px 20px; box-shadow: 0 30px 60px -30px rgba(38, 8, 79, .4); text-align: start; }
.pv-note .hs-h:first-child { margin-top: 0; }
.pv-note .hs-li { font-size: 14.5px; margin-top: 8px; }

/* ══ Languages: six voices, one note ══ */
.dialogue { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcell { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 22px; border-radius: 26px; border: 2px solid transparent; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.dcell.dl1 { background: linear-gradient(160deg, #fff3e2, #ffdcc0); } .dcell.dl2 { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.dcell.dl3 { background: linear-gradient(160deg, #f1eaff, #dfe2ff); } .dcell.dl4 { background: linear-gradient(160deg, #ffe9f2, #ffd0e2); }
.dcell.dl5 { background: linear-gradient(160deg, #e6f0ff, #cfdfff); } .dcell.dl6 { background: linear-gradient(160deg, #fdf6d8, #f9e6a6); }
.dcell-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.dcell .flags { height: 48px; justify-content: flex-start; }
.dcell .flags img { width: 46px; height: 46px; border-color: rgba(255,255,255,.9); }
.dcell .glyph { width: 46px; height: 46px; background: rgba(255,255,255,.85); }
.dcell .wave { height: 22px; margin: 0; opacity: .25; }
.dcell .wave i { animation-play-state: paused; }
.dsay { font: 600 21px/1.5 'Plex Arabic', 'Figtree', sans-serif; color: #24104a; text-align: start; min-height: 2.9em; display: flex; align-items: center; }
.dsay[lang="en"] { font-family: 'Figtree', sans-serif; }
:root[dir="ltr"] .dsay[dir="rtl"] { justify-content: flex-end; } :root[dir="rtl"] .dsay[dir="ltr"] { justify-content: flex-end; }
.dcell > b { font-size: 14px; font-weight: 600; color: rgba(36, 16, 74, .62); }
.dcell.on { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 26px 50px -26px rgba(91, 40, 220, .55); }
.dcell.on .wave { opacity: 1; } .dcell.on .wave i { animation-play-state: running; }
.dout { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 24px; border-radius: 30px; background: var(--valley) center 70% / cover; position: relative; overflow: hidden; }
.dbubble { width: 100%; background: var(--card-2); border-radius: 22px; padding: 16px 20px; box-shadow: 0 24px 44px -26px rgba(30, 20, 90, .6); text-align: start; }
.dbubble small { display: block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.dbubble p { font: 600 22px/1.5 'Plex Arabic', 'Figtree', sans-serif; color: var(--ink-2); min-height: 1.5em; }
.dbubble p[lang="en"], :root[lang="en"] .dbubble.wrote p { font-family: 'Figtree', sans-serif; }
.buddy-wrap.sm { width: 150px; height: 140px; }
.buddy-wrap.sm .buddy { width: 104px; height: 96px; }
.buddy-wrap.sm .buddy .eye { width: 14px; height: 20px; }
.buddy-wrap.sm .ring { width: 104px; height: 104px; border-color: rgba(255,255,255,.75); }
.dnote { color: var(--muted); font-size: 16px; max-width: 640px; margin-top: 28px; }
@media (max-width: 960px) { .dialogue { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .dsay { font-size: 18px; } .dcell { padding: 16px; } .dcell .flags img, .dcell .glyph { width: 38px; height: 38px; } }

/* ══ Quietly in the background: a Mac desktop, a call, and Echo in the menu bar ══ */
.qdesk { position: relative; margin-top: 56px; height: 560px; border-radius: 30px; overflow: hidden; background: var(--valley) center 40% / cover; box-shadow: 0 50px 100px -60px rgba(38, 8, 79, .7); text-align: start; }
.qbar { position: absolute; inset-inline: 0; top: 0; height: 34px; display: flex; align-items: center; justify-content: space-between; padding-inline: 18px; background: rgba(255,255,255,.32); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; color: #1b1030; }
.qbar-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.qbar-status img { border-radius: 5px; }
.qcall { position: absolute; inset-inline-start: 6%; top: 84px; width: 56%; height: 400px; border-radius: 16px; background: #15121c; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(10, 4, 30, .75); }
.qcall .mac-bar { background: #1e1a28; border-color: #2a2536; }
.qgrid { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 12px; }
.qtile { position: relative; border-radius: 12px; display: grid; place-items: center; border: 2px solid transparent; }
.qtile.t1 { grid-row: span 2; background: linear-gradient(160deg, #5a3f1e, #2a1c0e); }
.qtile.t2 { background: linear-gradient(160deg, #1f4a3f, #10261f); }
.qtile.t3 { background: linear-gradient(160deg, #3d2f7a, #1d1740); }
.qtile.speaking { border-color: #a985ff; }
.qtile small { position: absolute; inset-inline-start: 10px; bottom: 10px; padding: 3px 9px; border-radius: 7px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; }
.qav { display: flex; align-items: center; justify-content: center; gap: 12px; width: 84px; height: 84px; border-radius: 50%; }
.qtile.t2 .qav, .qtile.t3 .qav { width: 60px; height: 60px; gap: 9px; }
.qav i { width: 8px; height: 8px; border-radius: 50%; }
.qav.a1 { background: radial-gradient(circle at 50% 30%, #ffd9a8, #ffb26b); } .qav.a1 i { background: #3a2a1a; }
.qav.a2 { background: radial-gradient(circle at 50% 30%, #b9f3dc, #63d3ad); } .qav.a2 i { background: #12403a; }
.qav.a3 { background: radial-gradient(circle at 50% 30%, #dccfff, #a985ff); } .qav.a3 i { background: #2a1464; }
.qfoot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #1e1a28; }
.qpeople { color: #cfc8de; font-size: 13px; margin-inline-end: auto; }
.qfoot > i { width: 30px; height: 30px; border-radius: 50%; background: #332d42; }
.qfoot b { background: #e5484d; color: #fff; font-size: 13px; padding: 6px 16px; border-radius: 9px; }
.qpop { position: absolute; inset-inline-end: 5%; top: 50px; width: 300px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.72); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 40px 80px -30px rgba(20, 10, 60, .65); color: #1b1030; }
.qpop-head { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.qpop-head img { border-radius: 8px; }
.qlive { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.8); padding: 5px 10px; border-radius: 999px; }
.qpop-time { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; }
.qpop-time b { font: 400 44px/1 'Instrument Serif', Georgia, serif; }
.qpop-time .wave { height: 34px; margin: 0; }
.qrow { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(27,16,48,.1); font-size: 15px; font-weight: 500; }
.qtoggle { width: 40px; height: 24px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.qtoggle::after { content: ''; position: absolute; top: 3px; inset-inline-end: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.qnote { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(123, 63, 255, .12); color: #4a1fb8; font-size: 13.5px; font-weight: 600; text-align: center; }
#quiet .grid3 { margin-top: 24px; }
@media (max-width: 960px) {
  .qdesk { height: auto; padding: 54px 16px 20px; display: grid; gap: 16px; }
  .qcall, .qpop { position: static; width: 100%; }
  .qcall { height: 300px; }
}

/* ══ Use cases in three columns ══ */
.band { padding-block: 36px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin-inline: auto; }
.cols3 span { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); font: 600 16px/1.3 var(--sans); color: var(--ink-2); }
.cols3 span::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 560px) { .cols3 { grid-template-columns: 1fr 1fr; } .cols3 span { padding: 12px 14px; font-size: 14.5px; } }

/* ══ Opening: Echo looks around, then takes its place ══ */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: linear-gradient(#6a9ef5, #9fb9f7 60%, #f3c9dc); transition: background-color .9s, opacity .9s var(--ease); animation: introGone .4s 5s forwards; }
.no-intro .intro { display: none; }
.intro .buddy { transform: scale(1.35); transition: transform .95s cubic-bezier(.6, 0, .2, 1), opacity .5s; animation: none; }
.intro .eye { animation: lookAround 2s ease-in-out both; }
@keyframes lookAround { 0% { transform: none; } 18% { transform: translateX(-11px); } 34% { transform: translateX(-11px) scaleY(.1); } 40% { transform: translateX(-11px); } 62% { transform: translateX(11px); } 80% { transform: translate(0, -5px); } 100% { transform: none; } }
.intro.leaving { background: none; opacity: 1; pointer-events: none; }
.intro.leaving::before { content: ''; }
@keyframes introGone { to { opacity: 0; visibility: hidden; } }
/* Until Echo has landed, the hero waits. */
html:not(.no-intro) body:not(.ready) .hs-echo .buddy { opacity: 0; }
body:not(.ready) .src, body:not(.ready) .hs-li, body:not(.ready) .say { animation-play-state: paused; }
html:not(.no-intro) body:not(.ready) .hs-talk, html:not(.no-intro) body:not(.ready) .hs-note, html:not(.no-intro) body:not(.ready) .hs-merge, html:not(.no-intro) body:not(.ready) .hs-flow { opacity: 0; }
.hs-talk, .hs-note, .hs-merge, .hs-flow { transition: opacity .8s var(--ease) .15s; }

/* ══ Section to section: headings wipe up, panels settle in, sections sit as rounded sheets ══ */
[data-reveal] { filter: none; transform: translateY(36px) scale(.985); transition: opacity .8s var(--ease), transform 1s var(--ease), clip-path 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
/* Headings tip up into place. (No clip on the element itself: a fully clipped
   element never counts as on screen, so it would never be revealed.) */
.h2[data-reveal] { transform: translateY(44px) rotate(-1.2deg); transform-origin: 50% 100%; }
:is(.qdesk, .dout, .outro, .bcell, .dcell)[data-reveal] { transform: translateY(48px) scale(.94); }
:is(.qdesk, .dout, .outro, .bcell, .dcell)[data-reveal].in, [data-reveal].in { transform: none; }
.dcell.on[data-reveal].in { transform: translateY(-6px); }
.section.tinted, .band { margin-inline: 10px; border-radius: 34px; }
.band { border: 0; }
@media (prefers-reduced-motion: reduce) { .h2[data-reveal] { clip-path: none !important; } .qdesk, .dout { animation: none; } }

/* ══ Apps: the real notes screen, a lettered keyboard, the real menu-bar panel ══ */
.dvis { height: 300px; }
.shot { width: 58%; height: auto; margin-top: 44px; align-self: start; border-radius: 34px 34px 0 0; box-shadow: 0 30px 60px -24px rgba(38, 8, 79, .5); }
.shot-ar, :root[lang="ar"] .shot-en { display: none; } :root[lang="ar"] .shot-ar { display: block; }
.kb { padding: 10px 6px 14px; gap: 7px; }
.kb-row.lettered i { height: 30px; display: grid; place-items: center; font: 500 13px/1 var(--sans); font-style: normal; color: #1b1030; border-radius: 6px; }
.kb-field { font-size: 15px; padding: 12px 16px; }
.qpop.mini { position: static; width: 82%; max-width: 300px; padding: 16px; }
.qpop.mini .qpop-time b { font-size: 38px; }
.qpop.mini .qpop-time { margin: 12px 0 8px; }
.qpop.mini .qrow { padding: 9px 0; font-size: 14px; }

/* ══ Pricing ══ */
.price-hero { padding: 150px 0 40px; text-align: center; position: relative; }
.price-hero .hero-bg { background: linear-gradient(#6a9ef5 0, #6a9ef5 30%, rgba(106,158,245,0) 62%), var(--valley) center bottom / max(100%, 1500px) auto no-repeat, #6a9ef5; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; margin-top: 56px; text-align: start; }
.plan { position: relative; background: var(--card-2); border-radius: 30px; padding: 34px; box-shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 40px 80px -40px rgba(30, 20, 90, .6); display: flex; flex-direction: column; }
.plan.pro { outline: 2px solid var(--accent); }
.plan h2 { font: 600 20px/1.2 var(--sans); color: var(--ink-2); }
.plan-d { color: var(--muted); margin-top: 6px; font-size: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; color: var(--ink-2); flex-wrap: wrap; }
.plan-price b { font: 400 64px/1 'Instrument Serif', Georgia, serif; }
.plan-price small { font-size: 15px; color: var(--muted); }
.plan-trial { min-height: 22px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { position: relative; padding-inline-start: 32px; font-size: 16px; color: var(--ink); }
.plan li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237b3fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { margin-top: auto; }
.bill { display: inline-flex; background: var(--accent-soft); border-radius: 12px; padding: 4px; margin-top: 18px; align-self: flex-start; }
.bill button { border: 0; background: transparent; font: 600 14px var(--sans); color: var(--muted); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.best { position: absolute; top: 22px; inset-inline-end: 22px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-note { max-width: 620px; margin: 28px auto 0; text-align: center; font-size: 14px; color: color-mix(in srgb, var(--ink) 80%, transparent); background: rgba(255,255,255,.75); padding: 10px 16px; border-radius: 14px; }
[data-bill="weekly"] .only-yearly, [data-bill="yearly"] .only-weekly { display: none; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .price-hero { padding-top: 120px; } }

/* ══ Pictures: not draggable, no long-press save, no selection ══ */
img, .hero-bg, .qdesk, .dout, .outro, .vis-mac { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
img { pointer-events: none; }
.shot-wrap { position: relative; display: contents; }

/* ══ Type polish ══ */
body { font-feature-settings: 'ss01', 'cv11'; text-rendering: optimizeLegibility; }
.rec-time, .ts, .plan-price b, .chip b { font-variant-numeric: tabular-nums lining-nums; }
:root[lang="ar"] body { font-feature-settings: normal; }

/* ══ Blog ══ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.post-card { display: flex; flex-direction: column; background: var(--card-2); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 1px 2px rgba(38, 8, 79, .04), 0 18px 40px -28px rgba(38, 8, 79, .28); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-top { height: 150px; display: grid; place-items: center; }
.post-card:nth-child(3n+1) .post-top { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.post-card:nth-child(3n+2) .post-top { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.post-card:nth-child(3n) .post-top { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.post-top .src-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--card-2); box-shadow: var(--shadow); }
.post-top .src-ic svg { width: 30px; height: 30px; stroke: var(--accent); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body small { font-size: 13px; font-weight: 600; color: var(--accent); }
.post-body h3 { font: 600 21px/1.3 var(--sans); color: var(--ink-2); letter-spacing: -.01em; }
.post-body p { font-size: 15.5px; color: var(--muted); }
.post-more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--accent); }
.center-link { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.article { width: min(720px, 100% - 32px); margin: 0 auto; padding: 150px 0 80px; }
.article .crumbs { font-size: 14px; color: var(--muted); } .article .crumbs a { color: var(--accent); font-weight: 600; }
.article h1 { font: 400 clamp(38px, 5.4vw, 58px)/1.06 var(--serif); letter-spacing: -.015em; color: var(--ink-2); margin-top: 18px; }
:root[lang="ar"] .article h1 { font-weight: 700; line-height: 1.35; letter-spacing: 0; font-size: clamp(30px, 4.4vw, 44px); }
.article .meta { margin-top: 16px; font-size: 14px; color: var(--muted); }
.article h2 { font: 600 24px/1.3 var(--sans); color: var(--ink-2); margin-top: 40px; letter-spacing: -.01em; }
.article p, .article li { font-size: 18px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 88%, transparent); }
.article p { margin-top: 16px; }
.article ul, .article ol { margin: 14px 0 0; padding-inline-start: 24px; display: grid; gap: 8px; }
.article a { color: var(--accent); font-weight: 600; }
.article .tldr { margin-top: 28px; padding: 20px 24px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.article .tldr p { margin: 0; font-size: 17px; }
.article .cta-box { margin-top: 48px; padding: 28px; border-radius: 26px; background: linear-gradient(160deg, #f1eaff, #dfe2ff); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article .cta-box p { margin: 0; font-weight: 600; color: var(--ink-2); }
.article .cta-box a { color: var(--dark-btn-ink); }

@media (max-width: 720px) { .article { padding-top: 110px; } }

/* ══ The call shows people, not Echo look-alikes ══ */
.qtile.t1 { background: image-set(url('assets/people/layla.webp') type('image/webp'), url('assets/people/layla.jpg') type('image/jpeg')) center 20% / cover; }
.qtile.t2 { background: image-set(url('assets/people/omar.webp') type('image/webp'), url('assets/people/omar.jpg') type('image/jpeg')) center 20% / cover; }
.qtile.t3 { background: image-set(url('assets/people/noor.webp') type('image/webp'), url('assets/people/noor.jpg') type('image/jpeg')) center 20% / cover; }
.qtile { overflow: hidden; }

/* ══ Echo at a glance ══ */
.glance { max-width: 860px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.glance div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.glance dt { font-weight: 600; color: var(--ink-2); font-size: 16px; }
.glance dd { margin: 0; color: color-mix(in srgb, var(--ink) 82%, transparent); font-size: 17px; line-height: 1.6; }
@media (max-width: 640px) { .glance div { grid-template-columns: 1fr; gap: 4px; } }

/* ══ Use cases: pills running to the side ══ */
.band { padding-block: 30px; overflow: hidden; }
.track { gap: 14px; animation-duration: 32s; }
.track span { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font: 600 17px/1.2 var(--sans); color: var(--ink-2); box-shadow: 0 1px 2px rgba(38, 8, 79, .05); }
.track span::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 0; }
.track span:nth-child(3n+1)::before { background: #ffb26b; } .track span:nth-child(3n+2)::before { background: #63d3ad; }

/* ══ Echo at a glance: six fact cards ══ */
.glance { max-width: none; border: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.glance .gcard { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--card-2); box-shadow: 0 1px 2px rgba(38, 8, 79, .04), 0 18px 40px -28px rgba(38, 8, 79, .28); }
.glance .src-ic { width: 52px; height: 52px; border-radius: 16px; }
.glance dt { margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .glance dt { letter-spacing: 0; font-size: 14px; }
.glance dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.glance dd strong { display: block; font: 400 34px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink-2); margin-bottom: 10px; }
:root[lang="ar"] .glance dd strong { font-weight: 700; font-size: 26px; line-height: 1.4; letter-spacing: 0; }
@media (max-width: 960px) { .glance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glance { grid-template-columns: 1fr; } }

/* ══ The Echo character: the real glowing orb, with eyes that can blink and look around ══ */
.buddy { position: relative; display: block; padding: 0; width: 150px; height: 143px; aspect-ratio: 287 / 274; border-radius: 50%; background: url('assets/brand/echo-body.svg') center / 100% 100% no-repeat; box-shadow: 0 18px 40px -14px rgba(100, 30, 255, .6), 0 0 34px rgba(255, 255, 255, .55); }
.buddy .eye { position: absolute; margin: 0; width: 15.7% !important; height: 21.7% !important; border-radius: 50%; background: linear-gradient(#fff, rgba(255,255,255,.55)); box-shadow: 0 3px 14px rgba(40, 0, 140, .28); translate: -50% -50%; }
.buddy .eye:first-child { left: 42.7%; top: 31.7%; rotate: -9deg; }
.buddy .eye:last-child { left: 65.4%; top: 26.2%; rotate: -18.6deg; }
.buddy-wrap.sm .buddy { width: 104px; height: 99px; }
.outro .buddy { width: 96px; height: 92px; }
/* The opening: the character on its own violet, glowing. */
.intro { background: #7b3fff; }
.intro .buddy { box-shadow: 0 0 60px rgba(255, 255, 255, .45), 0 0 140px rgba(190, 150, 255, .55); }

/* ══ The character reacts: it hops when you hover it, and its eyes follow the pointer ══ */
.buddy { transition: scale .35s var(--ease); }
.buddy .eye { translate: calc(-50% + var(--ex, 0px)) calc(-50% + var(--ey, 0px)); transition: translate .18s ease-out; }
.buddy:hover { animation: hop .7s var(--ease); scale: 1.06; }
.buddy:hover .eye { animation: none; }
@keyframes hop { 0% { transform: none; } 25% { transform: translateY(-16px) scale(1.04, .96) rotate(-5deg); } 50% { transform: translateY(0) scale(.95, 1.05) rotate(4deg); } 72% { transform: translateY(-6px) rotate(-2deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .buddy:hover { animation: none; scale: 1; } }

/* ══ Phones and small tablets ══ */
.menu-btn { display: none; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--card-2); color: var(--ink-2); cursor: pointer; box-shadow: 0 1px 2px rgba(38, 8, 79, .1); }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn .mi-close, .nav.open .menu-btn .mi-open { display: none; }
.nav.open .menu-btn .mi-close { display: block; }
.nav.open { transform: none !important; }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-inner { gap: 10px; }
  .nav .nav-links { display: none; position: absolute; inset-inline: 12px; top: 70px; flex-direction: column; gap: 2px; padding: 8px; margin: 0; background: var(--card-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(38, 8, 79, .45); font-size: 17px; color: var(--ink-2); }
  .nav.open .nav-links { display: flex; }
  .nav .nav-links a { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
  .nav .nav-links a::after { display: none; }
  .nav .nav-links a:active { background: var(--accent-soft); }
  .nav-actions .mac-btn { display: none; }
}
@media (max-width: 720px) {
  /* A Mac download is no use on a phone. */
  .hero-ctas [data-mac-download], .outro-ctas [data-mac-download] { display: none; }
  .section { padding-block: 64px; }
  .h2 { font-size: clamp(32px, 9vw, 40px); }
  .lead { font-size: 16px; }
  .hero { padding-top: 104px; padding-bottom: 56px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 52px); }
  .hero-stage, .hero-stage[data-reveal] { margin-top: 36px; gap: 14px; }
  .hs-col { gap: 10px; }
  .src { padding: 11px 14px 11px 11px; border-radius: 18px; }
  .src-ic { width: 44px; height: 44px; border-radius: 14px; }
  .buddy-wrap { width: 170px; height: 160px; }
  .hs-card { padding: 18px 18px 20px; }

  /* Card rows become swipeable, with the next card peeking in. */
  .grid3, .ai-grid, .glance, .posts { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 26px; margin-top: 36px; max-width: none; }
  .grid3::-webkit-scrollbar, .ai-grid::-webkit-scrollbar, .glance::-webkit-scrollbar, .posts::-webkit-scrollbar { display: none; }
  .grid3 > *, .ai-grid > *, .glance > *, .posts > * { flex: 0 0 84%; scroll-snap-align: center; }
  .ai-grid > * { flex-basis: 78%; }
  .glance { border: 0; }
  .glance .gcard { padding: 22px; }
  .glance dd strong { font-size: 30px; }
  #quiet .grid3 { margin-top: 16px; }
  .devices { max-width: none; }
  .dvis { height: 250px; }
  .pvis { height: 190px; }
  .avis { height: 210px; }

  /* Use cases: compact rows. */
  .uses { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .use, .use:nth-child(4), .use:last-child { grid-column: auto; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 18px; }
  .use .src-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 15px; }
  .use h3 { margin-top: 0; font-size: 19px; }
  .use p { margin-top: 2px; font-size: 15px; }

  .bento { gap: 14px; margin-top: 36px; }
  .bcell { border-radius: 26px; padding: 26px 22px 0; }
  .b-private { padding-bottom: 26px; gap: 8px; }
  .guard { height: 180px; }
  .dialogue { margin-top: 36px; gap: 14px; }
  .dout { padding: 20px 16px; }
  .qdesk { margin-top: 36px; border-radius: 26px; }
  .faq summary { padding: 18px 18px; font-size: 16px; }
  .ans p { padding: 0 18px 18px; }
  .outro { padding: 56px 18px 120px; border-radius: 28px; }
  .plans { margin-top: 36px; }
  .plan { padding: 26px; border-radius: 26px; }
  .footer .foot-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 8px 20px; margin-inline-start: 0; }
  .footer-links a { padding-block: 8px; }
}

/* ══ The valley picture: WebP where supported, a smaller file on small screens ══ */
:root { --valley: url('assets/scene/dawn-valley.jpg'); }
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  :root { --valley: image-set(url('assets/scene/dawn-valley.webp') type('image/webp'), url('assets/scene/dawn-valley.jpg') type('image/jpeg')); }
  @media (max-width: 960px) { :root { --valley: image-set(url('assets/scene/dawn-valley-1200.webp') type('image/webp'), url('assets/scene/dawn-valley.jpg') type('image/jpeg')); } }
}

/* ══ Works without scripts, and if the script is late ══ */
html:not(.js) [data-reveal], html:not(.js) .hero-title .line, html.failsafe [data-reveal], html.failsafe .hero-title .line { opacity: 1 !important; transform: none !important; filter: none !important; }
html.failsafe .hs-talk, html.failsafe .hs-note, html.failsafe .hs-merge, html.failsafe .hs-flow, html.failsafe .hs-echo .buddy { opacity: 1 !important; }
html.failsafe .src, html.failsafe .hs-li { animation-play-state: running !important; }
html:not(.js) .intro, html.failsafe .intro { display: none; }
/* The opening is shorter, and never hides the headline for long. */
.intro .eye { animation-duration: 1.4s; }
.intro { animation-delay: 3.5s; }

/* ══ Keyboard and screen-reader users ══ */
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 300; padding: 12px 18px; border-radius: 12px; background: var(--dark-btn); color: var(--dark-btn-ink); font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink-2); border-radius: 8px; }
.nav:focus-within { transform: none; }
.lang a { display: inline-block; color: var(--muted); font: 600 13px var(--sans); padding: 9px 12px; border-radius: 8px; transition: background .25s, color .25s; }
.lang a[lang="ar"] { font-family: 'Plex Arabic', sans-serif; }
.lang a[aria-current="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* ══ Accent words on the sky need more contrast than on white ══ */
.hero .hero-title em, .price-hero .h2 em { color: #4310c4; }
.outro .h2 em { color: #5a1fe0; }

/* ══ Lighter motion: bars and progress move with transforms, not layout ══ */
.wave i, .kb-pill i { height: 100%; transform: scaleY(.3); animation-name: waveT; }
@keyframes waveT { 50% { transform: scaleY(1); } }
.bar i { width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
:root[dir="rtl"] .bar i { transform-origin: 100% 50%; }
.frow.in .bar i, .bcell.in .bar i { animation-name: progT; }
@keyframes progT { to { transform: scaleX(1); } }
/* Things that take turns rest while you point at them. */
.hs-deck:hover .hs-card, .dgrid:hover .dcell { transition-duration: .3s; }

/* ══ At a glance: the icon sits inside the term ══ */
.glance dt { margin-top: 0; display: grid; gap: 20px; }

/* ══ From the graphics review ══ */
/* The hero always uses the full-size picture: the small one goes soft when a tall phone hero enlarges it. */
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  .hero-bg { --valley: image-set(url('assets/scene/dawn-valley.webp') type('image/webp'), url('assets/scene/dawn-valley.jpg') type('image/jpeg')); }
}
.kb { direction: ltr; }                               /* a Latin keyboard reads left to right in any language */
.qfoot > i { display: grid; place-items: center; }
.qfoot > i svg { width: 15px; height: 15px; fill: none; stroke: #cfc8de; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qdesk { box-shadow: 0 30px 60px -40px rgba(38, 8, 79, .4); }
#quiet .grid3 { margin-top: 56px; }
.footer .brand span { display: inline; }
.price-note { background: var(--card-2); color: var(--muted); box-shadow: 0 10px 30px -18px rgba(30, 20, 90, .5); }

/* Use cases: five clear rows instead of an uneven three-plus-two grid. */
@media (min-width: 721px) {
  .uses { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; gap: 12px; }
  .use, .use:nth-child(4) { grid-column: auto; display: grid; grid-template-columns: auto 250px 1fr; align-items: center; column-gap: 22px; padding: 18px 24px; }
  .use h3 { margin-top: 0; }
  .use p { margin-top: 0; }
  .use .src-ic { width: 50px; height: 50px; border-radius: 16px; }
  .plan:not(.pro) .plan-price { margin-top: 84px; }  /* lines the two prices up across the toggle */
}

/* Tablets keep rows of cards instead of dropping straight to the phone layout. */
@media (min-width: 721px) and (max-width: 960px) {
  .grid3, .ai-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .glance { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .card { padding: 22px; } .pgrid .card { padding: 10px 10px 24px; }
  .pgrid .card h3 { margin: 20px 12px 0; font-size: 20px; } .pgrid .card p:not([class]) { margin: 8px 12px 0; font-size: 15px; }
  .pvis { height: 180px; padding: 12px; } .pv-line { font-size: 13.5px; padding: 10px 12px; }
  .dcard { padding: 12px 12px 22px; } .dvis { height: 220px; }
  .glance .gcard { padding: 20px; } .glance dd strong { font-size: 26px; }
  .avis { height: 190px; padding: 12px; }
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bcell.w7 { grid-column: span 7; } .bcell.w5 { grid-column: span 5; }
  .bcell { padding: 26px 24px 0; }
  .b-private { flex-direction: column; align-items: flex-start; padding-bottom: 26px; }
  .qdesk { height: 520px; padding: 0; display: block; }
  .qcall { position: absolute; width: 58%; height: 360px; inset-inline-start: 4%; }
  .qpop { position: absolute; width: 270px; inset-inline-end: 3%; }
  .posts { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .use, .use:nth-child(4) { grid-template-columns: auto 200px 1fr; }
}
@media (max-width: 720px) {
  .avis { height: auto; min-height: 210px; }
  .plan.pro { order: -1; }
  .nav-links[style] { display: flex !important; gap: 14px; font-size: 14px; margin-inline-start: auto; }
  .nav-links[style] ~ .nav-actions .btn-dark { display: none; }
}
@media (max-width: 560px) {
  .dcell .wave { display: none; }
  .dcell .flags img, .dcell .glyph { width: 34px; height: 34px; }
}

/* ═══════════════════════ Council pass ═══════════════════════ */
:root { --t1: 160ms; --t2: 320ms; --t3: 640ms; --ink-panel: #1e0a4a;
  --dusk: url('assets/scene/dusk-valley.jpg'); }
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  :root { --dusk: image-set(url('assets/scene/dusk-valley.webp') type('image/webp'), url('assets/scene/dusk-valley.jpg') type('image/jpeg')); }
}

/* ── Motion: rest when off screen or paused; quicker, lighter responses ── */
.off *, .off *::before, .off *::after,
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation-play-state: paused !important; }
.btn { transition: transform var(--t1) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t1); will-change: auto; }
.btn:active { transform: scale(.97); transition-duration: 100ms; }
[data-reveal] { transform: translateY(18px); transition: opacity .55s var(--ease), transform var(--t3) var(--ease); transition-delay: calc(min(var(--i, 0), 4) * 60ms); }
.h2[data-reveal] { transform: translateY(26px) rotate(-.8deg); }
:is(.qdesk, .askbox, .dialogue, .versus)[data-reveal] { transform: translateY(28px) scale(.97); }
:is(.bcell, .dcell, .dout, .outro)[data-reveal] { transform: translateY(18px); }
[data-reveal].in, :is(.qdesk, .askbox, .dialogue, .versus, .bcell, .dcell, .dout, .outro)[data-reveal].in { transform: none; }
.dcell.on[data-reveal].in { transform: translateY(-6px); }
[data-reveal].settled { transition-delay: 0s; }
.final-mark, .chip, .dialects span, .sticker { animation: none; }
.sheet .add { animation: none; }
.hs-flow { display: none; }
@media (max-width: 960px) { .hs-flow.only-stacked, .hero-stage .hs-flow.f-1 { display: flex; } }
/* One ring per beat instead of three forever. */
.ring { animation: none; opacity: 0; }
.buddy.gulp ~ .ring, .buddy-wrap:has(.buddy.gulp) .ring:first-child { animation: echo 1.2s ease-out 1; }
.buddy.gulp { animation: gulp .5s var(--ease) 1, bob 6s ease-in-out infinite .5s; }
@keyframes gulp { 0% { scale: 1; } 35% { scale: 1.09 .93; } 70% { scale: .97 1.04; } 100% { scale: 1; } }
.buddy { animation: bob 6s ease-in-out infinite; }
.buddy.gulp .eye { animation: blinkEye .35s 1; }
/* The dots only show while they travel. */
.hs-merge circle { opacity: 0; transition: opacity .15s; }
.hs-merge.run circle { opacity: 1; }
/* A reading-progress line under the header, where the browser can do it without script. */
@supports (animation-timeline: scroll()) {
  .nav::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; animation: progT linear both; animation-timeline: scroll(root); }
  :root[dir="rtl"] .nav::after { transform-origin: 100% 50%; }
}
@media (hover: hover) { .post-card:hover, .lang-card:hover { transform: translateY(-4px); transition-duration: 200ms; } }
/* The phone menu eases in instead of jumping. */
@media (max-width: 960px) {
  .nav .nav-links { display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: 50% 0; transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s 220ms; }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
.motion-btn { position: fixed; inset-inline-start: 14px; bottom: 14px; z-index: 40; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--card-2) 88%, transparent); color: var(--ink-2); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(38, 8, 79, .4); opacity: .75; transition: opacity var(--t1); }
.motion-btn:hover, .motion-btn:focus-visible { opacity: 1; }
.motion-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.motion-btn .mb-play { display: none; fill: currentColor; stroke: none; }
.motion-btn[aria-pressed="true"] .mb-pause { display: none; } .motion-btn[aria-pressed="true"] .mb-play { display: block; }
@media (prefers-reduced-motion: reduce) { .motion-btn { display: none; } }
/* The opening is quick. */
.intro .eye { animation: glance .8s ease-in-out both; }
@keyframes glance { 0% { transform: none; } 30% { transform: translateX(-10px); } 48% { transform: translateX(-10px) scaleY(.1); } 58% { transform: translateX(-10px); } 100% { transform: none; } }
.intro .buddy { transition: transform .7s cubic-bezier(.6, 0, .2, 1), opacity .4s; }
.intro { transition: background-color .4s, opacity .7s var(--ease); animation-delay: 3s; }

/* ── The character's moods ── */
.buddy.asleep .eye { animation: none; scale: 1 .14; border-radius: 40%; }
.buddy.asleep { animation: bob 8s ease-in-out infinite; }
.buddy.mini { display: inline-block; width: 30px; height: 29px; box-shadow: 0 0 10px rgba(123, 63, 255, .45); animation: none; flex: none; }
.buddy.thinking .eye { animation: think 2.4s ease-in-out infinite; }
@keyframes think { 0%, 100% { transform: none; } 40%, 70% { transform: translate(-1.5px, -1.5px); } }

/* ── Colour: tints mean "product inside"; small icon chips are all lavender ── */
.icon, .grid3 > .card:nth-child(n) .icon, .tpl-item .src-ic, .post-top .src-ic { background: #efe9ff; }
.icon svg, .tpl-item .src-ic svg { stroke: var(--accent); }
.b-sky { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.dcell.dl4 { background: linear-gradient(160deg, #fff3e2, #ffdcc0); }
.dcell.dl5 { background: linear-gradient(160deg, #e6f9f0, #c6efdd); }
.dcell.dl6 { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.vis-mac { background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.qpop.mini { background: var(--card-2); border-color: var(--line); box-shadow: 0 24px 44px -26px rgba(30, 20, 90, .5); backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[lang="ar"] .h2 { font-weight: 600; }

/* ── Languages: the one dark moment on the page ── */
.dout { background: var(--ink-panel); background-image: radial-gradient(70% 55% at 50% 50%, rgba(123, 63, 255, .45), rgba(123, 63, 255, 0) 70%); animation: none; }
.dout .buddy { box-shadow: 0 0 44px rgba(170, 130, 255, .8), 0 0 110px rgba(123, 63, 255, .55); }
.buddy-wrap.sm .ring { border-color: rgba(190, 160, 255, .6); }
.lang-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.lang-points > div { padding: 22px 24px; border-radius: 22px; background: var(--card-2); border: 1px solid var(--line); }
.lang-points b { display: block; font-size: 18px; font-weight: 600; color: var(--ink-2); }
.lang-points p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* ── Echo vs. a meeting bot ── */
.versus { margin-top: 28px; border-radius: 26px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 1px 2px rgba(30, 10, 74, .04), 0 12px 32px -12px rgba(30, 10, 74, .1); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr 1.25fr; align-items: center; }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row > * { padding: 18px 24px; margin: 0; }
.vs-row > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.vs-row > p { font-size: 16.5px; color: var(--muted); }
.vs-row > .vs-echo { background: #f6f2ff; color: var(--ink-2); font-weight: 600; align-self: stretch; display: flex; align-items: center; gap: 10px; }
.vs-head b { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.vs-head .vs-echo img { border-radius: 6px; }
.vs-row:not(.vs-head) > p:not(.vs-echo) { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }

/* ── Ask Echo: one live conversation ── */
.askbox { display: grid; grid-template-columns: .9fr 1.4fr; gap: 20px; margin: 48px auto 0; max-width: 1080px; padding: 20px; border-radius: 30px; background: linear-gradient(160deg, #f1eaff, #dfe2ff); }
.ask-list { display: grid; gap: 8px; align-content: center; }
.ask-row { text-align: start; border: 0; border-inline-start: 3px solid transparent; border-radius: 16px; padding: 16px 18px; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background var(--t2) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t2); }
.ask-row b { display: block; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.ask-row span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.ask-row:hover { background: rgba(255,255,255,.55); }
.ask-row.on { background: var(--card-2); border-inline-start-color: var(--accent); box-shadow: 0 10px 26px -16px rgba(38, 8, 79, .4); }
.ask-chat { display: flex; flex-direction: column; gap: 14px; min-height: 400px; padding: 24px; border-radius: 22px; background: var(--card-2); text-align: start; }
.ask-chat .chat-head { font-size: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ask-chat .bubble { font-size: 16.5px; line-height: 1.55; padding: 13px 18px; max-width: 86%; }
.ask-chat .bubble.me { margin-top: 6px; }
.ask-chat .bubble.bot { background: #f6f2ff; box-shadow: none; min-height: 56px; }

/* ── Apps: who it is for, and the price in one line ── */
.uses-line { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); max-width: 640px; }
.price-line { margin: 40px auto 0; max-width: 760px; text-align: center; padding: 18px 24px; border-radius: 20px; background: #f6f2ff; font-size: 17px; color: var(--ink-2); }
.price-line a { color: var(--accent); font-weight: 700; white-space: nowrap; margin-inline-start: 6px; }
.price-line small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ── At a glance: a spec sheet, not cards ── */
.spec { max-width: 920px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 24px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .spec dt { letter-spacing: 0; font-size: 14px; }
.spec dd { margin: 0; display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: baseline; }
.spec dd strong { font: 400 28px/1.15 var(--serif); color: var(--ink-2); letter-spacing: -.01em; }
:root[lang="ar"] .spec dd strong { font-weight: 700; font-size: 22px; line-height: 1.5; }
.spec dd span { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ── Privacy tile: what it means, in three ticks ── */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237b3fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.tlink { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--accent); }
.b-private { padding-top: 36px; }

/* ── Blog covers: a phrase, not an icon ── */
.post-top { height: 160px; padding: 20px; }
.post-top em { font: italic 400 34px/1.1 var(--serif); color: #2a1464; letter-spacing: -.01em; }
:root[lang="ar"] .post-top em { font: 700 26px/1.4 'Plex Arabic', sans-serif; }

/* ── Closing: the same valley at dusk ── */
.outro { background: radial-gradient(46% 52% at 50% 46%, rgba(20, 8, 60, .55), rgba(20, 8, 60, 0) 78%), var(--dusk) center 30% / cover no-repeat; }
.outro .h2, .outro .lead, .outro .fine { color: #fff; }
.outro .h2 em { color: #c9b3ff; }
.outro .lead, .outro .fine { color: rgba(255,255,255,.88); }
.outro .buddy { box-shadow: 0 0 44px rgba(190, 160, 255, .85), 0 0 120px rgba(123, 63, 255, .6); }

/* ── Footer ── */
.footer { background: var(--bg-soft); padding-block: 64px 56px; border-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 280px; }
.foot-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.foot-col { display: grid; gap: 12px; font-size: 15.5px; color: var(--muted); }
.foot-col b { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
:root[lang="ar"] .foot-col b { letter-spacing: 0; font-size: 15px; }
.foot-col a { transition: color var(--t1); } .foot-col a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .askbox { grid-template-columns: 1fr; }
  .ask-list { grid-template-columns: 1fr 1fr; }
  .ask-chat { min-height: 340px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .spec dd { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 720px) {
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row > span { grid-column: 1 / -1; padding-bottom: 0; }
  .vs-head > span { display: none; }
  .vs-row > * { padding: 14px 16px; } .vs-row > p { font-size: 15px; }
  .lang-points { grid-template-columns: 1fr; }
  .askbox { padding: 12px; border-radius: 24px; margin-top: 32px; }
  .ask-list { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ask-row { padding: 12px; } .ask-row b { font-size: 15px; } .ask-row span { display: none; }
  .ask-chat { padding: 18px; min-height: 320px; } .ask-chat .bubble { font-size: 15.5px; }
  .spec > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 2px; }
  .price-line { font-size: 15.5px; padding: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .foot-brand .brand span { display: inline; }
  .motion-btn { width: 36px; height: 36px; bottom: 10px; inset-inline-start: 10px; }
  /* Phones: no 3D flip, no rings, no heading tilt. */
  .hs-deck .hs-card { transform: translateY(8px); } .hs-deck .hs-card.out { transform: translateY(-8px); }
  .h2[data-reveal] { transform: translateY(18px); }
}

/* ── Hero: what Echo is hearing, one dialect after another ── */
.hs-heard { display: inline-flex; align-items: center; gap: 10px; margin-top: 2px; padding: 9px 16px 9px 10px; border-radius: 999px; background: color-mix(in srgb, var(--card-2) 92%, transparent); box-shadow: var(--shadow); font: 600 16px/1.3 'Plex Arabic', 'Figtree', sans-serif; color: var(--ink-2); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
:root[dir="rtl"] .hs-heard { padding: 9px 10px 9px 16px; }
.hs-heard img { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.hs-heard [lang="en"] { font-family: 'Figtree', sans-serif; }
.hs-heard.swap { opacity: 0; transform: translateY(4px); }

/* ── Visitor-panel pass ── */
.hero-fine { margin-top: 14px; font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.dnote { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); text-align: center; }
.vs-row.vs-plain > p:not(.vs-echo) { text-decoration: none; }
.foot-by { margin-top: 6px; font-size: 14px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.motion-btn { opacity: 1; }
html.motion-off [data-reveal], html.motion-off .hero-title .line { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.motion-off .nav { transform: none !important; }
.spec dt, .price-line small { font-size: 14px; }
@media (max-width: 960px) { .nav.hidden { transform: none; } }

/* FAQ: three questions first, the rest behind "See all questions" (all visible without scripts). */
.faq-more { display: grid; gap: 12px; }
html.js .faq-more:not(.open) { display: none; }
html:not(.js) .faq-all { display: none; }
.faq-all[hidden] { display: none; }
@media print { html.js .faq-more:not(.open) { display: grid; } .faq-all { display: none; } }

/* ── Scroll-linked motion and the pinned story ── */
/* Headings arrive word by word. */
html.js:not(.failsafe) .h2.split[data-reveal] { opacity: 1; transform: none; }
html.js:not(.failsafe) .h2.split .w { display: inline-block; opacity: 0; translate: 0 .55em; transition: opacity .6s var(--ease), translate .85s var(--ease); transition-delay: calc(var(--w, 0) * 55ms); }
html.js:not(.failsafe) .h2.split.in .w { opacity: 1; translate: none; }
html.motion-off .h2.split .w { opacity: 1 !important; translate: none !important; transition: none !important; }

/* Things drift a little against each other as their section passes. */
.qdesk .qcall { translate: 0 calc((.5 - var(--p, .5)) * 50px); }
.qdesk .qpop { translate: 0 calc((var(--p, .5) - .5) * 70px); }
.bento .bcell:nth-child(even) { translate: 0 calc((.5 - var(--p, .5)) * 44px); }
.devices .dcard:nth-child(2) { translate: 0 calc((.5 - var(--p, .5)) * 48px); }
.devices .vis-app .shot { translate: 0 calc((.55 - var(--p, .55)) * 60px); }
.posts .post-card:nth-child(2) { translate: 0 calc((.5 - var(--p, .5)) * 36px); }
.dout .buddy-wrap { scale: calc(.86 + var(--p, .5) * .28); }
.outro > .buddy { translate: 0 calc((.5 - var(--p, .5)) * 46px); }
.askbox .ask-chat { translate: 0 calc((.5 - var(--p, .5)) * 30px); }
@media (max-width: 760px) {
  .bento .bcell:nth-child(even), .devices .dcard:nth-child(2), .posts .post-card:nth-child(2), .askbox .ask-chat, .qdesk .qcall, .qdesk .qpop { translate: none; }
}

/* The comparison lands a row at a time, and the bot's answers are crossed out as it does. */
html.js:not(.failsafe) .versus .vs-row { opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .7s var(--ease); }
html.js:not(.failsafe) .versus.in .vs-row { opacity: 1; translate: none; }
.versus .vs-row:nth-child(2) { --n: 1; } .versus .vs-row:nth-child(3) { --n: 2; } .versus .vs-row:nth-child(4) { --n: 3; } .versus .vs-row:nth-child(5) { --n: 4; } .versus .vs-row:nth-child(6) { --n: 5; }
html.js:not(.failsafe) .versus .vs-row { transition-delay: calc(var(--n, 0) * 110ms); }
html.js:not(.failsafe) .versus .vs-row:not(.vs-head):not(.vs-plain) > p:not(.vs-echo) { text-decoration-color: transparent; transition: text-decoration-color .5s calc(var(--n, 0) * 110ms + .55s); }
html.js:not(.failsafe) .versus.in .vs-row:not(.vs-head):not(.vs-plain) > p:not(.vs-echo) { text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); }
html.motion-off .versus .vs-row { opacity: 1 !important; translate: none !important; }

/* The story: three steps on one side, one recording playing out on the other. */
.story { margin-top: 56px; }
.story-pin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-steps { display: grid; gap: 10px; }
.st-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 22px; border-radius: 22px; transition: background var(--t2) var(--ease), opacity var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.st-step > b { font: 400 26px/1.1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.st-step h3 { font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); color: var(--ink-2); letter-spacing: -.01em; }
:root[lang="ar"] .st-step h3 { font-weight: 700; font-size: 22px; line-height: 1.5; letter-spacing: 0; }
.st-step p { margin-top: 6px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.st-bar { display: none; }
.story-stage { position: relative; display: grid; place-items: center; min-height: 540px; padding: 34px; border-radius: 36px; background: radial-gradient(60% 55% at 78% 12%, #ffe1c9 0, rgba(255, 225, 201, 0) 70%), radial-gradient(60% 60% at 12% 90%, #cfeedd 0, rgba(207, 238, 221, 0) 70%), #ece6ff; overflow: hidden; }
.st-buddy { position: absolute; inset-block-start: 22px; inset-inline-end: 24px; width: 58px; height: 58px; }
.st-card { position: relative; width: min(440px, 100%); padding: 22px 24px 26px; border-radius: 26px; background: var(--card-2); box-shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 40px 70px -40px rgba(38, 8, 79, .5); text-align: start; }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-rec { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.st-mic { display: none; }
.st-lines { display: grid; gap: 8px; margin-top: 16px; }
.st-lines p { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f6f2ff; font-size: 15px; line-height: 1.45; color: var(--ink); }
.st-lines time { font-weight: 700; font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 2px; }
.st-note { margin-top: 18px; }
.st-note .hs-li { font-size: 15.5px; }

/* Pinned: scrolling through the block plays it. */
.story.pinned { height: 330vh; }
.story.pinned .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 84px 28px; }
.story.pinned .st-step { opacity: .42; }
.story.pinned .st-step.cur { opacity: 1; background: var(--card-2); box-shadow: 0 1px 2px rgba(38, 8, 79, .05), 0 24px 44px -30px rgba(38, 8, 79, .4); }
.story.pinned .st-step.done { opacity: .7; }
.story.pinned .st-bar { display: block; height: 4px; margin: 14px 22px 0; border-radius: 4px; background: var(--accent-soft); overflow: hidden; }
.story.pinned .st-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transform-origin: 0 50%; scale: var(--s, 0) 1; }
:root[dir="rtl"] .story.pinned .st-bar i { transform-origin: 100% 50%; }
.story.pinned .story-stage { min-height: 0; height: min(600px, 100%); }
.story.pinned .st-card { min-height: 430px; }
.story.pinned .st-top { opacity: 0; transition: opacity var(--t2) var(--ease); }
.story.pinned.pressed .st-top { opacity: 1; }
.story.pinned .st-mic { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; transition: opacity var(--t2) var(--ease), scale var(--t3) var(--ease), translate var(--t3) var(--ease); }
.story.pinned.pressed .st-mic .pv-rec { scale: .9; box-shadow: 0 0 0 14px rgba(107, 61, 240, .16), 0 18px 30px -14px rgba(91, 40, 220, .7); }
.story.pinned .st-mic .pv-rec { transition: scale var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.story.pinned:not([data-step="0"]) .st-mic { opacity: 0; scale: .3; translate: 0 -150px; pointer-events: none; }
.story.pinned .st-lines p, .story.pinned .st-note .hs-li, .story.pinned .st-note .hs-h { opacity: 0; translate: 0 14px; transition: opacity var(--t2) var(--ease), translate var(--t3) var(--ease); }
.story.pinned .st-lines p.on, .story.pinned .st-note .hs-li.on { opacity: 1; translate: none; }
.story.pinned[data-step="2"] .st-note .hs-h { opacity: 1; translate: none; }
.story.pinned .st-lines { transition: opacity var(--t2) var(--ease), scale var(--t3) var(--ease), max-height var(--t3) var(--ease), margin var(--t3) var(--ease); transform-origin: 50% 0; max-height: 300px; }
.story.pinned[data-step="2"] .st-lines { opacity: 0; scale: .9; max-height: 0; margin-top: 0; overflow: hidden; }
.story.pinned .st-note { transition: opacity var(--t2) var(--ease); }
.story.pinned:not([data-step="2"]) .st-note { opacity: 0; position: absolute; }
.story.pinned .st-note .hs-li.ck::before { filter: grayscale(1) opacity(.35); transition: filter var(--t2) var(--ease) .25s; }
.story.pinned .st-note .hs-li.ck.on::before { filter: none; }
@media (max-width: 860px) {
  .story-pin { grid-template-columns: 1fr; gap: 20px; }
  .story-stage { min-height: 0; padding: 20px; border-radius: 28px; }
  .st-step { padding: 14px 16px; gap: 14px; } .st-step p { font-size: 15.5px; }
  .story.pinned { height: 300vh; }
  .story.pinned .story-pin { padding-block: 76px 16px; align-content: start; grid-template-rows: auto minmax(0, 1fr); }
  .story.pinned .st-step:not(.cur) { display: none; }
  .story.pinned .st-bar { margin: 4px 16px 0; }
  .story.pinned .st-card { min-height: 0; height: 100%; max-height: 420px; }
  .st-buddy { width: 44px; height: 44px; inset-block-start: 10px; inset-inline-end: 12px; }
}

/* A row of facts, on stickers. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1000px; margin: 48px auto 0; }
.stat { --r: -2deg; display: grid; gap: 6px; align-content: center; padding: 24px 22px 26px; border-radius: 26px; rotate: calc(var(--r) + (var(--p, .5) - .5) * 5deg); box-shadow: 0 24px 40px -30px rgba(38, 8, 79, .5); transition: rotate var(--t3) var(--ease), translate var(--t2) var(--ease); }
.stat:hover { rotate: 0deg; translate: 0 -4px; }
.stat b { font: 400 clamp(54px, 6vw, 76px)/.95 var(--serif); color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.stat.sa { background: #e7dfff; } .stat.sb { --r: 1.6deg; background: #ffe3cf; } .stat.sc { --r: -1.2deg; background: #d3f0e1; } .stat.sd { --r: 2.2deg; background: #dbe8ff; }
.stats + .spec { margin-top: 40px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat { padding: 18px 16px 20px; border-radius: 22px; } }

/* Round two: the Mac download is no use on a phone, so point to the Mac instead. */
.mac-hint { display: none; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .dcard [data-mac-download], .foot-ctas [data-mac-download] { display: none; } .mac-hint { display: block; } }
.story.pinned .st-card { min-height: 380px; }

/* ── Compare pages ── */
.article.compare.wide { width: min(1080px, 100% - 32px); }
.article.compare h1 em { display: block; font-style: italic; color: var(--accent); font-size: .62em; line-height: 1.15; margin-top: 10px; }
.article .disclose { font-size: 15.5px; color: var(--muted); }
.cmp-scroll { margin-top: 20px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--card-2); box-shadow: 0 18px 40px -30px rgba(38, 8, 79, .3); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; text-align: start; min-width: 560px; }
.cmp.cmp-wide { min-width: 860px; }
.cmp th, .cmp td { padding: 16px 18px; vertical-align: top; text-align: start; border-top: 1px solid var(--line); color: var(--ink); font-weight: 400; }
.cmp thead th { border-top: 0; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.cmp tbody th { font-weight: 600; color: var(--muted); font-size: 14px; width: 21%; }
.cmp .cmp-echo, .cmp .cmp-echo-row td, .cmp .cmp-echo-row th { background: #f6f2ff; color: var(--ink-2); font-weight: 600; }
.cmp thead .cmp-echo img, .cmp-echo-row th img { vertical-align: -5px; margin-inline-end: 8px; border-radius: 6px; }
.cmp-wide tbody th { width: 12%; color: var(--ink-2); font-size: 15.5px; } .cmp-wide tbody th a { color: var(--accent); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.pick > div { padding: 22px 24px; border-radius: 22px; background: var(--card-2); border: 1px solid var(--line); }
.pick .pick-echo { background: #f6f2ff; border-color: transparent; }
.pick h3 { font: 600 18px/1.3 var(--sans); color: var(--ink-2); }
.pick li { font-size: 16.5px; }
.article.compare .faq { margin-top: 18px; } .article.compare .faq p { font-size: 17px; margin: 0; padding: 0 24px 22px; }
.article .sources li { font-size: 15px; word-break: break-word; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.article a.cmp-chip { padding: 10px 16px; border-radius: 999px; background: #f6f2ff; color: var(--ink-2); font-size: 15px; }
.cmp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.article a.cmp-card { display: grid; gap: 4px; padding: 22px 24px 24px; border-radius: 24px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); box-shadow: 0 18px 40px -30px rgba(38, 8, 79, .3); transition: translate var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.article a.cmp-card:hover { translate: 0 -4px; box-shadow: 0 28px 50px -30px rgba(38, 8, 79, .45); }
.cmp-card small { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cmp-card b { font: 400 34px/1.1 var(--serif); }
.cmp-card span { font-size: 15.5px; font-weight: 400; line-height: 1.45; color: var(--muted); min-height: 2.9em; }
.cmp-card i { font-style: normal; font-size: 15px; font-weight: 700; color: var(--accent); margin-top: 8px; }
.cmp-card:nth-child(6n+1) { background: #f1eaff; } .cmp-card:nth-child(6n+2) { background: #fff0e4; } .cmp-card:nth-child(6n+3) { background: #e6f6ee; }
.cmp-card:nth-child(6n+4) { background: #e8f0ff; } .cmp-card:nth-child(6n+5) { background: #fdeef3; } .cmp-card:nth-child(6n) { background: #f4f1e6; }
@media (max-width: 760px) { .cmp-cards { grid-template-columns: 1fr; } .pick { grid-template-columns: 1fr; } .cmp th, .cmp td { padding: 12px 14px; font-size: 14.5px; } }

/* ── Round two: phones ── */
@media (max-width: 860px) { .story.pinned { height: 260vh; } }
@media (max-width: 720px) {
  .ask-chat { min-height: 400px; }
  .lang a { padding: 13px 12px; font-size: 14px; } .menu-btn { width: 44px; height: 44px; } .btn-sm { padding-block: 12px; }
  .foot-col { gap: 0; } .foot-col a { padding-block: 10px; }
  .tlink, .price-line a { display: inline-block; padding-block: 10px; }
  .motion-btn::after { content: ''; position: absolute; inset: -6px; }
  .devices > [data-reveal], .posts > [data-reveal] { opacity: 1; transform: none; }
  :root[dir="rtl"] .src { padding: 11px 11px 11px 14px; }
  .hero-stage .hs-flow.f-1, .hero-stage .hs-flow.only-stacked { display: none; }
  .outro { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .dcell { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
  .dcell .dsay { display: none; } .dcell-top { min-height: 0; } .dcell .wave { display: none; }
  .dcell .flags { height: 30px; } .dcell .flags img, .dcell .glyph { width: 28px; height: 28px; } .dcell .flags img + img { margin-inline-start: -14px; }
  .buddy-wrap.sm { height: 100px; }
}
@media (max-width: 360px) { .nav-inner, .nav-actions { gap: 6px; } .lang a { padding-inline: 8px; } .nav-actions .btn-dark { padding-inline: 10px; } }
.cmp thead .cmp-echo img, .cmp-echo-row th img { display: inline-block; }
@media (max-width: 860px) { .story.pinned .story-pin { padding-block: 92px 16px; } }

/* Phones: the call window is decoration next to the Echo panel, and the fact list keeps its headlines. */
@media (max-width: 720px) {
  .qdesk .qcall { display: none; }
  .spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } .spec > div { grid-template-columns: 1fr; gap: 6px; }
  .spec dd { grid-template-columns: 1fr; } .spec dd span { display: none; } .spec dd strong { font-size: 22px; }
}

/* ── Final council: scale, value contrast, layout variety ── */
:root { --iris: #cdbcff; --iris-2: #dccfff; --apricot: #ffc79a; --mint-2: #a9e6cb; --ink-block: #26084f; --lift: 0 2px 0 rgba(38, 8, 79, .05), 0 34px 60px -34px rgba(38, 8, 79, .45); }
.h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: 1; letter-spacing: -.026em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); }
.section { padding-block: clamp(72px, 9vw, 136px); }
button.btn { font-family: inherit; }
@media (min-width: 861px) {
  :is(#quiet, #ask) :is(.h2, .lead).center { text-align: start; margin-inline: 0; }
  :is(#quiet, #ask) .h2 { max-width: 15ch; }
  #faq .wrap { width: min(1160px, 100% - 32px); display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 64px; }
  #faq .h2 { grid-row: 1 / span 4; align-self: start; position: sticky; top: 120px; text-align: start; margin: 0; }
  #faq .wrap > :not(.h2) { grid-column: 2; } #faq .faq { margin-top: 0; } #faq .faq-all { justify-content: flex-start; }
}
/* story */
.story { margin-top: 20px; }
.story-pin { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.story-stage { border-radius: 44px; background: radial-gradient(55% 50% at 80% 10%, var(--apricot) 0, transparent 70%), radial-gradient(55% 55% at 10% 92%, var(--mint-2) 0, transparent 70%), var(--iris); }
.st-card { box-shadow: var(--lift); }
@media (min-width: 861px) {
  .story.pinned .story-pin { padding-block: 76px 24px; }
  .story.pinned .story-stage { height: min(720px, 100%); }
  .st-card { width: min(580px, 100%); padding: 30px 32px 34px; border-radius: 32px; }
  .story.pinned .st-card { min-height: 480px; }
  .st-lines p, .st-note .hs-li { font-size: 18px; } .st-lines p { padding: 14px 16px; } .st-lines time { font-size: 15px; }
  .st-step h3 { font-size: clamp(30px, 3.2vw, 46px); } .st-step > b { font-size: 34px; } .st-step p { font-size: 18px; }
  :root[lang="ar"] .st-step h3 { font-size: clamp(24px, 2.4vw, 32px); }
  .st-buddy { width: 84px; height: 84px; }
  .st-note .hs-h { font-size: 14px; }
}
/* languages: a true band */
#languages { margin-inline: 0; border-radius: 0; background: linear-gradient(#e3d8ff, #efe8ff); }
/* comparison: the Echo column carries the argument */
.versus { box-shadow: var(--lift); border-color: transparent; }
.vs-row > .vs-echo { background: var(--ink-block); color: #fff; }
.vs-row + .vs-row > .vs-echo { box-shadow: inset 0 1px rgba(255, 255, 255, .12); }
@media (min-width: 861px) { .qdesk { height: 640px; } .vs-row > .vs-echo { font-size: 18px; } }
/* feature grid */
.b-lav { background: var(--iris-2); } .b-peach { background: #ffd3ae; } .b-mint { background: #c3ecd9; }
.bcell .bmock { box-shadow: var(--lift); }
.b-private { background: var(--ink-block); }
.b-private .h3, .b-private .ticks li { color: #fff; }
.b-private > div > p { color: rgba(255, 255, 255, .78); } .b-private .tlink { color: #c9b3ff; }
.b-private .buddy { box-shadow: 0 0 44px rgba(190, 160, 255, .85), 0 0 120px rgba(123, 63, 255, .6); }
/* Ask Echo */
.askbox { background: var(--iris-2); } .ask-chat { box-shadow: var(--lift); }
@media (min-width: 861px) { .askbox { max-width: none; padding: 28px; gap: 28px; border-radius: 40px; } .ask-chat { min-height: 460px; } .ask-chat .bubble { font-size: 18px; } }
/* at a glance */
.stat.sa { background: var(--iris); } .stat.sb { background: var(--apricot); } .stat.sc { background: var(--mint-2); }
.stat.sd { background: var(--ink-block); } .stat.sd b, .stat.sd span { color: #fff; }
.stat b { font-family: var(--sans); font-weight: 600; letter-spacing: -.04em; }
@media (min-width: 861px) { .stats, .spec { max-width: none; } .stats { gap: 22px; } .stat { padding: 34px 30px 36px; border-radius: 34px; } .stat b { font-size: clamp(64px, 8vw, 116px); } .stat span { font-size: 17px; } }
/* closing */
.outro-wrap > .wrap { width: calc(100% - 20px); }
.outro { padding-block: clamp(88px, 12vw, 180px); }
.outro .h2 { font-size: clamp(46px, 7.4vw, 112px); }
.outro .btn-dark { background: #fff; color: var(--ink-block); }
.outro .btn-outline { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
/* drift that read as misalignment is off */
.bento .bcell:nth-child(even), .posts .post-card:nth-child(2), .devices .dcard:nth-child(2) { translate: none; }
/* pills band: bigger, in colour */
.track span { font-size: clamp(18px, 2vw, 26px); padding: 14px 26px; }
.track span:nth-child(3n+1) { background: var(--iris-2); } .track span:nth-child(3n+2) { background: #ffd9b8; } .track span:nth-child(3n) { background: #c9eedb; }

/* ── Final council: story states, fair comparison, poses, ripple ── */
.h2 { text-wrap: balance; }
.nav.hidden { transform: translateY(calc(-100% - 48px)); }
.dcell .wave { display: none; }
.vs-more { margin-top: 22px; text-align: center; font-size: 16.5px; color: var(--muted); }
.vs-more a { color: var(--accent); font-weight: 700; }
.versus .vs-row > p:not(.vs-echo) { text-decoration: none !important; }
/* story */
.story.pinned { height: 250vh; }
.story.pinned .st-top { opacity: 0; }
.story.pinned:not([data-step="0"]) .st-top { opacity: 1; }
.st-done { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.st-done i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent) center / 62% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.story:not(.pinned) .st-rec, .story[data-step="2"] .st-rec, .story:not(.pinned) .st-top .wave, .story[data-step="2"] .st-top .wave { display: none; }
.story:not(.pinned) .st-done, .story[data-step="2"] .st-done { display: inline-flex; }
.st-lines span[lang="ar"] { font-family: 'Plex Arabic', var(--sans); }
/* the character's poses */
.buddy[class*="is-"]::before, .buddy[class*="is-"]::after { content: ""; position: absolute; pointer-events: none; }
.buddy.is-listening { rotate: -6deg; }
.buddy.is-listening .eye { scale: 1.08 1.16; }
.buddy.is-listening::before, .buddy.is-listening::after { inset: -6%; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); animation: echo 2.4s ease-out infinite; }
.buddy.is-listening::after { animation-delay: 1.2s; }
.buddy.is-writing { animation: poseWrite .5s ease-in-out infinite; }
@keyframes poseWrite { 50% { transform: translateY(2%) scale(1.03, .97); } }
.buddy.is-writing .eye { animation: none; transform: translateY(34%); scale: 1 .72; }
.buddy.is-writing::before, .buddy.is-writing::after { inset-inline-start: 18%; bottom: -16%; width: 64%; height: 4%; min-height: 2px; border-radius: 9px; background: var(--accent); transform-origin: left; animation: poseLine 2s var(--ease) infinite; }
.buddy.is-writing::after { bottom: -27%; width: 40%; opacity: .5; animation-delay: .5s; }
[dir="rtl"] .buddy.is-writing::before, [dir="rtl"] .buddy.is-writing::after { transform-origin: right; }
@keyframes poseLine { 0% { transform: scaleX(0); } 45%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.buddy.is-done { animation: poseDone .7s var(--ease) 1, bob 6s ease-in-out infinite .7s; }
@keyframes poseDone { 0% { scale: 1; } 30% { scale: 1.1 .9; } 60% { scale: .94 1.1; transform: translateY(-12%); } 100% { scale: 1; } }
.buddy.is-done .eye { animation: none; background: none; box-shadow: none; border: solid #fff; border-width: 3px 0 0; height: 13% !important; border-radius: 50% 50% 0 0; }
.buddy.is-done::after { top: -6%; inset-inline-end: -8%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff center / 62% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b3fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); box-shadow: 0 0 0 2px var(--ink-2), 0 6px 12px -4px rgba(91, 40, 220, .6); animation: pop .5s var(--ease) .3s both; }
/* ripple divider */
.ripple-band { display: block; width: 100%; height: clamp(56px, 8vw, 104px); margin-top: clamp(28px, 4vw, 56px); color: var(--accent); opacity: .8; }
.ripple-band .rb-ring { transform-box: fill-box; transform-origin: center; animation: rbRing 3.6s ease-out infinite; }
.ripple-band .rb-ring:nth-child(2) { animation-delay: .9s; } .ripple-band .rb-ring:nth-child(3) { animation-delay: 1.8s; } .ripple-band .rb-ring:nth-child(4) { animation-delay: 2.7s; }
@keyframes rbRing { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.ripple-band .rb-bars { transform-box: fill-box; transform-origin: center; animation: rbBars 1.8s ease-in-out infinite; }
@keyframes rbBars { 50% { transform: scaleY(.55); } }
.ripple-band + .section { padding-top: clamp(40px, 5vw, 72px); }
@media (prefers-reduced-motion: reduce) { .buddy[class*="is-"], .buddy[class*="is-"] .eye, .buddy[class*="is-"]::before, .buddy[class*="is-"]::after, .ripple-band * { animation: none !important; } }
/* blog now closes the page */
#blog { margin-top: clamp(24px, 4vw, 56px); }

/* ── GSAP + Lenis layer ── */
html.lenis, html.gsap { scroll-behavior: auto !important; }
html.gsap .hero-stage.settled { transition: none; }
html.gsap .qdesk[data-reveal] { transform: none; transition: opacity .55s var(--ease); }
html.gsap .qdesk .qcall, html.gsap .qdesk .qpop { translate: none; }
:root[dir="rtl"] { --dir: -1; }
html.gsap .qdesk .qpop:not(.mini) .qtoggle { background: color-mix(in srgb, var(--accent) calc(var(--on, 1) * 100%), #c9c3d6); }
html.gsap .qdesk .qpop:not(.mini) .qtoggle::after { translate: calc((1 - var(--on, 1)) * -16px * var(--dir, 1)); }
html.gsap .btn.mag { transition: box-shadow .35s var(--ease), background .2s; }
.stat { transition: translate var(--t2) var(--ease); }
/* closing: the Gulf coast at dusk */
.outro { background: radial-gradient(46% 52% at 50% 42%, rgba(20, 8, 60, .5), rgba(20, 8, 60, 0) 78%), image-set(url('assets/scene/gulf-dusk.webp') type('image/webp'), url('assets/scene/gulf-dusk.jpg') type('image/jpeg')) center 55% / cover no-repeat; }

@media (max-width: 860px) { .story-pin { grid-template-columns: 1fr; } .story-stage { border-radius: 28px; } }

/* ── Final QA ── */
.buddy.st-buddy { width: 52px; height: 50px; box-shadow: 0 0 22px rgba(123, 63, 255, .55); }
@media (min-width: 861px) {
  .buddy.st-buddy { width: 84px; height: 81px; inset-block-start: 26px; inset-inline-end: 28px; }
  .story.pinned .st-card { min-height: 420px; }
  .ask-chat { min-height: 380px; }
}
.faq .ans a { color: var(--accent); font-weight: 600; }
.outro .fine { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: rgba(20, 8, 60, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.outro .lead { text-shadow: 0 1px 18px rgba(20, 8, 60, .7); }
#blog .posts { margin-top: 40px; }

/* ── Smoothness pass ── */
:root { --ease-io: cubic-bezier(.45, 0, .15, 1); }
/* One reveal recipe: a short rise, no rotation, the same curve everywhere. */
[data-reveal] { transform: translateY(22px); transition: opacity .7s var(--ease), transform .95s var(--ease); transition-delay: calc(min(var(--i, 0), 4) * 70ms); }
.h2[data-reveal] { transform: translateY(22px); }
[data-reveal].in, :is(.qdesk, .askbox, .dialogue, .versus, .bcell, .dcell, .dout, .outro)[data-reveal].in { transform: none; }
html.js:not(.failsafe) .h2.split .w { translate: 0 .42em; transition: opacity .7s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--w, 0) * 45ms); }
.hero-title .line { filter: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
/* Scroll-linked values are now written per element; the old inherited ones are retired. */
.stat { rotate: var(--r); transition: rotate .5s var(--ease), translate .35s var(--ease); }
.dout .buddy-wrap, .outro > .buddy, .askbox .ask-chat, .devices .vis-app .shot { will-change: transform; }
/* Story: the transcript and the note share one place and cross-fade; nothing changes height. */
.story.pinned .st-card { display: grid; grid-template-rows: auto 1fr; align-content: start; }
.story.pinned .st-lines, .story.pinned .st-note { grid-area: 2 / 1; align-self: start; }
.story.pinned .st-lines { max-height: none; overflow: visible; transition: opacity .5s var(--ease-io), translate .7s var(--ease), scale .7s var(--ease); }
.story.pinned[data-step="2"] .st-lines { max-height: none; margin-top: 16px; opacity: 0; scale: .97; translate: 0 -14px; pointer-events: none; }
.story.pinned .st-note { position: static; transition: opacity .55s var(--ease-io) .12s, translate .8s var(--ease) .12s; }
.story.pinned:not([data-step="2"]) .st-note { position: static; opacity: 0; translate: 0 18px; pointer-events: none; }
.story.pinned .st-lines p, .story.pinned .st-note .hs-li, .story.pinned .st-note .hs-h { transition: opacity .55s var(--ease), translate .8s var(--ease); }
.story.pinned .st-mic { transition: opacity .45s var(--ease-io), scale .7s var(--ease), translate .7s var(--ease); }
.story.pinned .st-top { transition: opacity .5s var(--ease-io); }
.story.pinned .st-step { transition: background .5s var(--ease-io), opacity .5s var(--ease-io), box-shadow .5s var(--ease-io); }
.story.pinned .st-bar i { transition: none; will-change: transform; }
/* Turn-taking pieces swap on an in-out curve so nothing snaps. */
.hs-deck .hs-card { transition: transform .9s var(--ease-io), opacity .45s var(--ease-io); }
.dcell { transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s var(--ease-io); }
.ask-row { transition: background .4s var(--ease-io), box-shadow .4s var(--ease-io), border-color .4s var(--ease-io); }
.nav { transition: background .35s var(--ease-io), box-shadow .35s var(--ease-io), transform .6s var(--ease); }
.card, .dcard, .bcell, .post-card, .cmp-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.faq details { transition: background .3s var(--ease-io); }
/* In-page links land below the bar. */
[id] { scroll-margin-top: 92px; }
/* Moving between pages cross-fades instead of flashing white (where the browser supports it). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease-io); }
.nav { view-transition-name: site-nav; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ── Legal pages (privacy, terms, billing-done) ── */
.legal .updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal .lede { margin-top: 24px; padding: 20px 24px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 17px; }
.legal h2 { scroll-margin-top: 96px; }
.legal strong { color: var(--ink-2); }
.legal-done { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.legal-done .done-mark { width: 64px; height: 64px; margin: 0 auto 18px; }
.legal-done h1 { margin-top: 0; }
.legal-done .lede { margin: 18px auto 0; max-width: 460px; }
@media print { .nav, .footer { display: none; } .article { padding-top: 0; } }

/* ── Blog posts built by build-blog.py ── */
.article.post .toc { margin-top: 28px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-2); }
.article.post .toc b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .article.post .toc b { letter-spacing: 0; font-size: 14px; }
.article.post .toc ol { margin-top: 8px; gap: 4px; }
.article.post .toc li { font-size: 16px; line-height: 1.5; }
.article.post .toc a { font-weight: 500; }
.article.post h3 { font: 600 20px/1.35 var(--sans); color: var(--ink-2); margin-top: 26px; }
.article.post table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 16px; }
.article.post th, .article.post td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.article.post th { color: var(--ink-2); font-weight: 600; }
.article.post blockquote { margin: 20px 0 0; padding: 4px 18px; border-inline-start: 3px solid var(--accent); }
.article.post .faq { margin-top: 18px; } .article.post .faq p { font-size: 17px; margin: 0; padding: 0 24px 22px; }
.article.post .src-note { font-size: 15px; color: var(--muted); }
.article.post .sources li { font-size: 15px; word-break: break-word; }
.article.post h2[id], .article.post .faq details { scroll-margin-top: 96px; }
.article.post .related-h { margin-top: 56px; }
.article.post .posts.related { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.article.post .related .post-card { flex-direction: row; align-items: stretch; }
.article.post .related .post-top { width: 96px; height: auto; flex: none; }
.article.post .related .post-top .src-ic { width: 46px; height: 46px; border-radius: 14px; }
.article.post .related .post-body { padding: 16px 20px; gap: 6px; }
.article.post .related .post-body h3 { font-size: 17px; margin: 0; } .article.post .related .post-body p { display: none; } .article.post .related .post-more { display: none; }
.blog-index .posts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .blog-index .posts { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .blog-index .posts, .article.post .posts.related { display: grid; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; padding: 0; margin-inline: 0; } .blog-index .posts .post-card, .article.post .posts.related .post-card { width: auto; min-width: 0; flex: none; } }
.article.post span[lang="ar"] { font-family: 'Plex Arabic', var(--sans); unicode-bidi: isolate; }

/* ── Templates and glossary (build-pages.py) ── */
.tpl-copy { margin-top: 14px; display: flex; }
.tpl-sheet { margin-top: 14px; padding: 22px 24px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(38, 8, 79, .3); display: grid; gap: 14px; }
.tpl-sheet.filled { background: #f6f2ff; border-color: transparent; }
.tpl-sheet h3 { font: 600 19px/1.3 var(--sans); color: var(--ink-2); margin: 0; }
.tpl-sheet section b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .tpl-sheet section b { letter-spacing: 0; font-size: 14px; }
.tpl-sheet ul { margin: 6px 0 0; gap: 4px; }
.tpl-sheet li { font-size: 16px; line-height: 1.55; }
.tpl-more { margin-top: 12px; }
.term-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.article .term-jump a { padding: 6px 12px; border-radius: 999px; background: #f6f2ff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.term { padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.term h3 { font: 600 20px/1.3 var(--sans); color: var(--ink-2); margin: 0; }
.article .term .term-short { margin-top: 6px; font-weight: 600; color: var(--ink-2); }
.article .term p { margin-top: 8px; }
.article .term .term-echo, .article .term .term-see { font-size: 15.5px; color: var(--muted); }
.term-see span { font-weight: 600; } .term-see a { margin-inline-end: 10px; }

/* ── Teams page ── */
.teams-hero .pill { margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; max-width: 900px; margin: 48px auto 0; text-align: start; align-items: stretch; }
.team-plan { max-width: none; }
.team-mail { margin-top: 12px; font-size: 14.5px; color: var(--muted); } .team-mail .sel { user-select: all; font-weight: 600; color: var(--ink-2); }
.team-calc { background: var(--card-2); border-radius: 30px; padding: 30px; box-shadow: 0 1px 2px rgba(38, 8, 79, .06), 0 40px 80px -40px rgba(30, 20, 90, .6); display: flex; flex-direction: column; gap: 14px; }
.team-calc label { font-weight: 700; color: var(--ink-2); font-size: 17px; }
.seat-row { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.seat-step { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font: 600 24px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.seat-step:hover { border-color: var(--accent); }
#seats { height: 52px; border-radius: 14px; border: 1px solid var(--line); text-align: center; font: 600 24px var(--sans); color: var(--ink-2); background: var(--card); -moz-appearance: textfield; }
#seats::-webkit-outer-spin-button, #seats::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-total { margin-top: 8px; display: grid; gap: 2px; } .calc-total b { font: 400 clamp(38px, 4.4vw, 52px)/1 var(--serif); color: var(--ink-2); font-variant-numeric: tabular-nums; } .calc-total small { color: var(--muted); font-size: 15px; }
:root[lang="ar"] .calc-total b { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); }
.calc-save { font-weight: 700; color: #11845b; } .calc-note { font-size: 15px; color: var(--muted); }
.team-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.team-why .card h3 { font: 600 19px/1.3 var(--sans); color: var(--ink-2); } .team-why .card p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.team-steps { list-style: none; padding: 0; margin: 44px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-steps li { background: var(--card-2); border-radius: 24px; padding: 24px; }
.team-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.team-steps h3 { margin-top: 14px; font: 600 19px/1.3 var(--sans); color: var(--ink-2); } .team-steps p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.outro-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
@media (max-width: 860px) { .team-grid, .team-steps { grid-template-columns: 1fr; } .team-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-why { grid-template-columns: 1fr; } }
.team-grid { align-items: start; }
:root[lang="ar"] .team-plan .plan-price b { font-family: var(--sans); font-weight: 700; font-size: clamp(34px, 4vw, 46px); }

/* ── Teams page v2 ── */
.tt-hero { text-align: start; padding-bottom: 72px; }
.tt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tt-hero-copy .h2 { font-size: clamp(40px, 5vw, 68px); margin-top: 18px; }
.tt-hero-copy .hero-sub { margin-inline: 0; max-width: 520px; }
.tt-hero-copy .hero-ctas { justify-content: flex-start; margin-top: 26px; }
.tt-hero-copy .hero-fine { text-align: start; }
.tt-mock { position: relative; padding-bottom: 70px; }
.tt-folder { background: var(--card-2); border-radius: 26px; padding: 18px; box-shadow: 0 2px 0 rgba(38, 8, 79, .05), 0 40px 70px -40px rgba(38, 8, 79, .55); }
.tt-fhead { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.tt-fhead b, .tt-link b { display: block; font-size: 16px; color: var(--ink-2); } .tt-fhead small, .tt-link small { font-size: 13px; color: var(--muted); }
.tt-ficon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #efe9ff; }
.tt-ficon svg, .tt-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tt-avs { display: flex; align-items: center; } .tt-avs img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card-2); margin-inline-start: -8px; }
.tt-avs i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); margin-inline-start: 6px; }
.tt-notes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.tt-notes li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 14px; }
.tt-notes li:first-child { background: #f6f2ff; }
.tt-notes img, .tt-members img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tt-notes b { display: block; font-size: 15px; color: var(--ink-2); } .tt-notes small { font-size: 13px; color: var(--muted); }
.tt-chip { font-size: 11.5px; font-weight: 700; color: var(--accent); background: #efe9ff; padding: 4px 8px; border-radius: 999px; }
.tt-summary { position: absolute; inset-inline-end: -18px; bottom: 0; width: min(300px, 80%); background: var(--card-2); border-radius: 20px; padding: 16px 18px; box-shadow: 0 30px 60px -30px rgba(38, 8, 79, .55); display: grid; gap: 4px; }
.tt-summary .buddy.mini { position: absolute; inset-block-start: -14px; inset-inline-end: 16px; width: 34px; height: 33px; }
.tt-summary b { font-size: 14px; color: var(--ink-2); } .tt-summary .hs-li { font-size: 14px; margin-top: 4px; }
.tt-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: #efe9ff; }
.team-plan .tt-plan-h { font: 600 22px/1.3 var(--sans); color: var(--ink-2); }
.tt-was { color: var(--muted); font-size: 20px; margin-inline-end: 8px; }
.tt-ex { font-size: 14.5px; color: var(--muted); margin-top: auto; }
.tt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.tt-split .h2 { text-align: start; } .tt-split .lead { margin-inline: 0; text-align: start; }
.tt-rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.tt-rules li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.tt-rules b { display: block; font-size: 17px; color: var(--ink-2); } .tt-rules p { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tt-invite { background: var(--card-2); border-radius: 26px; padding: 20px; box-shadow: 0 40px 70px -40px rgba(38, 8, 79, .5); display: grid; gap: 14px; }
.tt-link { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #f6f2ff; }
.tt-copy { font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); padding: 7px 12px; border-radius: 999px; }
.tt-members { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.tt-members li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tt-members b { font-size: 15px; color: var(--ink-2); } .tt-members small { font-size: 13px; color: var(--muted); }
.tt-private { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 0; font-size: 14.5px; color: var(--ink-2); }
.tt-tiles, .tt-roles { display: grid; gap: 18px; margin-top: 44px; }
.tt-tiles.three { grid-template-columns: repeat(3, 1fr); } .tt-roles { grid-template-columns: repeat(5, 1fr); }
.tt-tile { background: var(--card-2); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; box-shadow: 0 18px 40px -32px rgba(38, 8, 79, .4); }
.tt-tile h3 { font: 600 18px/1.3 var(--sans); color: var(--ink-2); } .tt-tile p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tt-notyet { background: #f6f2ff; border-radius: 24px; padding: 26px 28px; }
.tt-notyet h3 { font: 600 19px/1.3 var(--sans); color: var(--ink-2); } .tt-notyet ul { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; color: var(--ink); }
.tt-notyet p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.outro .sel { user-select: all; }
@media (max-width: 1100px) { .tt-roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .tt-hero-grid, .tt-split { grid-template-columns: 1fr; gap: 32px; }
  .tt-tiles.three { grid-template-columns: 1fr; } .tt-roles { grid-template-columns: 1fr 1fr; }
  .tt-summary { position: relative; inset: auto; margin: -40px 0 0 auto; }
  .tt-mock { padding-bottom: 0; }
}
@media (max-width: 560px) { .tt-roles { grid-template-columns: 1fr; } .tt-hero-copy .hero-ctas { flex-direction: column; align-items: stretch; } }
.tt-split > *, .tt-hero-grid > * { min-width: 0; }
.tt-link small { overflow-wrap: anywhere; }
@media (max-width: 860px) { .tt-hero-grid, .tt-split { grid-template-columns: minmax(0, 1fr); } }
.tt-hero .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238, 243, 255, .92) 0, rgba(238, 243, 255, .72) 40%, rgba(238, 243, 255, 0) 62%); }
:root[dir="rtl"] .tt-hero .hero-bg::after { background: linear-gradient(270deg, rgba(238, 243, 255, .92) 0, rgba(238, 243, 255, .72) 40%, rgba(238, 243, 255, 0) 62%); }
@media (max-width: 860px) { .tt-hero .hero-bg::after { background: linear-gradient(rgba(238, 243, 255, .85), rgba(238, 243, 255, .55) 55%, rgba(238, 243, 255, 0) 80%); } }
.tt-hero .hero-bg { overflow: hidden; }

/* Teams: what members get, owner's view, who sees what */
.tg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.tg-card { background: var(--card-2); border-radius: 26px; padding: 14px 14px 26px; display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 2px rgba(38, 8, 79, .05), 0 30px 60px -40px rgba(38, 8, 79, .5); }
.tg-card h3 { font: 600 19px/1.3 var(--sans); color: var(--ink-2); margin: 10px 12px 0; }
.tg-card > p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 0 12px; }
.tg-demo { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); border-radius: 18px; padding: 18px; min-height: 178px; display: grid; gap: 8px; align-content: center; font-size: 14px; color: var(--ink-2); }
.tg-demo p { margin: 0; background: var(--card-2); border-radius: 12px; padding: 9px 12px; line-height: 1.45; display: flex; gap: 8px; align-items: baseline; }
.tg-sp { font-weight: 700; font-size: 12.5px; flex: none; } .tg-sp.a { color: var(--accent); } .tg-sp.b { color: #1f8a5b; }
.tg-demo .tg-rename { background: transparent; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
.tg-demo .tg-rename::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1f8a5b; flex: none; align-self: center; }
.tg-demo .tg-q { justify-self: end; background: var(--ink-2); color: #fff; border-radius: 14px 14px 4px 14px; max-width: 88%; }
:root[dir="rtl"] .tg-demo .tg-q { border-radius: 14px 14px 14px 4px; }
.tg-demo .tg-a { flex-direction: column; gap: 4px; max-width: 92%; border-radius: 14px 14px 14px 4px; }
:root[dir="rtl"] .tg-demo .tg-a { border-radius: 14px 14px 4px 14px; }
.tg-demo .tg-a small { font-size: 12px; color: var(--accent); font-weight: 600; }
.tg-tr p { display: block; } .tg-tr p[lang="ar"] { font-size: 15px; text-align: right; }
.tg-arrow { justify-self: center; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--card-2); border-radius: 999px; padding: 4px 12px; box-shadow: 0 6px 16px -10px rgba(38, 8, 79, .5); }
.tt-split-rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.to-panel { background: var(--card-2); border-radius: 26px; padding: 20px; box-shadow: 0 40px 70px -40px rgba(38, 8, 79, .5); display: grid; gap: 14px; }
.to-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; } .to-head b { font-size: 18px; color: var(--ink-2); } .to-head small { font-size: 13px; color: var(--muted); }
.to-seats { background: #f6f2ff; border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
.to-seats div { display: flex; justify-content: space-between; align-items: baseline; } .to-seats b { font-size: 15px; color: var(--ink-2); } .to-seats small { font-size: 13px; font-weight: 700; color: #1f8a5b; }
.to-bar { height: 8px; border-radius: 99px; background: #e4dcfb; overflow: hidden; } .to-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.to-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .to-input { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.to-btn { font-size: 13px; font-weight: 700; color: #fff; background: var(--ink-2); border-radius: 12px; padding: 9px 16px; }
.to-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #efe9ff; color: var(--accent); font-weight: 700; font-size: 13px; }
.to-inv { color: var(--accent) !important; font-weight: 600; }
.tw-wrap { max-width: 920px; margin: 40px auto 0; background: var(--card-2); border-radius: 26px; padding: 8px 20px; box-shadow: 0 30px 60px -44px rgba(38, 8, 79, .5); overflow-x: auto; }
.tw { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.tw th, .tw td { padding: 16px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.tw tr:last-child th, .tw tr:last-child td { border-bottom: 0; }
.tw thead th { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.tw tbody th { font-weight: 600; color: var(--ink-2); width: 34%; }
.tw td { color: var(--ink); } .tw td::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 8px; vertical-align: 1px; }
.tw td.y::before { background: #1f8a5b; } .tw td.n { color: var(--muted); } .tw td.n::before { background: #d6d0e4; } .tw td.m::before { background: #e3a008; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .tg-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } .tt-split-rev { grid-template-columns: minmax(0, 1fr); } .tt-split-rev > div:last-child { order: -1; } }

/* Teams: kinds of team */
.tc { max-width: 1060px; margin: 40px auto 0; }
.tc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tc-tabs button { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); color: var(--ink-2); background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tc-tabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tc-tabs button:hover { border-color: #cdbfff; }
.tc-tabs button[aria-selected="true"] { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.tc-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tc-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 32px; background: var(--card-2); border-radius: 30px; padding: 36px; box-shadow: 0 30px 60px -44px rgba(38, 8, 79, .5); }
.tc:not(.js) .tc-panel + .tc-panel { margin-top: 18px; }
.tc.js .tc-panel:not([hidden]) { animation: tc-in .35s var(--ease); }
@keyframes tc-in { from { opacity: 0; transform: translateY(8px); } }
.tc-copy h3 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--serif); color: var(--ink-2); }
:root[lang="ar"] .tc-copy h3 { font: 700 clamp(24px, 2.6vw, 32px)/1.35 var(--sans); }
.tc-copy > p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.tc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tc-list li { position: relative; padding-inline-start: 30px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.tc-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #efe9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b3fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tc-folder { background: #faf8ff; box-shadow: none; border: 1px solid var(--line); }
.tc-folder .tt-notes li:first-child { background: #fff; }
@media (max-width: 860px) {
  .tc-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .tc-tabs::-webkit-scrollbar { display: none; }
  .tc-tabs button { flex: none; }
  .tc-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; border-radius: 24px; }
}
.tc-panel[hidden] { display: none; }

/* Product switch in the nav: Notetaker / Dictation */
.mode { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--card-2) 70%, transparent); border: 1px solid var(--line); gap: 2px; font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.mode a { padding: 6px 13px; border-radius: 999px; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.mode a:hover { color: var(--ink-2); }
.mode a[aria-current="page"] { background: var(--ink-2); color: #fff; }
.nav-links .nav-m { display: none; }
@media (max-width: 960px) { .mode { display: none; } .nav.open .nav-links .nav-m { display: block; } }
@media (max-width: 1180px) and (min-width: 961px) { .nav-links { gap: 18px; } .mode a { padding: 6px 10px; } }

/* Dictation page */
.dc-hero { position: relative; padding: 140px 0 96px; overflow: hidden; }
.dc-hero-bg { position: absolute; inset: 0 10px; border-radius: 0 0 34px 34px; background: radial-gradient(60% 70% at 78% 40%, #e3d6ff 0, rgba(227, 214, 255, 0) 70%), radial-gradient(50% 60% at 15% 80%, #dfe6ff 0, rgba(223, 230, 255, 0) 70%), var(--bg-soft); }
.dc-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.dc-hero-copy .h2 { font-size: clamp(44px, 5.6vw, 80px); margin-top: 18px; }
.dc-hero-copy .hero-sub { margin-inline: 0; max-width: 520px; }
.dc-hero-copy .hero-ctas { justify-content: flex-start; margin-top: 26px; }
.dc-hero-copy .hero-fine { text-align: start; }
.dc-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.dc-phone { width: 300px; border-radius: 46px; padding: 10px; background: #15101f; box-shadow: 0 50px 90px -40px rgba(38, 8, 79, .7), inset 0 0 0 1.5px #2d2640; }
.dc-screen { height: 580px; border-radius: 37px; background: #f4f2f8; overflow: hidden; display: flex; flex-direction: column; }
.dc-chat-h { display: flex; gap: 10px; align-items: center; padding: 38px 16px 12px; background: #fff; border-bottom: 1px solid #ece8f3; }
.dc-chat-h b { display: block; font-size: 15px; color: var(--ink-2); } .dc-chat-h small { font-size: 12px; color: #1f8a5b; }
.dc-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #efe9ff; color: var(--accent); font-weight: 700; font-size: 14px; }
.dc-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; overflow: hidden; }
.dc-msgs p { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; margin: 0; animation: dc-pop .35s var(--ease); }
.dc-msgs .in { align-self: flex-start; background: #fff; color: var(--ink); border-end-start-radius: 5px; }
.dc-msgs .out { align-self: flex-end; background: var(--accent); color: #fff; border-end-end-radius: 5px; }
@keyframes dc-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.dc-input { display: flex; align-items: center; gap: 2px; margin: 0 10px 10px; min-height: 42px; padding: 8px 8px 8px 14px; border-radius: 22px; background: #fff; border: 1px solid #e4dff0; font-size: 13.5px; color: var(--ink); }
.dc-typed { flex: 0 1 auto; line-height: 1.35; unicode-bidi: plaintext; }
.dc-caret { width: 2px; height: 17px; background: var(--accent); flex: none; animation: dc-blink 1s steps(1) infinite; }
.dc-send { margin-inline-start: auto; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.dc-send svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
:root[dir="rtl"] .dc-send svg { transform: scaleX(-1); }
@keyframes dc-blink { 50% { opacity: 0; } }
.dc-kb { background: #e9e5f2; padding: 12px 14px 22px; display: grid; justify-items: center; gap: 10px; }
.dc-kb-top { justify-self: stretch; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.dc-kb-top img { border-radius: 6px; }
.dc-wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.dc-wave i { width: 4px; height: 6px; border-radius: 4px; background: #b9a6f5; transition: height .2s; }
.dc-wave.on i { animation: dc-wave 1s var(--ease) infinite; background: var(--accent); }
.dc-wave.on i:nth-child(2n) { animation-delay: -.3s; } .dc-wave.on i:nth-child(3n) { animation-delay: -.6s; } .dc-wave.on i:nth-child(5n) { animation-delay: -.8s; }
@keyframes dc-wave { 0%, 100% { height: 6px; } 50% { height: 30px; } }
.dc-mic { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #7b3fff, #4f63ff); box-shadow: 0 14px 30px -12px rgba(91, 70, 255, .8); }
.dc-mic::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(123, 63, 255, .3); animation: dc-ring 2s var(--ease) infinite; }
.dc-mic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes dc-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.dc-kb-hint { font-size: 12px; color: var(--muted); }
.dc-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--card-2); box-shadow: 0 24px 50px -24px rgba(38, 8, 79, .55); font-size: 14px; font-weight: 600; color: var(--ink-2); animation: dc-bob 6s ease-in-out infinite; }
.dc-float.f1 { top: 14%; inset-inline-start: 0; } .dc-float.f2 { top: 44%; inset-inline-end: -4px; animation-delay: -2s; } .dc-float.f3 { bottom: 14%; inset-inline-start: 2%; animation-delay: -4s; }
.dc-lang { font-size: 11px; font-weight: 800; color: var(--accent); background: #efe9ff; padding: 5px 8px; border-radius: 9px; }
@keyframes dc-bob { 50% { transform: translateY(-8px); } }
.dc-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.dc-app { background: var(--card-2); border-radius: 24px; padding: 22px; border: 1px solid var(--line); display: grid; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.dc-app:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(38, 8, 79, .5); }
.dc-app-h { display: flex; align-items: center; gap: 12px; } .dc-app-h b { font-size: 17px; color: var(--ink-2); }
.dc-app-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #efe9ff; }
.dc-app-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-app-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); font-size: 15px; line-height: 1.45; color: var(--ink); unicode-bidi: plaintext; }
.dc-mic-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #e6dcff; }
.dc-steps { list-style: none; padding: 0; margin: 44px auto 0; max-width: 1060px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dc-steps li { background: var(--card-2); border-radius: 26px; padding: 16px 16px 26px; }
.dc-steps li > b { display: grid; place-items: center; width: 34px; height: 34px; margin: 20px 10px 0; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.dc-steps h3 { margin: 14px 10px 0; font: 600 19px/1.3 var(--sans); color: var(--ink-2); } .dc-steps li > p { margin: 8px 10px 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.dc-sv { height: 170px; border-radius: 18px; background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); display: grid; place-items: center; padding: 16px; }
.dc-set { width: 100%; max-width: 250px; background: #fff; border-radius: 14px; padding: 4px 14px; }
.dc-set p { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 10px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); } .dc-set p:last-child { border: 0; } .dc-set p:first-child { font-weight: 700; }
.dc-set .tg { width: 36px; height: 22px; border-radius: 99px; background: #1fb26b; position: relative; } .dc-set .tg::after { content: ''; position: absolute; top: 2px; inset-inline-end: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.dc-globe { display: grid; justify-items: start; gap: 8px; }
.dc-menu { display: grid; background: #fff; border-radius: 12px; padding: 4px; box-shadow: 0 16px 30px -16px rgba(38, 8, 79, .5); font-size: 14px; min-width: 130px; } .dc-menu span { padding: 7px 12px; border-radius: 8px; color: var(--ink-2); } .dc-menu .on { background: var(--accent); color: #fff; font-weight: 700; }
.dc-key { width: 46px; height: 42px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 0 #c9c2da; } .dc-key svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.dc-tap { display: grid; justify-items: center; gap: 14px; } .dc-tap p { display: flex; align-items: center; gap: 2px; margin: 0; background: #fff; border-radius: 12px; padding: 9px 14px; font-size: 14px; color: var(--ink); }
.dc-mic.sm { width: 54px; height: 54px; } .dc-mic.sm svg { width: 24px; height: 24px; }
.dc-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.6; }
.dc-hist { background: var(--card-2); border-radius: 26px; padding: 22px; box-shadow: 0 40px 70px -40px rgba(38, 8, 79, .5); display: grid; gap: 8px; }
.dc-hist-h { font-size: 18px; color: var(--ink-2); margin-bottom: 4px; } .dc-hist small { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.dc-hist p { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; color: var(--ink); }
.dc-hist p i { font-style: normal; flex: none; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.dc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 40px auto 0; }
.dc-mode { display: grid; gap: 8px; align-content: start; background: var(--card-2); border-radius: 26px; padding: 28px; border: 1.5px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
a.dc-mode:hover { transform: translateY(-4px); border-color: #cdbfff; }
.dc-mode.on { border-color: var(--accent); }
.dc-mode-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #efe9ff; margin-bottom: 8px; }
.dc-mode-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-mode small { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.dc-mode h3 { font: 400 30px/1.1 var(--serif); color: var(--ink-2); } :root[lang="ar"] .dc-mode h3 { font: 700 24px/1.35 var(--sans); }
.dc-mode p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.dc-go { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--ink-2); } a .dc-go::after { content: ' →'; } :root[dir="rtl"] a .dc-go::after { content: ' ←'; } .dc-go.here { color: var(--accent); }
@media (max-width: 960px) {
  .dc-hero { padding-top: 110px; }
  .dc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dc-apps, .dc-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dc-apps, .dc-steps, .dc-two { grid-template-columns: minmax(0, 1fr); }
  .dc-stage { min-height: 560px; }
  .dc-phone { width: 270px; } .dc-screen { height: 530px; }
  .dc-float.f2 { inset-inline-end: 0; } .dc-float { font-size: 13px; }
  .dc-hero-copy .hero-ctas { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .dc-float, .dc-mic::before, .dc-caret { animation: none; } }
.dc-input[dir="rtl"] { padding: 8px 14px 8px 8px; } .dc-input[dir="rtl"] .dc-send svg { transform: scaleX(-1); }
:root[dir="rtl"] .dc-input[dir="ltr"] .dc-send svg { transform: none; }
@media (min-width: 961px) {
  .dc-stage { place-items: center end; padding-inline-end: 48px; }
  .dc-float.f1 { top: 16%; inset-inline-start: 2%; } .dc-float.f3 { top: auto; bottom: 20%; inset-inline-start: 0; } .dc-float.f2 { top: 42%; inset-inline-end: 0; }
}
@media (max-width: 960px) { .dc-float.f3 { bottom: 4%; } }
@media (min-width: 961px) { .dc-float.f2 { inset-inline-end: auto; inset-inline-start: 6%; top: 46%; } }
@media (max-width: 960px) {
  .dc-stage { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 0; }
  .dc-phone { flex: 0 0 auto; margin-bottom: 14px; }
  .dc-float, .dc-float.f1, .dc-float.f2, .dc-float.f3 { position: static; animation: none; box-shadow: 0 10px 24px -18px rgba(38, 8, 79, .5); }
  .dc-stage .dc-phone { order: -1; flex-basis: 100%; max-width: 300px; }
}

/* Dictation page, v2: ribbon hero, race band, sticky how-it-works, feature rows */
.dz-hero { position: relative; padding: 150px 0 0; overflow: hidden; background: radial-gradient(70% 60% at 50% 0, #efe7ff 0, rgba(239, 231, 255, 0) 70%), var(--bg); }
.dz-hero-in { text-align: center; display: grid; justify-items: center; }
.dz-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .dz-eyebrow { letter-spacing: 0; font-size: 14px; }
.dz-eyebrow.center { text-align: center; }
.dz-h1 { margin-top: 18px; font: 400 clamp(52px, 8.4vw, 118px)/.98 var(--serif); letter-spacing: -.03em; color: var(--ink-2); text-wrap: balance; }
:root[lang="ar"] .dz-h1 { font: 700 clamp(42px, 6.4vw, 86px)/1.2 var(--sans); letter-spacing: 0; }
.dz-h1 em, .dz-h2 em { font-style: italic; color: var(--accent); }
:root[lang="ar"] .dz-h1 em, :root[lang="ar"] .dz-h2 em { font-style: normal; }
.dz-sub { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.dz-ctas { margin-top: 28px; } .dz-fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
.dz-ribbon { position: relative; height: clamp(220px, 24vw, 330px); margin-top: 10px; }
.dz-ribbon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dz-track { fill: none; stroke: #ece4ff; stroke-width: 46; stroke-linecap: round; } .dz-track.out { stroke: #e3d6ff; }
.dz-raw { font: 500 19px var(--sans); fill: #a79cc4; dominant-baseline: middle; }
.dz-clean { font: 700 19px var(--sans); fill: var(--ink-2); dominant-baseline: middle; }
.dz-pill { position: absolute; left: 50%; top: calc(236 / 300 * 100%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--ink-2); box-shadow: 0 0 0 6px #fff, 0 24px 50px -20px rgba(38, 8, 79, .8); z-index: 2; }
.dz-bars { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.dz-bars i { width: 3px; height: 5px; border-radius: 3px; background: #fff; opacity: .9; }
.dz-bars.on i { animation: dz-bar 1.1s ease-in-out infinite; }
.dz-bars.on i:nth-child(3n) { animation-delay: -.35s; } .dz-bars.on i:nth-child(3n+1) { animation-delay: -.7s; } .dz-bars.on i:nth-child(4n) { animation-delay: -.9s; }
@keyframes dz-bar { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.dz-band { padding: 40px 0 0; }
.dz-band-in { --open: 0; margin-inline: calc(10px + (1 - var(--open)) * 4vw); border-radius: calc(34px + (1 - var(--open)) * 20px); background: radial-gradient(60% 80% at 80% 0, #3d1580 0, rgba(61, 21, 128, 0) 70%), #1c0a3a; padding: clamp(72px, 9vw, 120px) 0; color: #fff; transition: margin .1s linear; }
.dz-h2 { font: 400 clamp(40px, 5.4vw, 76px)/1.02 var(--serif); letter-spacing: -.025em; color: var(--ink-2); text-wrap: balance; }
:root[lang="ar"] .dz-h2 { font: 700 clamp(32px, 4vw, 54px)/1.3 var(--sans); letter-spacing: 0; }
.dz-h2.center { text-align: center; margin-top: 14px; }
.dz-h2.light { color: #fff; text-align: center; } .dz-h2.light em { color: #c3a8ff; }
.dz-lead { max-width: 600px; margin: 18px auto 0; text-align: center; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; } .dz-lead.light { color: #cbbfe6; }
.dz-race { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; max-width: 980px; margin: 48px auto 0; }
.dz-lane { position: relative; border-radius: 26px; padding: 22px 24px 30px; min-height: 230px; }
.dz-lane.slow { border: 1.5px solid #3b2463; } .dz-lane.fast { background: linear-gradient(150deg, #f4efff, #e6ecff); color: var(--ink-2); }
.dz-lane-h { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; } .dz-lane.slow .dz-lane-h { color: #cbbfe6; }
.dz-lane-h svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; } .dz-lane-h img { border-radius: 6px; }
.dz-lane-t { margin-top: 22px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; min-height: 4.5em; unicode-bidi: plaintext; }
.dz-lane.slow .dz-lane-t { color: #e9e2f8; } .dz-lane.slow .dz-lane-t::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -3px; background: #c3a8ff; animation: dc-blink 1s steps(1) infinite; }
.dz-pill.sm { left: auto; top: auto; transform: none; position: absolute; inset-inline-end: 22px; bottom: 22px; padding: 10px 16px; box-shadow: 0 16px 30px -16px rgba(38, 8, 79, .8); }
.dz-pill.sm .dz-bars { height: 18px; }
.dz-how { position: relative; height: 300vh; padding-top: clamp(80px, 10vw, 130px); }
.dz-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.dz-sticky-in { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.dz-steplist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dz-steplist li { border-inline-start: 2px solid var(--line); transition: border-color .4s; }
.dz-steplist li.on { border-color: var(--accent); }
.dz-steplist button { all: unset; cursor: pointer; display: block; padding: 8px 16px; font: 500 17px var(--serif); color: var(--muted); transition: color .4s; }
:root[lang="ar"] .dz-steplist button { font: 600 16px var(--sans); }
.dz-steplist li.on button { color: var(--ink-2); } .dz-steplist button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.dz-stage { position: relative; aspect-ratio: 4 / 5; max-height: 68vh; justify-self: center; width: 100%; max-width: 440px; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #2a1150, #4b2a8f 60%, #6b55d8); box-shadow: 0 50px 90px -50px rgba(38, 8, 79, .8); }
.dz-stage::before { content: ''; position: absolute; inset: 0; background: url(/assets/scene/dusk-valley.webp) center / cover; opacity: .45; mix-blend-mode: soft-light; }
.dz-frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: scale(.97) translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.dz-frame.on { opacity: 1; transform: none; }
.dz-speech { display: grid; gap: 10px; width: 100%; }
.dz-speech p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .75); font-style: italic; }
.dz-speech p.b { color: rgba(255, 255, 255, .5); }
.dz-frame.on .dz-speech p { animation: dz-drift 3s ease-in-out infinite alternate; } .dz-frame.on .dz-speech p.b { animation-delay: -1.5s; }
@keyframes dz-drift { to { transform: translateX(10px); } }
.dz-pill.mid { top: auto; bottom: 30px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 5px rgba(255, 255, 255, .15); }
.dz-pill.done { gap: 8px; color: #fff; font-size: 14px; font-weight: 700; background: #1f8a5b; }
.dz-check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dz-compose { width: 100%; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.dz-compose p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.dz-compose-bar { display: flex; gap: 8px; align-items: center; margin-top: 16px; } .dz-compose-bar span { width: 22px; height: 22px; border-radius: 50%; background: #eee9f6; }
.dz-sendb { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); } .dz-sendb svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
:root[dir="rtl"] .dz-sendb svg { transform: scaleX(-1); }
.dz-frame.on .dz-compose { animation: dz-up .7s var(--ease) both .15s; } @keyframes dz-up { from { opacity: 0; transform: translateY(24px); } }
.dz-appcloud { position: absolute; inset: 0; }
.dz-appcloud > span { position: absolute; left: var(--x); top: var(--y); padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink-2); font-weight: 700; font-size: 15px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.dz-appcloud > span.big { white-space: nowrap; } .dz-appcloud > span.big { background: var(--ink-2); color: #fff; font-size: 17px; padding: 14px 22px; }
.dz-frame.on .dz-appcloud > span { animation: dz-pop .6s var(--ease) both; } .dz-frame.on .dz-appcloud span:nth-child(2) { animation-delay: .08s; } .dz-frame.on .dz-appcloud span:nth-child(3) { animation-delay: .16s; } .dz-frame.on .dz-appcloud span:nth-child(4) { animation-delay: .24s; } .dz-frame.on .dz-appcloud span:nth-child(5) { animation-delay: .32s; } .dz-frame.on .dz-appcloud span:nth-child(6) { animation-delay: .44s; }
@keyframes dz-pop { from { opacity: 0; transform: scale(.7) translateY(10px); } }
.dz-stepcopy { position: relative; min-height: 220px; }
.dz-copy { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.dz-copy.on { opacity: 1; transform: none; }
.dz-copy h3 { font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); color: var(--ink-2); } :root[lang="ar"] .dz-copy h3 { font: 700 26px/1.35 var(--sans); }
.dz-copy p { margin-top: 12px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.dz-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1040px; margin: 72px auto 0; }
.dz-row.rev .dz-card { order: 2; }
.dz-rowtext h3 { font: 400 clamp(30px, 3vw, 42px)/1.08 var(--serif); color: var(--ink-2); } :root[lang="ar"] .dz-rowtext h3 { font: 700 28px/1.35 var(--sans); }
.dz-rowtext p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 440px; }
.dz-card { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); overflow: hidden; display: grid; place-items: center; }
.dz-orbit { position: absolute; inset: 0; animation: dz-spin 40s linear infinite; }
.dz-orbit span { position: absolute; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); box-shadow: 0 10px 24px -16px rgba(38, 8, 79, .5); animation: dz-spin 40s linear infinite reverse; }
.dz-orbit .o1 { left: 12%; top: 16%; } .dz-orbit .o2 { right: 10%; top: 20%; } .dz-orbit .o3 { right: 6%; bottom: 28%; } .dz-orbit .o4 { left: 40%; bottom: 8%; } .dz-orbit .o5 { left: 6%; bottom: 30%; } .dz-orbit .o6 { left: 44%; top: 6%; }
@keyframes dz-spin { to { transform: rotate(360deg); } }
.dz-langchip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--ink-2); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .6); }
.dz-langchip .dot { width: 8px; height: 8px; border-radius: 50%; background: #7dffb3; }
.dz-card.hist { place-items: stretch; align-content: center; gap: 8px; padding: 28px; }
.dz-card.hist b { font-size: 17px; color: var(--ink-2); margin-bottom: 4px; }
.dz-card.hist p { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0; padding: 13px 16px; border-radius: 14px; background: #fff; font-size: 14.5px; color: var(--ink); }
.dz-card.hist p i { font-style: normal; flex: none; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.dz-card.hist p.hot { box-shadow: 0 0 0 2px var(--accent); } .dz-card.hist p.hot i { color: #1f8a5b; }
.dz-card.priv { grid-auto-flow: column; gap: 18px; align-content: center; justify-content: center; }
.dz-wavecut { position: relative; padding: 14px 18px; border-radius: 999px; background: var(--ink-2); }
.dz-x { position: absolute; inset: 50% -6px auto; height: 3px; background: #ff5a7a; transform: rotate(-12deg); border-radius: 3px; }
.dz-arrow { width: 36px; height: 2px; background: var(--accent); position: relative; } .dz-arrow::after { content: ''; position: absolute; inset-inline-end: -1px; top: -5px; border: 6px solid transparent; border-inline-start-color: var(--accent); }
.dz-textonly { display: grid; gap: 7px; padding: 18px; border-radius: 16px; background: #fff; width: 120px; } .dz-textonly i { height: 8px; border-radius: 4px; background: #d9ccff; } .dz-textonly i.s { width: 60%; }
.dz-lock { position: absolute; inset-inline-end: 18%; top: 22%; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -14px rgba(38, 8, 79, .5); }
.dz-lock svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .dz-hero { padding-top: 116px; }
  .dz-race { grid-template-columns: minmax(0, 1fr); }
  .dz-how { height: auto; padding-bottom: 40px; }
  .dz-sticky { position: relative; height: auto; padding-top: 32px; }
  .dz-sticky-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dz-steplist { display: flex; overflow-x: auto; gap: 0; } .dz-steplist li { border-inline-start: 0; border-bottom: 2px solid var(--line); flex: none; }
  .dz-stage { max-height: none; aspect-ratio: 4 / 4.4; }
  .dz-stepcopy { min-height: 170px; }
  .dz-row, .dz-row.rev { grid-template-columns: minmax(0, 1fr); margin-top: 56px; } .dz-row.rev .dz-card { order: 0; }
  .dz-raw, .dz-clean { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .dz-orbit, .dz-orbit span, .dz-bars.on i { animation: none; } }
.dz-ribbon svg text { direction: ltr; } :root[lang="ar"] .dz-raw, :root[lang="ar"] .dz-clean { font-family: var(--sans); font-size: 20px; }
@media (max-width: 640px) {
  .dz-ribbon { height: 170px; margin-top: 18px; }
  .dz-ribbon .dz-raw, .dz-ribbon .dz-clean { font-size: 34px; }
  .dz-track { stroke-width: 70; }
  .dz-pill { padding: 11px 18px; } .dz-pill .dz-bars { height: 20px; }
  .dz-lane { min-height: 0; padding: 18px 18px 24px; } .dz-lane-t { min-height: 3em; margin-top: 14px; font-size: 18px; }
  .dz-lane.fast { padding-bottom: 70px; }
  .dz-band-in { padding: 64px 0; }
  .dz-steplist button { padding: 10px 14px; font-size: 16px; }
}
@media (max-width: 640px) {
  .dz-ribbon { height: 124px; margin-top: 26px; }
  .dz-ribbon .dz-raw, .dz-ribbon .dz-clean { font-size: 44px; }
  .dz-track { stroke-width: 96; }
}
@media (max-width: 640px) { :root[lang="ar"] .dz-ribbon .dz-raw, :root[lang="ar"] .dz-ribbon .dz-clean { font-size: 44px; } }

/* Teams page, v3: split hero over a scene, feature rows, privacy, plans */
.tm-hero { padding: 150px 0 40px; background: radial-gradient(60% 50% at 20% 0, #efe7ff 0, rgba(239, 231, 255, 0) 70%), var(--bg); }
.tm-hero-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; }
.tm-h1 { margin-top: 16px; font: 400 clamp(46px, 6.4vw, 92px)/1 var(--serif); letter-spacing: -.03em; color: var(--ink-2); text-wrap: balance; }
.tm-h1 em { font-style: italic; color: var(--accent); }
:root[lang="ar"] .tm-h1 { font: 700 clamp(38px, 4.8vw, 66px)/1.25 var(--sans); letter-spacing: 0; } :root[lang="ar"] .tm-h1 em { font-style: normal; }
.tm-sub { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; }
.tm-hero-side .hero-ctas { justify-content: flex-start; margin-top: 22px; }
.tm-fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tm-shot { position: relative; margin-top: 48px; border-radius: 34px; overflow: hidden; padding: clamp(28px, 6vw, 80px) clamp(20px, 8vw, 120px) clamp(40px, 7vw, 96px); background: url(/assets/scene/dusk-valley.webp) center 60% / cover; box-shadow: 0 50px 90px -60px rgba(38, 8, 79, .7); }
.tm-shot::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 8, 79, .05), rgba(38, 8, 79, .35)); }
.tm-shot .tt-mock { position: relative; max-width: 620px; margin-inline: auto; }
.tm-shot .tt-folder { box-shadow: 0 40px 80px -30px rgba(20, 6, 45, .7); }
.tm-shot .tt-summary { inset-inline-end: -40px; }
.tm-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.tm-facts li { display: inline-flex; align-items: center; gap: 9px; }
.tm-facts li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #efe9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b3fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tm-scene { aspect-ratio: auto; min-height: 380px; padding: clamp(22px, 4vw, 44px); background: url(/assets/scene/dawn-valley-1200.webp) center / cover; }
.dz-row.rev .tm-scene { background-image: url(/assets/scene/dusk-valley.webp); }
.tm-scene::before { content: ''; position: absolute; inset: 0; background: rgba(38, 8, 79, .18); }
.tm-scene > * { position: relative; width: 100%; max-width: 420px; }
.tm-scene .tg-demo { min-height: 0; background: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); padding: 20px; box-shadow: 0 30px 60px -30px rgba(20, 6, 45, .6); }
.tm-scene .tt-invite, .tm-scene .to-panel { box-shadow: 0 30px 60px -30px rgba(20, 6, 45, .7); }
#features .dz-row:first-of-type { margin-top: 56px; }
.tm-badges { list-style: none; padding: 0; margin: 48px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.tm-badges li { display: grid; justify-items: center; gap: 10px; }
.tm-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #d9ccff; background: radial-gradient(circle, #fff 55%, #f4efff 56%); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #e6dcff; }
.tm-badge svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-badges b { margin-top: 6px; font: 400 23px/1.2 var(--serif); color: var(--ink-2); } :root[lang="ar"] .tm-badges b { font: 700 19px/1.4 var(--sans); }
.tm-badges p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 290px; }
.tm-control { margin: 56px auto 0; max-width: 1080px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: var(--bg-soft); }
.tm-control-t h3 { font: 400 clamp(32px, 3.4vw, 46px)/1.05 var(--serif); color: var(--ink-2); } .tm-control-t h3 em { font-style: italic; color: var(--accent); }
:root[lang="ar"] .tm-control-t h3 { font: 700 30px/1.35 var(--sans); } :root[lang="ar"] .tm-control-t h3 em { font-style: normal; }
.tm-control-t p { margin-top: 12px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.tm-control .tw-wrap { margin: 0; max-width: none; }
.tm-plans { max-width: 980px; align-items: stretch; }
.tm-plans .team-calc { background: radial-gradient(80% 60% at 100% 0, #3d1580 0, rgba(61, 21, 128, 0) 70%), #1c0a3a; color: #fff; box-shadow: 0 40px 80px -40px rgba(28, 10, 58, .9); }
.tm-plans .team-calc label { color: #fff; }
.tm-plans .team-calc .seat-step { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.tm-plans .team-calc input { background: #fff; color: var(--ink-2); }
.tm-plans .calc-total b { color: #fff; } .tm-plans .calc-total small, .tm-plans .tt-ex, .tm-plans .calc-note { color: #cbbfe6; }
.tm-plans .calc-save { color: #7dffb3; }
.tm-steps-h { margin-top: 64px; text-align: center; font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); color: var(--ink-2); } :root[lang="ar"] .tm-steps-h { font: 700 28px/1.35 var(--sans); }
.tm-steps-h + .team-steps { margin-top: 28px; }
@media (max-width: 960px) {
  .tm-hero { padding-top: 116px; }
  .tm-hero-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tm-shot { margin-top: 32px; border-radius: 26px; padding: 22px 16px 28px; }
  .tm-shot .tt-summary { inset-inline-end: 0; }
  .tm-badges { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tm-control { grid-template-columns: minmax(0, 1fr); }
  .tm-scene { min-height: 0; padding: 18px; }
}
.tm-scene > * { max-width: 460px; }
.tm-scene .tt-link small, .tm-shot .tt-link small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; overflow-wrap: normal; }
.tm-scene .tt-link > div { min-width: 0; }
.tm-plans { align-items: start; }
.tm-plans .team-calc .tt-ex { margin-top: 10px; }
.tw-l { display: none; }
@media (max-width: 640px) {
  .tw-wrap { padding: 6px 16px; overflow: visible; }
  .tw, .tw tbody, .tw tr, .tw th, .tw td { display: block; min-width: 0; }
  .tw { min-width: 0; } .tw thead { display: none; }
  .tw tr { padding: 14px 0; border-bottom: 1px solid var(--line); } .tw tr:last-child { border-bottom: 0; }
  .tw tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: 16px; }
  .tw td { display: flex; align-items: center; padding: 5px 0; border: 0; font-size: 15px; }
  .tw-l { display: block; flex: 1; color: var(--muted); font-size: 14px; order: -1; }
  .tw td::before { order: 0; }
}

/* Home hero, v3: headline over the meeting-to-note scene */
.nz-hero { padding: 150px 0 60px; min-height: 0; background: radial-gradient(70% 55% at 50% 0, #efe7ff 0, rgba(239, 231, 255, 0) 70%), var(--bg); }
.nz-hero .hero-bg { display: none; }
.nz-in { text-align: center; display: grid; justify-items: center; }
.nz-h1 { margin-top: 16px; font: 400 clamp(54px, 8.6vw, 124px)/.96 var(--serif); letter-spacing: -.03em; color: var(--ink-2); text-wrap: balance; }
.nz-h1 em { font-style: italic; color: var(--accent); }
.nz-h1 > span { white-space: nowrap; }
:root[lang="ar"] .nz-h1 { font: 700 clamp(42px, 6.4vw, 88px)/1.2 var(--sans); letter-spacing: 0; } :root[lang="ar"] .nz-h1 em { font-style: normal; }
.nz-sub { margin-top: 22px; max-width: 600px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.nz-in .hero-ctas { margin-top: 28px; justify-content: center; }
.nz-in .hero-fine { margin-top: 12px; }
.nz-stage { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; gap: 0; padding: clamp(26px, 4vw, 56px); border-radius: 34px; background: url(/assets/scene/dawn-valley-1200.webp) center 70% / cover; position: relative; overflow: hidden; box-shadow: 0 50px 90px -60px rgba(38, 8, 79, .7); }
.nz-stage::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 8, 79, .08), rgba(38, 8, 79, .32)); }
.nz-stage > * { position: relative; }
.nz-live { background: rgba(255, 255, 255, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 24px; padding: 18px; box-shadow: 0 30px 60px -34px rgba(20, 6, 45, .7); display: grid; gap: 12px; align-self: stretch; }
.nz-rec { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 13.5px; font-weight: 600; justify-self: start; }
.nz-rec .rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5a7a; animation: dc-blink 1.2s steps(1) infinite; }
.nz-rec .dz-bars { height: 16px; } .nz-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.nz-lines { display: grid; gap: 8px; align-content: start; min-height: 190px; }
.nz-l { display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 11px 13px; border-radius: 14px; background: #fff; font-size: 15px; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.nz-l.on { opacity: 1; transform: none; }
.nz-l > span:last-child { flex: 1; }
.nz-sp { flex: none; font-size: 12.5px; font-weight: 800; } .nz-sp.a { color: var(--accent); } .nz-sp.b { color: #1f8a5b; }
.nz-lang { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.nz-mid { display: grid; place-items: center; position: relative; height: 100%; }
.nz-arrow { position: absolute; inset-inline: 8px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 14px); opacity: .9; animation: nz-dash 1s linear infinite; }
@keyframes nz-dash { to { background-position: 14px 0; } }
:root[dir="rtl"] .nz-arrow { animation-direction: reverse; }
.nz-orb { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .3), 0 20px 40px -16px rgba(20, 6, 45, .8); }
.nz-orb img { border-radius: 10px; }
.nz-note { background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: 0 40px 70px -30px rgba(20, 6, 45, .75); display: grid; gap: 6px; align-self: stretch; align-content: start; transition: box-shadow .4s; }
.nz-note.writing { box-shadow: 0 0 0 3px rgba(123, 63, 255, .35), 0 40px 70px -30px rgba(20, 6, 45, .75); }
.nz-note-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.nz-note-h img { border-radius: 8px; } .nz-note-h b { font-size: 17px; color: var(--ink-2); flex: 1; }
.nz-ready { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #1f8a5b; color: #fff; font-size: 12.5px; font-weight: 700; }
.nz-ready .dz-check svg { width: 14px; height: 14px; }
.nz-hd { margin: 10px 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:root[lang="ar"] .nz-hd { letter-spacing: 0; font-size: 13px; }
.nz-i { position: relative; margin: 0; padding: 8px 0; padding-inline-start: 28px; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.nz-i::before { content: ''; position: absolute; inset-inline-start: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: #efe9ff; }
.nz-i.pt::before { width: 8px; height: 8px; top: 15px; inset-inline-start: 5px; background: var(--accent); }
.nz-i.ck::before { border-radius: 6px; border: 2px solid #cdbfff; background: #fff; width: 14px; height: 14px; }
.nz-hd, .nz-i, .nz-ready { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.nz-hd.on, .nz-i.on, .nz-ready.on { opacity: 1; transform: none; }
.nz-trust { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nz-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) {
  .nz-hero { padding-top: 116px; }
  .nz-h1 > span { white-space: normal; }
  .nz-stage { grid-template-columns: minmax(0, 1fr); padding: 16px; border-radius: 26px; margin-top: 36px; }
  .nz-mid { height: 64px; } .nz-arrow { inset-inline: auto; left: 50%; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #fff 0 8px, transparent 8px 14px); animation: none; }
  .nz-orb { width: 48px; height: 48px; } .nz-orb img { width: 26px; height: 26px; }
  .nz-lines { min-height: 0; } .nz-l { font-size: 14.5px; }
}
.pr-team { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.pr-team a { font-weight: 700; color: var(--accent); white-space: nowrap; } .pr-team a::after { content: ' →'; } :root[dir="rtl"] .pr-team a::after { content: ' ←'; }
.more-row { margin: 36px auto 0; max-width: 980px; text-align: center; }
.more-h { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); } :root[lang="ar"] .more-h { letter-spacing: 0; font-size: 14px; }
.more-row ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.more-row li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.more-row small { font-size: 11px; font-weight: 800; color: var(--accent); background: #efe9ff; padding: 3px 7px; border-radius: 8px; }
:root[lang="ar"] .more-h, :root[lang="ar"] .dz-eyebrow, :root[lang="ar"] .nz-hd { text-transform: none; }
.nz-h1 { font-size: clamp(48px, 7vw, 100px); max-width: 1100px; }
.nz-h1 > span { white-space: normal; }
.nz-h1 > span:last-child { display: block; }
:root[lang="ar"] .nz-h1 { font-size: clamp(40px, 5.6vw, 80px); }

/* Pricing v2: three plans, comparison table */
.plans:has(.team-card) { grid-template-columns: repeat(3, minmax(0, 360px)); }
.team-card .plan-trial { color: var(--accent); }
.pc-wrap { max-width: 980px; margin: 40px auto 0; background: var(--card-2); border-radius: 28px; padding: 8px 24px; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(38, 8, 79, .5); overflow-x: auto; }
.pc { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 600px; }
.pc th, .pc td { padding: 16px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pc tbody tr:last-child th, .pc tbody tr:last-child td { border-bottom: 0; }
.pc thead th { font: 700 15px var(--sans); color: var(--ink-2); padding-top: 22px; }
.pc thead th.hl { color: var(--accent); }
.pc tbody th { font-weight: 600; color: var(--ink-2); width: 34%; }
.pc td { color: var(--ink); }
.pc td:nth-child(3) { background: #faf7ff; }
.pc-y { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f6ec; color: #1f8a5b; font-weight: 800; font-size: 13px; }
.pc-n { color: #b9b1cc; font-weight: 700; }
@media (max-width: 1100px) { .plans:has(.team-card) { grid-template-columns: repeat(2, minmax(0, 420px)); } }
@media (max-width: 760px) { .plans:has(.team-card) { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pc-wrap { padding: 4px 12px; } .pc { font-size: 14px; min-width: 0; } .pc th, .pc td { padding: 12px 6px; } .pc tbody th { width: 40%; }
  .pc thead th { font-size: 13px; }
}
.nav .brand, .nav .mode { flex: none; }
@media (max-width: 1180px) and (min-width: 961px) { .nav .mac-btn { display: none; } .nav-inner { gap: 16px; } }

/* Teams value proposition */
.tv-ba { list-style: none; padding: 0; margin: 44px auto 0; max-width: 1000px; display: grid; gap: 12px; }
.tv-ba li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.tv-before, .tv-after { border-radius: 20px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.tv-before { background: var(--bg-soft); color: var(--muted); }
.tv-after { background: var(--card-2); border: 1.5px solid #d9ccff; color: var(--ink-2); box-shadow: 0 20px 40px -34px rgba(38, 8, 79, .5); }
.tv-before p, .tv-after p { margin: 0; font-size: 16px; line-height: 1.5; }
.tv-after p { font-weight: 600; }
.tv-tag { justify-self: start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9a91b0; }
.tv-tag.on { color: var(--accent); }
:root[lang="ar"] .tv-tag { letter-spacing: 0; text-transform: none; font-size: 13px; }
.tv-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 40px auto 0; }
.tv-role { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); border-radius: 24px; padding: 24px; }
.tv-role h3 { font: 400 26px/1.15 var(--serif); color: var(--ink-2); } :root[lang="ar"] .tv-role h3 { font: 700 21px/1.4 var(--sans); }
.tv-role ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tv-role li { position: relative; padding-inline-start: 26px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.tv-role li::before { content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b3fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tv-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 760px) { .tv-ba li { grid-template-columns: minmax(0, 1fr); gap: 6px; } .tv-ba { gap: 22px; } .tv-roles { grid-template-columns: minmax(0, 1fr); } }

/* Design uplift: shelves on phones, compact privacy, glossary disclosure */
@media (max-width: 640px) {
  .shelf { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 12px !important; margin-inline: -16px !important; padding: 4px 16px 14px !important; scrollbar-width: none; max-width: none !important; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; margin: 0 !important; }
  .tm-rows.shelf > .dz-row { display: flex; flex-direction: column; gap: 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: 24px; padding: 12px 12px 18px; }
  .tm-rows .dz-row .tm-scene { order: 0 !important; min-height: 0; padding: 14px; border-radius: 18px; }
  .tm-rows .dz-rowtext { padding: 0 6px; } .tm-rows .dz-rowtext h3 { font-size: 24px; } .tm-rows .dz-rowtext p { font-size: 15.5px; margin-top: 8px; }
  .tv-ba.shelf > li { display: grid; gap: 8px; }
  .bento.shelf > .bcell { min-height: 0; }
  .tm-badges { gap: 18px; text-align: start; }
  .tm-badges li { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 2px; }
  .tm-badges .tm-badge { grid-row: span 2; width: 52px; height: 52px; } .tm-badge svg { width: 22px; height: 22px; }
  .tm-badges b { margin: 0; font-size: 20px; } .tm-badges p { font-size: 14.5px; }
  .term-jump { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; }
  .term-jump::-webkit-scrollbar { display: none; } .term-jump a { flex: none; }
}
details.term { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.term > summary { list-style: none; cursor: pointer; padding: 14px 36px 14px 0; position: relative; }
:root[dir="rtl"] details.term > summary { padding: 14px 0 14px 36px; }
details.term > summary::-webkit-details-marker { display: none; }
details.term > summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: 14px; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
details.term[open] > summary::after { transform: rotate(45deg); }
details.term > summary h3 { margin: 0; }
details.term > summary .term-short { margin: 6px 0 0; }
details.term .term-body { padding: 0 0 16px; }
details.term > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.glossary details.term { margin: 0 !important; padding: 0 !important; background: none !important; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; box-shadow: none !important; }
.glossary details.term > summary h3 { margin: 0 !important; font: 600 18px/1.3 var(--sans) !important; color: var(--ink-2); }
.glossary details.term > summary .term-short { margin: 4px 0 0 !important; font-size: 15px; line-height: 1.5; color: var(--muted); }
.glossary details.term > summary { padding-block: 12px; }
.glossary h2 { margin-top: 32px; }

/* Teams: clean pass */
.tm-hero { padding-top: 140px; }
.tm-hero-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 0; max-width: 860px; margin-inline: auto; }
.tm-hero-head { display: grid; justify-items: center; }
.tm-hero-top .tm-h1 { font-size: clamp(44px, 6vw, 84px); }
.tm-hero-side { display: grid; justify-items: center; margin-top: 20px; }
.tm-hero-side .tm-sub { max-width: 600px; }
.tm-hero-side .hero-ctas { justify-content: center; }
.tm-shot { margin-top: 44px; }
/* value table */
.tv-table { max-width: 980px; margin: 44px auto 0; background: var(--card-2); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.tv-head { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 28px; background: var(--bg-soft); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tv-head span:last-child { color: var(--accent); }
:root[lang="ar"] .tv-head { letter-spacing: 0; text-transform: none; font-size: 14px; }
.tv-list { list-style: none; margin: 0; padding: 0; }
.tv-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 20px 28px; border-top: 1px solid var(--line); }
.tv-list p { margin: 0; font-size: 16px; line-height: 1.55; }
.tv-x { color: var(--muted); }
.tv-y { position: relative; color: var(--ink-2); font-weight: 600; padding-inline-start: 28px; }
.tv-y::before { content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e3f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* role cards: flat */
.tv-role { background: var(--card-2); border: 1px solid var(--line); }
.tv-role li::before { background-color: #efe9ff; }
/* feature rows: flat panels, the photo stays in the hero only */
.tm-scene, .dz-row.rev .tm-scene { background: var(--bg-soft); border: 1px solid var(--line); }
.tm-scene::before { display: none; }
.tm-scene .tg-demo { background: transparent; backdrop-filter: none; box-shadow: none; padding: 0; }
.tm-scene .tt-invite, .tm-scene .to-panel { box-shadow: 0 24px 50px -36px rgba(38, 8, 79, .45); }
/* pricing: equal cards, plain note */
.tm-plans { align-items: stretch; }
.tm-plans .team-calc { justify-content: flex-start; }
#price .price-note { background: none; box-shadow: none; border: 0; padding: 0; max-width: 680px; margin-inline: auto; }
.team-steps li { background: var(--card-2); border: 1px solid var(--line); }
@media (max-width: 640px) {
  .tv-head { display: none; }
  .tv-list li { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .tv-x::before { content: attr(data-b); }
}
.tm-scene { min-height: 0; aspect-ratio: auto; padding: clamp(24px, 3vw, 36px); }
.tm-scene .tg-demo { width: 100%; max-width: 420px; }
.tm-scene .tg-demo p { box-shadow: 0 10px 24px -18px rgba(38, 8, 79, .45); }

/* Teams, Wispr Business structure */
.wf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 44px auto 0; }
.wf-card { background: var(--card-2); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.wf-card h3 { font: 400 26px/1.15 var(--serif); color: var(--ink-2); } :root[lang="ar"] .wf-card h3 { font: 700 21px/1.4 var(--sans); }
.wf-card p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.wf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1040px; margin: 44px auto 0; }
#control .tw-wrap { margin-top: 36px; }
#privacy .tm-badges { margin-top: 40px; }
@media (max-width: 860px) { .wf-cards, .wf-split { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Desktop handoff panel */
dialog.handoff { border: 0; border-radius: 28px; padding: 36px 36px 28px; width: min(400px, calc(100% - 32px)); text-align: center; color: var(--ink); background: var(--card-2); box-shadow: 0 50px 100px -40px rgba(38, 8, 79, .7); }
dialog.handoff::backdrop { background: rgba(27, 16, 48, .45); backdrop-filter: blur(4px); }
dialog.handoff[open] { animation: ho-in .3s var(--ease); }
@keyframes ho-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.handoff img { display: block; margin: 0 auto; width: 180px; height: 180px; border-radius: 16px; border: 1px solid var(--line); }
.handoff h2 { margin-top: 18px; font: 400 28px/1.15 var(--serif); color: var(--ink-2); } :root[lang="ar"] .handoff h2 { font: 700 22px/1.4 var(--sans); }
.handoff p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.handoff-btns { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.handoff-mac { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.handoff-x { position: absolute; top: 12px; inset-inline-end: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.handoff-x:focus-visible, .handoff a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Content pages (blog, compare, templates, glossary): revamp */
body:has(> main > .article), body:has(> main > .blog-index), body:has(> main > .article.post) { background: radial-gradient(70% 420px at 50% 0, #efe7ff 0, rgba(239, 231, 255, 0) 100%) no-repeat, var(--bg); }
.article { width: min(760px, 100% - 32px); padding-top: 140px; }
.article .crumbs { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
:root[lang="ar"] .article .crumbs { letter-spacing: 0; text-transform: none; font-size: 14px; }
.article h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
:root[lang="ar"] .article h1 { font: 700 clamp(32px, 4.4vw, 48px)/1.3 var(--sans); letter-spacing: 0; }
.article h2 { font: 400 clamp(28px, 3vw, 36px)/1.12 var(--serif); color: var(--ink-2); letter-spacing: -.01em; margin-top: 52px; }
:root[lang="ar"] .article h2 { font: 700 26px/1.4 var(--sans); }
.article p, .article li { font-size: 17.5px; line-height: 1.7; }
.article .tldr { border: 0; border-inline-start: 4px solid var(--accent); border-radius: 4px 20px 20px 4px; background: #f6f2ff; padding: 22px 26px; }
:root[dir="rtl"] .article .tldr { border-radius: 20px 4px 4px 20px; }
.article .tldr p { font-size: 18px; color: var(--ink-2); }
.article table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 15.5px; margin: 24px 0; }
.article th, .article td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.article tr:last-child th, .article tr:last-child td { border-bottom: 0; }
.article thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink-2); }
.article .cta-box { margin-top: 56px; padding: 36px; border-radius: 28px; background: radial-gradient(80% 120% at 100% 0, #3d1580 0, rgba(61, 21, 128, 0) 70%), #1c0a3a; color: #fff; box-shadow: 0 40px 80px -40px rgba(28, 10, 58, .9); }
.article .cta-box p { color: #fff; font: 400 26px/1.2 var(--serif); max-width: 460px; } :root[lang="ar"] .article .cta-box p { font: 700 20px/1.5 var(--sans); }
.article .cta-box .btn-dark { background: #fff; color: var(--ink-2); }
.article.post .toc { background: var(--card-2); box-shadow: 0 20px 40px -34px rgba(38, 8, 79, .4); }
.blog-index .h2, .blog-index h1 { font-size: clamp(44px, 6vw, 76px); }
.post-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(38, 8, 79, .5); }
@media (min-width: 1180px) {
  .article.post:has(> .toc) { width: min(1120px, 100% - 64px); display: grid; grid-template-columns: minmax(0, 760px) 280px; column-gap: 64px; align-items: start; }
  .article.post:has(> .toc) > * { grid-column: 1; }
  .article.post:has(> .toc) > .toc { grid-column: 2; grid-row: 1 / span 400; position: sticky; top: 110px; margin-top: 0; }
}
