/* Embrix v2 — one stylesheet. Logical properties throughout, so the Urdu (RTL) pages mirror for free. */
:root {
  --ink: #0b0d0e; --bone: #f3f0e8; --paper: #faf8f3; --teal: #33af95; --brass: #c8a56a;
  --bg: var(--bone); --fg: var(--ink); --mute: #5f6460; --rule: rgba(11, 13, 14, .13); --accent: #0d7a66;
  --sans: "Geist", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --num: "Geist", ui-sans-serif, system-ui, sans-serif; /* numerals stay Latin on Urdu pages */
  --gut: clamp(16px, 2.8vw, 40px); --wrap: 1800px; /* widest the content gets on large desktops */ --r: 14px; --r-lg: 24px; --dir: 1;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
[dir="rtl"] { --dir: -1 }
/* One "fabric" per product; every tone sets the same five variables. */
[data-tone] { background: var(--bg); color: var(--fg) }
[data-tone="ink"] { --bg: #0b0d0e; --fg: #f3f0e8; --mute: rgba(243, 240, 232, .62); --rule: rgba(243, 240, 232, .15); --accent: #56dcbf }
[data-tone="teal"] { --bg: #0a3832; --fg: #f3f0e8; --mute: rgba(243, 240, 232, .7); --rule: rgba(243, 240, 232, .18); --accent: #7cecd2 }
[data-tone="paper"] { --bg: #e8e3d6; --fg: #0b0d0e; --mute: #585c58; --rule: rgba(11, 13, 14, .15); --accent: #0d7a66 }

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px }
html.is-locked { overflow: hidden }
html.lenis, html.lenis body { height: auto }
html.lenis { scroll-behavior: auto }
.lenis.lenis-stopped { overflow: clip }
.lenis [data-lenis-prevent] { overscroll-behavior: contain }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip }
a { color: inherit; text-decoration: none }
img, svg, canvas { display: block; max-width: 100% }
h1, h2, h3, p { overflow-wrap: break-word }
[hidden] { display: none !important }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px }
::selection { background: var(--teal); color: #04130f }
.skip { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 8px }
.skip:focus { top: 16px }

/* ---------- type ---------- */
.display { margin: 0; font-weight: 300; font-size: clamp(2.3rem, 4.3vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance }
.display--sm { font-size: clamp(2.2rem, 5vw, 4.6rem) }
.display--p { font-size: clamp(2.1rem, 3.7vw, 3.9rem) }
.h2 { margin: 0; font-weight: 400; font-size: clamp(1.85rem, 3.2vw, 2.875rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance }
.h2--sm { font-size: clamp(1.45rem, 2.2vw, 2rem) }
.h3 { margin: 0; font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.2; letter-spacing: -.015em }
:is(.display, .h2) em { font-style: normal; color: var(--accent) }
.lede { margin: 0; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.5; color: var(--mute); max-width: 56ch; text-wrap: pretty }
.label { display: inline-flex; align-items: center; gap: 7px; margin: 0; font: 600 14px/1.2 var(--mono); letter-spacing: 0; text-transform: uppercase; color: var(--fg) }
.label i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent) }

/* ---------- primitives ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; position: relative }
.sec { padding-block: clamp(72px, 10vw, 150px); position: relative }
.slab { position: relative; overflow: hidden; width: min(100% - 2 * var(--gut), var(--wrap)); margin: clamp(24px, 4vw, 60px) auto; padding: clamp(48px, 7vw, 110px) clamp(20px, 4.5vw, 72px); border-radius: var(--r-lg) }
/* Section heads, after dalco.ch: label on the left, content from 51% across. One axis for every section. */
.sec-head { display: grid; grid-template-columns: 51fr 49fr; align-items: start; row-gap: 20px }
.sec-head__body { display: grid; gap: 12px; justify-items: start; max-width: 30.500rem }
.sec-head__body :is(h2, p), .faq__head h2, .intro__text { margin: 0; font: 500 clamp(1.125rem, 1.45vw, 1.375rem)/1.4 var(--sans); letter-spacing: -.02em; text-wrap: pretty }
.sec-head__body > p:not(.intro__text) { color: var(--mute) }
:is(.sec-head__body, .faq__head) em { font-style: normal; color: var(--accent) }
/* intro: the label, then a headline with its paragraph beside it */
.intro { padding-block: clamp(64px, 7vw, 112px) }
.intro .label { margin-bottom: clamp(28px, 3.5vw, 56px) }
.intro__title { max-width: 13.500em; padding-inline-end: 24px }
.intro .sec-head__body { gap: 30px }
.stitch { height: 1px; opacity: .35; background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px) }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding-inline: 22px 8px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .3s, color .3s, border-color .3s }
.btn__i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 15px; transition: translate .4s var(--ease) }
.btn__i svg, .link svg, .mega__go svg, .ad__arrow svg { scale: var(--dir) 1 }
.btn:hover .btn__i { translate: calc(3px * var(--dir)) 0 }
.btn--dark { background: var(--ink); color: var(--bone) }
.btn--dark:hover { background: #000 }
.btn--light { background: var(--bone); color: var(--ink) }
.btn--light .btn__i, .btn--teal .btn__i { background: rgba(11, 13, 14, .1) }
.btn--light:hover { background: #fff }
.btn--teal { background: var(--teal); color: #04130f }
.btn--teal:hover { background: #56dcbf }
.btn--line { color: inherit; border-color: color-mix(in srgb, currentColor 32%, transparent) }
.btn--line .btn__i { background: color-mix(in srgb, currentColor 11%, transparent) }
.btn--line:hover { border-color: currentColor }
.btn:disabled { opacity: .6; cursor: progress }

.link { display: inline-flex; align-items: center; gap: 8px; padding-block: 7px; font: 500 14px/1.2 var(--sans); color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat }
.link svg { font-size: 15px; transition: translate .4s var(--ease) }
a.link:hover svg, a:hover > .link svg { translate: calc(4px * var(--dir)) 0 }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45 }
.ticks svg { flex: none; margin-top: 3px; font-size: 14px; color: var(--accent) }

.js .rv { opacity: 0; translate: 0 26px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms) }
.js .rv.in { opacity: 1; translate: 0 0 }

/* ---------- nav ---------- */
.nav { position: fixed; inset-block-start: 14px; inset-inline: 0; z-index: 50; padding-inline: var(--gut); pointer-events: none }
.nav__bar { position: relative; pointer-events: auto; margin-inline: auto; max-width: var(--wrap); height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-inline: 20px 8px; border-radius: 16px; background: #f6f3ec; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .45); color: var(--ink); transition: max-width .8s var(--ease) }
/* Solid, not glass: a see-through bar turns grey over the dark hero video and only reads cream over light sections.
   Solid, it is the same cream at the top of the page and after scrolling. */
.nav.is-scrolled .nav__bar { max-width: 1400px }
.nav__logo .logo { height: 23px; width: auto; fill: var(--ink) }
.nav__links { display: flex; align-items: center; gap: 2px }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .25s }
.nav__link svg { flex: none }
.nav__link svg { font-size: 13px; opacity: .6; transition: rotate .3s }
.nav__link:hover, .menu[open] > .nav__link, .nav__link[aria-current] { background: rgba(11, 13, 14, .07) }
.menu[open] > .nav__link svg { rotate: 180deg }
.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 8px }
.nav__end .btn { height: 44px }
.menu { position: relative }
.menu summary { list-style: none }
.menu summary::-webkit-details-marker { display: none }
.menu__panel { position: absolute; top: calc(100% + 16px); left: 50%; translate: -50% 0; z-index: 2; display: grid; gap: 4px; min-width: 280px; padding: 8px; border-radius: 18px; background: rgba(250, 248, 243, .97); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .5); animation: pop .35s var(--ease) }
.menu__panel::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px }
.menu--end .menu__panel { left: auto; inset-inline-end: 0; translate: 0 0 }
/* Products: a mega menu as wide as the bar (after dalco.ch) — a photo that follows the pointer, then the products.
   Its details element stops being the positioning box, so the panel spans the bar; the label carries the hover
   bridge down to the panel (a full-width bridge would sit over the other links). */
.menu--mega { position: static }
.menu--mega > summary { position: relative }
.menu--mega[open] > summary::after { content: ""; position: absolute; inset: 100% 0 auto; height: 34px }
.mega { inset-inline: -1px; translate: none; top: calc(100% + 10px); grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(20px, 2.5vw, 40px); padding: clamp(14px, 1.4vw, 22px); border-radius: 16px; background: #f6f3ec }
.mega::before { content: none }
.mega__media { position: relative; margin: 0; aspect-ratio: 1.1; overflow: hidden; border-radius: 12px; background: #14181a }
.mega__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.04; transition: opacity .6s var(--ease), scale 1.2s var(--ease) }
.mega__media img.is-on { opacity: 1; scale: 1 }
/* Three shared rows (icon · name · line) through subgrid, so names and lines align whatever each line's length. */
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr auto auto; gap: 0 8px }
.mega__list > li { display: grid; grid-row: span 3; grid-template-rows: subgrid }
.mega__item { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; align-items: start; justify-items: start; padding: clamp(16px, 1.6vw, 24px); border-radius: 12px; transition: background .3s }
.mega__item:is(.is-on, :focus-visible) { background: rgba(11, 13, 14, .05) }
.mega__item .pcard__i { margin-bottom: 28px }
.mega__item b { font-weight: 400; font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.2; letter-spacing: -.02em }
.mega__line { max-width: 30ch; font-size: 14px; line-height: 1.45; color: var(--mute) }
.mega__go { position: absolute; top: clamp(16px, 1.6vw, 24px); inset-inline-end: clamp(16px, 1.6vw, 24px); font-size: 18px; opacity: .35; transition: opacity .3s, translate .4s var(--ease) }
.mega__item.is-on .mega__go { opacity: 1; translate: calc(3px * var(--dir)) 0 }
.pcard__i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 26px; border-radius: 10px; background: color-mix(in srgb, var(--fg, #0b0d0e) 9%, transparent); color: var(--accent); font-size: 21px }
.mrow { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 12px; transition: background .25s }
.mrow:hover { background: rgba(11, 13, 14, .06) }
.mrow .pcard__i { margin: 0 }
.mrow b { display: block; font-weight: 500; font-size: 15px }
.mrow small { font: 500 11px var(--mono); color: var(--mute) }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--rule); font: 500 12px/1 var(--mono) }
.lang a { display: grid; place-items: center; min-width: 38px; height: 30px; padding-inline: 10px; border-radius: 999px; transition: background .25s, color .25s }
.lang a[lang="ur"] { font: 500 13px/1 "Noto Naskh Arabic", "Segoe UI", sans-serif; padding-bottom: 3px }
.lang a[aria-current] { background: var(--fg); color: var(--bg) }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; place-items: center; align-content: center; gap: 6px }
.nav__burger i { display: block; width: 18px; height: 1.500px; background: var(--bone); transition: translate .4s var(--ease), rotate .4s var(--ease) }
.nav__burger[aria-expanded="true"] i:first-child { translate: 0 3.750px; rotate: 45deg }
.nav__burger[aria-expanded="true"] i:last-child { translate: 0 -3.750px; rotate: -45deg }
.drawer { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: auto; padding: 108px var(--gut) 28px; background: var(--ink); color: var(--bone); --fg: var(--bone); --bg: var(--ink); --mute: rgba(243, 240, 232, .6); --rule: rgba(243, 240, 232, .16); --accent: #56dcbf; animation: pop .4s var(--ease) }
.drawer nav { display: grid }
.drawer nav a { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--rule); font-weight: 300; font-size: 28px; letter-spacing: -.03em }
.drawer nav a.drawer__p { font-size: 20px; padding-inline-start: 18px }
.drawer nav svg { color: var(--accent); font-size: 20px }
.drawer__foot { display: grid; gap: 6px }
.drawer__foot .mrow:hover { background: rgba(243, 240, 232, .07) }
.drawer__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px }
.drawer__row .btn { display: inline-flex; background: var(--bone); color: var(--ink) }

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 100svh; padding-block: 130px clamp(24px, 3.4vw, 48px) }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover }
/* Scrim: dark where the copy sits (reading side and bottom), clear where the footage should show. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 13, 14, .92), rgba(11, 13, 14, 0) 62%), linear-gradient(to right, rgba(11, 13, 14, .82), rgba(11, 13, 14, .3) 62%, rgba(11, 13, 14, .12)), linear-gradient(rgba(11, 13, 14, .5), rgba(11, 13, 14, 0) 22%) }
[dir="rtl"] .hero::before { scale: -1 1 }
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: min(100% - 2 * var(--gut), var(--wrap)) }
.hero__copy { display: grid; gap: 24px; justify-items: start; max-width: min(62vw, 860px) }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px }

/* ---------- pin: the hero holds while the intro slides up over it ---------- */
/* A hero taller than the screen pins only once its end is on screen (--pin-h is its height, set by site.js). */
.js .pin > :first-child { position: sticky; top: min(0px, calc(100svh - var(--pin-h, 100svh))) } /* without JS the hero simply scrolls away */
.pin > :first-child::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #0b0d0e; opacity: calc(var(--cover, 0) * .62); pointer-events: none }
.pin > :first-child > .wrap { translate: 0 calc(var(--cover, 0) * -5vh) }
.pin > .intro { z-index: 1; background: var(--bone); box-shadow: 0 -30px 70px -30px rgba(0, 0, 0, .5) }

/* ---------- statement (lights up word by word on scroll) ---------- */
.js .w { opacity: clamp(.14, calc((clamp(0, calc((var(--p, 0) - .14) / .4), 1) * (var(--n) + 7) - var(--i)) / 7), 1) }

/* ---------- product chapters (home) ---------- */
.chapters { padding-bottom: clamp(24px, 4vw, 60px) }
/*
 * The cards stack, then leave together. All three pin at the same top and share one height (1fr rows), so they
 * reach the end of the stack at the same moment; the 18px step between them is drawn with translate, which
 * sticky positioning ignores. The bottom margin makes room for the last card's step.
 */
.chapter-stack { display: grid; grid-auto-rows: 1fr; gap: 20px; margin-block: clamp(40px, 6vw, 90px) calc((var(--n, 1) - 1) * 18px) }
.chapter { position: sticky; top: 88px; translate: 0 calc(var(--k) * 18px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(80svh, 780px); padding: clamp(22px, 3.6vw, 56px); border-radius: var(--r-lg); border: 1px solid var(--rule); box-shadow: 0 -24px 60px -44px rgba(0, 0, 0, .55) }
.chapter[data-tone="ink"] { background: radial-gradient(90% 120% at 100% 0, rgba(51, 175, 149, .2), transparent 55%), var(--bg) }
.chapter[data-tone="teal"] { background: radial-gradient(90% 120% at 100% 0, rgba(124, 236, 210, .16), transparent 55%), var(--bg) }
.chapter__copy { display: grid; gap: 22px; justify-items: start }
.chapter__name { margin: 0; font-weight: 300; font-size: clamp(2.3rem, 4.4vw, 4.6rem); line-height: 1; letter-spacing: -.045em }
.chapter__line { margin: 0; max-width: 22ch; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; color: var(--mute); text-wrap: balance }
.chapter__line em { font-style: normal; color: var(--fg) }
.chapter__idx { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase }
.chapter__idx b { font-weight: 500; color: var(--accent) }
.chapter__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 14px }
.chapter__visual { display: grid; place-items: center }

/* ---------- how Embrix connects ---------- */
.connect { background: radial-gradient(70% 90% at 0 100%, rgba(51, 175, 149, .16), transparent 60%), var(--bg) }
.connect__grid { list-style: none; margin: clamp(40px, 6vw, 84px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px) }
.cstep { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 24px; border-top: 1px solid var(--rule) }
.cstep__n, .step__n { font: 300 clamp(2rem, 3vw, 3rem)/1 var(--num); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--accent) }
.cstep p { margin: 0 0 8px; font-size: 15px; color: var(--mute) }
.cstep .link { margin-top: auto }

/* ---------- who it's for ---------- */
.tiles { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.2vw, 32px) }
.tile__art { position: relative; aspect-ratio: 4 / 4.500; overflow: hidden; border-radius: var(--r); background: #1b2124 }
.tile__art img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease) }
.tile__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11, 13, 14, .5), rgba(11, 13, 14, 0) 34%) }
.tile:hover img { scale: 1.06 }
.tile__art span { position: absolute; z-index: 1; top: 16px; inset-inline-start: 18px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: #f3f0e8 }
.tile__name { margin: 18px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--rule); font-weight: 400; font-size: 20px; line-height: 1.25; letter-spacing: -.02em }
.tile__desc { margin: 14px 0 0; font-size: 15px; color: var(--mute) }

/* ---------- why Embrix: four facts, each with its photograph ---------- */
/* The photo fills its column and takes the rows' height; the row is at least 16:10 of that column. */
.why__grid { margin-top: clamp(40px, 6vw, 80px); grid-template-rows: minmax(clamp(320px, 28vw, 520px), auto); align-items: stretch }
.why__media { position: relative; justify-self: stretch; margin: 0; margin-inline-end: clamp(20px, 4vw, 64px); overflow: hidden; border-radius: var(--r-lg); background: #14181a }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.07; transition: opacity 1s var(--ease), scale 7s linear }
.why__media img.is-on { opacity: 1; scale: 1 }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; border-bottom: 1px solid var(--rule) }
.why__list li { position: relative; display: grid; grid-template-columns: 2.500rem minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding-block: 18px; border-top: 1px solid var(--rule); transition: opacity .5s }
/* While the rows cycle, the current one is lit and a hairline runs along its top edge. */
.is-cycling .why__list li:not(.is-on) { opacity: .4 }
.is-cycling .why__list li.is-on::after { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--fg); transform-origin: 0 50%; animation: fill 4.500s linear forwards }
[dir="rtl"] .is-cycling .why__list li.is-on::after { transform-origin: 100% 50% }
.why__n { font: 500 12px/1 var(--mono); color: var(--accent) }
.why__v { margin: 0; font: 300 clamp(1.5rem, 2.5vw, 2.4rem)/1.1 var(--sans); letter-spacing: -.035em }
.why__l { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-align: end; color: var(--mute) }

/* ---------- call to action ---------- */
.cta { display: grid; place-items: center; padding-block: clamp(56px, 6.5vw, 100px); text-align: center; background: radial-gradient(60% 70% at 50% 110%, rgba(51, 175, 149, .28), transparent 65%), var(--bg) }
.cta__in { position: relative; display: grid; justify-items: center; gap: 22px; max-width: 920px }
.cta__in .hero__cta { justify-content: center }
.cta__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none }
.cta__rings i { position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(243, 240, 232, .12); animation: spin 110s linear infinite }
.cta__rings i:nth-child(1) { width: min(72vw, 700px) }
.cta__rings i:nth-child(2) { width: min(104vw, 1060px); border-color: rgba(86, 220, 191, .18); animation-duration: 160s; animation-direction: reverse }
.cta__rings i:nth-child(3) { width: min(136vw, 1460px); animation-duration: 220s }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; margin-top: clamp(24px, 4vw, 60px); padding-block: clamp(56px, 7vw, 110px) 6px }
.foot__top { display: grid; grid-template-columns: 51fr 49fr; gap: 40px 0; align-items: start; padding-bottom: clamp(40px, 5vw, 72px) }
.foot__brand { display: grid; gap: clamp(24px, 3vw, 40px); justify-items: start; padding-inline-end: 32px }
.foot__logo .logo { display: block; width: auto; height: 50px; fill: currentColor }
.foot__tag { margin: 0; max-width: 30ch; font-weight: 300; font-size: clamp(1.4rem, 2.3vw, 1.6rem); line-height: 1.18; letter-spacing: -.03em; text-wrap: balance }
.foot__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-items: start }
.foot__link { display: block; width: fit-content; margin-top: 14px; font-size: clamp(1.1rem, 1.5vw, 1.45rem); letter-spacing: -.02em; white-space: nowrap; transition: color .3s }
.foot__link:hover { color: var(--accent) }
.foot__addr { grid-column: 1 / -1; margin: 0; color: var(--mute) }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: clamp(36px, 5vw, 64px) }
.foot__h { margin: 0 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--mute) }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.foot__cols a { font-size: 15px; opacity: .88; transition: color .3s, opacity .3s }
/* Letter roll (footer links, top bar): on hover each letter rolls up and its copy (a text-shadow one line below)
   rolls in after it. overflow: clip, not hidden, so each word box keeps the text baseline. */
.roll { --lh: 1.3em }
.roll__w { display: inline-flex; overflow: clip; line-height: var(--lh) }
.roll__w > span { display: inline-block; text-shadow: 0 var(--lh) currentColor; transition: translate .5s var(--ease) calc(var(--i) * 16ms) }
:is(a, summary, button):is(:hover, :focus-visible) .roll__w > span, .menu[open] > summary .roll__w > span { translate: 0 calc(-1 * var(--lh)) }
html[lang="ur"] .roll { --lh: 1.9em }
/* In the top bar the word box is taller than the text line it replaces (room for descenders); negative margins
   give the difference back, so the links and buttons keep exactly the size and background they had. */
:is(.nav__link, .btn) .roll__w { margin-block: calc((1em - var(--lh)) / 2) }
html[lang="ur"] .nav__link .roll__w { margin-block: calc((1.7em - var(--lh)) / 2) } /* Urdu's text line is 1.7em here */
.foot__cols a:hover, .foot__bottom a:hover { opacity: 1; color: var(--accent) }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mute) }
.foot__bottom p { margin: 0; margin-inline-end: auto }
.foot__bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0 }

/* ---------- product page ---------- */
.phero { position: relative; overflow: hidden; padding-top: 112px }
.phero[data-tone="ink"] { background: radial-gradient(60% 80% at 85% 30%, rgba(51, 175, 149, .24), transparent 62%), var(--bg) }
.phero[data-tone="teal"] { background: radial-gradient(60% 80% at 85% 30%, rgba(124, 236, 210, .2), transparent 62%), var(--bg) }
.phero[data-tone="paper"] { background: radial-gradient(60% 80% at 85% 30%, #f6f2e8, transparent 62%), var(--bg) }
[dir="rtl"] .phero { background-position-x: right }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute) }
.crumbs a:hover, .crumbs [aria-current] { color: var(--fg) }
.crumbs i { font-style: normal; opacity: .5 }
.phero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-block: clamp(32px, 4.500vw, 64px) clamp(40px, 5vw, 72px) }
.phero__copy { display: grid; gap: 22px; justify-items: start }
.phero__visual { display: grid; place-items: center }
.phero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; width: 100%; margin: 10px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule) }
.phero__meta b { display: block; font: 400 22px/1.2 var(--sans); letter-spacing: -.025em }
.phero__meta span { font: 500 11px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute) }
.subnav { display: flex; flex-wrap: wrap; gap: 6px 30px; padding-block: 18px; border-top: 1px solid var(--rule); font-size: 14px }
.subnav a { display: inline-flex; align-items: baseline; gap: 8px; color: var(--mute); transition: color .3s }
.subnav a:hover { color: var(--fg) }
.subnav i, .toc i { font: 500 10px/1 var(--mono); font-style: normal; color: var(--accent) }

.steps { list-style: none; margin: 0; padding: 0 }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px clamp(18px, 2.4vw, 36px); align-items: start; padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rule) }
.step:last-child { border-bottom: 1px solid var(--rule) }
.step__n { min-width: 1.500em }
#how-it-works .sec-head > :first-child { position: sticky; top: 110px }
.step p { margin: 10px 0 0; max-width: 62ch; color: var(--mute) }
.step .link { grid-column: 2; justify-self: start }

.fx { --px: clamp(20px, 4.500vw, 72px); padding-inline: 0; background: radial-gradient(70% 80% at 100% 0, rgba(51, 175, 149, .15), transparent 60%), var(--bg) }
.fx__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); padding-inline: var(--px) }
.fx__head .h2 { margin-top: 20px; max-width: 20ch }
.fx__ctrl { display: flex; gap: 8px }
.fx__ctrl button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: none; color: inherit; font-size: 18px; cursor: pointer; transition: background .3s, color .3s }
.fx__ctrl button:hover { background: var(--fg); color: var(--bg) }
.fx__ctrl button:first-child svg { scale: calc(-1 * var(--dir)) 1 }
.fx__ctrl button:last-child svg { scale: var(--dir) 1 }
.fx__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none }
.fx__track::-webkit-scrollbar { display: none }
.fx__slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-inline: var(--px) }
.fx__copy { display: grid; gap: 20px; justify-items: start }
.fx__n { margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent) }
.fx__n span { color: var(--mute) }
.fx__visual { display: grid; place-items: center; min-height: 400px; padding: clamp(14px, 2.500vw, 36px); border-radius: var(--r); border: 1px solid var(--rule); background: radial-gradient(120% 100% at 80% 0, rgba(86, 220, 191, .13), transparent 60%), #111517 }
.fx__visual .ui { max-width: 500px }
.fx__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 28px); margin-top: clamp(28px, 4vw, 56px); padding-inline: var(--px) }
.fx__tab { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1.500px solid var(--rule); color: var(--mute); transition: color .4s, border-color .4s }
.fx__tab b { font-weight: 500; font-size: 15px }
.fx__tab span { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase }
.fx__tab.is-on, .fx__tab:hover { color: var(--fg) }
.fx__tab.is-on { border-top-color: var(--accent) }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 6vw, 84px); border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--paper) }
.plan { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 7; align-content: start; gap: 14px; padding: clamp(20px, 2.400vw, 34px); border-inline-end: 1px solid var(--rule) }
.plan:last-child { border: 0 }
.plan--featured { margin-block: -16px; border: 0; border-radius: var(--r-lg); background: radial-gradient(120% 70% at 100% 0, rgba(51, 175, 149, .28), transparent 60%), var(--ink); color: var(--bone); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .6); --fg: var(--bone); --mute: rgba(243, 240, 232, .64); --rule: rgba(243, 240, 232, .17); --accent: #56dcbf }
.plan__badge { position: absolute; top: 16px; inset-inline-end: 16px; margin: 0; padding: 6px 10px; border-radius: 999px; background: var(--teal); color: #04130f; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase }
.plan--featured .plan__name { padding-inline-end: 110px }
.plan__name { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase }
.plan__desc { margin: 0; font-size: 14px; color: var(--mute) }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 6px 0 0 }
.plan__price small { font: 500 13px/1 var(--mono); color: var(--mute) }
.plan__price b { font-weight: 300; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; letter-spacing: -.04em }
.plan__price span { flex-basis: 100%; font-size: 13px; color: var(--mute) }
.plan__save { margin: 0; font-size: 13px; color: var(--accent) }
.plan .ticks { margin-block: 6px 16px; padding-top: 18px; border-top: 1px dashed var(--rule) }
.plan .ticks li { font-size: 14px }
.plan .btn { align-self: end }
.plan__note { margin: 0; font-size: 12px; color: var(--mute) }
.fee { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding: clamp(20px, 2.400vw, 32px); border-radius: var(--r); border: 1px dashed rgba(11, 13, 14, .28) }
.fee .h3 { margin-top: 14px }
.fee div > p:last-child { margin: 6px 0 0; color: var(--mute) }
.fee .plan__price { margin: 0 }
.fee .plan__price span { flex-basis: auto }
.incl { margin-top: clamp(44px, 5vw, 76px) }
.incl ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; border-top: 1px solid var(--rule) }
.incl li { display: grid; gap: 8px; align-content: start; padding-top: 20px }
.incl b { font-weight: 500; font-size: 15px }
.incl span { font-size: 13.500px; color: var(--mute) }

.faq__head, .story__side, .formsec__side { position: sticky; top: 110px; display: grid; gap: 22px; align-self: start; justify-items: start }
.formsec__side { max-width: 34rem; padding-inline-end: 32px }
.qa { border-top: 1px solid var(--rule) }
.qa:last-child { border-bottom: 1px solid var(--rule) }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; list-style: none; cursor: pointer }
.qa summary::-webkit-details-marker { display: none }
.qa summary h3 { margin: 0; font-weight: 400; font-size: clamp(1.05rem, 1.400vw, 1.3rem); line-height: 1.3; letter-spacing: -.015em }
.qa summary i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule); transition: rotate .4s var(--ease), background .3s, color .3s }
.qa[open] summary i { rotate: 45deg; background: var(--ink); color: var(--bone) }
.qa > p { margin: 0 0 26px; max-width: 68ch; color: var(--mute) }

.cross { padding-top: 0 }
.cross__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.200vw, 32px); margin-top: clamp(36px, 5vw, 64px) }
.xcard { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 300px; padding: clamp(22px, 3vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--rule); transition: translate .6s var(--ease) }
.xcard:hover { translate: 0 -6px }
.xcard__i { margin-bottom: auto; font-size: 30px; color: var(--accent) }
.xcard p { margin: 0 0 6px; max-width: 46ch; color: var(--mute) }

/* ---------- inner pages ---------- */
.phead { position: relative; padding-top: 140px }
.phead__in { display: grid; gap: 22px; justify-items: start; max-width: 1040px; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 96px) }
.phead .stitch { margin-inline: var(--gut) }
.phead--404 .phead__in { min-height: 46svh; align-content: center }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px }
.toc a { display: flex; align-items: baseline; gap: 10px; color: var(--mute); transition: color .3s }
.toc a:hover { color: var(--fg) }
.prose { max-width: 40rem; font-size: 16.500px; line-height: 1.7 }
.prose--lg { font-size: clamp(1.05rem, 1.300vw, 1.25rem); line-height: 1.6 }
.prose > :first-child { margin-top: 0 }
.prose h2 { margin: 2.200em 0 .6em; font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.02em; scroll-margin-top: 120px }
.prose p { margin: 0 0 1.100em; color: #2b302d }
.prose ul, .prose ol { display: grid; gap: .55em; margin: 0 0 1.200em; padding-inline-start: 1.200em; color: #2b302d }
.prose li::marker { color: var(--accent) }
.prose a, .form__privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px }
.prose strong { font-weight: 600; color: var(--ink) }

.formsec__grid { display: grid; grid-template-columns: 51fr 49fr; gap: 32px 0; align-items: start }
.details, .nextsteps { list-style: none; margin: 8px 0 0; padding: 0; width: 100% }
.details li, .nextsteps li { display: flex; gap: 18px; padding-block: 18px; border-top: 1px solid var(--rule) }
.details svg { flex: none; margin-top: 3px; font-size: 20px; color: var(--accent) }
.details span { display: block; margin-bottom: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute) }
.details a, .details p { margin: 0; font-size: 18px }
.details a:hover { color: var(--accent) }
.nextsteps li { align-items: baseline }
.nextsteps .step__n { font-size: 28px; min-width: 1.400em }
.nextsteps p { margin: 0 }
.form { position: relative; display: grid; gap: 22px; padding: clamp(20px, 3.400vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper) }
.hp { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap } /* not left:-9999px: in RTL that makes the page scroll sideways */
.radios { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0 }
.radios legend, .field > span { padding: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute) }
.radios legend { margin-bottom: 14px }
.radio input { position: absolute; opacity: 0 }
.radio span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 14px 16px; border-radius: 999px; border: 1px solid var(--rule); font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s }
.radio svg { font-size: 16px; color: var(--accent) }
.radio input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bone) }
.radio input:checked + span svg { color: #56dcbf }
.radio input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px }
.field { display: grid; gap: 6px }
.field em { font-style: normal; letter-spacing: 0; text-transform: none; opacity: .65 }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(11, 13, 14, .32); border-radius: 0; background: none; color: var(--ink); font: 400 16px/1.4 var(--sans); outline: 0; resize: vertical; transition: border-color .3s, box-shadow .3s }
.field input::placeholder { color: rgba(11, 13, 14, .32) }
.field :is(input, textarea):focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent) }
.field [aria-invalid="true"] { border-bottom-color: #b93a2a; box-shadow: 0 1px 0 #b93a2a }
.form__hint { margin: -10px 0 0; font-size: 13px; color: var(--mute) }
.form__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #f9e3df; color: #8a2718; font-size: 14px }
.form .btn { justify-self: start }
.form__privacy { margin: 0; font-size: 13px; color: var(--mute) }
.form.is-done > :not(.form__done) { display: none }
.form__done { display: grid; gap: 14px; padding-block: clamp(40px, 8vw, 110px) }

/* ---------- product UI mockups ---------- */
.ui, .receipt { --sans: "Geist", ui-sans-serif, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Consolas, monospace }
.ui { --u-bg: #0f1315; --u-fg: #e9e6de; --u-mute: rgba(233, 230, 222, .56); --u-line: rgba(233, 230, 222, .12); --u-card: #171c1f; --u-idle: #c8a56a; width: 100%; max-width: 640px; overflow: hidden; border-radius: 14px; border: 1px solid var(--u-line); background: var(--u-bg); color: var(--u-fg); box-shadow: 0 44px 90px -44px rgba(0, 0, 0, .7); font: 400 12px/1.4 var(--sans); letter-spacing: 0; text-align: left }
.ui--light { --u-bg: #fbfaf6; --u-fg: #14181a; --u-mute: #6b6f6b; --u-line: rgba(11, 13, 14, .11); --u-card: #f1eee5; --u-idle: #96702a }
.ui__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding-inline: 14px; border-bottom: 1px solid var(--u-line) }
.ui__dots { display: flex; gap: 5px }
.ui__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--u-line) }
.ui__title { overflow: hidden; font: 500 11px/1 var(--mono); letter-spacing: .03em; color: var(--u-mute); white-space: nowrap; text-overflow: ellipsis }
.ui__right { margin-left: auto }
.ui__pad { display: grid; gap: 10px; padding: 16px }
.ui__h { margin: 0; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--u-mute) }
.ui__status { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; border-top: 1px solid var(--u-line); font: 500 10.500px/1.4 var(--mono); color: var(--u-mute) }
.ui__status b { font-weight: 500; color: var(--u-fg) }
.ui__status .ok { margin-left: auto; color: #3fd0b1 }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: 8px; border-radius: 999px; border: 1px solid var(--u-line); font: 500 10px/1 var(--mono); letter-spacing: .03em; white-space: nowrap }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor }
.chip--ghost i { display: none }
.chip--run { color: #3fd0b1; border-color: rgba(63, 208, 177, .4) }
.ui--light .chip--run { color: #0d7a66 }
.chip--run i { animation: pulse 1.600s infinite }
.chip--idle { color: var(--u-idle); border-color: color-mix(in srgb, var(--u-idle) 45%, transparent) }
.chip--stop { color: #ff6b5e; border-color: rgba(255, 107, 94, .45) }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3fd0b1 }
.dot--stop { margin-top: 5px; background: #ff6b5e; box-shadow: 0 0 0 4px rgba(255, 107, 94, .18) }
.kv { display: flex; justify-content: space-between; gap: 12px }
.kv span { color: var(--u-mute) }
.kv b { font-weight: 500; white-space: nowrap }
.meter { height: 4px; overflow: hidden; border-radius: 4px; background: var(--u-line) }
.meter i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: 4px; background: #3fd0b1 }
.meter--warn i { background: #ff6b5e }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr) 1.700fr; border-bottom: 1px solid var(--u-line) }
.kpi { padding: 12px 14px; border-right: 1px solid var(--u-line) }
.kpi:last-child { border: 0 }
.kpi b { display: block; margin-bottom: 4px; font: 300 22px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums }
.kpi span, .mcell__rpm small { font: 500 9.500px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--u-mute) }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px }
.mcell { display: grid; gap: 7px; min-width: 0; padding: 10px; border-radius: 9px; border: 1px solid var(--u-line); background: var(--u-card) }
.mcell__top { display: flex; justify-content: space-between; align-items: center; font: 500 10px/1 var(--mono) }
.mcell__rpm { font: 300 18px/1 var(--sans); letter-spacing: -.03em }
.mcell__rpm small { margin-left: 4px; letter-spacing: .04em }
.mcell__op { overflow: hidden; font-size: 10px; color: var(--u-mute); white-space: nowrap; text-overflow: ellipsis }
.mcell.is-idle .dot, .mcell.is-idle .meter i { background: #c8a56a }
.mcell.is-stop { border-color: rgba(255, 107, 94, .5); background: rgba(255, 107, 94, .09) }
.mcell.is-stop .dot { background: #ff6b5e; animation: pulse 1s infinite }
.mcell.is-stop .meter i { background: #ff6b5e }
.toast { display: flex; gap: 12px; margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 107, 94, .38); background: var(--u-card); font-size: 11.500px }
.toast b { font-weight: 500 }
.toast small { display: block; color: var(--u-mute) }
.tbl { width: 100%; border-collapse: collapse; font-size: 11.500px }
.tbl th { padding: 8px 14px; border-bottom: 1px solid var(--u-line); font: 500 9.500px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-align: left; color: var(--u-mute) }
.tbl td { padding: 9px 14px; border-bottom: 1px solid var(--u-line); vertical-align: top }
.tbl tr:last-child td { border-bottom: 0 }
.tbl b { font-weight: 500 }
.tbl td small { display: block; font: 400 9.500px/1.5 var(--mono); color: var(--u-mute) }
.tbl :is(th, td):not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums }
.ui__pad .tbl :is(th, td) { padding-inline: 0 }
.pos__grid { display: grid; grid-template-columns: minmax(0, 1.700fr) minmax(0, 1fr) }
.pos__main { border-right: 1px solid var(--u-line) }
.pos__scan { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 9px 12px; border-radius: 9px; border: 1px dashed rgba(11, 13, 14, .25); font-size: 11px; color: var(--u-mute) }
.pos__scan svg { flex: none; font-size: 17px }
.pos__scan kbd { margin-left: auto; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--u-line); font: 500 9px var(--mono) }
.pos__side { display: grid; gap: 9px; align-content: start; padding: 14px; background: var(--u-card) }
.pos__side small { font-size: 10px; text-align: center; color: var(--u-mute) }
.pos__total { display: flex; justify-content: space-between; align-items: baseline; margin-block: 2px; padding-block: 10px; border-block: 1px dashed var(--u-line) }
.pos__total span { font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--u-mute) }
.pos__total b { font: 300 22px/1 var(--sans); letter-spacing: -.03em }
.pos__split, .legend { display: flex; flex-wrap: wrap; gap: 6px }
.legend { padding: 0 14px 14px }
.ui__pad .legend { padding: 0 }
.ui-btn { display: grid; place-items: center; height: 32px; border-radius: 8px; border: 1px solid var(--u-line); font: 500 11px/1 var(--sans) }
.ui-btn--pri { border-color: transparent; background: #14181a; color: #f3f0e8 }
.ui--dark .ui-btn--pri { background: #3fd0b1; color: #04130f }
.studio__grid { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px; min-height: 290px }
.studio__tools { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 10px 0; border-right: 1px solid var(--u-line) }
.studio__tools span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--u-mute) }
.studio__tools svg { width: 16px; height: 16px }
.studio__tools .is-on { background: rgba(63, 208, 177, .16); color: #3fd0b1 }
.studio__canvas { position: relative; display: grid; place-items: center; padding: 20px; background: linear-gradient(var(--u-line) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, var(--u-line) 1px, transparent 1px) 0 0 / 20px 20px }
.studio__hoop { position: relative; width: min(100%, 250px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(233, 230, 222, .4); background: radial-gradient(circle, #131a1d, #0c1012) }
.studio__hoop canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .8s }
.studio__ruler { position: absolute; right: 10px; bottom: 8px; font: 500 9px/1 var(--mono); color: var(--u-mute) }
.studio__props { display: grid; gap: 9px; align-content: start; padding: 12px; border-left: 1px solid var(--u-line); background: var(--u-card) }
.swatches { display: flex; gap: 6px }
.swatches i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: var(--c) }
.tl { display: grid; gap: 11px; padding: 14px }
.tl__row { display: grid; grid-template-columns: 38px 1fr 34px; gap: 10px; align-items: center; font: 500 10px/1 var(--mono) }
.tl__row span { text-align: right; color: var(--u-mute) }
.tl__bar { display: flex; gap: 2px; height: 14px; overflow: hidden; border-radius: 4px }
.tl__bar i { flex: var(--w) 0 0; border-radius: 2px }
.tl__bar .run { background: #3fd0b1 }
.tl__bar .idle { background: #c8a56a }
.tl__bar .stop { background: #ff6b5e }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px }
.flow li { display: grid; gap: 2px; padding-top: 10px; border-top: 2px solid var(--u-line) }
.flow .done { border-top-color: #3fd0b1 }
.flow b { font-weight: 500; font-size: 11.500px }
.flow span { font: 400 9.500px/1.4 var(--mono); color: var(--u-mute) }
.note { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--u-card); font-size: 11.500px; font-style: italic; color: var(--u-mute) }
.receipt { width: min(100%, 270px); padding: 20px 18px 30px; background: #fbfaf6; color: #14181a; font: 400 11px/1.6 var(--mono); letter-spacing: 0; rotate: -2deg; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .5)); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 50% 0, #000 5px, transparent 5.500px) bottom / 12px 8px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 50% 0, #000 5px, transparent 5.500px) bottom / 12px 8px repeat-x }
.receipt p { display: flex; justify-content: space-between; gap: 10px; margin: 0 }
.receipt b { font-weight: 500 }
.receipt .receipt__h { display: block; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(0, 0, 0, .32); font-weight: 500; letter-spacing: .16em; text-align: center }
.receipt__h small { display: block; font-size: 9px; font-weight: 400; letter-spacing: 0; opacity: .62 }
.receipt .receipt__t { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, .32); font-size: 13px; font-weight: 500 }
.receipt .receipt__f { justify-content: center; gap: 6px; margin-top: 10px; opacity: .72 }
.receipt__f [lang="ur"] { font-family: "Noto Naskh Arabic", "Segoe UI", sans-serif }
.barcode { display: block; height: 30px; margin-top: 12px; background: repeating-linear-gradient(90deg, #14181a 0 2px, transparent 2px 3px, #14181a 3px 4px, transparent 4px 7px, #14181a 7px 10px, transparent 10px 12px) }
.stock { display: grid; grid-template-columns: 1fr 1.200fr 40px; gap: 12px; align-items: center; padding-block: 8px; border-bottom: 1px solid var(--u-line) }
.stock b { font-weight: 500 }
.stock small { display: block; font: 400 9.500px/1.5 var(--mono); color: var(--u-mute) }
.stock > b { font: 300 18px/1 var(--sans); text-align: right }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0 }
.lane { display: grid; gap: 8px; align-content: start }
.lane__card { display: grid; gap: 3px; padding: 10px; border-radius: 9px; border: 1px solid var(--u-line); background: var(--u-card) }
.lane__card b { font: 500 10px/1.4 var(--mono) }
.lane__card small { font: 400 9.500px/1.4 var(--mono); color: var(--u-mute) }
.ad { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 18px }
.ad figure { display: grid; gap: 8px; justify-items: center; margin: 0 }
.ad figure svg { width: 100%; max-width: 160px; border-radius: 10px; border: 1px solid var(--u-line); background: var(--u-card) }
.ad figcaption { font: 500 9.500px/1.4 var(--mono); color: var(--u-mute) }
.ad__arrow { font-size: 18px; color: #3fd0b1 }
.tilegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 14px 0 }
.stile { display: grid; gap: 6px }
.stile i { --s: rgba(233, 230, 222, .5); aspect-ratio: 1.250; border-radius: 8px; border: 1px solid var(--u-line); background-color: var(--u-card) }
.stile span { font: 500 9.500px/1.2 var(--mono); color: var(--u-mute) }
.stile.is-on i { --s: #3fd0b1; border-color: #3fd0b1; box-shadow: 0 0 0 3px rgba(63, 208, 177, .16) }
.stile.is-on span { color: #3fd0b1 }
.stile--satin i { background-image: repeating-linear-gradient(100deg, var(--s) 0 1px, transparent 1px 3px) }
.stile--tatami i { background-image: repeating-linear-gradient(90deg, transparent 0 6px, var(--u-card) 6px 8px), repeating-linear-gradient(0deg, var(--s) 0 1px, transparent 1px 3px) }
.stile--contour i { background-image: repeating-radial-gradient(circle at 50% 50%, var(--s) 0 1px, transparent 1px 5px) }
.stile--ripple i { background-image: repeating-radial-gradient(circle at 0 100%, var(--s) 0 1px, transparent 1px 6px) }
.stile--wave i { background-image: radial-gradient(circle at 50% 0, transparent 5px, var(--s) 5px 6px, transparent 6.500px); background-size: 14px 8px }
.stile--motif i { background-image: radial-gradient(var(--s) 1.400px, transparent 1.800px), radial-gradient(var(--s) 1.400px, transparent 1.800px); background-size: 12px 12px; background-position: 0 0, 6px 6px }
.stile--run i { background: repeating-linear-gradient(90deg, var(--s) 0 5px, transparent 5px 8px) center / 100% 1.500px no-repeat var(--u-card) }
.stile--triple-run i { background: repeating-linear-gradient(90deg, var(--s) 0 5px, transparent 5px 8px) 0 35% / 100% 1.500px no-repeat, repeating-linear-gradient(90deg, var(--s) 0 5px, transparent 5px 8px) 3px 50% / 100% 1.500px no-repeat, repeating-linear-gradient(90deg, var(--s) 0 5px, transparent 5px 8px) 0 65% / 100% 1.500px no-repeat, var(--u-card) }
.badge { display: grid; place-items: center; padding: 16px }
.badge svg { width: min(100%, 230px) }
.badge__t { font: 600 26px var(--sans); letter-spacing: .2em; fill: none; stroke: #3fd0b1; stroke-width: 1; stroke-dasharray: 2.500 1.200 }
.badge__b { font: 500 10.500px var(--mono); letter-spacing: .3em; fill: #efe7d6 }
.checks { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px }
.checks li { display: flex; gap: 10px; font-size: 11.500px }
.checks svg { flex: none; font-size: 14px; color: #3fd0b1 }

@keyframes pulse { 50% { opacity: .35 } }
@keyframes spin { to { rotate: 360deg } }
@keyframes fill { from { scale: 0 1 } }
@keyframes pop { from { opacity: 0; margin-top: -8px } }

/* ---------- Urdu ---------- */
/* Latin first: Geist has no Arabic glyphs, so Urdu falls through to the Urdu faces while Latin words, digits, emails
   and phone numbers stay in the same sans as the English pages (the Urdu fonts' own Latin letters are serifed). */
html[lang="ur"] { --sans: "Geist", "Noto Naskh Arabic", "Segoe UI", sans-serif; --mono: var(--sans) } /* no mono for Urdu labels: a monospace space would pull the words apart */
html[lang="ur"] body { font-size: 17px; line-height: 1.9 }
html[lang="ur"] .chapter__name { font-size: clamp(1.9rem, 3.4vw, 3.5rem) }
html[lang="ur"] .chapter__line { letter-spacing: 0; line-height: 1.9 }
html[lang="ur"] :is(.display, .h2, .h3, .chapter__name, .foot__tag, .tile__name, .qa summary h3, .prose h2, .drawer nav a) { font-family: "Geist", "Noto Nastaliq Urdu", "Noto Naskh Arabic", sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2.100; text-wrap: wrap }
html[lang="ur"] :is(.sec-head__body :is(h2, p), .faq__head h2, .intro__text) { letter-spacing: 0; line-height: 1.9 }
html[lang="ur"] .display { font-size: clamp(1.75rem, 3vw, 3.1rem) }
html[lang="ur"] .display--sm { font-size: clamp(1.75rem, 3.400vw, 3.4rem) }
html[lang="ur"] .h2 { font-size: clamp(1.5rem, 2.400vw, 2.5rem) }
html[lang="ur"] .h2--sm { font-size: clamp(1.3rem, 1.900vw, 1.9rem) }
html[lang="ur"] .h3 { font-size: clamp(1.05rem, 1.300vw, 1.3rem) }
html[lang="ur"] :is(.why__v, .phero__meta b) { line-height: 2; letter-spacing: 0 }
html[lang="ur"] :is(.label, .fx__n, .plan__name, .plan__badge, .foot__h, .why__l, .crumbs, .chapter__idx, .field > span, .radios legend, .fx__tab span, .phero__meta span, .details span, .btn, .link, .nav__link, .subnav) { letter-spacing: 0; text-transform: none; line-height: 1.7 }
html[lang="ur"] :is(.label, .fx__n, .plan__name, .foot__h, .why__l, .crumbs, .chapter__idx, .field > span, .radios legend, .fx__tab span, .phero__meta span, .details span) { font-size: 14px }
html[lang="ur"] .btn { padding-bottom: 4px }
html[lang="ur"] .plan__price b { letter-spacing: 0 }

/* ---------- responsive ---------- */
/* On large desktops the content is up to 1800px wide, so the mockups grow with their cards. */
@media (min-width: 1700px) {
  :is(.chapter__visual, .phero__visual, .fx__visual) > :is(.ui, .receipt) { zoom: 1.18 }
}
@media (max-width: 1180px) {
  .nav__bar { grid-template-columns: 1fr auto }
  .nav__links, .nav__end > .menu, .nav__end > .btn { display: none }
  .nav__burger { display: grid }
  .plans { grid-template-columns: 1fr 1fr }
  .plan { border-bottom: 1px solid var(--rule) }
  .plan--featured { margin: 0 }
  .incl ul { grid-template-columns: repeat(3, 1fr) }
  .tiles, .connect__grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 900px) {
  .sec-head, .chapter, .phero__grid, .fx__slide, .formsec__grid, .foot__top { grid-template-columns: minmax(0, 1fr) }
  .faq__head, .story__side, .formsec__side { position: static }
  .formsec__side, .intro__title, .foot__brand { padding-inline-end: 0 }
  .why__grid { grid-template-rows: auto }
  .why__media { margin-inline-end: 0; aspect-ratio: 16 / 10 }
  .chapter { position: static; min-height: 0; translate: none }
  .chapter-stack { grid-auto-rows: auto; margin-bottom: 0 }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 30px; padding-top: 104px }
  .hero__inner { flex-direction: column; align-items: stretch }
  .hero__copy { max-width: none }
  .fx__tabs { grid-template-columns: 1fr 1fr }
  .fx__visual { min-height: 0 }
  .foot__cols { grid-template-columns: 1fr 1fr }
}
@media (max-width: 640px) {
  .plans, .tiles, .connect__grid, .cross__grid, .form__row, .pos__grid { grid-template-columns: minmax(0, 1fr) }
  .incl ul { grid-template-columns: 1fr 1fr }
  .tile__art { aspect-ratio: 16 / 10 }
  .mgrid { grid-template-columns: repeat(3, 1fr) }
  .kpis { grid-template-columns: repeat(3, 1fr) }
  .kpi--wide { grid-column: 1 / -1; border-top: 1px solid var(--u-line) }
  .pos__main { border-right: 0; border-bottom: 1px solid var(--u-line) }
  .studio__grid { grid-template-columns: 40px minmax(0, 1fr) }
  .studio__props { display: none }
  .fx__ctrl { display: none }
  .why__list li { grid-template-columns: 2.500rem minmax(0, 1fr) }
  .why__l { grid-column: 2; text-align: start }
  .foot__bottom p { flex-basis: 100% }
  .foot__contact { grid-template-columns: minmax(0, 1fr) }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .js .rv, .js .w { opacity: 1; translate: 0 0 }
  .pin > :first-child > .wrap { translate: 0 0 }
}
