/* Reland landing */
@font-face { font-family: 'Vidaloka'; src: url('../fonts/vidaloka.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
	--ink: #0b0b0d;
	--ink-2: #121215;
	--ink-3: #1a1a1f;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--paper: #f7f3ed;
	--paper-2: #efe7dc;
	--card: #fffdf9;
	--text: #1b1a1e;
	--muted: #6c665e;
	--on-dark: #ece6dc;
	--on-dark-muted: #a29b91;
	--gold: #bd9a68;
	--gold-hi: #e3c690;
	--gold-lo: #8a673a;
	--gold-grad: linear-gradient(100deg, #9c7746 0%, #d3af79 35%, #f1ddb4 50%, #c9a26c 68%, #9c7746 100%);
	--serif: 'Vidaloka', Georgia, 'Times New Roman', serif;
	--sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1240px;
	--r: 18px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--on-dark); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; line-height: 1.08; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
section { position: relative; }

/* Kicker */
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.kicker i { width: 34px; height: 1px; background: currentColor; }

/* Buttons */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 24px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; position: relative; overflow: hidden; }
.btn-lg { --h: 56px; padding: 0 32px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #17120b; box-shadow: 0 10px 30px -10px rgba(189, 154, 104, .65); }
.btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 36px -12px rgba(189, 154, 104, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--on-dark); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.light .btn-ghost { border-color: rgba(0, 0, 0, .16); color: var(--text); background: transparent; }
.light .btn-ghost:hover { border-color: var(--gold-lo); color: var(--gold-lo); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: border-color .4s; border-bottom: 1px solid transparent; }
/* Blur layer: keeps fixed menu fullscreen */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11, 11, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.scrolled { border-color: var(--line); }
.site-header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .4s; }
.scrolled .nav { height: 70px; }
.brand img { width: 136px; height: auto; }
.menu { display: flex; gap: 30px; margin-inline-start: auto; }
.menu a { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-muted); transition: color .25s; }
.menu a:hover { color: var(--gold-hi); }
.menu-foot { display: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { --h: 42px; padding: 0 20px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; position: relative; margin-inline-start: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--on-dark); transition: transform .35s var(--ease), top .35s var(--ease), right .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; right: 19px; }
.menu-open .burger { border-color: rgba(227, 198, 144, .55); }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; right: 13px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 150px 0 0; overflow: hidden; background:
	radial-gradient(50% 45% at 80% 18%, rgba(189, 154, 104, .16), transparent 65%),
	radial-gradient(40% 40% at 6% 40%, rgba(189, 154, 104, .08), transparent 70%),
	radial-gradient(60% 40% at 50% 100%, rgba(189, 154, 104, .14), transparent 70%),
	linear-gradient(180deg, #0d0c0b, var(--ink) 70%); }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(80% 75% at 55% 30%, #000 15%, transparent 75%); mask-image: radial-gradient(80% 75% at 55% 30%, #000 15%, transparent 75%); opacity: .45; pointer-events: none; }
.hero-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px 60px; align-items: end; position: relative; }
.hero h1 { font-size: clamp(40px, 4.5vw, 60px); margin: 22px 0 0; }
@media (min-width: 1280px) { .hero h1 { font-size: 60px; } }
.hero h1 .ar { font-family: system-ui, 'Segoe UI', Tahoma, sans-serif; font-size: .7em; font-weight: 600; text-transform: none; }
.hero .lead { font-size: 17px; }
.hero .hero-actions { margin-top: 26px; }
.hero .trust { margin-top: 24px; }

/* LTR and RTL view */
.dir-view { position: relative; margin-top: 48px; border-radius: 16px 16px 0 0; overflow: hidden; background: #1c1c21; box-shadow: 0 -24px 80px -30px rgba(189, 154, 104, .4), 0 0 0 1px rgba(189, 154, 104, .3); -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent); mask-image: linear-gradient(180deg, #000 74%, transparent); }
.dir-panes { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.dir-panes img { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 1044; object-fit: cover; }
.dir-panes::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--gold-grad); box-shadow: 0 0 24px rgba(227, 198, 144, .6); }
.dir-tag { position: absolute; left: 50%; top: calc(27px + 13%); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; border-radius: 999px; overflow: hidden; border: 1px solid rgba(227, 198, 144, .6); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }
.dir-tag span { display: flex; align-items: center; gap: 8px; padding: 9px 16px; background: rgba(11, 11, 13, .86); color: var(--on-dark); font-size: 13px; font-weight: 600; white-space: nowrap; }
.dir-tag span:first-child { justify-content: flex-end; }
.dir-tag span + span { background: var(--gold-grad); color: #17120b; font-family: system-ui, 'Segoe UI', Tahoma, sans-serif; font-size: 14px; }
.dir-tag b { font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1; color: var(--gold-hi); }
.dir-tag span + span b { color: #17120b; }
.lead { font-size: 18px; color: var(--on-dark-muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 38px; font-size: 13px; color: var(--on-dark-muted); }
.trust li { padding-inline-end: 22px; margin-inline-end: 22px; border-inline-end: 1px solid var(--line-2); line-height: 1.3; }
.trust li:last-child { border: 0; margin: 0; padding: 0; }
.trust b { color: var(--on-dark); font-weight: 700; }
.stars { color: var(--gold); letter-spacing: 2px; margin-inline-end: 6px; }

/* Device frames */
.device { margin: 0; position: relative; }
.device.desktop { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #1c1c21; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a42; }
.chrome i:first-child { background: #c86a5a; }
.chrome i:nth-child(2) { background: #d6aa55; }
.chrome i:nth-child(3) { background: #6a9f62; }
.chrome span { margin-inline-start: 14px; flex: 1; max-width: 260px; height: 18px; border-radius: 9px; background: #2a2a31; color: #b0aba4; font-size: 10px; line-height: 18px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device.phone { width: 26%; border-radius: 28px; padding: 7px; background: #101013; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.device.phone img { border-radius: 22px; }
.device.tablet { width: 34%; border-radius: 22px; padding: 9px; background: #101013; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.device.tablet img { border-radius: 14px; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 38px 10px; text-align: center; }
.stats-grid div + div { border-inline-start: 1px solid var(--line); }
.stats-grid b { display: block; font: 400 clamp(40px, 4.4vw, 58px)/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.ticker { border-top: 1px solid var(--line); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: slide 50s linear infinite; }
.ticker span { font: 400 20px/1 var(--serif); text-transform: uppercase; color: var(--on-dark); padding: 0 26px; display: flex; align-items: center; gap: 52px; white-space: nowrap; }
.ticker span::after { content: '✦'; color: var(--gold); font-size: 14px; margin-inline-start: 26px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Section heads */
.demos, .features, .global, .faq { background: var(--paper); color: var(--text); }
.head { max-width: 720px; margin-bottom: 64px; }
.head.center { text-align: center; margin-inline: auto; }
.head h2 { font-size: clamp(34px, 4vw, 56px); margin: 18px 0 18px; }
.head > p:not(.kicker) { font-size: 17px; color: var(--muted); }
.video .head > p, .steps .head > p, .pricing .head > p:not(.kicker), .library .head > p:not(.kicker) { color: var(--on-dark-muted); }
.light .kicker { color: var(--gold-lo); }

/* Demos */
.demos { padding: 130px 0 120px; }
.dir-switch { display: inline-flex; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid rgba(0, 0, 0, .06); }
.dir-switch button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.dir-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 30px; }
.demo a { display: block; position: relative; text-decoration: none; color: var(--text); border-radius: 18px; background: var(--card); padding: 10px 10px 0; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -30px rgba(52, 36, 14, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.demo a:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--gold), 0 40px 70px -34px rgba(52, 36, 14, .6); }
.shot { display: block; position: relative; overflow: hidden; border-radius: 10px; background: #ece7df; }
.shot .chrome { height: 24px; background: #f0ebe3; padding: 0 10px; gap: 5px; direction: ltr; }
.shot .chrome i { width: 7px; height: 7px; }
.shot img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 0; }
.is-short .shot img { object-fit: contain; background: #fbfaf8; }
.badge { position: absolute; top: 22px; inset-inline-end: 22px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--gold-hi); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.meta { display: flex; align-items: center; gap: 16px; padding: 16px 8px 18px; }
.num { font: 400 34px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.name { display: flex; flex-direction: column; font: 400 19px/1.2 var(--serif); text-transform: uppercase; }
.name small { font: 500 12px/1.5 var(--sans); text-transform: none; letter-spacing: .02em; color: var(--muted); margin-top: 3px; }
.go { margin-inline-start: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); font-size: 16px; transition: background-color .35s, color .35s, transform .35s var(--ease), border-color .35s; }
.demo a:hover .go { background: var(--ink); color: var(--gold-hi); border-color: var(--ink); transform: rotate(-45deg); }
.demos[data-dir="rtl"] .go { transform: scaleX(-1); }
.demos[data-dir="rtl"] .demo a:hover .go { transform: scaleX(-1) rotate(-45deg); }
.inner-pages { margin-top: 70px; padding: 30px 34px; border-radius: var(--r); border: 1px dashed rgba(138, 103, 58, .45); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.inner-pages p { font-size: 15px; }
.inner-pages ul { display: flex; flex-wrap: wrap; gap: 8px; }
.inner-pages li { padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: 13px; color: var(--muted); box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }

/* Arabic demo cards */
@font-face { font-family: 'El Messiri'; src: url('../fonts/elmessiri-arabic.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-400-arabic.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-500-arabic.woff2') format('woff2'); font-weight: 500 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
.demo-grid[lang="ar"] .name { font-family: 'El Messiri', var(--serif); font-weight: 600; }
.demo-grid[lang="ar"] .name small, .demo-grid[lang="ar"] .badge, .inner-pages[lang="ar"] { font-family: 'Tajawal', var(--sans); }
.demo-grid[lang="ar"] .name small, .demo-grid[lang="ar"] .badge { letter-spacing: 0; }

/* Video */
.video { padding: 130px 0; background: radial-gradient(50% 70% at 85% 50%, rgba(189, 154, 104, .13), transparent 70%), var(--ink-2); }
.video-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.video h2 { font-size: clamp(34px, 4vw, 56px); margin: 18px 0; }
.video-copy > p:not(.kicker) { color: var(--on-dark-muted); }
.chapters { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chapters li { display: flex; }
.chapters button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13px; font-weight: 500; color: var(--on-dark); cursor: pointer; transition: border-color .25s, background-color .25s; }
.chapters button:hover { border-color: var(--gold); background: rgba(189, 154, 104, .08); }
.chapters span { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); min-width: 34px; }
@media (min-width: 1101px) and (max-width: 1335px) { .chapters button { padding: 10px 12px; gap: 10px; } }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2); }
.yt-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.yt-play img { filter: brightness(.8); }
.yt-play:hover img { transform: scale(1.03); filter: brightness(.65); }
.play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 14px rgba(189, 154, 104, .2), 0 20px 50px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.play::after { content: ''; position: absolute; left: 37px; top: 30px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #17120b; }
.yt-play:hover .play, .yt-play:focus-visible .play { transform: scale(1.08); }
.yt-play::before { content: ''; position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s ease-out infinite; z-index: 1; pointer-events: none; }
@keyframes ping { to { transform: scale(2); opacity: 0; } }
.yt-time { position: absolute; right: 16px; bottom: 16px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .7); font-size: 12px; font-weight: 600; color: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Features bento */
.features { padding: 130px 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.tile { position: relative; overflow: hidden; border-radius: 22px; background: var(--card); padding: 34px 34px 0; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -34px rgba(52, 36, 14, .5); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(189, 154, 104, .5), 0 34px 60px -34px rgba(52, 36, 14, .55); }
.tile h3 { font-size: clamp(22px, 2vw, 28px); margin: 14px 0 12px; }
.tile p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lo); }
.tile-shot { margin: 28px -6px 0; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .06); flex: 1; min-height: 180px; }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 1.2s var(--ease); }
.tile:hover .tile-shot img { transform: scale(1.04); }
.t-widgets { grid-column: span 4; grid-row: span 2; background: var(--ink); color: var(--on-dark); }
.t-widgets p { color: var(--on-dark-muted); }
.t-widgets .tag { color: var(--gold); }
.t-widgets .tile-shot { box-shadow: 0 0 0 1px var(--line-2); }
.t-library { grid-column: span 2; grid-row: span 2; }
.t-library .tile-shot img { object-position: 30% 0; }
.t-import, .t-hf, .t-mega { grid-column: span 2; }
.t-global { grid-column: span 3; padding-bottom: 34px; }
.t-more { grid-column: span 3; padding-bottom: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--on-dark); }
.chips li:last-child { border-color: var(--gold); color: var(--gold-hi); }
.styles-demo { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.swatches { display: flex; }
.swatches i { width: 52px; height: 52px; border-radius: 50%; background: var(--c); border: 3px solid var(--card); margin-inline-start: -12px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); transition: transform .4s var(--ease); }
.swatches i:first-child { margin-inline-start: 0; outline: 2px solid var(--gold); outline-offset: 2px; }
.t-global:hover .swatches i { transform: translateX(calc(var(--k, 0) * 1px)); }
.t-global:hover .swatches i:nth-child(2) { --k: 10; }
.t-global:hover .swatches i:nth-child(3) { --k: 20; }
.t-global:hover .swatches i:nth-child(4) { --k: 30; }
.type-pair { display: flex; gap: 14px; margin-inline-start: auto; }
.type-pair span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--paper); font-size: 30px; color: var(--text); }
.type-pair .serif { font-family: var(--serif); }
.type-pair .sans { font-family: var(--sans); font-weight: 700; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.t-more .ticks { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ticks li { position: relative; padding-inline-start: 30px; font-size: 14.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(189, 154, 104, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a673a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }

/* Library marquee */
.library { padding: 130px 0 120px; background: var(--ink); overflow: hidden; }
.library .head h2 { color: var(--on-dark); }
.marquee { overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: slide 70s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 220px; width: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, .8); }

/* RTL + responsive */
.global { padding: 130px 0 100px; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: center; }
.split + .split { margin-top: 130px; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.rev .split-copy { order: 2; }
.split h2 { font-size: clamp(34px, 4vw, 54px); margin: 18px 0; }
.split-copy > p:not(.kicker) { color: var(--muted); font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lo); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.split-visual { position: relative; padding: 10px 0 50px; }
.rtl-visual .desktop { width: 92%; margin-inline-start: auto; }
.rtl-visual .phone { position: absolute; left: 0; bottom: 0; width: 24%; }
.devices { padding-bottom: 70px; }
.devices .desktop { width: 84%; }
.devices .tablet { position: absolute; right: 9%; bottom: 0; width: 30%; }
.devices .phone { position: absolute; right: 0; bottom: 4%; width: 17%; border-radius: 22px; padding: 5px; }
.devices .phone img { border-radius: 17px; }
.global .device.desktop { box-shadow: 0 40px 80px -36px rgba(52, 36, 14, .55), 0 0 0 1px rgba(0, 0, 0, .06); }

/* Steps */
.steps { padding: 130px 0 40px; background: var(--ink); }
.steps .head h2 { color: var(--on-dark); }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step-list li { position: relative; padding: 40px 34px 38px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.step-list li:not(:last-child)::after { content: ''; position: absolute; top: 62px; right: -22px; width: 22px; height: 1px; background: var(--gold); }
.step-n { font: 400 54px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-list h3 { font-size: 26px; margin: 22px 0 10px; }
.step-list p { color: var(--on-dark-muted); font-size: 15px; }

/* Pricing */
.pricing { padding: 130px 0; background: radial-gradient(45% 55% at 70% 45%, rgba(189, 154, 104, .16), transparent 70%), var(--ink); }
.pricing .head h2 { color: var(--on-dark); }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px; max-width: 980px; margin-inline: auto; align-items: center; }
.plan { position: relative; border-radius: 26px; padding: 42px 40px; border: 1px solid var(--line); background: var(--ink-2); }
.plan header { margin-bottom: 26px; }
.plan-src { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }
.plan h3 { font-size: 30px; margin: 10px 0 6px; }
.plan-license { font-size: 14px; color: var(--on-dark-muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.amount { font: 400 64px/1 var(--serif); color: var(--on-dark); }
.amount sup { position: relative; top: -1.05em; margin-inline-start: 2px; font-size: .42em; vertical-align: baseline; }
.was { font: 400 26px/1 var(--serif); color: var(--on-dark-muted); text-decoration-color: rgba(200, 106, 90, .9); text-decoration-thickness: 2px; }
.save { align-self: center; padding: 6px 12px; border-radius: 999px; background: rgba(106, 159, 98, .16); color: #9fd196; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.price-note { margin: 10px 0 28px; font-size: 13px; color: var(--on-dark-muted); }
.checks { display: grid; gap: 13px; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding-inline-start: 34px; font-size: 15px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.checks .yes::before { background-color: rgba(189, 154, 104, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3c690' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks .no { color: #8a847d; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .18); }
.checks .no::before { background-color: rgba(255, 255, 255, .05); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23716b64' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.checks b { color: var(--gold-hi); font-weight: 700; }
.plan-direct { padding: 52px 44px; background: linear-gradient(var(--ink-3), var(--ink-3)) padding-box, linear-gradient(140deg, #f1ddb4, #8a673a 40%, #bd9a68 70%, #f1ddb4) border-box; border: 1.5px solid transparent; box-shadow: 0 50px 100px -40px rgba(189, 154, 104, .45); }
.plan-direct .amount { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 76px; }
.plan-direct .plan-src { color: var(--gold); }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 7px 18px; border-radius: 999px; background: var(--gold-grad); color: #17120b; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(189, 154, 104, .8); }
.pay-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; max-width: 720px; margin: 44px auto 0; padding: 20px 28px; border-radius: 20px; border: 1px solid rgba(255, 194, 51, .3); background: linear-gradient(135deg, rgba(255, 194, 51, .09), rgba(255, 255, 255, .02) 60%); text-align: center; box-shadow: 0 20px 50px -30px rgba(255, 194, 51, .35); }
.pay-lock { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 194, 51, .15); color: #ffc233; }
.pay-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pay-by { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); }
.ls-logo { display: inline-flex; align-items: center; gap: 8px; font: 800 19px/1 var(--sans); letter-spacing: -.01em; color: #fff; }
.ls-logo svg { width: 26px; height: 26px; fill: #ffc233; }
.pay-text { flex-basis: 100%; font-size: 13px; color: var(--on-dark-muted); }

/* FAQ */
.faq { padding: 130px 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.faq .head { position: sticky; top: 110px; margin: 0; }
.faq .head a { color: var(--gold-lo); font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 14px 30px -24px rgba(52, 36, 14, .45); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px rgba(189, 154, 104, .5), 0 20px 40px -28px rgba(52, 36, 14, .5); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a673a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.cta { padding: 150px 0; text-align: center; overflow: hidden; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 80% at 50% 50%, rgba(11, 11, 13, .35), rgba(11, 11, 13, .92)), linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, var(--ink)); }
.cta-wrap { position: relative; z-index: 2; max-width: 860px; }
.cta h2 { font-size: clamp(38px, 5vw, 72px); margin: 22px 0; }
.cta p:not(.kicker) { color: var(--on-dark-muted); font-size: 18px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding: 80px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 136px; }
.foot-brand p { margin: 18px 0 22px; color: var(--on-dark-muted); max-width: 300px; }
.by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark-muted); font-size: 12px; }
.by img { width: 92px; height: auto; }
.site-footer h3 { font: 700 12px/1 var(--sans); letter-spacing: .22em; color: var(--gold); margin-bottom: 20px; }
.site-footer nav a { display: block; text-decoration: none; color: var(--on-dark-muted); padding: 5px 0; transition: color .25s; }
.site-footer nav a:hover { color: var(--gold-hi); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: #8f8981; }

/* Mobile buy bar */
.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(18, 18, 21, .9); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); transform: translateY(140%); transition: transform .5s var(--ease); font-size: 13px; }
.buybar b { color: var(--gold-hi); font-weight: 700; }
.buybar .btn { --h: 40px; padding: 0 18px; font-size: 12px; }
.buybar.show { transform: none; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.demo-grid .demo:nth-child(3n+2) { transition-delay: .08s; }
.demo-grid .demo:nth-child(3n) { transition-delay: .16s; }

/* Large tablet */
@media (max-width: 1100px) {
	.menu { gap: 22px; }
	.nav-cta .btn-ghost { display: none; }
	.hero-wrap { grid-template-columns: 1fr; gap: 24px; }
	.hero-copy { max-width: 720px; }
	.video-wrap, .split, .split.rev, .faq-wrap { grid-template-columns: 1fr; gap: 50px; }
	.split.rev .split-copy { order: 0; }
	.faq .head { position: static; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.t-widgets, .t-library, .t-global, .t-more { grid-column: span 2; grid-row: auto; }
	.t-import, .t-hf, .t-mega { grid-column: span 1; }
	.t-mega { grid-column: span 2; }
	.t-library .tile-shot { max-height: 380px; }
}

/* Tablet */
@media (max-width: 860px) {
	/* Menu sheet */
	.menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; gap: 0; margin: 0; padding: 92px 24px 28px; background: radial-gradient(90% 45% at 50% 0%, rgba(189, 154, 104, .22), transparent 70%), var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; counter-reset: m; }
	.menu > a { counter-increment: m; display: flex; align-items: center; gap: 14px; padding: 17px 4px; border-bottom: 1px solid var(--line); font: 400 22px/1.2 var(--serif); letter-spacing: .02em; color: var(--on-dark); opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .25s; }
	.menu > a::before { content: counter(m, decimal-leading-zero); width: 22px; font: 600 12px/1 var(--sans); letter-spacing: .08em; color: var(--gold); }
	.menu > a::after { content: ""; width: 18px; height: 18px; margin-inline-start: auto; background: currentColor; opacity: .45; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease), opacity .3s; }
	.menu > a:hover, .menu > a:focus-visible { color: var(--gold-hi); }
	.menu > a:hover::after { opacity: 1; transform: translateX(4px); }
	.menu-open .menu > a { opacity: 1; transform: none; }
	.menu-open .menu > a:nth-child(2) { transition-delay: .04s; }
	.menu-open .menu > a:nth-child(3) { transition-delay: .08s; }
	.menu-open .menu > a:nth-child(4) { transition-delay: .12s; }
	.menu-open .menu > a:nth-child(5) { transition-delay: .16s; }
	.menu-open .menu > a:nth-child(6) { transition-delay: .2s; }
	.menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 28px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease) .26s, transform .45s var(--ease) .26s; }
	.menu-open .menu-foot { opacity: 1; transform: none; }
	.menu-foot .btn { --h: 48px; padding: 0 14px; font-size: 13px; }
	.menu-foot .btn-gold, .menu-foot .btn-gold:hover { color: #17120b; }
	.menu-foot .btn-ghost { color: var(--on-dark); }
	.menu-foot p { grid-column: 1 / -1; margin-top: 6px; text-align: center; font-size: 13px; color: var(--on-dark-muted); }
	.menu-open .site-header::before { opacity: 1; }
	.menu-open .menu { opacity: 1; visibility: visible; }
	.menu-open { overflow: hidden; }
	.nav-cta { display: none; }
	.burger { display: block; }
	.demo-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid div:nth-child(3) { border-inline-start: 0; }
	.stats-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.step-list { grid-template-columns: 1fr; }
	.step-list li:not(:last-child)::after { display: none; }
	.plans { grid-template-columns: 1fr; max-width: 540px; }
	.plan-direct { order: -1; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: span 2; }
	.buybar { display: flex; }
	.dir-tag span { padding: 7px 12px; font-size: 12px; }
	.dir-tag b { font-size: 16px; }
}

/* Phone */
@media (max-width: 560px) {
	body { font-size: 15px; }
	.wrap { width: calc(100% - 32px); }
	.nav { height: 70px; }
	.brand img { width: 118px; }
	.hero { padding: 120px 0 0; }
	.lead { font-size: 16px; }
	.hero-actions .btn { width: 100%; }
	.trust { gap: 8px 18px; }
	.trust li + li::before { display: none; }
	.dir-view { margin-top: 36px; }
	.dir-panes img { aspect-ratio: 390 / 590; }
	.dir-tag span { padding: 7px 10px; font-size: 11px; gap: 6px; }
	.dir-tag span + span { font-size: 12px; }
	.dir-tag b { font-size: 15px; }
	.demos, .video, .features, .library, .global, .pricing, .faq { padding: 90px 0; }
	.steps { padding: 90px 0 20px; }
	.head { margin-bottom: 44px; }
	.head > p:not(.kicker) { font-size: 15.5px; }
	.demo-grid { grid-template-columns: 1fr; }
	.inner-pages { padding: 24px 20px; }
	.chapters { grid-template-columns: 1fr; }
	.bento { grid-template-columns: 1fr; }
	.t-widgets, .t-library, .t-global, .t-more, .t-import, .t-hf, .t-mega { grid-column: span 1; }
	.tile { padding: 26px 22px 0; }
	.t-global, .t-more { padding-bottom: 26px; }
	.t-more .ticks { grid-template-columns: 1fr; }
	.styles-demo { flex-wrap: wrap; }
	.marquee img { height: 150px; }
	.split + .split { margin-top: 90px; }
	.plan, .plan-direct { padding: 36px 24px; }
	.amount { font-size: 54px; }
	.plan-direct .amount { font-size: 62px; }
	.faq summary { padding: 18px 20px; font-size: 15px; }
	.faq details p { padding: 0 20px 20px; }
	.cta { padding: 110px 0; }
	.foot-grid { grid-template-columns: 1fr; }
	.foot-brand { grid-column: auto; }
	.dir-switch button { padding: 9px 14px; font-size: 12px; }
}

/* Less motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
