/* Sitix landing v2: motion design language of /v2/motion.html. Performance rules: animate transform/opacity only,
   no box-shadow keyframes, no backdrop-filter, loops paused off screen. */
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #0b0a10;
  --bg2: #15131d;
  --cream: #f4f1ea;
  --fg: #f4f1ea;
  --mute: rgb(244 241 234 / 0.64);
  --line: rgb(255 255 255 / 0.09);
  --acc: #8b5cf6;
  --acc-2: #f0b35a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); overflow-x: clip; line-height: 1.8; }
.m.fine body, .m.fine button, .m.fine a { cursor: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 200; padding: 8px 14px; border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: 6vw; }
@media (min-width: 1600px) { .wrap { padding-inline: 48px; } }

/* grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transform: translateZ(0);
}

/* cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .3s; display: none; }
.m.fine .cursor { display: block; }
.cursor.ready { opacity: 1; }
.cursor i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cursor.big i { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgb(255 255 255 / .92); }
.cursor b { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 800; color: #000; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.big b { opacity: 1; }

/* intro + page wipe */
.intro { position: fixed; inset: 0; z-index: 99; display: none; place-items: center; background: var(--acc); }
.m .intro { display: grid; }
.intro-word { display: flex; font-size: clamp(56px, 10vw, 150px); font-weight: 900; line-height: 1.6; padding: 0 .1em; color: var(--bg); overflow: hidden; }
.intro-word span { display: inline-block; transform: translateY(110%); }
.intro-count { position: absolute; bottom: 32px; left: 40px; font-size: 14px; font-weight: 700; color: var(--bg); font-variant-numeric: tabular-nums; }
.pt { position: fixed; inset: 0; z-index: 98; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.pt i { background: var(--acc); transform: scaleY(0); transform-origin: bottom; }

/* nav */
.nav { position: fixed; top: 14px; inset-inline: 0; z-index: 60; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; transition: transform .6s var(--ease); }
.nav.hide { transform: translateY(-150%); }
.nav-in { pointer-events: auto; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 18px; padding-inline-start: 18px; border-radius: 999px; background: rgb(21 19 29 / .96); border: 1px solid rgb(255 255 255 / .1); max-width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; white-space: nowrap; }
.logo img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 14px; color: var(--mute); transition: color .3s; white-space: nowrap; }
.nav-links a:hover { color: var(--fg); }
.nav-act { display: flex; align-items: center; gap: 8px; }
.nav-track { font-size: 13px; color: var(--mute); white-space: nowrap; padding: 0 6px; }
.nav-track:hover { color: var(--fg); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; border: 1px solid rgb(255 255 255 / .16); }
.burger svg { width: 20px; height: 20px; }
.burger .x { display: none; }
.nav.open .burger .x { display: block; } .nav.open .burger .b { display: none; }
.menu-p { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 100px 8vw 40px; display: grid; align-content: start; gap: 6px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.menu-p.on { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu-p a { font-size: 30px; font-weight: 900; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu-p a small { font-size: 14px; color: var(--mute); font-weight: 600; margin-inline-start: 10px; }

/* buttons */
.mag { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.4; overflow: hidden; isolation: isolate; will-change: transform; white-space: nowrap; }
.mag .t { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; transition: transform .5s var(--ease); }
.mag svg { width: 18px; height: 18px; }
.mag-p { background: var(--fg); color: var(--bg); }
.mag-p::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--acc); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.mag-p:hover::before { transform: translateY(0); }
.mag-p:hover { color: #fff; }
.mag-s { border: 1px solid rgb(255 255 255 / .24); }
.mag-s:hover { border-color: rgb(255 255 255 / .5); }
.mag-sm { padding: 10px 18px; font-size: 14px; }
.light .mag-s { border-color: rgb(0 0 0 / .2); }
.light .mag-p { background: var(--bg); color: var(--fg); }

/* section heads */
.sec { padding: 16vh 0; position: relative; }
.sec-k { font-size: 13px; font-weight: 800; color: var(--acc-2); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.sec-h { font-size: clamp(28px, 3.8vw, 58px); font-weight: 900; line-height: 1.2; max-width: 900px; text-wrap: balance; }
.sec-p { color: var(--mute); max-width: 640px; margin-top: 16px; font-size: clamp(15px, 1.2vw, 18px); text-wrap: pretty; }
.head { margin-bottom: 7vh; }
.head-c { text-align: center; } .head-c .sec-h, .head-c .sec-p { margin-inline: auto; } .head-c .sec-k { justify-content: center; }
.grad { background: linear-gradient(100deg, var(--acc), var(--acc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; padding: 110px 6vw 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000, transparent 75%); pointer-events: none; }
.blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; opacity: .5; pointer-events: none; will-change: transform; }
.blob.a { background: radial-gradient(circle, var(--acc), transparent 60%); top: -20vmax; left: -15vmax; }
.blob.b { background: radial-gradient(circle, var(--acc-2), transparent 60%); bottom: -30vmax; right: -20vmax; opacity: .3; }
.hero-txt { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--mute); margin-bottom: 22px; }
.kicker i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; }
.kicker i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ee08f; animation: ping 2s infinite; will-change: transform, opacity; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3); opacity: 0; } }
.h1 { font-size: clamp(42px, min(5.6vw, 10vh), 96px); font-weight: 900; line-height: 1.12; }
.line { display: block; overflow: hidden; padding-bottom: .1em; }
.line > span { display: inline-block; }
.m .line > span { transform: translateY(105%); }
.h1 em { font-style: normal; background: linear-gradient(100deg, var(--acc), var(--acc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 540px; margin: 20px 0 28px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.9; color: var(--mute); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 18px; font-size: 13px; color: var(--mute); max-width: 520px; }
.collage { position: relative; height: min(64vh, 560px); z-index: 1; }
.col-card { position: absolute; display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08); will-change: transform; }
.col-card img { display: block; width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top; }
.cc3 img { height: 100%; }
.bar { height: 22px; background: #eeeae3; display: flex; gap: 5px; align-items: center; padding: 0 10px; direction: ltr; }
.bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4cec2; }
.bar span { margin: 0 auto; font-size: 10px; color: #8a8478; }
.cc1 { width: 74%; aspect-ratio: 16 / 11; top: 4%; left: 16%; rotate: 4deg; }
.cc2 { width: 58%; aspect-ratio: 16 / 11; top: 44%; left: 0; rotate: -5deg; }
.cc3 { width: 30%; aspect-ratio: 9 / 18.5; top: 30%; right: 2%; rotate: 6deg; border-radius: 28px; border: 6px solid #111; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; border-radius: 16px; background: #fff; color: #111; font-size: 13px; font-weight: 800; line-height: 1.5; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .6); white-space: nowrap; will-change: transform; }
.chip small { display: block; font-size: 11px; font-weight: 600; color: #666; }
.chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; }
.ch1 { top: 0; right: 10%; } .ch2 { bottom: 8%; right: 22%; } .ch3 { top: 36%; left: -4%; }
.chip.live::after, .chip.live::before { content: ""; position: absolute; top: 8px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.chip.live::before { animation: ping 2s infinite; will-change: transform, opacity; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--mute); display: grid; justify-items: center; gap: 8px; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--fg), transparent); animation: drip 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* proof strip */
.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.proof li { padding: 26px 18px; border-inline-start: 1px solid var(--line); display: grid; gap: 2px; }
.proof li:first-child { border-inline-start: 0; }
.proof b { font-size: 17px; font-weight: 900; }
.proof span { font-size: 13px; color: var(--mute); }

/* marquee */
.marq { border-block: 1px solid var(--line); padding: 24px 0; overflow: hidden; white-space: nowrap; direction: ltr; }
.marq-in { backface-visibility: hidden; display: inline-flex; font-size: clamp(26px, 4vw, 54px); font-weight: 900; will-change: transform; }
.marq-in span { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; direction: rtl; }
.marq-in span::after { content: "✦"; color: var(--acc); font-size: .6em; }
.marq-in .o { color: transparent; -webkit-text-stroke: 1px rgb(244 241 234 / .5); }

/* build (how it works) */
.build { position: relative; height: 300vh; }
.build-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 5vw; padding: 0 6vw; overflow: hidden; }
.build-txt .day { font-size: 14px; font-weight: 800; color: var(--acc-2); }
.build-txt h3 { font-size: clamp(28px, min(3.4vw, 6.5vh), 54px); font-weight: 900; line-height: 1.2; margin: 12px 0 16px; }
.build-txt p { color: var(--mute); line-height: 1.9; max-width: 440px; }
.steps { display: flex; gap: 8px; margin-top: 30px; }
.steps i { height: 4px; flex: 1; border-radius: 4px; background: rgb(255 255 255 / .12); overflow: hidden; position: relative; }
.steps i b { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: right; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.swap > .on { opacity: 1; transform: none; }
.swap > .past { transform: translateY(-24px); }
.browser { position: relative; width: min(100%, calc((100svh - 150px) * 1.52)); justify-self: center; aspect-ratio: 16 / 10.5; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -30px rgb(139 92 246 / .5), 0 0 0 1px rgb(255 255 255 / .08); }
.b-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #eeeae3; direction: ltr; border-radius: 18px 18px 0 0; }
.b-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d0c5; }
.b-bar span { margin: 0 auto; font-size: 11px; color: #8a8478; background: #fff; padding: 3px 14px; border-radius: 6px; }
.site { position: absolute; inset: 34px 0 0; padding: 4% 5%; color: #1d1a16; --c: #c2410c; display: grid; grid-template-rows: auto 1fr auto; gap: 5%; border-radius: 0 0 18px 18px; overflow: hidden; line-height: 1.6; }
.s-nav, .s-hero, .s-cards { position: relative; }
.wf { position: absolute; inset: 0; border: 1.5px dashed #b9b2a5; border-radius: 10px; transition: opacity .6s var(--ease); }
.s-nav { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.s-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; min-height: 0; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: clamp(46px, 8vw, 110px); }
.fill { opacity: 0; transition: opacity .7s var(--ease), transform .8s var(--ease); transform: translateY(14px); }
.site[data-s="1"] .f1, .site[data-s="2"] .f1, .site[data-s="2"] .f2, .site[data-s="3"] .fill { opacity: 1; transform: none; }
.site[data-s="3"] .wf, .site[data-s="2"] .wf { opacity: 0; }
.s-logo { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.s-logo i { width: 18px; height: 18px; border-radius: 6px; background: var(--c); }
.s-menu { display: flex; gap: 14px; font-size: 11px; color: #6b655b; }
.t-big { font-size: clamp(15px, 2.3vw, 34px); font-weight: 900; line-height: 1.3; }
.t-big em { font-style: normal; color: var(--c); }
.t-sm { font-size: clamp(9px, .8vw, 12px); color: #6b655b; margin-top: 8px; line-height: 1.8; }
.pill { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; }
.photo { width: 72%; max-height: 100%; justify-self: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd9b0, var(--c) 70%); box-shadow: inset 0 0 0 10px rgb(255 255 255 / .6); }
.card { border-radius: 10px; background: #f3efe8; padding: 8% 10%; font-size: clamp(9px, .8vw, 12px); font-weight: 800; display: flex; align-items: center; gap: 8px; }
.card::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--c); opacity: .85; }
.real { position: absolute; inset: 34px 0 0; opacity: 0; transition: opacity 1s var(--ease); border-radius: 0 0 18px 18px; overflow: hidden; }
.real img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.browser.done .real { opacity: 1; }
.done-badge { position: absolute; top: 14%; left: 16px; padding: 10px 16px; border-radius: 14px; background: #fff; color: #111; font-size: 13px; font-weight: 900; box-shadow: 0 20px 40px -12px rgb(0 0 0 / .35); display: flex; gap: 8px; align-items: center; opacity: 0; transform: scale(.6) rotate(-6deg); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.done-badge i { width: 22px; height: 22px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; }
.browser.done .done-badge { opacity: 1; transform: none; }
.b-chip { position: absolute; z-index: 4; padding: 10px 14px; border-radius: 14px; background: #1c1a26; border: 1px solid rgb(255 255 255 / .12); color: var(--fg); font-size: 13px; font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: 0 20px 40px -16px #000; opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .7s var(--ease), transform .7s var(--ease); white-space: nowrap; }
.b-chip.on { opacity: 1; transform: none; }
.bc1 { top: -6%; right: 8%; } .bc2 { bottom: 10%; right: -4%; } .bc3 { bottom: -6%; left: 20%; }
.b-chip .sw { display: flex; gap: 3px; } .b-chip .sw i { width: 12px; height: 12px; border-radius: 4px; }

/* trades */
.trades { position: relative; height: 320vh; }
.tr-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .6s linear; will-change: opacity; }
.tr-bg.on { opacity: 1; }
.tr-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.tr-name { will-change: transform; position: absolute; font-size: clamp(64px, min(17vw, 34vh), 260px); font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .18); white-space: nowrap; pointer-events: none; }
.tr-name span { display: inline-block; }
.tr-k { position: absolute; top: 12vh; inset-inline: 6vw; text-align: center; font-size: 13px; font-weight: 800; color: var(--acc-2); }
.phone { position: relative; height: min(68vh, 620px); aspect-ratio: 9 / 19; border-radius: 44px; background: #111; padding: 10px; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .1); }
.phone-sc { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; display: block; }
.ps { position: absolute; inset: 0; transform: translateY(100%); transition: transform .8s var(--ease-io); will-change: transform; }
.ps.on { transform: none; }
.ps.gone { transform: translateY(-100%); }
.ps img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.tr-side { position: absolute; inset-inline-start: 6vw; top: 50%; transform: translateY(-50%); max-width: 320px; }
.tr-side h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 900; line-height: 1.3; }
.tr-side ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.tr-side li { display: flex; gap: 10px; align-items: center; color: var(--mute); font-size: 15px; }
.tr-side li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--tc, var(--acc)); flex: none; transition: background .6s; }
.tr-end { position: absolute; inset-inline-end: 6vw; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.tr-end .chip { position: relative; }
.tr-meta { position: absolute; bottom: 6vh; inset-inline: 6vw; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.tr-meta .n { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tr-meta .n b { font-size: 34px; }
.tr-go { display: none; }

/* live lab */
.lab { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.lab-view { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.lab-win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .9), 0 0 0 1px var(--line); }
.lab-win .bar { height: 30px; } .lab-win .bar span { font-size: 11px; }
.preview { position: relative; display: block; aspect-ratio: 16 / 10.4; overflow: hidden; background: #fff; }
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: opacity .25s; }
.preview.swap img { opacity: 0; }
.lab-ph { width: clamp(90px, 11vw, 150px); aspect-ratio: 9 / 18.5; border-radius: 22px; border: 6px solid #111; background: #111; overflow: hidden; box-shadow: 0 30px 60px -30px #000; }
.lab-ph .preview { aspect-ratio: auto; height: 100%; border-radius: 16px; }
.lab-wire { margin-top: 16px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.panel { border-radius: 26px; background: var(--bg2); border: 1px solid var(--line); padding: 22px; display: grid; gap: 18px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; font-weight: 900; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #4ade80; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.og-l { display: block; font-size: 13px; color: var(--mute); margin-bottom: 8px; font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 7px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14); font-size: 13px; font-weight: 700; color: var(--mute); transition: background .25s, color .25s, border-color .25s; }
.seg button:hover { color: var(--fg); border-color: rgb(255 255 255 / .35); }
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.dots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .15); transition: transform .3s var(--ease); }
.dot:hover { transform: scale(1.12); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px var(--fg); }
.more { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); font-size: 13px; font-weight: 700; }
.more svg { width: 16px; height: 16px; }
.allc { padding: 12px; border-radius: 16px; background: #fff; }
.allc.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-go { display: grid; gap: 8px; }
.lab-go .mag { width: 100%; }

/* bento */
.bgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; border-radius: 26px; background: var(--bg2); border: 1px solid rgb(255 255 255 / .07); padding: 24px; overflow: hidden; display: flex; flex-direction: column; gap: 16px; transition: border-color .4s, transform .6s var(--ease); }
.tile:hover { border-color: rgb(255 255 255 / .2); transform: translateY(-4px); }
.tile h3 { font-size: 20px; font-weight: 900; margin-top: auto; line-height: 1.4; }
.tile p { color: var(--mute); font-size: 14px; line-height: 1.8; }
.t-wide { grid-column: span 2; } .t-tall { grid-row: span 2; }
.viz { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; }
.files { display: grid; gap: 8px; }
.files span { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; direction: ltr; }
.files i { font-style: normal; font-size: 10px; font-weight: 900; padding: 3px 6px; border-radius: 6px; background: rgb(139 92 246 / .25); color: #c4b5fd; }
.files em { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; background: #22c55e; }
.files em.bar2 { width: 70px; height: 5px; border-radius: 4px; background: rgb(255 255 255 / .1); position: relative; overflow: hidden; }
.files em.bar2 b { position: absolute; inset: 0; background: var(--acc-2); transform-origin: left; animation: load 2.4s var(--ease) infinite; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dom { direction: ltr; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 700; min-height: 50px; }
.dom i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.dom .car { width: 2px; height: 18px; background: var(--fg); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.big-n { font-size: 64px; font-weight: 900; line-height: 1; }
.big-n small { font-size: .5em; color: var(--mute); margin: 0 4px; }
.mini-ph { width: 84px; height: 140px; margin: 0 auto; border-radius: 18px; border: 4px solid #2a2836; overflow: hidden; } .mini-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 90px; }
.ba span { border-radius: 12px; display: grid; place-items: end start; padding: 8px; font-size: 12px; font-weight: 800; }
.ba .b1 { background: linear-gradient(135deg, #3a3530, #6b6157); filter: saturate(.3); color: #ddd; }
.ba .b2 { background: linear-gradient(135deg, #c2410c, #f0b35a); color: #fff; }
.seo { display: grid; gap: 7px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.seo i { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .12); }
.seo .u { width: 40%; background: #4ade80; } .seo .h { width: 75%; height: 9px; background: #93c5fd; } .seo .s { width: 60%; }
.mon { display: flex; gap: 3px; align-items: end; height: 40px; }
.mon i { flex: 1; height: 100%; border-radius: 3px; background: #22c55e; opacity: .8; }
.mon i:nth-child(9) { height: 60%; background: var(--acc-2); }
.rows { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--mute); }
.rows span { display: flex; gap: 8px; align-items: center; }
.rows em { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; } .rows em.y { background: var(--acc-2); }
.speed { display: grid; gap: 8px; font-size: 13px; }
.speed em { display: block; height: 6px; border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; }
.speed em i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--acc), var(--acc-2)); transform-origin: right; }
.gift { display: flex; gap: 12px; align-items: center; }
.inv { flex: 1; display: grid; gap: 6px; background: #fff; color: #111; border-radius: 12px; padding: 12px; font-size: 12px; }
.inv i { display: block; height: 5px; border-radius: 3px; background: #e5e5e5; } .inv i.s { width: 60%; }
.gift-t { padding: 8px 12px; border-radius: 12px; background: rgb(240 179 90 / .16); color: var(--acc-2); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* AI */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.soon { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgb(255 255 255 / .1); color: var(--fg); }
.chat { border-radius: 26px; background: var(--bg2); border: 1px solid var(--line); padding: 22px; display: grid; gap: 10px; font-size: 14px; line-height: 1.8; }
.chat-top { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ai-b { font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 8px; background: linear-gradient(100deg, var(--acc), #ec4899); color: #fff; }
.bub { max-width: 86%; padding: 10px 14px; border-radius: 16px; background: var(--bg); }
.bub.me { justify-self: end; background: var(--acc); color: #fff; }
.bub.ok { display: flex; gap: 8px; align-items: center; color: #4ade80; background: rgb(34 197 94 / .1); font-size: 13px; }
.bub.ok svg { width: 16px; height: 16px; flex: none; }
.m .chat .bub { opacity: 0; transform: translateY(12px); }

/* platforms */
.plats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plats li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 20px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); }
.plats .mono { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / .06); font-weight: 900; font-size: 18px; direction: ltr; }
.plats .mono svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.plats b { font-size: 16px; } .plats span { font-size: 13px; color: var(--mute); line-height: 1.7; }
.plats .rec { border-color: rgb(139 92 246 / .6); background: linear-gradient(160deg, rgb(139 92 246 / .2), var(--bg2) 60%); }
.plats .rec em { position: absolute; top: -10px; inset-inline-end: 16px; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--acc); color: #fff; }
.small-note { margin-top: 18px; font-size: 13px; color: var(--mute); text-align: center; }

/* comparison */
.cmp { border-radius: 26px; border: 1px solid var(--line); overflow: hidden; }
.cmp-r { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1fr; }
.cmp-r > span { padding: 16px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.cmp-h > span { border-top: 0; font-weight: 900; color: var(--fg); }
.cmp-r > [role="rowheader"] { color: var(--fg); font-weight: 700; }
.cmp .us { background: rgb(139 92 246 / .12); color: var(--fg); font-weight: 700; }
.cmp svg { width: 18px; height: 18px; flex: none; color: #4ade80; }
.cmp svg.no { color: #f87171; }

/* pricing */
.promo { width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 8px 18px; border-radius: 999px; background: rgb(240 179 90 / .14); color: var(--acc-2); font-weight: 800; font-size: 14px; text-align: center; }
.bill { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; border-radius: 999px; position: relative; background: var(--bg2); border: 1px solid var(--line); }
.bill button { flex: 1; position: relative; z-index: 1; min-height: 40px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--mute); white-space: nowrap; transition: color .3s; }
.bill button[aria-pressed="true"] { color: var(--bg); }
.bill i { position: absolute; top: 4px; bottom: 4px; right: 4px; width: var(--bw, 50%); border-radius: 999px; background: var(--fg); transition: transform .45s var(--ease), width .45s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 18px; }
.plan { position: relative; border-radius: 28px; background: var(--bg2); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.pro { background: linear-gradient(170deg, rgb(139 92 246 / .28), var(--bg2) 55%); border-color: rgb(139 92 246 / .6); }
.plan-tag { position: absolute; top: -12px; inset-inline-end: 24px; padding: 3px 12px; border-radius: 999px; background: var(--acc-2); color: #1a1206; font-size: 12px; font-weight: 900; }
.plan h3 { font-size: 22px; font-weight: 900; }
.price b { font-size: clamp(30px, 3vw, 42px); font-weight: 900; font-variant-numeric: tabular-nums; }
.price small { color: var(--mute); font-size: 14px; }
.mo { color: var(--mute); font-size: 14px; transition: opacity .2s, transform .3s var(--ease); }
.mo.out { opacity: 0; transform: translateY(6px); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; line-height: 1.7; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgb(74 222 128 / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .mag { width: 100%; }
.plan-for { font-size: 12px; color: var(--mute); text-align: center; }
.sk { min-height: 380px; } .sk i { display: block; height: 14px; border-radius: 8px; background: rgb(255 255 255 / .06); }
.sk i:first-child { width: 40%; height: 22px; } .sk i:nth-child(2) { width: 70%; height: 38px; }

/* faq */
.faq-w { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6vw; align-items: start; }
.faq-w .head a { color: var(--fg); font-weight: 800; border-bottom: 1px solid var(--acc-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--acc-2); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mute); padding-bottom: 20px; line-height: 1.95; }
.faq p a { color: var(--fg); border-bottom: 1px solid var(--acc-2); }

/* sheet + read-along + stats */
.sheet { position: relative; z-index: 2; background: var(--cream); color: var(--bg); border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0; padding: 16vh 6vw 12vh; }
.sheet .sec-k { color: #a16207; }
.big-q { font-size: clamp(24px, 3.6vw, 56px); font-weight: 900; line-height: 1.45; max-width: 1200px; }
.m .big-q .w { opacity: .14; }
.big-q .w { display: inline-block; transition: opacity .4s; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; margin-top: 12vh; border-top: 1px solid rgb(0 0 0 / .12); padding-top: 40px; }
.stats b { display: block; font-size: clamp(44px, 5.4vw, 84px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: #6b655b; font-size: 15px; }

/* use cases loop */
.voices { padding: 14vh 0 12vh; overflow: hidden; background: var(--cream); color: var(--bg); position: relative; z-index: 2; }
.voices .sec-k { color: #a16207; }
.v-row { display: flex; width: max-content; animation: vrow 60s linear infinite; direction: ltr; }
.v-row.paused, .v-row:hover { animation-play-state: paused; }
@keyframes vrow { to { transform: translateX(-50%); } }
.v { direction: rtl; flex: none; width: 360px; margin-right: 18px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid rgb(0 0 0 / .06); }
.v .tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: #f1ece2; color: #6b655b; margin-bottom: 12px; }
.v h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.v p { font-size: 14px; line-height: 1.9; color: #4b463e; }
.v .who { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13px; font-weight: 700; }
.v .av { width: 30px; height: 30px; border-radius: 10px; flex: none; }

/* footer CTA */
.fcta { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: 12vh 6vw; position: relative; overflow: hidden; }
.fcta h2 { font-size: clamp(40px, 7vw, 110px); font-weight: 900; line-height: 1.15; }
.fcta p { color: var(--mute); margin: 22px auto 0; max-width: 520px; }
.fcta .cta { justify-content: center; margin-top: 36px; }
.fcta .mag-p { padding: 20px 38px; font-size: 18px; }

/* footer */
.foot { padding: 10vh 6vw 5vh; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot-g { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 4vw; }
.foot .lg { font-size: clamp(44px, 6vw, 96px); font-weight: 900; color: var(--fg); line-height: 1.2; display: block; }
.foot h2 { color: var(--fg); font-size: 14px; margin-bottom: 12px; }
.foot nav a, .foot .ct a { display: block; padding: 4px 0; transition: color .3s; }
.foot a:hover { color: var(--fg); }
.foot address { font-style: normal; line-height: 1.9; margin-top: 8px; }
.trades-f { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6vh; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-b { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; }

/* motion-only hidden states (html.m is set only when GSAP loaded) */
.m .rv { opacity: 0; transform: translateY(40px); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof li:nth-child(4) { border-inline-start: 0; }
  .plats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sec { padding: 11vh 0; }
  .nav-track { display: none; }
  .hero { grid-template-columns: 1fr; padding: 108px 20px 70px; gap: 36px; }
  .collage { height: 330px; }
  .ch3 { left: 0; } .ch1 { right: 2%; }
  .scroll-hint { display: none; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li { border-inline-start: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .proof li:last-child { grid-column: span 2; }
  .wrap { padding-inline: 20px; }
  .build-pin { grid-template-columns: 1fr; align-content: center; gap: 26px; padding: 70px 20px 0; }
  .build-txt h3 { font-size: 28px; }
  .b-chip { display: none; }
  .done-badge { padding: 7px 12px; font-size: 12px; left: 8px; }
  .tr-side, .tr-end { display: none; }
  .tr-meta { inset-inline: 20px; }
  .tr-meta #trd { display: none; }
  .tr-go { display: inline-flex; }
  .phone { height: min(62vh, 560px); }
  .lab { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { min-height: 180px; }
  .t-wide { grid-column: auto; } .t-tall { grid-row: auto; }
  .ai { grid-template-columns: 1fr; gap: 36px; }
  .plats { grid-template-columns: 1fr; }
  .cmp { overflow-x: auto; }
  .cmp-r { grid-template-columns: 120px 150px 130px 130px; min-width: 530px; }
  .cmp-r > span { padding: 12px; font-size: 13px; }
  .plans { grid-template-columns: 1fr; }
  .faq-w { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .v { width: 290px; }
  .foot { padding-inline: 20px; }
  .foot-g { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-g > :first-child, .foot-g > :last-child { grid-column: span 2; }
  .sheet { padding-inline: 20px; }
  .hz-card { height: 60svh; }
}
@media (max-width: 420px) {
  .h1 { font-size: 40px; }
  .cta .mag { flex: 1 1 100%; }
  .collage { height: 290px; }
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip .ic { width: 26px; height: 26px; font-size: 13px; }
  .nav-in { gap: 10px; }
  .nav .mag-sm { padding: 9px 14px; font-size: 13px; }
  .lab-view { grid-template-columns: 1fr; }
  .lab-ph { display: none; }
  .bill button { padding: 0 12px; font-size: 13px; }
}

/* horizontal demo gallery (after base rules so the mobile height override above wins via source order below) */
.hz { position: relative; }
.hz-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 4vh; overflow: hidden; }
.hz-head { padding-inline: 6vw; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hz-head .sec-h { font-size: clamp(26px, 3.4vw, 50px); }
.hz-head p { color: var(--mute); max-width: 460px; font-size: 15px; }
.hz-track { display: flex; gap: 2.4vw; padding-inline: 6vw; width: max-content; will-change: transform; }
.hz-card { flex: 0 0 min(440px, 80vw); height: min(60vh, 540px); border-radius: 28px; position: relative; overflow: hidden; display: grid; align-content: end; padding: 26px; color: #fff; will-change: transform; background: #222; }
.hz-card .bg { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.hz-card .bg img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hz-card:hover .bg { transform: scale(1.05); }
.hz-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--dc) 70%, #000) 78%, #0b0a10); }
.hz-card .in { position: relative; display: grid; gap: 6px; }
.hz-card .cat { font-size: 12px; opacity: .85; font-weight: 700; }
.hz-card h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; line-height: 1.3; }
.hz-card p { font-size: 13px; opacity: .85; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hz-card .act { display: flex; gap: 8px; margin-top: 10px; }
.hz-card .act .mag-s { border-color: rgb(255 255 255 / .4); }
.hz-card .cover { position: absolute; inset: 0; }
.hz-own { background: linear-gradient(150deg, var(--acc), #1e1b2e 70%); align-content: center; }
.hz.native .hz-pin { height: auto; padding: 12vh 0; }
.hz.native .hz-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.hz.native .hz-card { scroll-snap-align: start; }
.hz-fail { padding: 0 6vw; color: var(--mute); }
.hz-fail a { color: var(--fg); border-bottom: 1px solid var(--acc-2); }
@media (max-width: 860px) {
  .hz-head { padding-inline: 20px; flex-direction: column; align-items: start; }
  .hz-head p { display: none; }
  .hz-track { padding-inline: 20px; gap: 14px; }
  .hz-card { height: min(58svh, 500px); padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .line > span { transform: none !important; opacity: 1 !important; }
  .intro { display: none !important; }
  .big-q .w { opacity: 1 !important; }
}

/* static fallback (reduced motion or GSAP unavailable) */
.build.static, .trades.static { height: auto; }
.build.static .build-pin { position: relative; height: auto; padding-block: 14vh; }
.build.static .swap { gap: 22px; }
.build.static .swap > * { grid-area: auto; opacity: 1; transform: none; }
.build.static .steps { display: none; }
.trades.static .tr-pin { position: relative; height: 100svh; min-height: 640px; }

/* gallery cards: the whole demo screenshot is visible (natural 960x675 ratio), text sits below it */
.hz-card { flex: 0 0 min(600px, 86vw, calc((100svh - 380px) * 1.42)); height: auto !important; padding: 0 !important; display: flex; flex-direction: column; align-content: initial; background: color-mix(in srgb, var(--dc, #7c3aed) 24%, #121019); border: 1px solid rgb(255 255 255 / .08); }
.hz-card .bg { position: relative; inset: auto; aspect-ratio: 960 / 675; overflow: hidden; flex: none; border-bottom: 1px solid rgb(255 255 255 / .08); }
.hz-card .bg img { object-fit: cover; object-position: top; }
.hz-card .shade { display: none; }
.hz-card .in { padding: 18px 22px 22px; }
.hz-card h3 { font-size: clamp(20px, 1.9vw, 28px); }
.hz-card.hz-own { justify-content: flex-end; min-height: calc(min(600px, 86vw, calc((100svh - 380px) * 1.42)) / 1.42 + 170px); background: linear-gradient(160deg, #7c3aed, #2a1d4a); }
@media (max-width: 700px) { .hz-card { flex-basis: 84vw; } .hz-card .in { padding: 14px 16px 18px; } .hz-card p { -webkit-line-clamp: 2; } }

/* phone mockup: the screen has the screenshots' exact ratio (585x1200), so nothing is cropped */
.phone { height: auto !important; aspect-ratio: auto; width: min(calc((68vh - 20px) * 0.4875 + 20px), 320px); }
.phone-sc { height: auto; aspect-ratio: 585 / 1200; }
@media (max-width: 860px) { .phone { width: min(calc((58svh - 20px) * 0.4875 + 20px), 64vw); border-radius: 36px; } .phone-sc { border-radius: 28px; } }

/* keep the bottom-left corner of the trades pin free for the floating advisor launcher */
.tr-meta { padding-left: 110px; }

/* Persian digits: tabular figures print wide gaps, so headline numbers use proportional ones */
.price b, .stats b, .tr-meta .n { font-variant-numeric: normal; }

/* ===== phone and small tablet layout ===== */
@media (max-width: 860px) {
  .sec { padding: 72px 0; }
  .head { margin-bottom: 32px; }
  .hero { padding: 104px 20px 48px; gap: 28px; }
  .proof li { padding: 14px 20px; }

  /* how it works */
  .build-pin { padding: 76px 20px 24px; gap: 22px; }
  .build-txt h3 { font-size: clamp(24px, 7vw, 30px); margin: 8px 0 10px; }

  /* trade phones: title on top, larger phone, controls at the bottom */
  .tr-k { top: max(84px, 10svh); inset-inline: 20px; }
  .tr-side { display: block; inset-inline: 20px; top: calc(max(84px, 10svh) + 26px); transform: none; max-width: none; text-align: center; }
  .tr-side h3 { font-size: 24px; }
  .tr-side ul, .tr-side .mag { display: none; }
  .tr-name { display: none; }
  .phone { width: min(calc((100svh - 300px) * 0.4875 + 20px), 76vw); margin-top: 56px; }
  .tr-meta { bottom: 28px; inset-inline: 20px; align-items: center; }

  /* demos: a swipeable row, straight cards */
  .hz.native .hz-pin { padding: 72px 0; gap: 24px; overflow: visible; }
  .hz-head .sec-h { font-size: 28px; }
  .hz-head p { display: block; font-size: 14px; }
  .hz.native .hz-track { padding-inline: 20px; scroll-padding-inline: 20px; gap: 14px; align-items: stretch; scrollbar-width: none; will-change: auto; }
  .hz.native .hz-track::-webkit-scrollbar { display: none; }
  .hz-card { flex: 0 0 min(84vw, 420px); border-radius: 22px; will-change: auto; }
  .hz-card .in { padding: 16px 18px 20px; flex: 1; align-content: start; }
  .hz-card h3 { font-size: 20px; }
  .hz-card .act { align-self: end; }
  .hz-card.hz-own { min-height: 0; }
  .hz-card.hz-own .in { flex: none; }

  .tile { min-height: 0; padding: 22px; }
  .bgrid { gap: 12px; }

  /* comparison: no sideways scrolling; the question is a full-width line, the three answers sit under it */
  .cmp { overflow: hidden; border-radius: 20px; }
  .cmp-r { grid-template-columns: 1.15fr 1fr 1fr; min-width: 0; border-top: 1px solid var(--line); }
  .cmp-r.cmp-h { border-top: 0; }
  .cmp-r > span { border-top: 0; padding: 10px; font-size: 12.5px; line-height: 1.7; flex-wrap: wrap; align-items: start; align-content: start; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
  .cmp-r > [role="rowheader"] { grid-column: 1 / -1; padding: 12px 12px 4px; font-size: 14px; }
  .cmp-h > span:first-child { display: none; }
  .cmp-h > span { font-size: 13px; }
  .cmp svg { width: 16px; height: 16px; }

  .sheet { padding: 72px 20px 48px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; padding-top: 28px; }
  .stats b { font-size: clamp(36px, 11vw, 48px); }
  .stats span { font-size: 13px; line-height: 1.6; display: block; }
  .voices { padding: 48px 0 64px; }
  .fcta { min-height: 0; padding: 88px 20px; }
  .fcta h2 { font-size: clamp(32px, 9.4vw, 48px); text-wrap: balance; }
  .foot { padding: 56px 20px 96px; }
  .trades-f { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

  /* touch targets and legible small print */
  .foot nav a, .foot .ct a, .trades-f a { min-height: 44px; display: flex; align-items: center; }
  .faq-w summary { min-height: 48px; }
  .chip small, .hz-card .cat { font-size: 12px; }
}
@media (max-width: 360px) {
  .h1 { font-size: 36px; }
  .sec-h { font-size: 25px; }
}
/* phones held sideways: short viewport, so pinned scenes must not overflow */
@media (max-height: 520px) and (orientation: landscape) {
  .tr-k, .tr-side { display: none; }
  .phone { margin-top: 0; width: min(calc((100svh - 40px) * 0.4875 + 20px), 300px); }
}
@media (max-width: 860px) {
  .dots { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 8px; justify-items: center; }
  .dot { width: 40px; height: 40px; }
  .more { height: 40px; grid-column: span 2; }
}
/* these tiles' bars collapsed to zero width inside the centred .viz */
.viz.seo { justify-content: stretch; grid-template-columns: 1fr; }
.viz.speed { grid-template-columns: 1fr; width: 100%; }
@media (max-width: 860px) {
  .browser { aspect-ratio: 16 / 13; }
  .foot .ct a { gap: 6px; }
  .fcta h2 { font-size: clamp(28px, 8.2vw, 48px); }
  .viz.speed { justify-content: stretch; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .build-pin { grid-template-columns: 1fr 1fr; padding: 60px 24px 12px; gap: 24px; align-items: center; }
  .build-txt h3 { font-size: 22px; margin: 4px 0 6px; }
  .build-txt p { line-height: 1.7; font-size: 14px; }
  .browser { aspect-ratio: 16 / 10.5; width: min(100%, calc((100svh - 84px) * 1.5)); }
}
@media (max-width: 860px) and (max-height: 620px) and (orientation: portrait) {
  .build-pin { padding-top: 84px; gap: 14px; }
  .build-txt .sec-k { display: none; }
}

/* custom cursor removed: the normal system cursor everywhere */
.cursor, .m.fine .cursor { display: none !important; }
.m.fine body { cursor: auto; }
.m.fine a, .m.fine button, .m.fine summary, .m.fine label { cursor: pointer; }
