/* Limn — limnapp.tech. Graphite + indigo (the apps' own tokens), with light: aurora, glass, glow. */
:root {
  --bg0: #07070a;
  --bg1: #0b0b0f;
  --bg2: #131318;
  --bg3: #1b1b22;
  --bg4: #25252e;
  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.13);
  --text: #f1f1f6;
  --text2: #b4b4c4;
  --dim: #7b7b8c;
  --accent: #6e72f7;
  --accent2: #9a9dff;
  --violet: #a56bff;
  --cyan: #37c6d6;
  --pink: #e05fa7;
  --green: #2fc98a;
  --amber: #f0b03c;
  --video: #2b5cc0;
  --audio: #1c8f68;
  --comp: #7446c9;
  --textc: #b8741f;
  --grad: linear-gradient(100deg, #9a9dff 0%, #a56bff 38%, #e05fa7 70%, #f0b03c 105%);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
}
html:is([lang="fa"],[lang="ar"]) { --display: "Vazirmatn", "Segoe UI", Tahoma, sans-serif; --body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg1); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html:is([lang="fa"],[lang="ar"]) body { line-height: 1.95; }
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
html:is([lang="fa"],[lang="ar"]) h1, html:is([lang="fa"],[lang="ar"]) h2, html:is([lang="fa"],[lang="ar"]) h3 { line-height: 1.45; letter-spacing: 0; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.viz { direction: ltr; text-align: left; font-family: "Manrope", sans-serif; line-height: 1.4; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
.gt { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }

/* ── top bar ── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 15, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; direction: ltr; }
.brand svg { width: 28px; height: 28px; filter: drop-shadow(0 0 12px rgba(110, 114, 247, 0.6)); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; font-size: 14.5px; color: var(--text2); }
.nav a { padding: 7px 13px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a.on { color: var(--text); background: rgba(110, 114, 247, 0.18); }
.lang { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; color: var(--text2); }
.lang:hover { color: var(--text); border-color: var(--accent); }
.lang svg { width: 15px; height: 15px; }
.top .btn { min-height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 999px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 12px; background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }

/* ── buttons ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { color: #fff; background: linear-gradient(180deg, #8286ff, #5d61ee); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 10px 34px rgba(110, 114, 247, 0.45); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 16px 44px rgba(110, 114, 247, 0.6); }
.btn.ghost { border-color: var(--line2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn.ghost:hover { border-color: var(--accent2); background: rgba(110, 114, 247, 0.1); }
.btn.off { background: var(--bg3); color: var(--dim); border-color: var(--line2); cursor: default; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent2); font-weight: 700; font-size: 15.5px; }
.more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.more:hover svg { transform: translateX(4px); }
html[dir="rtl"] .more svg { transform: scaleX(-1); }
html[dir="rtl"] .more:hover svg { transform: scaleX(-1) translateX(4px); }

/* ── hero ── */
.hero { position: relative; padding: 92px 0 30px; isolation: isolate; }
.hero.sub { padding: 76px 0 10px; }
.aurora { position: absolute; inset: -160px 0 auto; height: 900px; z-index: -2; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: 8%; top: 40px; background: #5a5ff0; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: 6%; top: 120px; background: #a44dff; animation-duration: 23s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; left: 42%; top: 300px; background: #e0508f; opacity: 0.32; animation-duration: 27s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 380px; height: 380px; left: 30%; top: -60px; background: #2aa9c9; opacity: 0.3; animation-duration: 21s; }
@keyframes drift { from { transform: translate(-40px, -20px) scale(1); } to { transform: translate(60px, 50px) scale(1.18); } }
.gridbg { position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero .wrap { text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); color: var(--text2); font-size: 13.5px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 201, 138, 0.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 201, 138, 0); } }
.hero h1 { margin: 26px auto 0; max-width: 14ch; font-size: clamp(46px, 8.2vw, 104px); }
.hero.sub h1 { max-width: 17ch; font-size: clamp(40px, 6.4vw, 78px); }
html:is([lang="fa"],[lang="ar"]) .hero h1 { max-width: 16ch; font-size: clamp(38px, 6.6vw, 80px); }
html:is([lang="fa"],[lang="ar"]) .hero.sub h1 { max-width: 18ch; font-size: clamp(34px, 5.4vw, 64px); }
.hero .lead { margin: 26px auto 0; max-width: 60ch; color: var(--text2); font-size: clamp(17px, 1.6vw, 20px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-note { margin-top: 14px; color: var(--dim); font-size: 14px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 20px; direction: ltr; }
.kicker svg { width: 40px; height: 40px; filter: drop-shadow(0 0 18px rgba(110, 114, 247, 0.7)); }

/* ── the stage: the app window, tilted, glowing ── */
.stage { position: relative; margin: 70px auto 0; max-width: 1080px; perspective: 1800px; }
.stage::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; background: conic-gradient(from 200deg at 50% 50%, #6e72f7, #a56bff, #e05fa7, #37c6d6, #6e72f7); filter: blur(80px); opacity: 0.5; animation: hue 14s linear infinite; }
@keyframes hue { to { filter: blur(80px) hue-rotate(360deg); } }
.shot { position: relative; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: var(--bg0); box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(110, 114, 247, 0.12); overflow: hidden; transform: rotateX(9deg) scale(0.98); transform-origin: 50% 0; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.stage.flat .shot { transform: none; }
.shot-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: linear-gradient(180deg, #1a1a21, #131318); border-bottom: 1px solid var(--line); font: 600 12.5px "Manrope", sans-serif; color: var(--text2); }
.shot-bar svg { width: 16px; height: 16px; }
.shot-bar .dots { display: flex; gap: 6px; margin-left: auto; }
.shot-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg4); }
.shot-bar em { font: 400 12px var(--mono); color: var(--dim); font-style: normal; margin-left: 14px; }
.shot-body { display: grid; grid-template-columns: 46px 1fr 290px; }
.tools { background: var(--bg2); border-right: 1px solid var(--line); padding: 10px 0; display: grid; gap: 8px; justify-items: center; align-content: start; }
.tools i { width: 26px; height: 26px; border-radius: 8px; background: var(--bg3); }
.tools i:nth-child(2) { background: var(--accent); box-shadow: 0 0 16px rgba(110, 114, 247, 0.7); }
.shot-view { position: relative; aspect-ratio: 16 / 8.4; background: radial-gradient(120% 90% at 30% 20%, #23264a, #101118 60%, #09090d); border-right: 1px solid var(--line); overflow: hidden; }
.shot-view .frame { position: absolute; inset: 8% 33%; border-radius: 12px; background: radial-gradient(120% 80% at 30% 10%, #8f6bff, transparent 55%), radial-gradient(90% 70% at 90% 100%, #e05fa7, transparent 60%), linear-gradient(160deg, #3b40c9, #151739); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; display: grid; place-items: center; overflow: hidden; }
.shot-view .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%); transform: translateX(-100%); animation: glint 5.5s ease-in-out infinite; }
@keyframes glint { 55%, 100% { transform: translateX(100%); } }
.shot-view .frame svg { width: 40%; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4)); }
.shot-view .frame svg path { stroke: #fff; fill: #fff; }
.shot-view .frame svg path:first-child { fill: none; }
.shot-view .cap { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); padding: 5px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(6px); color: #fff; font: 700 12.5px "Manrope", sans-serif; white-space: nowrap; }
.shot-view .safe { position: absolute; inset: 8% 33%; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px; }
.shot-side { background: var(--bg2); padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; min-width: 0; }
.shot-side b { font: 700 10.5px "Manrope", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.bubble { padding: 10px 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line2); color: var(--text); line-height: 1.5; }
.bubble.me { background: linear-gradient(180deg, rgba(110, 114, 247, 0.26), rgba(110, 114, 247, 0.12)); border-color: rgba(110, 114, 247, 0.5); }
.type::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent2); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--text2); }
.steps li { display: flex; gap: 8px; align-items: center; }
.steps li::before { content: ""; width: 13px; height: 13px; flex: none; border-radius: 50%; border: 1.5px solid var(--green); background: radial-gradient(circle, var(--green) 38%, transparent 42%); }
.steps li.now::before { border-color: var(--accent2); background: none; animation: spin 1.1s linear infinite; border-right-color: transparent; }
.bar { height: 4px; border-radius: 4px; background: var(--bg3); overflow: hidden; margin-top: auto; }
.bar i { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: 4px; animation: grow 6s ease-in-out infinite; }
.tl { position: relative; padding: 12px 14px 16px; background: var(--bg1); border-top: 1px solid var(--line); display: grid; gap: 6px; }
.tl .ruler { height: 14px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 44px); opacity: 0.7; }
.tl .row { display: flex; gap: 3px; height: 26px; }
.tl .row i { display: block; border-radius: 6px; height: 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.c-v { background: linear-gradient(180deg, #3a70dc, var(--video)); } .c-g { background: linear-gradient(180deg, #8b5ce0, var(--comp)); } .c-t { background: linear-gradient(180deg, #d58a2a, var(--textc)); }
.tl .row.wave i { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 2px, transparent 2px 5px); background-size: auto 60%; background-repeat: repeat-x; background-position: center; background-color: var(--audio); }
.tl .row.wave.music i { background-color: #14694d; }
.tl .head { position: absolute; top: 8px; bottom: 10px; left: 14px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); animation: play 9s linear infinite; }
.tl .head::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top-color: #fff; }
@keyframes play { from { transform: translateX(0); } to { transform: translateX(min(1040px, calc(100vw - 80px))); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { 0% { width: 8%; } 80%, 100% { width: 96%; } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: rgba(24, 24, 32, 0.78); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); font: 700 13px "Manrope", sans-serif; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip small { display: block; font-weight: 500; color: var(--dim); font-size: 11.5px; }
.chip u { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; text-decoration: none; background: rgba(110, 114, 247, 0.22); color: var(--accent2); }
.chip u svg { width: 16px; height: 16px; }
.chip.a { left: -34px; top: 24%; } .chip.b { right: -40px; top: 12%; animation-delay: -2s; } .chip.c { right: -22px; bottom: 20%; animation-delay: -4s; }
.chip.b u { background: rgba(47, 201, 138, 0.2); color: var(--green); } .chip.c u { background: rgba(224, 95, 167, 0.2); color: var(--pink); }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ── marquee ── */
.marquee { margin-top: 84px; padding: 18px 0; border-block: 1px solid var(--line); overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; gap: 44px; width: max-content; animation: slide 46s linear infinite; font: 600 15px var(--mono); color: var(--dim); white-space: nowrap; }
.marquee span::before { content: "◆"; margin-right: 44px; color: var(--accent); font-size: 10px; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── sections ── */
section { padding: 104px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent2); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent2); }
html:is([lang="fa"],[lang="ar"]) .eyebrow { font: 700 14.5px var(--body); letter-spacing: 0; }
.sec-h { max-width: 760px; }
.sec-h.mid { margin-inline: auto; text-align: center; }
.sec-h h2 { margin-top: 16px; font-size: clamp(32px, 4.8vw, 58px); }
html:is([lang="fa"],[lang="ar"]) .sec-h h2 { font-size: clamp(28px, 4vw, 46px); }
.sec-h p { margin-top: 18px; color: var(--text2); font-size: 18px; }

/* ── cards with a light that follows the pointer ── */
.card { position: relative; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform 0.3s, border-color 0.3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(110, 114, 247, 0.26), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.card:hover { border-color: rgba(154, 157, 255, 0.4); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
html:is([lang="fa"],[lang="ar"]) .card h3 { line-height: 1.6; font-size: 21px; }
.card p { margin-top: 8px; color: var(--text2); font-size: 15.5px; }
.card .txt { padding: 26px 28px 28px; }
.card .art { position: relative; height: 210px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 100% at 50% 0, rgba(110, 114, 247, 0.16), transparent 70%), var(--bg0); overflow: hidden; display: grid; place-items: center; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 54px; }
.bento .card { grid-column: span 2; }
.bento .card.w3 { grid-column: span 3; }
.bento .card.w4 { grid-column: span 4; }

/* ── little drawings inside the cards ── */
.v-prompt { width: 86%; display: grid; gap: 10px; font-size: 13px; }
.v-prompt .in { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg3); border: 1px solid rgba(110, 114, 247, 0.55); box-shadow: 0 0 0 4px rgba(110, 114, 247, 0.12), 0 0 40px rgba(110, 114, 247, 0.25); color: var(--text); min-height: 46px; }
.v-prompt .in svg { width: 16px; height: 16px; color: var(--accent2); flex: none; }
.v-prompt .out { display: flex; flex-wrap: wrap; gap: 8px; }
.v-prompt .out span { padding: 6px 11px; border-radius: 999px; background: rgba(47, 201, 138, 0.12); border: 1px solid rgba(47, 201, 138, 0.3); color: #7fe0b8; font-weight: 600; font-size: 12px; }
.v-prompt .out span:nth-child(2) { background: rgba(110, 114, 247, 0.14); border-color: rgba(110, 114, 247, 0.4); color: var(--accent2); }
.v-prompt .out span:nth-child(3) { background: rgba(224, 95, 167, 0.12); border-color: rgba(224, 95, 167, 0.35); color: #f09ac9; }
.v-color { display: flex; gap: 18px; align-items: center; }
.wheel { position: relative; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(from 90deg, #ff4d4d, #ffd24d, #5dff6a, #4dd8ff, #5d6bff, #e24dff, #ff4d4d); box-shadow: 0 0 30px rgba(110, 114, 247, 0.3); }
.wheel::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: radial-gradient(circle, #2a2a34, #141419); }
.wheel::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 10px #fff; left: 54%; top: 34%; animation: nudge 5s ease-in-out infinite alternate; }
.wheel:nth-child(2)::after { left: 40%; top: 52%; animation-delay: -2s; } .wheel:nth-child(3)::after { left: 46%; top: 40%; animation-delay: -3.5s; }
@keyframes nudge { to { transform: translate(9px, 7px); } }
.wheel b { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font: 600 10.5px var(--mono); color: var(--dim); letter-spacing: 0.06em; }
.v-stab { width: 88%; }
.v-stab .shaky { stroke: #ef5a66; stroke-width: 2; fill: none; opacity: 0.75; }
.v-stab .smooth { stroke: var(--green); stroke-width: 3; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.4s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(47, 201, 138, 0.8)); }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.v-wave { display: flex; align-items: center; gap: 4px; height: 110px; }
.v-wave i { width: 5px; border-radius: 4px; background: linear-gradient(180deg, #7fe0b8, var(--audio)); animation: eq 1.3s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.v-ring { position: relative; width: 132px; height: 132px; }
.v-ring svg { transform: rotate(-90deg); }
.v-ring circle { fill: none; stroke-width: 9; }
.v-ring .bg { stroke: var(--bg4); }
.v-ring .fg { stroke: url(#rg); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 4.5s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(110, 114, 247, 0.8)); }
@keyframes ring { 70%, 100% { stroke-dashoffset: 0; } }
.v-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 15px var(--mono); color: var(--text); }
.v-ring b small { display: block; font: 500 10.5px "Manrope", sans-serif; color: var(--dim); text-align: center; }
.v-music { width: 88%; }
.v-music path.duck { fill: none; stroke: var(--amber); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(240, 176, 60, 0.7)); }
.v-music rect { fill: var(--accent); opacity: 0.85; }
.v-music rect.m { fill: #14694d; opacity: 1; }

/* ── the two apps ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; }
.duo .card .art { height: 300px; }
.duo h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; direction: ltr; text-align: start; }
html[dir="rtl"] .duo h3 { text-align: right; }
.duo .what { margin-top: 6px; color: var(--accent2); font-weight: 700; font-size: 15.5px; }
.mini-tl { width: 88%; display: grid; gap: 6px; transform: rotate(-3deg) scale(1.04); }
.mini-tl .row { display: flex; gap: 3px; height: 30px; }
.mini-tl .row i { border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
.mini-tl .row.w i { background-color: var(--audio); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 2px, transparent 2px 5px); background-size: auto 60%; background-repeat: repeat-x; background-position: center; }
.poster { position: relative; width: 150px; aspect-ratio: 9 / 16; border-radius: 14px; background: radial-gradient(90% 60% at 20% 10%, #ffb74d, transparent 60%), radial-gradient(90% 70% at 90% 90%, #e05fa7, transparent 60%), linear-gradient(160deg, #5a3bd6, #1b1446); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.16) inset; transform: rotate(-5deg); overflow: hidden; font-family: "Bricolage Grotesque", sans-serif; }
.poster b { position: absolute; left: 12px; right: 12px; top: 40%; font-size: 30px; line-height: 0.95; color: #fff; letter-spacing: -0.03em; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.poster em { position: absolute; left: 12px; bottom: 14px; padding: 4px 9px; border-radius: 7px; background: #ffe14d; color: #1a1205; font: 800 12px "Manrope", sans-serif; font-style: normal; transform: rotate(-4deg); }
.poster i { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #fff; opacity: 0.9; }
.sel { position: absolute; border: 1.5px solid var(--accent2); border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.sel::before, .sel::after { content: ""; position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--accent); border-radius: 2px; }
.sel::before { left: -5px; top: -5px; } .sel::after { right: -5px; bottom: -5px; }
.layers { width: 170px; display: grid; gap: 6px; font: 600 12px "Manrope", sans-serif; color: var(--text2); }
.layers div { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: var(--bg3); border: 1px solid var(--line); }
.layers div.on { border-color: rgba(110, 114, 247, 0.6); background: rgba(110, 114, 247, 0.16); color: var(--text); }
.layers u { width: 20px; height: 20px; border-radius: 6px; flex: none; text-decoration: none; }
.pic-art { display: flex; gap: 34px; align-items: center; }

/* ── alternating feature rows (the app pages) ── */
.rows { display: grid; gap: 28px; margin-top: 30px; }
.rowx { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; align-items: stretch; }
.rowx .txt { padding: 46px 44px; align-self: center; }
.rowx .txt .n { font: 600 13px var(--mono); color: var(--accent2); letter-spacing: 0.1em; }
.rowx h3 { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
html:is([lang="fa"],[lang="ar"]) .rowx h3 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.5; }
.rowx p { margin-top: 14px; font-size: 16.5px; }
.rowx ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.rowx li { display: flex; gap: 10px; align-items: flex-start; }
.rowx li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.36em; border-radius: 50%; background: radial-gradient(circle, var(--accent2) 30%, rgba(110, 114, 247, 0.25) 34%); }
.rowx .art { height: auto; min-height: 340px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
.rowx:nth-child(even) .txt { order: 2; }
.rowx:nth-child(even) .art { border-inline-start: 0; border-inline-end: 1px solid var(--line); }
.curve { width: 150px; height: 150px; border-radius: 12px; background: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 100% 25%, linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 25% 100%, var(--bg2); border: 1px solid var(--line2); }
.curve path { fill: none; stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); }
.scope { width: 190px; height: 110px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg0); overflow: hidden; display: flex; align-items: flex-end; gap: 2px; padding: 8px; }
.scope i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #ff6b6b, #5dff9a 50%, #5d8bff); opacity: 0.85; animation: eq 2.4s ease-in-out infinite alternate; transform-origin: bottom; }
.col { display: grid; gap: 34px; justify-items: center; }
.ba { position: relative; width: 250px; height: 250px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: repeating-conic-gradient(#2a2a33 0 25%, #1c1c23 0 50%) 0 0 / 24px 24px; }
.ba::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, #2a8f6a, #1d4d8f); clip-path: inset(0 50% 0 0); animation: wipe 5s ease-in-out infinite alternate; }
@keyframes wipe { to { clip-path: inset(0 8% 0 0); } }
.ba::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120px; height: 190px; transform: translateX(-50%); border-radius: 60px 60px 0 0; background: linear-gradient(180deg, #ffd9b3, #e59a6a 30%, #6e72f7 30.5%, #4347c9); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); }
.fx { display: grid; gap: 18px; font: 800 44px "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; text-align: center; }
.fx span:nth-child(1) { color: #fff; -webkit-text-stroke: 7px #1a1446; paint-order: stroke fill; text-shadow: 0 6px 0 #1a1446; }
.fx span:nth-child(2) { color: #fff; text-shadow: 0 0 18px #a56bff, 0 0 44px #6e72f7, 0 0 80px #6e72f7; }
.fx span:nth-child(3) { color: #ffe14d; text-shadow: 6px 6px 0 #e05fa7; }
.fmt { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 320px; }
.fmt span { padding: 14px 20px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--line2); font: 700 16px var(--mono); }
.fmt span:first-child { background: rgba(110, 114, 247, 0.2); border-color: var(--accent); box-shadow: 0 0 30px rgba(110, 114, 247, 0.35); }

/* ── phones ── */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 26px; margin-top: 64px; direction: ltr; }
.device { flex: none; width: 240px; padding: 11px; border-radius: 42px; background: linear-gradient(160deg, #2c2c36, #0a0a0d); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 60px rgba(110, 114, 247, 0.2); }
.device:nth-child(1) { transform: rotate(-7deg) translateY(26px); } .device:nth-child(3) { transform: rotate(7deg) translateY(26px); }
.device.solo { transform: rotate(4deg); }
.device .scr { position: relative; border-radius: 32px; background: radial-gradient(120% 60% at 50% 0, rgba(110, 114, 247, 0.3), transparent 60%), linear-gradient(180deg, #15151b, #0c0c10); padding: 38px 13px 14px; min-height: 470px; display: flex; flex-direction: column; gap: 10px; font: 500 12.5px "Manrope", sans-serif; text-align: left; }
.device .scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 74px; height: 20px; margin-left: -37px; border-radius: 12px; background: #000; }
.device .t { font: 700 21px "Bricolage Grotesque", sans-serif; }
.device .cardm { padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.device .cardm small { display: block; color: var(--dim); font-size: 11px; margin-bottom: 4px; }
.device .cardm .bar { margin-top: 8px; }
.device .thumb { height: 92px; border-radius: 12px; margin-bottom: 8px; background: radial-gradient(90% 80% at 20% 10%, #8f6bff, transparent 60%), linear-gradient(160deg, #3b40c9, #151739); }
.device .thumb.b { background: radial-gradient(90% 80% at 80% 10%, #ffb74d, transparent 60%), linear-gradient(160deg, #c2417f, #2b1446); }
.device .send { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(110, 114, 247, 0.5); }
.device .send u { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); text-decoration: none; }
.device .tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 24px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.device .send + .tabs { margin-top: 0; }
.device .tabs i { width: 22px; height: 22px; border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.device .tabs i.on { background: var(--accent); box-shadow: 0 0 14px rgba(110, 114, 247, 0.8); }
.device .pw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.device .pw div { padding: 14px 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-weight: 700; }
.device .pw div::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%; border: 2.5px solid var(--accent2); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.split li { display: flex; gap: 10px; }
.split li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.42em; border-radius: 50%; background: radial-gradient(circle, var(--accent2) 30%, rgba(110, 114, 247, 0.25) 34%); }
.split .device { justify-self: center; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.grid3 .card .txt svg { width: 28px; height: 28px; color: var(--accent2); margin-bottom: 16px; }
.how { counter-reset: s; }
.how .card { counter-increment: s; }
.how .card .txt::before { content: "0" counter(s); display: block; margin-bottom: 14px; font: 700 44px "Bricolage Grotesque", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ── download ── */
.dl { position: relative; padding: 56px; border-radius: 30px; border: 1px solid rgba(154, 157, 255, 0.35); background: radial-gradient(800px 340px at 88% 0, rgba(165, 107, 255, 0.3), transparent 70%), radial-gradient(600px 300px at 0 100%, rgba(110, 114, 247, 0.22), transparent 70%), var(--bg2); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; overflow: hidden; }
.dl::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 90% 0, #000, transparent 65%); mask-image: radial-gradient(ellipse at 90% 0, #000, transparent 65%); }
.dl > * { position: relative; z-index: 1; }
.dl h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 16px; }
.dl p { margin-top: 16px; color: var(--text2); max-width: 54ch; }
.dl .side { display: grid; gap: 12px; justify-items: stretch; min-width: 270px; }
.dl .meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: var(--text2); font-size: 14.5px; }
.dl .meta span { display: inline-flex; gap: 8px; align-items: center; }
.dl .meta svg { width: 16px; height: 16px; color: var(--accent2); }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(240, 176, 60, 0.12); border: 1px solid rgba(240, 176, 60, 0.35); color: var(--amber); font-size: 13.5px; font-weight: 700; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; }
.track div { position: relative; padding: 34px 22px 0 0; border-top: 2px solid var(--bg4); }
html[dir="rtl"] .track div { padding: 34px 0 0 22px; }
.track div::before { content: ""; position: absolute; top: -8px; inset-inline-start: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg4); border: 3px solid var(--bg1); }
.track div.now { border-top-color: var(--accent); }
.track div.now::before { background: var(--accent2); box-shadow: 0 0 0 5px rgba(110, 114, 247, 0.25), 0 0 20px var(--accent); }
.track b { display: block; font: 700 19px var(--display); }
.track span { display: block; margin-top: 6px; color: var(--text2); font-size: 15px; }
.track small { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(110, 114, 247, 0.18); color: var(--accent2); font-weight: 700; font-size: 12.5px; }
.faq { max-width: 820px; margin: 54px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 17.5px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent2); font: 400 24px var(--mono); line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--text2); font-size: 16px; }

footer { padding: 54px 0 60px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14.5px; background: var(--bg0); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
footer h4 { margin: 0 0 12px; font: 700 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); }
html:is([lang="fa"],[lang="ar"]) footer h4 { font: 700 14.5px var(--body); letter-spacing: 0; }
footer .links { display: grid; gap: 8px; }
footer a:hover { color: var(--text); }
footer .mean { margin-top: 14px; max-width: 34ch; }
footer .legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise.in { opacity: 1; transform: none; }
.mark-l { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawl 1.1s 0.2s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.mark-p { opacity: 0; transform: scale(0.6); transform-origin: 160px 94px; animation: pop 0.5s 1.1s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
@keyframes drawl { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; gap: 2px; padding: 12px 16px 18px; background: rgba(11, 11, 15, 0.96); border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .burger { display: inline-flex; }
  .lang { margin-inline-start: auto; }
  .top .btn { display: none; }
  .shot-body { grid-template-columns: 1fr; }
  .shot-side, .tools { display: none; }
  .shot-view { border-right: 0; }
  .chip { display: none; }
  .bento .card, .bento .card.w3, .bento .card.w4 { grid-column: span 3; }
  .duo, .split, .dl, .rowx { grid-template-columns: 1fr; }
  .rowx .txt { order: 2 !important; padding: 30px 26px; }
  .rowx .art { min-height: 260px; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .dl { padding: 34px 26px; }
  .dl .side { min-width: 0; }
  section { padding: 72px 0; }
  .hero { padding-top: 60px; }
  .phones .device:nth-child(1), .phones .device:nth-child(3) { display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bento .card, .bento .card.w3, .bento .card.w4 { grid-column: 1 / -1; }
  .grid3, .track { grid-template-columns: 1fr; }
  .track div { padding-bottom: 26px; }
  .shot-view .frame, .shot-view .safe { inset: 8% 27%; }
  .cta .btn { width: 100%; }
  .card .txt { padding: 22px; }
  .pic-art { gap: 16px; transform: scale(0.86); }
  .stage { margin-top: 48px; }
  .shot { transform: none; }
  .marquee { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  .mark-l, .v-stab .smooth { stroke-dashoffset: 0; }
  .mark-p { opacity: 1; transform: none; }
  .v-ring .fg { stroke-dashoffset: 25; }
  .shot { transform: none; }
  html { scroll-behavior: auto; }
}

/* ── about the maker ── */
.about-hero { padding-bottom: 40px; }
.sig { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 8px 10px; padding-inline-end: 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(19, 19, 24, 0.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.sig .ava { flex: none; width: 56px; height: 56px; padding: 2px; border-radius: 50%; background: conic-gradient(from 200deg, #6e72f7, #a56bff, #e05fa7, #37c6d6, #6e72f7); box-shadow: 0 0 24px rgba(110, 114, 247, 0.55); }
.sig .ava img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg1); }
.sig .who { display: flex; flex-direction: column; text-align: start; line-height: 1.25; }
.sig .who b { font: 700 17px var(--display); }
.sig .who small { color: var(--accent2); font-size: 13px; font-weight: 600; }
.sig .sep { width: 1px; height: 30px; background: var(--line2); }
.sig .where { display: inline-flex; align-items: center; gap: 6px; color: var(--text2); font-size: 13.5px; white-space: nowrap; }
.sig .where svg { width: 15px; height: 15px; }
.sig .links { display: inline-flex; gap: 6px; }
.ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: var(--bg3); color: var(--text); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.ico:hover { background: rgba(110, 114, 247, 0.22); border-color: var(--accent); transform: translateY(-2px); }
.ico svg { width: 17px; height: 17px; }
.about-story { padding-top: 20px; }
.story-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.story { padding: 40px 42px; }
.story p { margin-top: 16px; color: var(--text2); font-size: 16.5px; line-height: 1.85; }
.story .lede { margin-top: 18px; color: var(--text); font: 600 22px/1.55 var(--display); letter-spacing: -0.01em; }
html:is([lang="fa"],[lang="ar"]) .story .lede { font-size: 21px; line-height: 1.9; letter-spacing: 0; }
.story-grid .side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 20px 16px; text-align: center; }
.stat b { display: block; font: 800 26px var(--display); background: linear-gradient(100deg, #b4b6ff, #e05fa7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; color: var(--text2); font-size: 12.5px; line-height: 1.45; }
.kit { grid-column: 1 / -1; padding: 24px 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg3); color: var(--text2); font-size: 13px; font-weight: 600; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.chips span:hover { color: var(--text); border-color: var(--accent); background: rgba(110, 114, 247, 0.16); }
.does .glyph { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(140deg, rgba(110, 114, 247, 0.35), rgba(224, 95, 167, 0.2)); border: 1px solid rgba(154, 157, 255, 0.35); color: #fff; }
.does .glyph svg { width: 22px; height: 22px; }
.path2 { list-style: none; position: relative; max-width: 880px; margin: 50px auto 0; padding: 0; }
.path2::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(rgba(255, 255, 255, 0.06), var(--accent) 85%, #e05fa7); }
.path2 li { position: relative; width: 50%; padding: 0 34px 22px; }
.path2 li:nth-child(odd) { margin-inline-end: auto; }
.path2 li:nth-child(even) { margin-inline-start: auto; }
.path2 li::after { content: ""; position: absolute; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg4); border: 3px solid var(--bg1); box-shadow: 0 0 0 1px var(--line2); }
.path2 li:nth-child(odd)::after { inset-inline-end: -7px; }
.path2 li:nth-child(even)::after { inset-inline-start: -7px; }
.path2 li.now::after { background: #fff; box-shadow: 0 0 0 5px rgba(110, 114, 247, 0.35), 0 0 22px var(--accent); }
.path2 .card { padding: 18px 20px; }
.path2 li.now .card { border-color: rgba(154, 157, 255, 0.5); box-shadow: 0 0 40px -10px rgba(110, 114, 247, 0.6); }
.path2 time { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(110, 114, 247, 0.16); color: var(--accent2); font: 600 12.5px var(--mono); }
html:is([lang="fa"],[lang="ar"]) .path2 time { font-family: var(--body); }
.path2 b { display: block; margin-top: 10px; font-weight: 700; font-size: 16.5px; }
.path2 span { display: block; margin-top: 3px; color: var(--text2); font-size: 14px; }
.hello { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 44px; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, rgba(110, 114, 247, 0.35), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(224, 95, 167, 0.28), transparent 55%), var(--bg2); border: 1px solid rgba(154, 157, 255, 0.28); }
.hello h2 { font-size: clamp(30px, 4vw, 44px); }
.hello p { margin-top: 8px; color: var(--text2); font-size: 16.5px; }
.hello .cta { margin: 0; flex: none; }
footer .legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story { padding: 30px 24px; }
  .hello { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 700px) {
  .sig { flex-wrap: wrap; justify-content: center; border-radius: 24px; padding: 14px 16px; gap: 12px; }
  .sig .sep { display: none; }
  .sig .ava { width: 48px; height: 48px; }
  .path2::before { left: 7px; transform: none; }
  html[dir="rtl"] .path2::before { left: auto; right: 7px; }
  .path2 li, .path2 li:nth-child(odd), .path2 li:nth-child(even) { width: auto; margin: 0; padding: 0 0 16px; padding-inline-start: 34px; }
  .path2 li:nth-child(odd)::after, .path2 li:nth-child(even)::after { inset-inline-start: 0; inset-inline-end: auto; }
}
@media (max-width: 520px) {
  .story-grid .side { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 16px 8px; }
  .stat b { font-size: 21px; }
}

/* ── language picker ── */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; user-select: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs .chev { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.2s; }
.langs[open] .chev { transform: rotate(180deg); }
.langs[open] summary { color: var(--text); border-color: var(--accent); background: rgba(110, 114, 247, 0.14); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; min-width: 190px; padding: 6px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(19, 19, 24, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(110, 114, 247, 0.08); transform-origin: top; animation: lang-pop 0.16s ease-out; }
@keyframes lang-pop { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 11px; color: var(--text2); transition: background 0.15s, color 0.15s; }
.lang-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang-menu a.on { background: rgba(110, 114, 247, 0.2); color: var(--text); }
.lang-menu b { font: 600 15px "Vazirmatn", var(--body); }
.lang-menu small { font: 600 11px var(--mono); letter-spacing: 0.06em; color: var(--dim); }
.lang-menu a.on small { color: var(--accent2); }
