/* oulha.com — Qalam tokens, light and dark, English (LTR) and Arabic (RTL). Values from Website Handoff. */
@view-transition { navigation: auto; }

:root {
  --page: #F7F5F3; --surface: #FFFFFF; --raised: #FFFFFF; --chrome: #FBFAF9; --line: #ECE8E4; --line2: #CFC8C1; --ctl: #DCD6D0;
  --text: #1A1714; --sec: #3D3833; --muted: #6E6862; --faint: #8C857E;
  --accent: #C73E1D; --accent-hover: #B23417; --accent-press: #9C2C12; --ink: #A3300F; --ink-press: #7F2509; --soft: #FCEAE4;
  --ok: #1B7F45; --ok-soft: #E3F4EA; --ok-ink: #166B3A; --track: rgba(0,0,0,.055); --ring: rgba(199,62,29,.25);
  --sel: #B9D8FF; --sel-fg: #1A1714; --bar0: #B5AEA7; --bar-day: #E4DFDA; --key-face: #FBFAF9; --key-label: #3D3833;
  --key-rest: 0 0 0 1px #DCD6D0, 0 5px 0 #D2CBC4, 0 8px 18px rgba(26,23,20,.12);
  --key-down: 0 0 0 1px #DCD6D0, 0 1px 0 #D2CBC4, 0 14px 34px rgba(199,62,29,.38);
  --card-sh: 0 0 0 1px #ECE8E4, 0 1px 2px rgba(26,23,20,.04), 0 30px 70px -30px rgba(26,23,20,.22);
  --row-sh: 0 0 0 1px #ECE8E4, 0 8px 20px -10px rgba(26,23,20,.18);
  --pill-sh: 0 0 0 .5px rgba(0,0,0,.25), 0 10px 24px rgba(26,23,20,.2);
  --pro-sh: 0 0 0 1.5px #C73E1D, 0 30px 70px -30px rgba(199,62,29,.3);
  --nav-bg: rgba(247,245,243,.78); --glow: 0; --wm: #EDE8E3; --tab-on: #1A1714; --tab-on-fg: #F3EFEB;
  --phone-body: #2A2725; --drop-ring: rgba(199,62,29,.14);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #1C1A18; --surface: #2A2725; --raised: #34302D; --chrome: #262422; --line: #3A3633; --line2: #57524D; --ctl: #4A4541;
  --text: #F3EFEB; --sec: #CFC8C1; --muted: #A39B93; --faint: #8F877F;
  --accent: #D2461F; --accent-hover: #DC5530; --accent-press: #B83A17; --ink: #FF9B7A; --ink-press: #FFB79E; --soft: #3A231B;
  --ok: #2FA866; --ok-soft: #1A3325; --ok-ink: #7FD3A2; --track: rgba(255,255,255,.07); --ring: rgba(210,70,31,.25);
  --sel: rgba(255,155,122,.26); --sel-fg: #F3EFEB; --bar0: #6E6862; --bar-day: #3A3633; --key-face: #34302D; --key-label: #CFC8C1;
  --key-rest: 0 0 0 1px #4A4541, 0 5px 0 #141210, 0 8px 18px rgba(0,0,0,.45);
  --key-down: 0 0 0 1px #57524D, 0 1px 0 #141210, 0 14px 36px rgba(210,70,31,.45);
  --card-sh: 0 0 0 1px #3A3633, 0 30px 80px -24px rgba(0,0,0,.6);
  --row-sh: 0 0 0 1px #4A4541, 0 10px 24px -10px rgba(0,0,0,.6);
  --pill-sh: 0 0 0 1px rgba(255,255,255,.14), 0 10px 24px rgba(0,0,0,.45);
  --pro-sh: 0 0 0 1.5px #D2461F, 0 0 60px -10px rgba(210,70,31,.35), 0 30px 80px -28px rgba(0,0,0,.6);
  --nav-bg: rgba(28,26,24,.72); --glow: 1; --wm: #252220; --tab-on: #F3EFEB; --tab-on-fg: #1A1714;
  --phone-body: #0E0D0C; --drop-ring: rgba(210,70,31,.22);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: 'Readex Pro', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="ar"] body { font-size: 17px; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--page), 0 0 0 5px var(--ring); border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding-block: 140px; position: relative; }
.glow { position: absolute; pointer-events: none; opacity: var(--glow); background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(210,70,31,.15), rgba(210,70,31,0) 70%); }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
html[lang="ar"] .eyebrow { font-size: 14px; }
.h2 { font-size: 44px; line-height: 50px; font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
html[lang="ar"] .h2 { font-size: 42px; line-height: 60px; letter-spacing: 0; }
.h3 { font-size: 22px; line-height: 30px; font-weight: 600; margin: 0; }
html[lang="ar"] .h3 { font-size: 23px; line-height: 36px; }
.lead { font-size: 19px; line-height: 30px; color: var(--sec); margin: 0; text-wrap: pretty; }
html[lang="ar"] .lead { font-size: 20px; line-height: 34px; }
.body { font-size: 16px; line-height: 1.6; color: var(--sec); margin: 0; }
html[lang="ar"] .body { font-size: 17px; }
.small { font-size: 13px; color: var(--muted); }
html[lang="ar"] .small { font-size: 14px; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.lines span { display: block; }

/* ---------- buttons ---------- */
.btn { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background .15s, transform .1s, box-shadow .15s; }
html[lang="ar"] .btn { font-size: 17px; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #FFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--ctl); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ink { background: var(--text); color: var(--page); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
html[lang="ar"] .btn-sm { font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.flip { transform: scaleX(1); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- the pill ---------- */
.pill { height: 48px; display: inline-flex; align-items: center; gap: 12px; padding-inline: 18px 20px; border-radius: 24px; background: #1A1714; color: #F3EFEB; font-size: 14px; white-space: nowrap; box-shadow: var(--pill-sh); }
html[lang="ar"] .pill { font-size: 15.5px; }
.pill .lbl { color: #CFC8C1; }
.wave { direction: ltr; display: flex; align-items: center; gap: 3px; height: 24px; }
.wave i { width: 3px; border-radius: 2px; background: #FF7A55; transition: height .08s ease-out, opacity .2s; }
.pill.sm { height: 44px; border-radius: 22px; padding-inline: 16px; }
.pill.xs { height: 40px; border-radius: 20px; padding-inline: 14px; font-size: 13.5px; gap: 10px; }
.keycap { direction: ltr; width: 30px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.14); box-shadow: inset 0 -1.5px 0 rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.done-dot { width: 22px; height: 22px; border-radius: 50%; background: #2FA866; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kbd { direction: ltr; unicode-bidi: isolate; height: 24px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--ctl), 0 1.5px 0 var(--ctl); font-size: 13px; color: var(--text); font-family: ui-monospace, Menlo, monospace; vertical-align: middle; }

/* ---------- chips ---------- */
.chip { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--sec); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background .2s, color .2s; }
html[lang="ar"] .chip { font-size: 15px; }
.chip[aria-pressed="true"], .chip.on { background: var(--tab-on); color: var(--tab-on-fg); font-weight: 600; box-shadow: none; }
.pchip { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 15px; font-size: 13px; color: #CFC8C1; white-space: nowrap; transition: background .2s, color .2s; }
html[lang="ar"] .pchip { font-size: 14.5px; }
.pchip[aria-pressed="true"] { background: #3A231B; color: #FF9B7A; font-weight: 600; }
.pchip.ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.card { background: var(--surface); border-radius: 24px; box-shadow: var(--card-sh); }
.hl { background: var(--soft); color: var(--ink); border-radius: 5px; padding: 1px 5px; }

/* ---------- nav ---------- */
.topbar { height: 40px; background: var(--soft); display: none; align-items: center; justify-content: center; gap: 12px; font-size: 14px; position: relative; }
.topbar.show { display: flex; }
.topbar a { font-weight: 600; }
.topbar button { position: absolute; inset-inline-end: 20px; width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--sec); }
.nav { position: sticky; top: 0; z-index: 50; height: 64px; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--text); justify-self: start; view-transition-name: brand; }
html[lang="ar"] .brand { font-size: 19px; }
.brand:hover { text-decoration: none; }
.mark { direction: ltr; width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: flex; align-items: center; justify-content: center; gap: 1.8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); flex-shrink: 0; }
.mark i { width: 2.4px; border-radius: 2px; background: #FFF3EC; }
.mark b { width: 4.6px; height: 15px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; margin-left: .5px; }
.mark b::before, .mark b::after { content: ""; width: 4.6px; height: 1.5px; background: #FFF3EC; }
.mark b span { flex: 1; width: 1.5px; background: #FFF3EC; }
.navlinks { display: flex; align-items: center; gap: 36px; font-size: 14.5px; }
html[lang="ar"] .navlinks { font-size: 15.5px; }
.navlinks a { color: var(--sec); }
.navlinks a:hover { color: var(--text); text-decoration: none; }
.navend { display: flex; align-items: center; gap: 8px; justify-self: end; view-transition-name: navend; }
.iconbtn { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--sec); }
.iconbtn:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); color: var(--text); }
.langlink { height: 36px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; font-size: 15px; color: var(--sec); }
.langlink:hover { color: var(--text); text-decoration: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); }
.theme-ic .moon { display: block; } .theme-ic .sun { display: none; }
:root[data-theme="dark"] .theme-ic .moon { display: none; } :root[data-theme="dark"] .theme-ic .sun { display: block; }
.menubtn { display: none; }
.mnav { position: fixed; inset: 56px 0 0; background: var(--page); z-index: 49; padding: 16px 20px 34px; display: none; flex-direction: column; }
.mnav.open { display: flex; }
.mnav a.row { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 21px; font-weight: 600; color: var(--text); }
.mnav .two { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav .two > * { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); color: var(--text); font-size: 15.5px; }

/* ---------- hero ---------- */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.display { font-size: 72px; line-height: 76px; font-weight: 600; letter-spacing: -.015em; margin: 0; view-transition-name: display; }
html[lang="ar"] .display { font-size: 68px; line-height: 92px; letter-spacing: 0; }
.hero .lead { max-width: 620px; margin-top: 20px; text-wrap: balance; }
.hero .ctas { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 20px; }
.stage-wrap { position: relative; width: min(1040px, 100%); margin-top: 56px; }
.stage-wrap .glow { inset: -120px -180px -140px; }
.stage { position: relative; height: 460px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 0 0 1px #ECE8E4, 0 1px 2px rgba(26,23,20,.04), 0 30px 70px -24px rgba(26,23,20,.22); overflow: hidden; direction: ltr; }
:root[data-theme="dark"] .stage { background: #232120; box-shadow: 0 0 0 1px #3A3633, 0 30px 80px -20px rgba(0,0,0,.6); }
.chatwin { position: absolute; left: 50%; transform: translateX(-50%); top: 28px; width: min(680px, calc(100% - 32px)); height: 300px; border-radius: 14px; background: #FBFAF9; box-shadow: 0 0 0 1px #E4DFDA, 0 10px 30px -12px rgba(26,23,20,.18); overflow: hidden; display: flex; flex-direction: column; text-align: start; }
:root[data-theme="dark"] .chatwin { background: #1C1A18; box-shadow: 0 0 0 1px #3A3633, 0 14px 36px -12px rgba(0,0,0,.6); }
.chatwin .ch { height: 52px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .chatwin .ch, :root[data-theme="dark"] .chatwin .cf { background: #262422; }
.lights { direction: ltr; display: flex; gap: 6px; margin-inline-end: 8px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; }
.lights i:nth-child(1) { background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.chatwin .msgs { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bubble { align-self: flex-start; max-width: 70%; display: flex; align-items: flex-end; gap: 10px; padding: 8px 12px; border-radius: 14px; border-start-start-radius: 4px; background: #FFFFFF; box-shadow: 0 0 0 1px #ECE8E4; font-size: 16px; line-height: 1.6; }
:root[data-theme="dark"] .bubble { background: #2E2B29; box-shadow: none; }
.bubble time { font-size: 11px; color: var(--muted); flex-shrink: 0; direction: ltr; }
.chatwin .cf { height: 60px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding-inline: 16px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.field { flex: 1; height: 40px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); display: flex; align-items: center; padding: 0 16px; font-size: 17px; overflow: hidden; white-space: nowrap; direction: rtl; }
:root[data-theme="dark"] .field { background: #2A2725; }
.caret { display: inline-block; width: 1.5px; height: 20px; background: var(--accent); margin-inline: 2px; animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
.send { width: 36px; height: 36px; border-radius: 50%; background: var(--track); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); transition: background .3s, color .3s; }
.send.on { background: var(--accent); color: #FFF; }
.whisper { position: absolute; top: 340px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); direction: rtl; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.whisper.show { opacity: 1; }
.whisper s { text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-decoration-line: none; transition: text-decoration-color .3s; }
.whisper.strike s { text-decoration-line: line-through; }
.stage .pillrow { position: absolute; left: 0; right: 0; top: 380px; display: flex; justify-content: center; }
.stage .pill { transition: transform .2s, opacity .2s; }
.flybar { position: absolute; width: 3px; border-radius: 2px; background: #FF7A55; pointer-events: none; }
.trust { margin-top: 28px; display: flex; align-items: center; gap: 8px; justify-content: center; }

/* ---------- works everywhere ---------- */
.works { padding: 0 0 80px; text-align: center; }
.works .h3 { margin: 0 auto 28px; }
.marquee { position: relative; overflow: hidden; height: 52px; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 240px, #000 calc(100% - 240px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 240px, #000 calc(100% - 240px), transparent); }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: drift 60s linear infinite; }
[dir="rtl"] .marquee .track { animation-name: drift-rtl; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes drift-rtl { to { transform: translateX(50%); } }
.appchip { height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--sec); flex-shrink: 0; }
html[lang="ar"] .appchip { font-size: 15px; }
.works .line { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }

/* ---------- dialects ---------- */
.dia-top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: end; }
.dia-top .head { grid-column: 1 / span 6; }
.dia-top .stmt { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.langs { font-size: 12.5px; line-height: 1.75; color: var(--faint); }
.langs u { color: var(--muted); text-decoration-color: var(--ctl); text-underline-offset: 3px; }
.stmt-text { font-size: 28px; line-height: 38px; font-weight: 500; text-wrap: balance; margin: 0; }
html[lang="ar"] .stmt-text { font-size: 29px; line-height: 46px; }
.stmt-text span { color: var(--muted); }
.dia-bar { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); }
.dchip { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.dchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.dchip.soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--ctl); }
.dchip.soon::before { background: transparent; }
.proofs { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--sec); }
.proofs span { display: flex; align-items: center; gap: 8px; }
.proofs bdi { font-size: 15px; color: var(--text); background: var(--soft); border-radius: 6px; padding: 0 7px; line-height: 1.7; direction: rtl; }
.said-card { width: min(1040px, 100%); margin: 56px auto 0; padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.compare { display: grid; grid-template-columns: minmax(0,1fr) 132px minmax(0,1fr); align-items: center; min-height: 200px; }
.compare .col { display: flex; flex-direction: column; gap: 10px; align-self: stretch; justify-content: center; }
.compare .col.wrote { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.compare .lab { font-size: 13px; color: var(--muted); }
.compare .wrote .lab { color: var(--ink); font-weight: 500; }
.compare .txt { line-height: 1.75; text-align: start; text-wrap: pretty; white-space: pre-line; transition: opacity .3s, filter .3s; }
.compare .said .txt { font-size: 19px; color: var(--muted); }
.compare .wrote .txt { font-size: 23px; }
.compare .txt[dir="ltr"] { font-size: 18px; }
.compare .wrote .txt[dir="ltr"] { font-size: 21px; }
.compare .said s { text-decoration-color: rgba(199,62,29,.55); text-decoration-thickness: 1.5px; opacity: .7; }
:root[data-theme="dark"] .compare .said s { text-decoration-color: rgba(255,122,85,.55); }
.compare .mid { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ctl); }
.fade-out { opacity: 0 !important; filter: blur(2px); }

/* ---------- try it ---------- */
.demo { width: min(1040px, 100%); margin: 40px auto 0; height: 420px; display: grid; grid-template-columns: minmax(0,1fr) 300px; overflow: hidden; position: relative; }
.demo .left { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo .meta { display: flex; justify-content: space-between; gap: 12px; }
.demo .box { flex: 1; border-radius: 16px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; text-align: start; }
.demo .ready { font-size: 22px; line-height: 1.45; font-weight: 600; text-align: center; text-wrap: balance; }
.demo .result { font-size: 25px; line-height: 1.7; direction: rtl; text-align: right; }
.demo .note-rec { display: flex; align-items: center; gap: 8px; }
.demo .right { border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; user-select: none; -webkit-user-select: none; }
.bigkey { direction: ltr; width: 180px; height: 130px; border-radius: 16px; background: var(--key-face); box-shadow: var(--key-rest); color: var(--key-label); display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 16px 18px; transition: transform .12s ease-out, box-shadow .12s ease-out; touch-action: none; }
.bigkey .s { font-size: 24px; line-height: 1; } .bigkey .w { font-size: 16px; line-height: 1; }
.bigkey.down { transform: translateY(4px); box-shadow: var(--key-down); }
.ways { margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.way { height: 360px; padding: 26px 30px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.way .txt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.keys { direction: ltr; position: relative; flex: 1; margin: 0 -30px; mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); }
.k { position: absolute; border-radius: 14px; background: var(--key-face); box-shadow: var(--key-rest); color: var(--key-label); display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 12px 14px; }
.k .s { font-size: 18px; line-height: 1; } .k .w { font-size: 13px; line-height: 1; }
.k.down { box-shadow: var(--key-down); }
.steps3 { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.steps3 div { display: flex; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.steps3 b { font-size: 13px; color: var(--ink); direction: ltr; }
.stopbtn { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 15px; background: #F3EFEB; color: #1A1714; font-weight: 600; font-size: 13px; }
.stopbtn::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #C73E1D; }
.lockdot { width: 28px; height: 28px; border-radius: 50%; background: #3A231B; display: flex; align-items: center; justify-content: center; }

/* ---------- styles ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: start; }
.split .l4 { grid-column: 1 / span 4; padding-top: 28px; }
.split .r8 { grid-column: 5 / span 8; display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; }
.side { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
html[lang="ar"] .side { font-size: 14px; }
.mail { width: 100%; border-radius: 16px; background: var(--surface); box-shadow: var(--card-sh); overflow: hidden; text-align: start; }
.mail .bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--chrome); font-size: 13px; font-weight: 600; color: var(--sec); }
.mail .rows { padding: 0 24px; }
.mail .r { height: 44px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mail .r > span:first-child { color: var(--muted); width: 56px; flex-shrink: 0; }
.to { height: 26px; display: flex; align-items: center; gap: 7px; padding-inline: 4px 10px; border-radius: 13px; background: var(--page); transition: box-shadow .3s, background .3s; }
.to.ctx { background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.to i { width: 20px; height: 20px; border-radius: 50%; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; font-style: normal; }
.ctxnote { font-size: 12px; color: var(--ink); display: none; align-items: center; gap: 6px; }
.ctxnote.show { display: flex; }
.mail .msg { min-height: 230px; padding: 22px 0 24px; font-size: 22px; line-height: 1.75; white-space: pre-line; transition: opacity .3s; }
.mail .msg[dir="ltr"] { font-size: 20px; }
.mail .foot { height: 56px; display: flex; align-items: center; justify-content: space-between; padding-inline: 24px 16px; border-top: 1px solid var(--line); }
.mail .sendb { height: 34px; display: flex; align-items: center; padding: 0 18px; border-radius: 9px; background: var(--text); color: var(--page); font-size: 13px; font-weight: 600; }
.stylepill { height: 48px; display: flex; align-items: center; gap: 2px; padding: 0 9px; border-radius: 24px; background: #1A1714; box-shadow: var(--pill-sh); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.stylepill::-webkit-scrollbar { display: none; }
.stylepill .sep { width: 1px; height: 18px; background: rgba(255,255,255,.16); margin: 0 4px; flex-shrink: 0; }
.custom { position: absolute; bottom: 64px; inset-inline-end: 0; width: 340px; border-radius: 16px; background: var(--raised); box-shadow: 0 0 0 1px var(--ctl), 0 20px 50px rgba(0,0,0,.25); padding: 18px; display: none; flex-direction: column; gap: 12px; z-index: 3; text-align: start; }
.custom.show { display: flex; }
.custom .f { border-radius: 9px; box-shadow: inset 0 0 0 1px var(--ctl); padding: 8px 10px; font-size: 13.5px; line-height: 1.5; }

/* ---------- command key ---------- */
.story { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.story .frame { height: 340px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; overflow: visible; position: relative; }
.story .doc { direction: rtl; font-size: 19px; line-height: 1.85; text-align: right; }
.story .doc .g { color: var(--sec); }
.selx { border-radius: 4px; padding: 2px 3px; white-space: nowrap; background: var(--sel); color: var(--sel-fg); transition: background .4s, color .4s; }
.selx.done { background: var(--soft); color: var(--ink); }
.story .cap { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.story .cap b { font-size: 13px; color: var(--ink); direction: ltr; }
.cmdkey { direction: ltr; width: 46px; height: 40px; border-radius: 9px; background: var(--key-face); box-shadow: 0 0 0 1px #E8A994, 0 2px 0 #E8A994, 0 0 22px rgba(199,62,29,.35); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink); }
:root[data-theme="dark"] .cmdkey { box-shadow: 0 0 0 1px #7A3A28, 0 2px 0 #141210, 0 0 24px rgba(210,70,31,.5); }
.speech { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 14px; background: var(--raised); box-shadow: 0 0 0 1px var(--ctl), 0 8px 20px rgba(0,0,0,.12); font-size: 16px; direction: rtl; }
.replays { margin-top: 48px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.replay { height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); font-size: 14px; color: var(--text); }
.replay:hover { box-shadow: inset 0 0 0 1px var(--line2); }

/* ---------- franco / voice ---------- */
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: center; }
.two-col .l5 { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 16px; }
.two-col .r6 { grid-column: 7 / span 6; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.two-col .r7 { grid-column: 6 / span 7; position: relative; height: 620px; }
.approws { margin-top: 20px; display: flex; flex-direction: column; }
.approws div { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.sel-ui { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ctl); font-size: 13px; }
.seg { direction: ltr; display: grid; grid-template-columns: 1fr 1fr; background: var(--track); border-radius: 11px; padding: 3px; width: 300px; font-size: 14px; }
.seg button { height: 36px; border-radius: 9px; color: var(--sec); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.12); color: var(--text); font-weight: 600; }
.chat { width: 100%; border-radius: 20px; background: var(--surface); box-shadow: var(--card-sh); overflow: hidden; }
.chat .h { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.chat .b { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 10px; background: var(--chrome); }
.chat .in, .chat .out { max-width: 76%; padding: 9px 14px; border-radius: 16px; font-size: 17px; line-height: 1.55; transition: opacity .35s; }
.chat .in { align-self: flex-start; background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-start-start-radius: 4px; }
.chat .out { align-self: flex-end; background: var(--soft); border-start-end-radius: 4px; font-size: 18px; display: flex; align-items: flex-end; gap: 10px; }
.vn-bubble { direction: ltr; position: absolute; top: 6px; width: 300px; height: 58px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--ctl), 0 16px 34px rgba(0,0,0,.18); display: flex; align-items: center; gap: 10px; padding: 0 14px; transform: rotate(-4deg); }
.vn-bubble .play { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--page); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vn-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.vn-wave i { width: 2.5px; border-radius: 2px; background: var(--muted); }
.vn-out { position: absolute; top: 254px; left: 0; right: 0; padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 14px; }
.vn-out .t { direction: rtl; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.75; text-align: right; }

/* ---------- personal / small things ---------- */
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; }
.bento > .card { height: 330px; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.span7 { grid-column: span 7; } .span5 { grid-column: span 5; }
.dict { display: flex; flex-wrap: wrap; gap: 8px; }
.dict > span { height: 38px; display: flex; align-items: center; padding: 0 15px; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.dict > span.add { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--ctl); }
.hist { position: relative; }
.hist div { position: absolute; left: 0; right: 0; height: 66px; border-radius: 14px; background: var(--raised); box-shadow: var(--row-sh); display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 16px; }
.hist small { font-size: 12px; color: var(--muted); display: flex; gap: 8px; }
.hist p { margin: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.small3 { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.small3 > .card { height: 300px; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.cardt { font-size: 17px; font-weight: 600; }
html[lang="ar"] .cardt { font-size: 18.5px; }

/* ---------- speed / month ---------- */
.calc { margin-top: 40px; padding: 40px 44px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; }
.calc .res { display: flex; flex-direction: column; justify-content: center; gap: 10px; border-inline-start: 1px solid var(--line); padding-inline-start: 44px; }
.bignum { direction: ltr; font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -.02em; text-align: start; }
.range { position: relative; height: 28px; display: flex; align-items: center; }
.range .tr, .range .fill { position: absolute; height: 4px; border-radius: 2px; }
.range .tr { inset-inline: 0; background: var(--line); }
.range .fill { inset-inline-start: 0; background: var(--accent); }
.range input { position: relative; width: 100%; height: 28px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: grab; }
.range input::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.2); margin-top: -10px; }
.range input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #FFF; border: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.2); }
.bar { height: 10px; border-radius: 5px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; transition: width .25s ease-out; }
.month { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: center; }
.month .panel { grid-column: 1 / span 7; padding: 30px 32px; display: flex; flex-direction: column; gap: 24px; }
.month .share { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 28px; }
.stats div { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.stats b { font-size: 40px; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; }
.days { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.days i { flex: 1; border-radius: 3px; background: var(--bar0); }
.sharecard { width: 300px; height: 375px; border-radius: 18px; background: #1C1A18; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.5); padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; color: #F3EFEB; }
.sharecard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 45% at 50% 30%, rgba(210,70,31,.16), rgba(210,70,31,0) 70%); }
.sharecard > * { position: relative; }

/* ---------- privacy ---------- */
.priv-top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: center; }
.priv-top .head { grid-column: 1 / span 5; }
.priv-anim { grid-column: 6 / span 7; position: relative; height: 280px; }
.priv-line { position: absolute; top: 139px; height: 1px; inset-inline: 107px 0; background: linear-gradient(to var(--endside, right), var(--line2) 56%, transparent); }
[dir="rtl"] .priv-line { --endside: left; }
.facts { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 64px; }
.facts div { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
html[lang="ar"] .facts div { font-size: 18px; }
.facts b { font-weight: 600; } .facts span { color: var(--sec); }
.facts svg { flex-shrink: 0; margin-top: 2px; color: var(--ink); }

/* ---------- pricing ---------- */
.price-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pseg { display: grid; grid-template-columns: 1fr 1fr; background: var(--track); border-radius: 12px; padding: 3px; width: 320px; font-size: 14px; flex-shrink: 0; }
html[lang="ar"] .pseg { font-size: 15px; }
.pseg button { height: 40px; border-radius: 10px; color: var(--sec); display: flex; align-items: center; justify-content: center; gap: 8px; }
.pseg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.1); color: var(--text); font-weight: 600; }
.savetag { height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; background: var(--ok-soft); color: var(--ok-ink); font-size: 12px; font-weight: 600; }
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; position: relative; }
.plan-free { grid-column: span 5; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.plan-pro { grid-column: span 7; padding: 36px 40px 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 36px; box-shadow: var(--pro-sh); }
.price { direction: ltr; unicode-bidi: isolate; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.checks { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; }
html[lang="ar"] .checks li { font-size: 17px; }
.checks svg { flex-shrink: 0; margin-top: 4px; }
.meterbox { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; align-items: start; }
.faq-grid .head { grid-column: 1 / span 4; position: sticky; top: 100px; }
.faq-list { grid-column: 5 / span 8; max-width: 760px; }
.qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 19px; line-height: 1.45; font-weight: 500; }
html[lang="ar"] .qa summary { font-size: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa .n { direction: ltr; font-size: 13px; color: var(--faint); width: 22px; flex-shrink: 0; font-weight: 400; }
.qa .q { flex: 1; }
.qa .pm { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ctl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--sec); transition: background .2s, transform .2s; }
.qa .pm svg { transition: transform .2s; }
.qa[open] summary { font-weight: 600; }
.qa[open] .pm { background: var(--text); color: var(--page); box-shadow: none; }
.qa[open] .pm svg { transform: rotate(45deg); }
.qa .a { padding-inline: 42px 52px; padding-bottom: 28px; color: var(--sec); line-height: 1.7; display: flex; flex-direction: column; gap: 16px; }

/* ---------- final / phone / footer ---------- */
.final { margin-block: 80px; background: var(--surface); border-block: 1px solid var(--line); padding: 150px 0 140px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; position: relative; overflow: hidden; }
:root[data-theme="dark"] .final { background: var(--page); border-color: transparent; }
.final .glow { left: 0; right: 0; top: 40px; height: 560px; }
.phones { grid-column: 6 / span 7; position: relative; height: 600px; }
.phone { direction: ltr; position: absolute; width: 270px; height: 560px; border-radius: 44px; background: var(--phone-body); box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 40px 80px -30px rgba(26,23,20,.45); padding: 10px; animation: float 6s ease-in-out infinite; }
.phone.b { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.phone .scr { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; display: flex; flex-direction: column; }
.plat { height: 40px; display: inline-flex; align-items: center; gap: 9px; padding-inline: 12px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ctl); font-size: 14px; }
.soon { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.emailrow { display: flex; gap: 8px; max-width: 460px; }
.emailrow input { flex: 1; min-width: 0; height: 48px; border-radius: 10px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); padding: 0 14px; font-size: 15px; direction: ltr; }
.emailrow input::placeholder { color: var(--faint); }
[dir="rtl"] .emailrow input:placeholder-shown { direction: rtl; }
.emailrow input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--ring); }
.okmsg { height: 48px; border-radius: 10px; background: var(--ok-soft); display: none; align-items: center; gap: 10px; padding: 0 14px; color: var(--ok-ink); font-weight: 600; max-width: 460px; }
.okmsg.show { display: flex; }
.errmsg { color: #C8352B; font-size: 13px; display: none; } .errmsg.show { display: block; }
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); height: 620px; }
.footer .wrap { padding-top: 80px; display: flex; flex-direction: column; gap: 56px; position: relative; z-index: 1; }
.fgrid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; }
.fgrid .fb { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 14px; }
.fgrid .fc { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.fc h4 { margin: 0; font-size: 13px; font-weight: 600; }
.fc a { font-size: 14.5px; color: var(--sec); }
.fbottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wordmark { position: absolute; left: 0; right: 0; bottom: -96px; display: flex; justify-content: center; font-size: 330px; line-height: 1; font-weight: 700; color: var(--wm); letter-spacing: -.04em; white-space: nowrap; user-select: none; pointer-events: none; }
html[lang="ar"] .wordmark { font-size: 340px; bottom: -150px; letter-spacing: 0; }

/* ---------- sheet ---------- */
.scrim { position: fixed; inset: 0; background: rgba(14,13,12,.4); z-index: 80; display: none; }
.scrim.show { display: block; }
.sheet { position: fixed; z-index: 81; left: 50%; bottom: 50%; transform: translate(-50%, 50%); width: min(440px, calc(100% - 24px)); border-radius: 24px; background: var(--surface); padding: 28px 24px 24px; display: none; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.sheet.show { display: flex; animation: sheetin .32s ease-out; }
@keyframes sheetin { from { opacity: 0; transform: translate(-50%, calc(50% + 16px)); } }
.sheet h3 { margin: 0; font-size: 20px; }
.sheet .emailrow { flex-direction: column; max-width: none; }
.sheet .emailrow input { height: 52px; border-radius: 12px; font-size: 16px; }
.sheet .x { position: absolute; top: 14px; inset-inline-end: 14px; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.rv.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal { padding: 72px 0 120px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 44px; line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--sec); line-height: 1.75; }
.legal .upd { color: var(--muted); font-size: 14px; }

/* ---------- theme switch reveal ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .navlinks { display: none; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .section { padding-block: 96px; }
  .dia-top, .split, .two-col, .priv-top, .faq-grid, .month { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .split .r8, .two-col .r6 { align-items: stretch; }
  .two-col .r7, .phones { height: auto; min-height: 560px; }
  .faq-grid .head { position: static; }
  .bento, .plans { grid-template-columns: 1fr; }
  .span7, .span5, .plan-free, .plan-pro { grid-column: auto; }
  .story, .small3, .steps3, .ways { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc .res { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 639px) {
  .nav { height: 56px; }
  .navend .langlink, .navend .iconbtn.theme { display: none; }
  .menubtn { display: flex; }
  .navend .btn-sm .t-long { display: none; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 72px; }
  .display { font-size: 40px; line-height: 46px; }
  html[lang="ar"] .display { font-size: 38px; line-height: 56px; }
  .h2, html[lang="ar"] .h2 { font-size: 30px; line-height: 36px; }
  html[lang="ar"] .h2 { line-height: 44px; }
  .lead { font-size: 17px; line-height: 27px; } html[lang="ar"] .lead { font-size: 18px; line-height: 30px; }
  .stmt-text { font-size: 20px; line-height: 1.5; } html[lang="ar"] .stmt-text { font-size: 20px; line-height: 1.6; }
  .hero { padding-top: 28px; padding-bottom: 56px; }
  .hero .ctas { flex-direction: column; width: 100%; }
  .hero .ctas .btn { width: 100%; height: 52px; border-radius: 12px; }
  .stage { height: 330px; }
  .chatwin { height: 220px; top: 12px; }
  .chatwin .msgs .bubble:first-child { display: none; }
  .whisper { display: none; }
  .stage .pillrow { top: auto; bottom: 18px; }
  .stage .lights, .chatwin .ch .meta-online { display: none; }
  .marquee { mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
  .compare { grid-template-columns: 1fr; gap: 14px; }
  .compare .col.wrote { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .compare .mid svg { display: none; }
  .said-card { padding: 16px 16px 22px; border-radius: 20px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .demo { grid-template-columns: 1fr; height: auto; }
  .demo .box { min-height: 140px; }
  .demo .right { border-inline-start: 0; border-top: 1px solid var(--line); }
  .bigkey { width: 100%; height: 120px; align-items: center; justify-content: center; gap: 8px; }
  .way { height: auto; padding-bottom: 24px; } .way .keys { display: none; }
  .custom { position: static; width: 100%; }
  .two-col .r7 { min-height: 640px; }
  .vn-bubble { width: 260px; }
  .phones { min-height: 600px; }
  .phone.b { display: none; }
  .phone.a { left: 50% !important; transform: translateX(-50%); animation: none; }
  .emailrow { flex-direction: column; }
  .emailrow .btn { height: 50px; }
  .calc { padding: 22px; } .bignum { font-size: 48px; }
  .month .share { display: none; }
  .stats b { font-size: 26px; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; } .facts div { font-size: 15px; padding: 14px 0; }
  .plan-free, .plan-pro { padding: 24px; } .plan-pro { grid-template-columns: 1fr; row-gap: 18px; } .price { font-size: 44px; }
  .plans .plan-pro { order: -1; }
  .pseg { width: 100%; }
  .qa summary { font-size: 16px; gap: 14px; padding: 16px 0; } .qa .n { display: none; } .qa .a { padding: 0 0 18px; }
  .final { padding: 88px 20px 84px; margin-block: 40px; gap: 28px; }
  .final .btn { width: 100%; height: 52px; }
  .footer { height: 700px; }
  .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .fgrid .fb { grid-column: 1 / -1; } .fgrid .fc { grid-column: auto; }
  .wordmark { font-size: 132px; bottom: -40px; } html[lang="ar"] .wordmark { font-size: 150px; bottom: -66px; }
  .sheet { left: 0; right: 0; bottom: 0; transform: none; width: 100%; border-radius: 24px 24px 0 0; padding-bottom: 34px; }
  .sheet.show { animation: sheetup .32s ease-out; }
  @keyframes sheetup { from { transform: translateY(100%); } }
  .ctx-note-wrap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .marquee .track { animation: none; }
  .rv { opacity: 1; transform: none; }
}
.t-short { display: none; }
@media (max-width: 639px) { .navend .t-short { display: inline; } }
[hidden] { display: none !important; }
.speech { color: var(--text); }
.works { padding-bottom: 0; }
#privacy, #faq { overflow: hidden; }
@media (max-width: 639px) {
  .priv-anim { height: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 8px; }
  .priv-anim > * { position: static !important; inset: auto !important; }
  .priv-anim .priv-line, .priv-anim #priv-dots { display: none; }
  .priv-anim::before, .priv-anim::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--line2), transparent); order: 2; }
  .priv-anim::before { order: 1; background: var(--line2); }
  .priv-anim > :nth-child(1) { order: 0; } .priv-anim > :nth-child(4) { order: 1; } .priv-anim > :nth-child(5) { order: 1; }
  .priv-anim > :nth-child(6) { order: 3; }
  .qa .a .pill { white-space: normal; height: auto; min-height: 44px; padding-block: 8px; flex-wrap: wrap; }
}
.legal .legal-title { font-size: 32px; line-height: 1.2; margin: 0 0 8px; padding-top: 40px; border-top: 1px solid var(--line); }
/* phone apps: a one-line strip above the footer */
.phonestrip { padding: 0 0 96px; }
.strip { border-radius: 20px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-text { display: flex; align-items: center; gap: 16px; }
.plats { display: flex; gap: 8px; }
.plat-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; color: var(--text); }
.strip form { flex: 0 1 460px; display: flex; flex-direction: column; gap: 6px; }
.strip .emailrow { max-width: none; }
.strip .okmsg { max-width: none; }
@media (max-width: 639px) { .strip { padding: 18px; } .strip-text { align-items: flex-start; } .strip form { flex-basis: 100%; } .phonestrip { padding-bottom: 64px; } }
.emailrow input { min-height: 48px; }
.sheet .emailrow input { min-height: 52px; }
/* command key, folded into the styles section */
.cmdmini { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--card-sh); display: flex; flex-direction: column; gap: 8px; }
.cmdex { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 16px; line-height: 1.6; }
.cmdex .say { font-size: 14px; color: var(--muted); }
.cmdex .say::before { content: "↓ "; color: var(--ctl); }
.cmd-mob { display: none; }
@media (max-width: 1023px) { .cmd-desk { display: none; } .cmd-mob { display: flex; margin-top: 4px; width: 100%; } }
/* dialects story */
.said-card { position: relative; }
.compare .said .w { opacity: 0; transition: opacity .18s ease-out; }
.compare .said .w.on { opacity: 1; }
.compare .said .filler { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 1.5px; transition: opacity .18s, text-decoration-color .35s ease-out; }
.compare .said .filler.struck, .compare .said s.struck { text-decoration-color: rgba(199,62,29,.6); opacity: .55; }
:root[data-theme="dark"] .compare .said .filler.struck, :root[data-theme="dark"] .compare .said s.struck { text-decoration-color: rgba(255,122,85,.6); }
.compare .wrote .hl { animation: hlin .5s ease-out; }
@keyframes hlin { from { background: transparent; } }
.tabs .chip { position: relative; overflow: hidden; }
.tabprog { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); opacity: 0; }
.chip.playing .tabprog { opacity: .9; animation: tabprog var(--hold, 2600ms) linear forwards; }
@keyframes tabprog { to { width: 100%; } }
.tabs .chip { flex-shrink: 0; }

/* ---------- redesign (preview): Wispr-style feature list, speed race ---------- */
:root { --fx-bg: #ECE7E1; --fx-box: #FFFFFF; }
:root[data-theme="dark"] { --fx-bg: #262321; --fx-box: #34302D; }
.center { text-align: center; margin-inline: auto; }
.h2 em, .display em { font-style: normal; color: var(--ink); }

/* features: sticky visual on one side, titles light up one by one on the other */
.fx .h2 { max-width: 760px; }
.fx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; margin-top: 72px; }
.fx-stage { position: sticky; top: calc(50vh - 220px); height: 440px; }
.fx-vis { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s, transform .45s; pointer-events: none; }
.fx-vis.on { opacity: 1; transform: none; }
.fx-list { display: flex; flex-direction: column; }
.fx-item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .22; transition: opacity .4s; }
.fx-item.on { opacity: 1; }
.fx-item:first-child { min-height: 50vh; } .fx-item:last-child { min-height: 50vh; }
.fx-t { font-size: 32px; line-height: 40px; font-weight: 600; margin: 0; text-wrap: balance; }
html[lang="ar"] .fx-t { line-height: 50px; }
.fx-l { font-size: 18px; line-height: 30px; color: var(--sec); margin: 0; max-width: 420px; text-wrap: pretty; }
html[lang="ar"] .fx-l { font-size: 19px; line-height: 34px; }
.fx-vis-m { display: none; }
.fxcard { height: 440px; border-radius: 28px; background: var(--fx-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 36px; overflow: hidden; position: relative; }
.fx-box { width: min(100%, 400px); border-radius: 18px; background: var(--fx-box); box-shadow: var(--row-sh); padding: 18px 20px; font-size: 18px; line-height: 1.75; text-align: start; color: var(--text); white-space: pre-line; transition: opacity .25s, filter .25s; }
.fx-box[dir="rtl"] { text-align: right; } .fx-box[dir="ltr"] { text-align: left; }
.fx-box.swap { opacity: 0; filter: blur(4px); }
.fx-seg { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--fx-box); box-shadow: var(--row-sh); flex-wrap: wrap; justify-content: center; }
.fx-b { height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--sec); transition: background .3s, color .3s; white-space: nowrap; }
.fx-b.on { background: var(--tab-on); color: var(--tab-on-fg); }
.fx-msg { min-height: 108px; }
.fx-doc { min-height: 76px; }
.fx-sel { border-radius: 4px; padding: 2px 0; background: linear-gradient(var(--sel), var(--sel)) no-repeat; background-size: 0 100%; background-position: right; transition: background-size .6s ease, color .3s; }
.fx-sel.sel { background-size: 100% 100%; }
.fx-sel.done { background: transparent; color: var(--ok-ink); }
.fx-cmdpill { gap: 10px; padding-inline: 8px 16px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.fx-cmdpill.show { opacity: 1; transform: none; }
.fx-k { width: 30px; height: 30px; border-radius: 9px; background: #3A3633; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #F3EFEB; }
.fx-said { font-size: 15px; color: #F3EFEB; }
.fx-vn { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 8px; border-radius: 28px; background: var(--fx-box); box-shadow: var(--row-sh); color: var(--muted); font-size: 13px; }
.fx-play { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.fx-vnw { display: flex; align-items: center; gap: 3px; height: 28px; }
.fx-vnw i { width: 3px; border-radius: 2px; background: var(--ctl); transition: background .15s; }
.fx-vnw i.lit { background: var(--accent); }
.fx-vt { min-height: 150px; font-size: 17px; }
.fx-panel { width: min(100%, 360px); border-radius: 20px; background: var(--fx-box); box-shadow: var(--row-sh); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.fx-panel b { font-size: 17px; font-weight: 600; }
.fx-input { height: 46px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--accent); display: flex; align-items: center; padding: 0 12px; font-size: 17px; }
.fx-btn { align-self: flex-end; height: 36px; display: flex; align-items: center; padding: 0 16px; border-radius: 10px; background: var(--tab-on); color: var(--tab-on-fg); font-size: 14px; font-weight: 600; transition: transform .12s; }
.fx-btn.press { transform: scale(.94); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 400px; }
.fx-chips span { height: 34px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--fx-box); box-shadow: var(--row-sh); font-size: 14.5px; }
.fx-chips span.new { animation: pop .45s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 0 0 1.5px var(--accent); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.fx-sn { min-height: 120px; }
.fx-cue { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: #1A1714; color: #F3EFEB; font-size: 15px; vertical-align: middle; transition: opacity .25s, transform .25s; }
.fx-cue.gone { opacity: 0; transform: scale(.7); }
.fx-exp { color: var(--ink); }

/* speed race */
.race-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 56px; }
.lane { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 380px; position: relative; overflow: hidden; }
.lane.kb { background: var(--fx-bg); }
.lane.ou { background: radial-gradient(120% 90% at 85% 0%, #5A2614 0%, #2A1712 45%, #161210 100%); color: #F3EFEB; }
:root[data-theme="dark"] .lane.ou { box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.lane-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; font-weight: 500; }
.lane-h b { font-size: 34px; font-weight: 600; }
.lane-h small { font-size: 13px; font-weight: 500; opacity: .7; }
.lane.kb .lane-h, .lane.kb .lane-txt { color: var(--sec); }
.lane-txt { font-size: 19px; line-height: 1.8; text-align: right; flex: 1; }
.lane.ou .lane-txt { font-size: 21px; }
.lane-foot { display: flex; align-items: center; justify-content: space-between; }
.lane.ou .pill { background: rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.lane-done { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; opacity: 0; transition: opacity .3s; }
.lane-done.show { opacity: 1; }

@media (max-width: 900px) {
  .fx-grid { display: block; margin-top: 40px; }
  .fx-stage { display: none; }
  .fx-list { gap: 64px; }
  .fx-item, .fx-item:first-child, .fx-item:last-child { min-height: 0; opacity: 1; }
  .fx-vis-m { display: block; margin-bottom: 10px; }
  .fxcard { height: 300px; padding: 22px; border-radius: 24px; }
  .race-grid { grid-template-columns: 1fr; }
  .lane { min-height: 0; }
  .lane-txt { min-height: 140px; }
}
@media (max-width: 639px) {
  .fx-t { font-size: 26px; line-height: 34px; } html[lang="ar"] .fx-t { line-height: 44px; }
  .fx-box { font-size: 16px; padding: 14px 16px; }
  .fx-b { padding: 0 10px; font-size: 13px; height: 32px; }
  .lane { padding: 20px; } .lane-txt { font-size: 17px; } .lane.ou .lane-txt { font-size: 18px; }
}

/* ---------- the Oulha character (plush pill) ---------- */
.mascot img, .ok-mascot, .nf-mascot { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(26,23,20,.16)); }
:root[data-theme="dark"] .mascot img, :root[data-theme="dark"] .ok-mascot, :root[data-theme="dark"] .nf-mascot { filter: drop-shadow(0 16px 16px rgba(0,0,0,.5)); }
.m-dark { display: none !important; }
:root[data-theme="dark"] .m-dark { display: block !important; } :root[data-theme="dark"] .m-light { display: none !important; }
.peek { position: absolute; z-index: 3; width: 190px; top: -100px; inset-inline-end: 7%; transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-4px) scale(1.015, 1.03); } }
.wave-m { position: relative; width: 230px; transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
.final:has([data-cta-hover]:hover) .wave-m { animation: hop2 .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes hop2 { 40% { transform: translateY(-16px) rotate(-3deg); } }
.ok-mascot { display: none; width: 170px; margin: 0 auto -4px; }
.wl:has(.okmsg.show) .ok-mascot { display: block; animation: pop .5s cubic-bezier(.3,1.6,.5,1); }
.nf-mascot { width: 260px; margin-bottom: 20px; }
@media (max-width: 639px) { .peek { width: 118px; top: -62px; inset-inline-end: 4%; } .wave-m { width: 180px; } }

/* ---------- hero stage: a pipe runs behind the character — speech flows in on an equalizer wave, clean text flows out on a calm band ---------- */
.hs { position: relative; width: min(1180px, 100vw - 24px); height: 440px; margin-top: 56px; direction: ltr; border-radius: 32px; background: #000; overflow: hidden; }
.hs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30% 50% at 50% 58%, rgba(210,70,31,.22), rgba(210,70,31,0) 70%); pointer-events: none; }
.hs-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-geo { position: absolute; width: 0; height: 0; overflow: hidden; }
.hs-words { position: absolute; inset: 0; }
.hs-words span { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity; line-height: 1; }
.hs-words .i { font-size: 20px; color: #B5AEA7; }
.hs-words .i.f { color: #FF9B7A; font-weight: 500; }
.hs-words .o { font-size: 22px; font-weight: 500; color: #F3EFEB; }
.hs-vid { position: absolute; left: 50%; top: 50%; width: 360px; aspect-ratio: 1; transform: translate(-50%, -46%); mix-blend-mode: lighten; }
.hs-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-lab { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; white-space: nowrap; font-size: 16px; font-weight: 500; color: #F3EFEB; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); opacity: 0; transition: opacity .4s; }
.hs-lab.ready { opacity: 1; }
.hs-lab.said svg { color: #FF9B7A; } .hs-lab.wrote svg { color: #7FD3A2; }
.hs-lab::after { content: ""; position: absolute; left: 50%; width: 1.5px; height: 22px; background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0)); }
.hs-lab.up::after { top: 100%; }
.hs-lab.down::after { bottom: 100%; transform: scaleY(-1); }
.fixchip { position: absolute; left: 50%; top: 13%; transform: translate(-50%, 6px) scale(.9); opacity: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; background: #F3EFEB; color: #1A1714; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: opacity .3s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.fixchip::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #2FA866; color: #fff; font-size: 11px; display: grid; place-items: center; }
.fixchip.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 900px) {
  .hs { height: 300px; border-radius: 26px; }
  .hs-vid { width: 150px; }
  .hs-words .i { font-size: 15px; } .hs-words .o { font-size: 16px; }
  .hs-lab { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 6px; } .hs-lab svg { width: 13px; height: 13px; } .hs-lab::after { height: 14px; }
  .fixchip { top: 16%; font-size: 12px; height: 28px; padding: 0 11px; }
}

/* ---------- nav as a Mac menu bar: links at the start, the animated mark in the middle, status items and Oulha's own icon at the end ---------- */
.mbar { position: sticky; top: 0; z-index: 50; height: 46px; background: var(--nav-bg); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--line); }
.mb-in { height: 100%; padding-inline: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.mb-start { display: flex; align-items: center; gap: 26px; justify-self: start; min-width: 0; }
.mb-brand { font-size: 15.5px; font-weight: 700; gap: 0; }
html[lang="ar"] .mb-brand { font-size: 16.5px; }
.mbar .navlinks { gap: 22px; font-size: 14px; }
html[lang="ar"] .mbar .navlinks { font-size: 14.5px; }
.mbar .navlinks a { color: var(--muted); }
.mbar .navlinks a:hover { color: var(--text); }
.mb-logo { display: flex; justify-self: center; }
.mb-logo:hover { text-decoration: none; }
.flogo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(160deg, #E2532A, #B3360F); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; color: #FFF6F0; }
.mb-end { display: flex; align-items: center; gap: 14px; justify-self: end; color: var(--muted); }
.mb-sys { display: flex; align-items: center; gap: 16px; }
.mb-item { height: 28px; min-width: 28px; padding: 0 5px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--sec); }
.mb-item:hover { background: var(--track); color: var(--text); text-decoration: none; }
.mb-lang span.ar { padding-bottom: 3px; font-size: 12px; }
.mb-lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 3px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 11px; font-weight: 700; line-height: 1; }
.fc { position: relative; display: block; direction: ltr; flex-shrink: 0; }
.fc i, .fc b { position: absolute; border-radius: 999px; background: currentColor; }
@keyframes eqb { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
.mb-oulha { color: var(--text); }
.mb-oulha b { transform-origin: center; animation: eqb .9s ease-in-out infinite; }
.mb-oulha b:nth-of-type(2) { animation-delay: -.2s; } .mb-oulha b:nth-of-type(3) { animation-delay: -.45s; } .mb-oulha b:nth-of-type(4) { animation-delay: -.65s; } .mb-oulha b:nth-of-type(5) { animation-delay: -.3s; }
.mb-clock { font-size: 14px; color: var(--sec); white-space: nowrap; }
.mb-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mb-cta svg { width: 13px; height: 16px; fill: currentColor; }
.mb-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.mbar .menubtn { display: none; }
.mbar .t-short { display: none; }
@media (max-width: 1180px) { .mb-sys { display: none; } }
@media (max-width: 1023px) { .mbar .menubtn { display: flex; } .mb-clock { display: none; } }
@media (max-width: 639px) {
  .mbar { height: 52px; }
  .mnav { inset: 52px 0 0; }
  .mb-in { padding-inline: 14px; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .mb-logo, .mb-lang, .mbar .theme-ic { display: none; }
  .mb-start { gap: 0; }
  .mb-end { gap: 10px; }
  .mbar .t-long { display: none; } .mbar .t-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .mb-oulha b { animation: none; } }

/* ---------- dialects: three people, each speaking their dialect; the speech bubble turns into a written message ---------- */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.dcard { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: #1A1714; isolation: isolate; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s; }
.dcard:not(.on) { filter: saturate(.85) brightness(.92); }
.dcard.on { transform: translateY(-6px); }
.dmedia, .dmedia video, .dph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.45); font-size: 13px; background: radial-gradient(80% 60% at 50% 35%, #5A2614, #241310 70%); }
.dcard::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.72)); z-index: 1; pointer-events: none; }
.dtag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 16px; background: rgba(20,18,16,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #F3EFEB; font-size: 14px; font-weight: 600; }
.dsay, .dmsg { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; border-radius: 18px; padding: 12px 14px; font-size: 16.5px; line-height: 1.6; text-align: right; transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.dsay { display: flex; align-items: center; gap: 10px; background: rgba(20,18,16,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #E9E3DD; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dsay b { color: #FF9B7A; font-weight: 500; }
.dw { direction: ltr; display: flex; align-items: center; gap: 2.5px; height: 18px; flex-shrink: 0; }
.dw i { width: 3px; height: 6px; border-radius: 2px; background: #FF7A55; }
.dcard.speaking .dw i { animation: talk .45s ease-in-out infinite alternate; }
.dw i:nth-child(1) { height: 7px; } .dw i:nth-child(2) { height: 13px; animation-delay: -.15s; } .dw i:nth-child(3) { height: 18px; animation-delay: -.3s; } .dw i:nth-child(4) { height: 11px; animation-delay: -.1s; } .dw i:nth-child(5) { height: 6px; animation-delay: -.25s; }
.dmsg { display: flex; align-items: flex-start; gap: 9px; background: #FFFFFF; color: #1A1714; font-weight: 500; box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px) scale(.97); }
.dok { width: 20px; height: 20px; border-radius: 50%; background: #2FA866; color: #fff; font-size: 11px; display: grid; place-items: center; flex-shrink: 0; margin-top: 3px; }
.dcard.written .dsay { opacity: 0; transform: translateY(-10px) scale(.97); }
.dcard.written .dmsg { opacity: 1; transform: none; }
.dmore { margin-top: 22px; }
@media (max-width: 900px) {
  .dcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 6px 20px 10px; scrollbar-width: none; }
  .dcards::-webkit-scrollbar { display: none; }
  .dcard { flex: 0 0 78%; scroll-snap-align: center; }
  .dsay, .dmsg { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .dcard .dw i { animation: none; } }

/* ---------- calls to action as real Mac keys: ⌥ option for "join", ↵ return for form submits; they press down on hover/click (and when the visitor presses ⌥) ---------- */
.btn.key { height: 54px; padding: 0 22px 0 14px; gap: 12px; border-radius: 12px; position: relative; transform: translateY(0); transition: transform .08s ease, box-shadow .08s ease, background .15s; }
.btn.key:active { transform: translateY(5px); }
.kc { direction: ltr; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; height: 32px; padding-inline-end: 12px; border-inline-end: 1px solid rgba(255,255,255,.3); line-height: 1; flex-shrink: 0; }
html[dir="rtl"] .kc { align-items: flex-end; }
.kc b { font-size: 15px; font-weight: 500; }
.kc small { font-size: 10px; font-weight: 500; letter-spacing: .03em; opacity: .85; }
.btn-primary.key { background: linear-gradient(180deg, #E8552C, #C73E1D); color: #FFF; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(110,28,8,.35), 0 5px 0 #8E2A10, 0 12px 22px -6px rgba(199,62,29,.55); }
.btn-primary.key:hover { background: linear-gradient(180deg, #EE5F36, #CD4421); transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(110,28,8,.35), 0 3px 0 #8E2A10, 0 8px 16px -6px rgba(199,62,29,.5); }
.btn-primary.key:active, .btn-primary.key.pressed { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(110,28,8,.35), 0 0 0 #8E2A10, 0 4px 10px -4px rgba(199,62,29,.4); }
.btn-secondary.key { background: linear-gradient(180deg, var(--surface), var(--key-face)); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px var(--ctl), 0 5px 0 var(--line2), 0 10px 18px -8px rgba(26,23,20,.25); }
.btn-secondary.key .kc { border-inline-end-color: var(--ctl); }
.btn-secondary.key:hover { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px var(--ctl), 0 3px 0 var(--line2), 0 7px 14px -8px rgba(26,23,20,.25); }
.btn-secondary.key:active, .btn-secondary.key.pressed { transform: translateY(5px); box-shadow: 0 0 0 1px var(--ctl), 0 0 0 var(--line2); }
.btn-ink.key { background: var(--text); color: var(--page); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 0 color-mix(in srgb, var(--text) 55%, #000), 0 10px 18px -8px rgba(0,0,0,.35); }
.btn-ink.key .kc { border-inline-end-color: color-mix(in srgb, var(--page) 35%, transparent); }
.btn-ink.key:hover { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 0 color-mix(in srgb, var(--text) 55%, #000); }
.btn-ink.key:active, .btn-ink.key.pressed { transform: translateY(5px); box-shadow: 0 0 0 color-mix(in srgb, var(--text) 55%, #000); }
.emailrow .btn.key { height: 52px; flex-shrink: 0; }
@media (max-width: 639px) { .hero .ctas .btn.key { height: 56px; } }

/* ---------- ⌥ call to action: a keycap at the real Option-key proportions (≈1.2 : 1), the words beside it ---------- */
.btn.key2 { height: auto; padding: 0; gap: 14px; background: none; box-shadow: none; border-radius: 12px; }
.btn.key2:active { transform: none; }
.kcap { direction: ltr; position: relative; width: 66px; height: 56px; border-radius: 10px; flex-shrink: 0; display: block; transition: transform .08s ease, box-shadow .08s ease; }
.kcap b { position: absolute; top: 7px; right: 9px; font-size: 15px; font-weight: 500; line-height: 1; }
.kcap small { position: absolute; bottom: 7px; left: 9px; font-size: 10px; font-weight: 500; letter-spacing: .03em; line-height: 1; opacity: .9; }
.klabel { font-size: 17px; font-weight: 700; }
html[lang="ar"] .klabel { font-size: 18px; }
.btn-primary.key2 .kcap { background: linear-gradient(180deg, #E8552C, #C73E1D); color: #FFF; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(110,28,8,.35), 0 5px 0 #8E2A10, 0 12px 22px -6px rgba(199,62,29,.55); }
.btn-primary.key2 .klabel { color: var(--ink); }
.btn-secondary.key2 .kcap { background: linear-gradient(180deg, var(--surface), var(--key-face)); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px var(--ctl), 0 5px 0 var(--line2), 0 10px 18px -8px rgba(26,23,20,.25); }
.btn-secondary.key2 .klabel { color: var(--text); }
.btn.key2:hover .kcap { transform: translateY(2px); }
.btn-primary.key2:hover .kcap { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(110,28,8,.35), 0 3px 0 #8E2A10, 0 8px 16px -6px rgba(199,62,29,.5); }
.btn-secondary.key2:hover .kcap { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px var(--ctl), 0 3px 0 var(--line2); }
.btn.key2:hover .klabel { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn.key2:active .kcap, .btn.key2.pressed .kcap { transform: translateY(5px); }
.btn-primary.key2:active .kcap, .btn-primary.key2.pressed .kcap { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(110,28,8,.35), 0 0 0 #8E2A10, 0 4px 10px -4px rgba(199,62,29,.4); }
.btn-secondary.key2:active .kcap, .btn-secondary.key2.pressed .kcap { box-shadow: 0 0 0 1px var(--ctl), 0 0 0 var(--line2); }
.btn.key2:focus-visible { box-shadow: 0 0 0 3px var(--page), 0 0 0 6px var(--ring); }
@media (max-width: 639px) { .hero .ctas .btn.key2 { height: auto; width: auto; } }
.btn.key2 { gap: 12px; }
.kpre { font-size: 17px; font-weight: 500; color: var(--sec); }
html[lang="ar"] .kpre { font-size: 18px; }
.hero .ctas { margin-top: 24px; }
@media (max-width: 639px) { .kpre, .klabel, html[lang="ar"] .kpre, html[lang="ar"] .klabel { font-size: 16px; } .btn.key2 { gap: 10px; } .kcap { width: 60px; height: 52px; } }
.btn.key2 { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 8px; max-width: 100%; }
.klabel, .kpre { white-space: nowrap; }

/* ---------- features with the plush character: a black stage, the character acts the feature, one UI element under it ---------- */
.fxcard { --fx-box: #FFFFFF; background: radial-gradient(60% 55% at 50% 30%, rgba(210,70,31,.20), rgba(210,70,31,0) 70%), #0E0C0B; color: #1A1714; justify-content: flex-end; gap: 14px; padding: 28px 30px 30px; }
.fxcard .fx-box { color: #1A1714; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.fxcard .fx-seg { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.fxcard .fx-b { color: #CFC8C1; }
.fxcard .fx-b.on { background: #F3EFEB; color: #1A1714; }
.fxcard .fx-vn { background: #FFFFFF; color: #6E6862; }
.fxcard .fx-panel { background: #FFFFFF; color: #1A1714; padding: 14px; gap: 12px; }
.fxcard .fx-input { gap: 6px; }
.fxcard .fx-btn { margin-inline-start: auto; height: 32px; background: #1A1714; color: #F3EFEB; }
.fxcard .fx-chips span { background: #F3EFEB; color: #1A1714; box-shadow: none; }
.fxcard .fx-chips span.new { box-shadow: 0 0 0 1.5px #C73E1D; }
.fxm { display: block; width: 250px; height: auto; flex-shrink: 0; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); transform-origin: 50% 100%; }
.fxm.solo { margin-bottom: auto; margin-top: 4px; }
.fxm.hop { animation: fxhop .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes fxhop { 35% { transform: translateY(-12px) scale(1.03, .97); } }
.fxm-stack { position: relative; width: 250px; aspect-ratio: 760 / 424; margin-bottom: auto; margin-top: 18px; flex-shrink: 0; }
.fxm-stack .fxm { position: absolute; inset: 0; width: 100%; opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .25s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.fxm-stack .fxm.on { opacity: 1; transform: none; }
.fxcard .fx-msg { min-height: 92px; }
.fxcard .fx-vt { min-height: 96px; font-size: 16px; }
@media (max-width: 900px) {
  .fxcard { height: 420px; padding: 20px; }
  .fxm, .fxm-stack { width: 190px; }
}
:root[data-theme="dark"] .fxcard, :root[data-theme="dark"] .hs { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.fxm.fxvid { filter: none; mix-blend-mode: lighten; }
.fxm.fxvid video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- the Oulha family under the dialects: the dialects that are coming ---------- */
.family { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fam-row { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.fam-row img { height: 96px; width: auto; filter: drop-shadow(0 8px 8px rgba(26,23,20,.16)); }
:root[data-theme="dark"] .fam-row img { filter: drop-shadow(0 10px 12px rgba(0,0,0,.55)); }
@keyframes fambob { 50% { transform: translateY(-5px) scale(1.01, .99); } }
@keyframes fx2hop { 35% { transform: translateY(-16px) scale(1.04, .96); } }
.fam-cap { margin: 0; font-size: 16px; font-weight: 600; color: var(--sec); }
@media (max-width: 639px) { .fam-row img { height: 72px; } }
@media (prefers-reduced-motion: reduce) { .fam-row img { animation: none; } }

/* ---------- dialects (B): people speak, Oulha listens — one black stage, a voice line from the speaker down to the character, the clean message under it ---------- */
.dstage { position: relative; margin-top: 48px; border-radius: 32px; padding: 26px 26px 30px; overflow: hidden; background: radial-gradient(42% 40% at 50% 80%, rgba(210,70,31,.26), rgba(210,70,31,0) 72%), #000; }
:root[data-theme="dark"] .dstage { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dstage .dcards { position: relative; z-index: 2; margin-top: 0; gap: 16px; }
.dstage .dcard { aspect-ratio: 1 / 1; border-radius: 22px; filter: brightness(.5) saturate(.8); transform: none; transition: filter .45s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.dstage .dcard.on { filter: none; transform: translateY(-4px); box-shadow: 0 0 0 2px rgba(255,155,122,.85), 0 18px 40px rgba(0,0,0,.5); }
.dstage .dmedia video { object-position: 50% 28%; }
.dstage .dcard .dsay { opacity: 0; transform: translateY(10px); }
.dstage .dcard.speaking .dsay { opacity: 1; transform: none; }
.dlines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dlines .dl { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; stroke-dasharray: 3 7; transition: stroke .3s; }
.dlines .dl.live { stroke: #FF7A55; stroke-width: 2.5; stroke-dasharray: 6 9; animation: dflow .6s linear infinite; filter: drop-shadow(0 0 6px rgba(255,122,85,.7)); }
@keyframes dflow { to { stroke-dashoffset: -15; } }
.dlisten { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 34px; }
.dmascot { width: 280px; aspect-ratio: 1; margin: -60px 0 -36px; mix-blend-mode: lighten; }
.dmascot video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dout { display: flex; align-items: center; gap: 10px; min-height: 54px; max-width: min(560px, 100%); padding: 12px 18px; border-radius: 18px; background: #FFFFFF; color: #1A1714; font-size: 18px; font-weight: 500; line-height: 1.6; box-shadow: 0 18px 44px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .4s, transform .45s cubic-bezier(.2,.8,.2,1); }
.dout.show { opacity: 1; transform: none; }
.dout .dok { margin-top: 0; }
@media (max-width: 900px) {
  .dstage { padding: 16px 0 22px; border-radius: 26px; margin-inline: -4px; }
  .dstage .dcards { margin-inline: 0; padding: 6px 16px 10px; }
  .dstage .dcard { flex: 0 0 72%; }
  .dmascot { width: 210px; margin: -44px 0 -26px; }
  .dout { font-size: 16px; margin-inline: 16px; }
}

/* ---------- speed: the same character typing (tired, cool light) vs speaking (warm light) on one black stage ---------- */
.rstage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 52px; border-radius: 32px; overflow: hidden; background: #000; }
:root[data-theme="dark"] .rstage { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.rlane { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 52px; min-width: 0; }
.rlane.kb { background: radial-gradient(60% 45% at 50% 32%, rgba(140,150,165,.16), rgba(0,0,0,0) 70%); }
.rlane.ou { background: radial-gradient(60% 45% at 50% 32%, rgba(210,70,31,.28), rgba(0,0,0,0) 70%); border-inline-start: 1px solid rgba(255,255,255,.08); }
.rhead { display: flex; align-items: baseline; justify-content: space-between; color: #CFC8C1; font-size: 15px; font-weight: 500; }
.rhead b { font-size: 32px; font-weight: 600; color: #F3EFEB; } .rhead small { font-size: 13px; opacity: .7; font-weight: 500; }
.rlane.kb .rhead b { color: #A39B93; }
.rchar { width: min(330px, 90%); aspect-ratio: 760 / 490; align-self: center; mix-blend-mode: lighten; }
.rchar video { display: block; width: 100%; height: 100%; object-fit: cover; }
.rlane.kb .rchar video { filter: saturate(.45) brightness(.82) contrast(1.05); }
.rmsg { min-height: 132px; padding: 14px 16px; border-radius: 16px; font-size: 17px; line-height: 1.75; text-align: right; }
.rlane.kb .rmsg { background: rgba(255,255,255,.06); color: #B5AEA7; }
.rlane.ou .rmsg { background: #FFFFFF; color: #1A1714; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.rbar { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); }
.rbar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 3px; transition: width .15s linear; }
.rlane.kb .rbar i { background: #8C857E; }
.rlane.ou .rbar i { background: #FF7A55; box-shadow: 0 0 10px rgba(255,122,85,.6); }
.rsent { position: absolute; inset-inline-end: 0; top: 14px; display: inline-flex; align-items: center; gap: 7px; color: #7FD3A2; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.rlane.ou.done .rsent { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .rstage { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .rlane { padding: 20px; }
  .rlane.ou { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .rchar { width: min(240px, 80%); }
  .rmsg { min-height: 104px; font-size: 15.5px; }
}

/* ---------- tighter rhythm between sections (was 140px each side, ~280px of empty space between sections) ---------- */
.section { padding-block: 84px; }
.fx-grid { margin-top: 44px; }
.fx-item { min-height: 54vh; }
.fx-item:first-child, .fx-item:last-child { min-height: 44vh; }
.dstage, .rstage { margin-top: 40px; }
.hs { margin-top: 44px; }
.family { margin-top: 32px; }
.works { padding-bottom: 24px; }
@media (max-width: 1023px) { .section { padding-block: 68px; } }
@media (max-width: 639px) { .section { padding-block: 52px; } }

/* ---------- closing section on a black stage with the cheering character ---------- */
.final { background: radial-gradient(45% 55% at 50% 52%, rgba(210,70,31,.26), rgba(210,70,31,0) 70%), #000; border-color: transparent; color: #F3EFEB; gap: 28px; padding: 110px 0 100px; }
:root[data-theme="dark"] .final { background: radial-gradient(45% 55% at 50% 52%, rgba(210,70,31,.26), rgba(210,70,31,0) 70%), #000; }
.final .glow { display: none; }
.final .display { color: #F3EFEB; }
.final .small { color: #A39B93; }
.final .kpre { color: #CFC8C1; }
.final .btn-primary.key2 .klabel { color: #FF9B7A; }
.final-vid { position: relative; width: 340px; aspect-ratio: 760 / 482; mix-blend-mode: lighten; margin-block: -10px -6px; }
.final-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .final { padding: 72px 20px 68px; } .final-vid { width: 250px; } }

/* ---------- pricing: centred head, two cards — Free (light, plain character) and Pro (black stage, character in a bow tie) ---------- */
.pricing2 .pseg { margin-top: 6px; }
.plans2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin: 44px auto 0; }
.pcard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 30px 30px; border-radius: 28px; }
.pcard.free { background: var(--surface); box-shadow: var(--card-sh); }
.pcard.pro { background: radial-gradient(60% 45% at 50% 22%, rgba(210,70,31,.30), rgba(210,70,31,0) 70%), #0E0C0B; color: #F3EFEB; box-shadow: 0 0 0 1.5px rgba(255,122,85,.55), 0 30px 70px -30px rgba(199,62,29,.45); }
.pmascot { width: 170px; height: auto; margin-block: 2px 4px; filter: drop-shadow(0 12px 14px rgba(26,23,20,.22)); }
.pcard.pro .pmascot { filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); }
.pname { margin: 0; font-size: 22px; font-weight: 700; }
.pprice { display: flex; align-items: baseline; gap: 8px; }
.pprice .price { font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.pprice .per { font-size: 16px; color: var(--sec); }
.pcard.pro .pprice .per, .pbilled, .pnote { color: #A39B93; }
.pbilled { font-size: 14px; margin-top: -8px; }
.pcard .checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; align-self: stretch; text-align: start; }
.pcard .checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; }
.pcard .checks li svg { flex-shrink: 0; margin-top: 4px; }
.pcard.pro .checks li { color: #E9E3DD; }
.pcta { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pcard.pro .kpre { color: #CFC8C1; } .pcard.pro .btn-primary.key2 .klabel { color: #FF9B7A; }
.pnote { font-size: 12.5px; }
.ptag { position: absolute; top: 18px; inset-inline-end: 18px; height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 14px; background: rgba(255,122,85,.16); color: #FF9B7A; font-size: 13px; font-weight: 600; }
:root[data-theme="dark"] .pcard.free { background: var(--surface); }
@media (max-width: 760px) { .plans2 { grid-template-columns: minmax(0, 1fr); } .pcard.pro { order: -1; } .pmascot { width: 150px; } }
.pcard .kpre, .pcard .klabel, html[lang="ar"] .pcard .kpre, html[lang="ar"] .pcard .klabel { font-size: 16px; }
.pcard .btn.key2 { gap: 10px; }
.pmascot.crown { margin-top: -18px; }

/* ---------- works in every app: two marquee rows in opposite directions, plain logo + name, faded edges ---------- */
.marq2 { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mrow { overflow: hidden; display: flex; }
.mtrack { display: flex; align-items: center; gap: 2.6rem; width: max-content; padding-inline-end: 2.6rem; animation: drift 40s linear infinite; }
[dir="rtl"] .mtrack { animation-name: drift-rtl; }
.mrow.rev .mtrack { animation-direction: reverse; }
.marq2:hover .mtrack { animation-play-state: paused; }
.appi { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 18px; font-weight: 600; color: var(--text); opacity: .8; white-space: nowrap; }
.appi svg { width: 24px; height: 24px; flex-shrink: 0; }
@media (max-width: 639px) { .appi { font-size: 16px; gap: 10px; } .appi svg { width: 21px; height: 21px; } .mtrack { gap: 2rem; padding-inline-end: 2rem; } .marq2 { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); } }
@media (prefers-reduced-motion: reduce) { .mtrack { animation: none; } }

/* ---------- dialects v3: one wide stage per dialect, the product UI drawn on top (⌥ held + pill, what was said, the clean message) ---------- */
.d3stage { position: relative; direction: ltr; margin-top: 40px; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; background: #000; }
:root[data-theme="dark"] .d3stage { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.d3scene { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.d3scene.on { opacity: 1; }
.d3scene video { width: 100%; height: 100%; object-fit: cover; display: block; }
.d3ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(55% 60% at 40% 50%, #5A2614, #1A100C 75%); color: rgba(255,255,255,.55); font-size: 14px; }
.d3ph img { height: 46%; width: auto; filter: drop-shadow(0 18px 20px rgba(0,0,0,.5)); }
.d3stage::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.55)); pointer-events: none; }
.d3tag { position: absolute; z-index: 2; top: 18px; left: 18px; height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 16px; background: rgba(20,18,16,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #F3EFEB; font-size: 14px; font-weight: 600; }
.d3said { position: absolute; z-index: 2; top: 9%; right: 4%; max-width: 44%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(20,18,16,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #E9E3DD; font-size: 17px; line-height: 1.6; text-align: right; opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s; }
.d3said b { color: #FF9B7A; font-weight: 500; }
.d3stage.said .d3said { opacity: 1; transform: none; }
.d3stage.hold .d3said .dw i { animation: talk .45s ease-in-out infinite alternate; }
.d3ctl { position: absolute; z-index: 2; bottom: 6%; left: 4%; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.d3stage.in .d3ctl { opacity: 1; transform: none; }
.d3key { direction: ltr; position: relative; width: 58px; height: 50px; border-radius: 10px; background: linear-gradient(180deg, #FBFAF9, #E9E5E0); color: #3D3833; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 5px 0 #B8B1A9, 0 10px 18px rgba(0,0,0,.45); transition: transform .12s, box-shadow .12s; }
.d3key b { position: absolute; top: 6px; right: 8px; font-size: 14px; font-weight: 500; line-height: 1; }
.d3key small { position: absolute; bottom: 6px; left: 8px; font-size: 9.5px; font-weight: 500; line-height: 1; }
.d3stage.hold .d3key { transform: translateY(5px); box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 0 #B8B1A9, 0 0 0 2px rgba(255,122,85,.9), 0 6px 14px rgba(0,0,0,.4); }
.d3pill { height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 22px; background: #1A1714; color: #CFC8C1; font-size: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); }
.d3pill-l:empty { display: none; }
.d3msg { position: absolute; z-index: 2; bottom: 6%; right: 4%; max-width: 46%; display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #FFFFFF; color: #1A1714; font-size: 17px; font-weight: 500; line-height: 1.6; text-align: right; box-shadow: 0 18px 44px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .4s, transform .45s cubic-bezier(.2,.8,.2,1); }
.d3msg .dok { margin-top: 3px; }
.d3stage.written .d3msg { opacity: 1; transform: none; }
.d3stage.written .d3said { opacity: .0; }
.d3tabs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.d3tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 10px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--sec); font-size: 15px; font-weight: 600; }
.d3tab img { height: 34px; width: auto; }
.d3tab.on { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.d3prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.d3tab.on.run .d3prog { animation: tabprog 7.4s linear forwards; }
.fam-q { width: 64px; height: 84px; border-radius: 26px; background: var(--ctl); color: var(--muted); display: grid; place-items: center; font-size: 30px; font-weight: 700; opacity: .7; }
@media (max-width: 760px) {
  .d3stage { aspect-ratio: 4 / 5; border-radius: 24px; }
  .d3scene video { object-position: 34% 50%; }
  .d3said { top: 60px; left: 12px; right: 12px; max-width: none; font-size: 15px; }
  .d3ctl { bottom: 14px; left: 12px; }
  .d3msg { left: 12px; right: 12px; bottom: 14px; max-width: none; font-size: 15px; }
  .d3stage.written .d3ctl { opacity: 0; }
  .d3key { width: 50px; height: 44px; }
  .d3tab { height: 44px; padding: 0 14px 0 8px; font-size: 14px; } .d3tab img { height: 28px; }
  .fam-q { width: 50px; height: 64px; font-size: 24px; }
}
@media (max-width: 760px) { .d3tabs { gap: 6px; flex-wrap: nowrap; } .d3tab { height: 40px; padding: 0 10px 0 6px; gap: 6px; font-size: 13px; } .d3tab img { height: 24px; } }

/* ---------- dialects v3: everything written sits on the right — key + pill stacked above the message; a finger presses ⌥ ---------- */
.d3right { position: absolute; z-index: 2; right: 4%; bottom: 6%; max-width: 46%; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.d3right .d3ctl { position: static; }
.d3right .d3msg { position: static; max-width: 100%; }
.d3keyw { position: relative; display: inline-block; }
.d3finger { position: absolute; left: 50%; bottom: 30px; margin-left: -15px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); transform: translateY(-26px); opacity: 0; transition: transform .22s cubic-bezier(.3,.7,.4,1), opacity .25s; }
.d3stage.in .d3finger { opacity: 1; }
.d3stage.hold .d3finger { transform: translateY(4px); }
.d3stage.writing .d3finger, .d3stage.written .d3finger { transform: translateY(-26px); opacity: 0; }
.d3ctl { margin-top: 22px; }
@media (max-width: 760px) {
  .d3right { left: 12px; right: 12px; bottom: 14px; max-width: none; }
  .d3right .d3msg { align-self: stretch; }
  .d3stage.written .d3ctl { opacity: 1; }
  .d3finger { transform: translateY(-22px) scale(.85); } .d3stage.hold .d3finger { transform: translateY(4px) scale(.85); }
}
.d3keyw .d3key { display: block; }
.okmsg { height: auto; min-height: 48px; padding-block: 10px; line-height: 1.5; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar[dir="ltr"] a svg { transform: none !important; }
