:root {
  color-scheme: dark;
  --ink: #f3f1e9;
  --muted: #a5aaa5;
  --bg: #0a0f0d;
  --panel: #111a17;
  --line: rgba(232, 235, 226, 0.14);
  --emerald: #1b725b;
  --emerald-light: #73b39c;
  --cream: #f4eddb;
  --gold: #b99c62;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--cream); color: #0c1512; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 10; width: 100%; max-width: 1440px; margin: auto; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(8, 15, 12, .88); border-bottom-color: var(--line); box-shadow: 0 14px 36px rgba(0,0,0,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.15rem; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 12px; }
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { color: #c9cdc8; font-size: .9rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-download { padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; }

.hero { position: relative; min-height: 830px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: -4%; background: linear-gradient(90deg, rgba(8,14,12,.12), rgba(8,14,12,.72) 53%, rgba(8,14,12,.98) 82%), url("assets/virachin-hero.png") 32% center / cover no-repeat; transform: scale(1.04); }
.hero-glow { position: absolute; z-index: 1; width: 46rem; height: 46rem; right: -18rem; top: 6rem; border-radius: 50%; background: rgba(28, 118, 91, .12); filter: blur(80px); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 42%, rgba(24,112,87,.16), transparent 32%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(680px, calc(100% - 2.5rem)); margin-left: max(50%, calc((100% - 1380px)/2 + 680px)); padding: 9rem 3rem 5rem; }
.hero-copy::before { content: ""; display: block; width: 0; height: 1px; margin-bottom: 1.5rem; background: linear-gradient(90deg, var(--emerald-light), transparent); animation: hero-line 1.1s .15s cubic-bezier(.2,.8,.2,1) forwards; }
.eyebrow { margin: 0 0 1rem; color: var(--emerald-light); font-size: .76rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.7rem; font-size: clamp(3.5rem, 6.3vw, 6.6rem); line-height: .94; letter-spacing: -.065em; }
h1 span { color: #a8aea9; }
.lede { max-width: 620px; color: #c1c6c1; font-size: 1.12rem; }
.persian { margin-top: 1.3rem; font-family: Tahoma, "Geeza Pro", sans-serif; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { position: relative; overflow: hidden; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem 1.15rem; border-radius: 8px; font-weight: 720; text-decoration: none; transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
.primary { color: white; background: var(--emerald); }
.primary:hover { background: #238168; box-shadow: 0 12px 30px rgba(19,105,81,.26); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.release-note { margin-top: 1.1rem; color: #7f8883; font-size: .78rem; }

.trust-strip { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-inline: 1px solid var(--line); }
.trust-strip div { padding: 1.6rem 2rem; border-right: 1px solid var(--line); }
.trust-strip div { position: relative; overflow: hidden; }
.trust-strip div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--emerald-light), transparent); transform-origin: left; }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: .95rem; }
.trust-strip span { color: var(--muted); font-size: .8rem; }

.section { max-width: 1380px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); border-inline: 1px solid var(--line); border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(180px, .7fr) 2fr; align-items: start; gap: 2rem; margin-bottom: 4rem; }
.section-heading h2, .install h2, .persian-summary h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.05em; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.steps li { display: flex; gap: 1.25rem; padding: 2rem; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps > li > span, .feature-number { color: var(--gold); font: 700 .75rem/1 ui-monospace, monospace; }
.steps h3 { margin-bottom: .35rem; }
.steps p, .features article > p, .install p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.text-journey { position: relative; margin: 0 0 1rem; padding: 3.2rem 1rem 2.2rem; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: radial-gradient(circle at 50% 10%, rgba(35,129,104,.1), transparent 45%); }
.journey-path { position: absolute; z-index: 0; left: 16.66%; right: 16.66%; top: 2rem; height: 1px; background: rgba(255,255,255,.11); }
.journey-path > i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--emerald-light), var(--gold)); transform-origin: left center; }
.journey-path > b { position: absolute; top: -4px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--bg); border: 1px solid var(--emerald-light); }
.journey-path > b:nth-of-type(1) { left: 0; }
.journey-path > b:nth-of-type(2) { left: 50%; }
.journey-path > b:nth-of-type(3) { left: 100%; }
.journey-scenes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.journey-scene { position: relative; min-height: 142px; padding: 1.15rem; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(16,25,21,.94); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.journey-label { display: block; margin-bottom: 1.4rem; color: #7f8883; font: 700 .63rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.journey-scene p { margin: 0; color: var(--cream); font: 700 clamp(1.05rem, 1.8vw, 1.45rem)/1.8 Tahoma, "Geeza Pro", sans-serif; }
.journey-write p { display: inline-block; float: right; }
.journey-caret { display: block; float: right; width: 1px; height: 1.85rem; margin: .1rem .35rem 0 0; background: var(--emerald-light); }
.journey-controls { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; margin: -.2rem 0 .75rem; }
.journey-controls em, .journey-controls strong { color: var(--emerald-light); font: 700 .65rem/1 ui-monospace, monospace; }
.journey-controls span { height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--emerald-light) 62%, rgba(255,255,255,.12) 62%); }
.journey-prepare p { font-size: clamp(.92rem, 1.5vw, 1.15rem); white-space: nowrap; }
.journey-prepare p i { display: inline-block; font-style: normal; }
.journey-frame { position: relative; min-height: 72px; display: grid; place-items: center; border: 1px solid rgba(115,179,156,.5); background: rgba(115,179,156,.04); }
.journey-frame p { font-size: clamp(.95rem, 1.5vw, 1.18rem); }
.journey-frame > i { position: absolute; width: 6px; height: 6px; border: 1px solid var(--emerald-light); background: var(--panel); }
.journey-frame > i:nth-of-type(1) { left: -4px; top: -4px; }.journey-frame > i:nth-of-type(2) { right: -4px; top: -4px; }.journey-frame > i:nth-of-type(3) { left: -4px; bottom: -4px; }.journey-frame > i:nth-of-type(4) { right: -4px; bottom: -4px; }

.motion-ready .text-journey.is-ready .journey-path > i { transform: scaleX(0); }
.motion-ready .text-journey.is-ready .journey-scene { opacity: .18; }
.motion-ready .text-journey.is-ready .journey-write p { clip-path: inset(0 0 0 100%); }
.motion-ready .text-journey.is-ready .journey-caret { opacity: 0; }
.motion-ready .text-journey.is-ready .journey-prepare p i { opacity: 0; transform: scale(.88); }
.motion-ready .text-journey.is-ready .journey-frame { opacity: 0; transform: scale(.94); }
.motion-ready .text-journey.is-animated .journey-path > i { animation: journey-line 2.7s .35s cubic-bezier(.2,.7,.2,1) forwards; }
.motion-ready .text-journey.is-animated .journey-write { animation: journey-card .45s .1s ease-out forwards; }
.motion-ready .text-journey.is-animated .journey-write p { animation: journey-type .7s .28s steps(8,end) forwards; }
.motion-ready .text-journey.is-animated .journey-caret { animation: journey-caret .7s .25s steps(2,end) forwards; }
.motion-ready .text-journey.is-animated .journey-prepare { animation: journey-card .45s 1.05s ease-out forwards; }
.motion-ready .text-journey.is-animated .journey-prepare p i { animation: journey-glyph .32s calc(1.18s + var(--glyph) * 90ms) ease-out forwards; }
.motion-ready .text-journey.is-animated .journey-place { animation: journey-card .45s 2.05s ease-out forwards; }
.motion-ready .text-journey.is-animated .journey-frame { animation: journey-frame .48s 2.2s cubic-bezier(.2,.8,.2,1) forwards; }

@keyframes journey-line { to { transform: scaleX(1); } }
@keyframes journey-card { to { opacity: 1; } }
@keyframes journey-type { to { clip-path: inset(0); } }
@keyframes journey-caret { 0%, 45% { opacity: 1; } 46%, 75% { opacity: 0; } 76%, 100% { opacity: 1; } }
@keyframes journey-glyph { to { opacity: 1; transform: scale(1); } }
@keyframes journey-frame { to { opacity: 1; transform: scale(1); } }

.scroll-story { padding-bottom: clamp(4rem, 8vw, 8rem); background: linear-gradient(180deg, #0a0f0d, #0e1714); }
.story-intro { max-width: 880px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.story-intro h2 { margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .65fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.story-stage-wrap { position: sticky; top: 7.5rem; height: calc(100vh - 9.5rem); min-height: 520px; display: grid; align-items: center; }
.story-stage { position: relative; width: 100%; aspect-ratio: 1.22 / 1; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #080c0a; box-shadow: 0 50px 120px rgba(0,0,0,.42); }
.story-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.story-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.012); transition: opacity .46s ease-out, transform .65s cubic-bezier(.2,.75,.2,1); }
.story-scene.is-active { opacity: 1; transform: scale(1); }
.story-caption { position: absolute; z-index: 3; inset: auto 1rem 1rem; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(8,14,12,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.story-caption-text { display: none; font-size: .82rem; font-weight: 700; }
.story-caption-text.is-active { display: block; }
.story-dots { display: flex; gap: .42rem; }
.story-dots i { width: 18px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .3s ease, background-color .3s ease; }
.story-dots i.is-active { width: 34px; background: var(--emerald-light); }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .36s ease; }
.story-step.is-active { opacity: 1; }
.story-step > span { color: var(--gold); font: 700 .75rem/1 ui-monospace, monospace; }
.story-step h3 { margin: 1.5rem 0 1rem; font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.03; letter-spacing: -.045em; }
.story-step p { color: var(--muted); font-size: .96rem; }
.story-mobile-image { display: none; }

.features { background: var(--panel); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.feature-grid article { min-height: 420px; padding: clamp(2rem, 5vw, 4.5rem); transition: background-color .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.feature-grid article:hover { background: rgba(255,255,255,.025); transform: translateY(-4px); }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid h3 { margin: 4rem 0 1rem; font-size: 1.8rem; letter-spacing: -.025em; }
.feature-grid ul { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.feature-grid li { padding: .55rem 0 .55rem 1.25rem; color: #c9ceca; font-size: .88rem; position: relative; }
.feature-grid li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 5px; height: 5px; border-radius: 50%; background: var(--emerald-light); }
.mode-demo { height: 98px; margin: 1.7rem 0 -.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,9,7,.28); }
.editable-demo { position: relative; display: grid; align-content: center; gap: .55rem; padding-right: 4.5rem; }
.editable-demo > div { display: grid; grid-template-columns: minmax(40px, 1fr) minmax(30px, .45fr); gap: .45rem; direction: rtl; }
.editable-demo > div span, .editable-demo > div i { display: block; height: 4px; border-radius: 99px; background: rgba(255,255,255,.15); transform-origin: right; }
.editable-demo > div span { background: rgba(115,179,156,.58); }
.editable-demo > b { position: absolute; right: 1rem; top: 1rem; bottom: 1rem; width: 2.3rem; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; }
.editable-demo > b i { position: absolute; left: 50%; top: 52%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(115,179,156,.18); }
.title-demo { display: flex; align-items: center; justify-content: center; gap: .04em; color: var(--cream); font: 700 clamp(1.8rem, 3vw, 2.7rem)/1 Tahoma, "Geeza Pro", sans-serif; }
.title-demo span { display: inline-block; }

.compact { margin-bottom: 3rem; }
.screen { margin: 0 0 5rem; }
.screen:last-child { margin-bottom: 0; }
.screen img { width: 100%; border: 1px solid var(--line); border-radius: 20px; background: #050706; box-shadow: 0 40px 100px rgba(0,0,0,.32); transition: transform .55s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .55s ease; }
.screen:hover img { transform: translateY(-6px) scale(1.006); border-color: rgba(115,179,156,.35); box-shadow: 0 52px 120px rgba(0,0,0,.42); }
.screen figcaption { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 1.4rem .5rem 0; color: var(--muted); font-size: .88rem; }
.screen figcaption strong { color: var(--ink); }

.install { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.install h2 { margin-bottom: 1.5rem; }
.install p { max-width: 600px; margin-bottom: 1rem; }
.text-link { color: var(--emerald-light); font-weight: 700; text-underline-offset: 4px; }
.download-card { padding: 2rem; display: grid; gap: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(39,84,69,.25), rgba(255,255,255,.025)); }
.download-card img { border-radius: 20px; }
.download-card strong, .download-card span { display: block; }
.download-card strong { font-size: 1.25rem; }
.download-card span, .download-card small { color: var(--muted); }
.safe-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; }
.safe-progress > span { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.12); }
.safe-progress > span i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--emerald-light), var(--gold)); transform-origin: left; }
.safe-progress em { color: var(--emerald-light); font: 700 .68rem/1 ui-monospace, monospace; font-style: normal; white-space: nowrap; }

.persian-summary { background: var(--cream); color: #15201c; font-family: Tahoma, "Geeza Pro", sans-serif; }
.persian-summary .eyebrow { color: #39735f; }
.persian-summary h2 {
  margin-bottom: 1.7rem;
  padding-block: .12em .22em;
  line-height: 1.22;
  letter-spacing: -.035em;
}
.persian-signal { position: relative; height: 1px; margin: 0 0 2.5rem; background: rgba(19,38,31,.15); }
.persian-signal > i { position: absolute; inset: 0; background: linear-gradient(270deg, #39735f, rgba(57,115,95,.12)); transform-origin: right; }
.persian-signal > b { position: absolute; top: -4px; width: 9px; height: 9px; margin-right: -4px; border: 1px solid #39735f; border-radius: 50%; background: var(--cream); }
.persian-signal > b:nth-of-type(1) { right: 0; }.persian-signal > b:nth-of-type(2) { right: 50%; }.persian-signal > b:nth-of-type(3) { right: 100%; }
.persian-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(19,38,31,.18); border: 1px solid rgba(19,38,31,.18); }
.persian-grid article { margin: 0; padding: 2rem; background: var(--cream); }
.persian-grid strong, .persian-grid span { display: block; }
.persian-grid strong { margin-bottom: .6rem; font-size: 1.1rem; }
.persian-grid span { color: #52615b; font-size: .92rem; line-height: 1.9; }
.persian-card-visual { position: relative; height: 54px; margin-bottom: 1.5rem; color: #39735f; }
.privacy-visual { display: grid; place-items: center; }
.privacy-visual i, .privacy-visual b, .privacy-visual span { position: absolute; display: block; border: 1px solid rgba(57,115,95,.52); border-radius: 50%; }
.privacy-visual i { width: 46px; height: 46px; }.privacy-visual b { width: 30px; height: 30px; }.privacy-visual span { width: 10px; height: 10px; border: 0; background: #39735f; }
.editable-visual { display: grid; align-content: center; gap: 7px; padding-left: 3rem; }
.editable-visual i { display: block; width: 100%; height: 4px; border-radius: 99px; background: rgba(57,115,95,.3); transform-origin: right; }
.editable-visual i:nth-child(2) { width: 76%; }.editable-visual i:nth-child(3) { width: 88%; }
.editable-visual b { position: absolute; left: .3rem; top: 4px; bottom: 4px; width: 2px; border-radius: 99px; background: rgba(57,115,95,.28); }
.editable-visual b::after { content: ""; position: absolute; left: 50%; top: 58%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #39735f; }
.letters-visual { display: flex; align-items: center; justify-content: flex-start; gap: .08em; font: 700 2.1rem/1 Tahoma, "Geeza Pro", sans-serif; }
.letters-visual i { display: inline-block; font-style: normal; }

footer { max-width: 1380px; margin: 0 auto; padding: 2.5rem clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-inline: 1px solid var(--line); }
footer p { margin: 0; text-align: center; color: var(--muted); font-size: .84rem; }
footer > div { display: flex; justify-content: flex-end; gap: 1.2rem; }
footer > div a { color: var(--muted); font-size: .8rem; }

/* Content stays visible by default. JavaScript adds these classes only when
   the observer is available, so a script failure can never hide the page. */
.motion-ready .reveal-item { opacity: 0; transition: opacity .38s ease-out var(--reveal-delay, 0ms); }
.motion-ready .reveal-item.is-visible { opacity: 1; }

.motion-ready .sequence-ready.hero .hero-art { filter: saturate(.55) brightness(.72); }
.motion-ready .sequence-ready.hero .hero-copy > * { opacity: 0; transform: translateY(10px); }
.motion-ready .sequence-ready.hero.is-animated .hero-art { animation: hero-develop .95s ease-out forwards; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > * { animation: hero-copy-in .55s ease-out forwards; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(6) { animation-delay: .4s; }
.motion-ready .sequence-ready.hero.is-animated .hero-copy > *:nth-child(7) { animation-delay: .48s; }
.motion-ready .sequence-ready.trust-strip > div::after { transform: scaleX(0); }
.motion-ready .sequence-ready.trust-strip.is-animated > div::after { animation: principle-line .65s ease-out forwards; }
.motion-ready .sequence-ready.trust-strip.is-animated > div:nth-child(2)::after { animation-delay: .12s; }
.motion-ready .sequence-ready.trust-strip.is-animated > div:nth-child(3)::after { animation-delay: .24s; }
.motion-ready .sequence-ready.features .editable-demo > div span, .motion-ready .sequence-ready.features .editable-demo > div i { transform: scaleX(.08); }
.motion-ready .sequence-ready.features .editable-demo > b i { transform: translateY(18px) scale(.7); opacity: 0; }
.motion-ready .sequence-ready.features .title-demo span { opacity: 0; transform: translateY(9px) rotate(-3deg); }
.motion-ready .sequence-ready.features .title-demo span:nth-child(even) { transform: translateY(9px) rotate(3deg); }
.motion-ready .sequence-ready.features.is-animated .editable-demo > div span, .motion-ready .sequence-ready.features.is-animated .editable-demo > div i { animation: demo-line .48s ease-out forwards; }
.motion-ready .sequence-ready.features.is-animated .editable-demo > div:nth-child(2) span, .motion-ready .sequence-ready.features.is-animated .editable-demo > div:nth-child(2) i { animation-delay: .12s; }
.motion-ready .sequence-ready.features.is-animated .editable-demo > div:nth-child(3) span, .motion-ready .sequence-ready.features.is-animated .editable-demo > div:nth-child(3) i { animation-delay: .24s; }
.motion-ready .sequence-ready.features.is-animated .editable-demo > b i { animation: demo-control .5s .38s cubic-bezier(.2,.8,.2,1) forwards; }
.motion-ready .sequence-ready.features.is-animated .title-demo span { animation: demo-letter .38s calc(.12s + var(--letter) * 65ms) ease-out forwards; }
.motion-ready .screen.reveal-item img { clip-path: inset(8% 0 0); filter: saturate(.55) brightness(.72); }
.motion-ready .screen.reveal-item.is-visible img { animation: screen-uncover .72s .08s ease-out forwards; }
.motion-ready .sequence-ready.install .safe-progress > span i { transform: scaleX(0); }
.motion-ready .sequence-ready.install .safe-progress em { opacity: 0; }
.motion-ready .sequence-ready.install.is-animated .safe-progress > span i { animation: safe-fill .85s .28s ease-out forwards; }
.motion-ready .sequence-ready.install.is-animated .safe-progress em { animation: safe-label .35s 1s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary h2 { clip-path: inset(-.25em 0 -.3em 100%); }
.motion-ready .sequence-ready.persian-summary .persian-signal > i { transform: scaleX(0); }
.motion-ready .sequence-ready.persian-summary .persian-grid article { opacity: .22; transform: translateY(8px); }
.motion-ready .sequence-ready.persian-summary .privacy-visual > *, .motion-ready .sequence-ready.persian-summary .letters-visual i { opacity: 0; transform: scale(.55); }
.motion-ready .sequence-ready.persian-summary .editable-visual i { transform: scaleX(.08); }
.motion-ready .sequence-ready.persian-summary .editable-visual b { opacity: 0; }
.motion-ready .sequence-ready.persian-summary.is-animated h2 { animation: persian-heading .72s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .persian-signal > i { animation: persian-flow .9s .3s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .persian-grid article { animation: persian-card-in .5s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .persian-grid article:nth-child(1) { animation-delay: .45s; }
.motion-ready .sequence-ready.persian-summary.is-animated .persian-grid article:nth-child(2) { animation-delay: .62s; }
.motion-ready .sequence-ready.persian-summary.is-animated .persian-grid article:nth-child(3) { animation-delay: .79s; }
.motion-ready .sequence-ready.persian-summary.is-animated .privacy-visual > * { animation: persian-ring .42s .62s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .privacy-visual b { animation-delay: .72s; }.motion-ready .sequence-ready.persian-summary.is-animated .privacy-visual span { animation-delay: .82s; }
.motion-ready .sequence-ready.persian-summary.is-animated .editable-visual i { animation: persian-line .42s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .editable-visual i:nth-child(1) { animation-delay: .76s; }.motion-ready .sequence-ready.persian-summary.is-animated .editable-visual i:nth-child(2) { animation-delay: .86s; }.motion-ready .sequence-ready.persian-summary.is-animated .editable-visual i:nth-child(3) { animation-delay: .96s; }
.motion-ready .sequence-ready.persian-summary.is-animated .editable-visual b { animation: persian-fade .35s 1.04s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .letters-visual i { animation: persian-letter .35s ease-out forwards; }
.motion-ready .sequence-ready.persian-summary.is-animated .letters-visual i:nth-child(1) { animation-delay: .94s; }.motion-ready .sequence-ready.persian-summary.is-animated .letters-visual i:nth-child(2) { animation-delay: 1.02s; }.motion-ready .sequence-ready.persian-summary.is-animated .letters-visual i:nth-child(3) { animation-delay: 1.1s; }.motion-ready .sequence-ready.persian-summary.is-animated .letters-visual i:nth-child(4) { animation-delay: 1.18s; }

@keyframes hero-develop { to { filter: saturate(1) brightness(1); } }
@keyframes hero-copy-in { to { opacity: 1; transform: translateY(0); } }
@keyframes principle-line { to { transform: scaleX(1); } }
@keyframes demo-line { to { transform: scaleX(1); } }
@keyframes demo-control { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes demo-letter { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes screen-uncover { to { clip-path: inset(0); filter: saturate(1) brightness(1); } }
@keyframes safe-fill { to { transform: scaleX(1); } }
@keyframes safe-label { to { opacity: 1; } }
@keyframes persian-heading { to { clip-path: inset(-.25em 0 -.3em 0); } }
@keyframes persian-flow { to { transform: scaleX(1); } }
@keyframes persian-card-in { to { opacity: 1; transform: translateY(0); } }
@keyframes persian-ring { to { opacity: 1; transform: scale(1); } }
@keyframes persian-line { to { transform: scaleX(1); } }
@keyframes persian-fade { to { opacity: 1; } }
@keyframes persian-letter { to { opacity: 1; transform: scale(1); } }

@keyframes hero-line { to { width: 6.5rem; } }

@media (max-width: 900px) {
  nav > a:not(.nav-download) { display: none; }
  .hero { min-height: 780px; }
  .hero-art { opacity: .5; background-position: 25% center; }
  .hero-copy { width: calc(100% - 2.5rem); margin: 0; padding: 10rem 0 4rem; justify-self: center; }
  .trust-strip, .steps, .feature-grid, .persian-grid { grid-template-columns: 1fr; }
  .text-journey { padding-inline: .8rem; }
  .journey-scenes { grid-template-columns: 1fr; }
  .journey-path { display: none; }
  .journey-scene { min-height: 126px; }
  .trust-strip div, .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child, .steps li:last-child { border-bottom: 0; }
  .section-heading, .install { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; }
  .story-stage-wrap { display: none; }
  .story-steps { display: grid; gap: 3.5rem; }
  .story-step { min-height: auto; opacity: 1; }
  .story-mobile-image { display: block; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: #050706; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .screen figcaption { grid-template-columns: 1fr; gap: .25rem; }
  footer { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  footer .brand { justify-content: center; }
  footer > div { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .site-header { padding: 1rem 1.1rem; }
  .brand img { width: 40px; height: 40px; }
  h1 { font-size: 3.35rem; }
  .hero-copy { padding-top: 8.5rem; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 4.5rem; }
  .feature-grid h3 { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .motion-ready .reveal-item { opacity: 1; }
  .story-scene, .story-step, .story-dots i { transition: none; }
  .motion-ready .text-journey.is-ready .journey-path > i { transform: scaleX(1); }
  .motion-ready .text-journey.is-ready .journey-scene, .motion-ready .text-journey.is-ready .journey-caret, .motion-ready .text-journey.is-ready .journey-prepare p i, .motion-ready .text-journey.is-ready .journey-frame { opacity: 1; transform: none; }
  .motion-ready .text-journey.is-ready .journey-write p { clip-path: none; }
  .motion-ready .sequence-ready.hero .hero-art { filter: none; }
  .motion-ready .sequence-ready.hero .hero-copy > *, .motion-ready .sequence-ready.features .title-demo span, .motion-ready .sequence-ready.install .safe-progress em { opacity: 1; transform: none; }
  .motion-ready .sequence-ready.trust-strip > div::after, .motion-ready .sequence-ready.features .editable-demo > div span, .motion-ready .sequence-ready.features .editable-demo > div i, .motion-ready .sequence-ready.install .safe-progress > span i { transform: none; }
  .motion-ready .sequence-ready.features .editable-demo > b i { opacity: 1; transform: none; }
  .motion-ready .screen.reveal-item img { clip-path: none; filter: none; }
  .motion-ready .sequence-ready.persian-summary h2 { clip-path: none; }
  .motion-ready .sequence-ready.persian-summary .persian-signal > i, .motion-ready .sequence-ready.persian-summary .editable-visual i { transform: none; }
  .motion-ready .sequence-ready.persian-summary .persian-grid article, .motion-ready .sequence-ready.persian-summary .privacy-visual > *, .motion-ready .sequence-ready.persian-summary .letters-visual i { opacity: 1; transform: none; }
  .motion-ready .sequence-ready.persian-summary .editable-visual b { opacity: 1; }
}
