/* ==========================================================
   Arvan Tejarat — main stylesheet
   Dark by default, light via [data-theme="light"]. RTL/LTR via logical properties.
   ========================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b14;
  --bg-2: #0a101c;
  --surface: #0e1524;
  --surface-2: #131c2e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f7;
  --muted: #98a2b6;
  --faint: #5d677b;

  --gold: #d9b56a;
  --gold-2: #f3e2b3;
  --gold-3: #a8802f;
  --gold-rgb: 217, 181, 106;
  --on-gold: #1a1407;

  --dama: #ff5d62;      --dama-rgb: 255, 93, 98;
  --server: #4f8dff;    --server-rgb: 79, 141, 255;
  --taraz: #1fc98b;     --taraz-rgb: 31, 201, 139;

  --acc: var(--gold);
  --acc-rgb: var(--gold-rgb);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .6), 0 50px 90px -40px rgba(0, 0, 0, .7);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .07);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f3ec;
  --bg-2: #efebe1;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --line: rgba(15, 23, 42, .09);
  --line-2: rgba(15, 23, 42, .16);
  --text: #0c1322;
  --muted: #566074;
  --faint: #8b93a3;

  --gold: #a57a25;
  --gold-2: #c79a3e;
  --gold-3: #7d5a14;
  --gold-rgb: 165, 122, 37;
  --on-gold: #fffaf0;

  --dama: #e03a40;      --dama-rgb: 224, 58, 64;
  --server: #2563eb;    --server-rgb: 37, 99, 235;
  --taraz: #0b9e69;     --taraz-rgb: 11, 158, 105;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 40px -14px rgba(15, 23, 42, .16), 0 50px 90px -50px rgba(15, 23, 42, .25);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .9);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.lang-en { line-height: 1.65; letter-spacing: -.005em; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(var(--gold-rgb), .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ico.flip, [dir="ltr"] .ico.flip-back { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute !important; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }
.skip { position: fixed; inset-block-start: -80px; inset-inline-start: 16px; z-index: 200; background: var(--gold); color: var(--on-gold); padding: 8px 16px; border-radius: 10px; transition: inset-block-start .2s; }
.skip:focus { inset-block-start: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 760px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.js .line[data-reveal] { opacity: 1; transform: none; }
.js .line[data-reveal] > span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease-out) var(--d, 0s); }
.js .line[data-reveal].is-in > span { transform: none; }

/* ---------- Custom cursor + scroll progress ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 300; }
  .cursor__dot, .cursor__ring { position: absolute; inset-block-start: 0; left: 0; border-radius: 50%; translate: -50% -50%; opacity: 0; transition: opacity .3s; }
  .cursor.is-on .cursor__dot, .cursor.is-on .cursor__ring { opacity: 1; }
  .cursor__dot { width: 6px; height: 6px; background: var(--gold); }
  .cursor__ring {
    width: 38px; height: 38px;
    border: 1px solid rgba(var(--gold-rgb), .55);
    transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), background-color .35s, border-color .35s;
  }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(var(--gold-rgb), .12); border-color: rgba(var(--gold-rgb), .2); }
  .cursor.is-down .cursor__ring { width: 28px; height: 28px; }
}
.progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(var(--p, 0)); transform-origin: left; }
[dir="rtl"] .progress i { transform-origin: right; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh);
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 650; font-size: 15.5px; line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14.5px; }
.btn > span, .btn > .ico { position: relative; z-index: 1; }
.btn .ico { transition: translate .4s var(--ease-out); }
[dir="ltr"] .btn:hover .ico { translate: 4px 0; }
[dir="rtl"] .btn:hover .ico { translate: -4px 0; }

.btn--primary {
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-3) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 30px -8px rgba(var(--gold-rgb), .55), 0 2px 6px rgba(0, 0, 0, .25);
}
.btn--primary::after, .btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  translate: -120% 0;
  transition: translate .9s var(--ease-out);
}
.btn--primary:hover::after, .btn--accent:hover::after { translate: 120% 0; }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 40px -8px rgba(var(--gold-rgb), .7), 0 2px 6px rgba(0, 0, 0, .25); }

.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); box-shadow: var(--hi); }
.btn--ghost:hover { border-color: rgba(var(--gold-rgb), .6); color: var(--gold); }
:root[data-theme="light"] .btn--ghost { background: rgba(255, 255, 255, .6); }

.btn--accent {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 86%, #fff) 0%, var(--acc) 55%, color-mix(in srgb, var(--acc) 78%, #000) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 30px -10px rgba(var(--acc-rgb), .7);
}

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .3s, gap .3s var(--ease-out); }
.link:hover { color: var(--text); gap: 12px; }
.link .ico { width: 1.1em; height: 1.1em; }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid rgba(var(--gold-rgb), .28);
  border-radius: 999px;
  background: rgba(var(--gold-rgb), .07);
}
.lang-en .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .6); animation: pulse 2.2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(var(--gold-rgb), 0); } }

.gilded {
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 35%, var(--gold) 60%, var(--gold-2) 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.accented { color: var(--acc); }

.section { position: relative; padding-block: clamp(52px, 6.5vw, 92px); }
.section--tight { padding-block: clamp(28px, 3.5vw, 52px); }
.section__head { max-width: 760px; margin-block-end: clamp(26px, 3.2vw, 42px); display: grid; gap: 14px; justify-items: start; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__title { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.lang-en .section__title { line-height: 1.1; letter-spacing: -.035em; }
.section__sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 62ch; text-wrap: pretty; }

/* ---------- Header ---------- */
.header { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100; padding: 14px var(--gut); transition: padding .4s var(--ease); }
.header__in {
  width: min(100%, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  height: 60px; padding-inline: 18px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.is-stuck .header__in {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm), var(--hi);
}
.header.is-hidden { transform: translateY(-110%); }
.header { transition: transform .5s var(--ease-out); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__img { height: 38px; width: auto; }
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  box-shadow: 0 6px 18px -6px rgba(var(--gold-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.brand__mark .ico { width: 20px; height: 20px; }
.brand__text { display: flex; align-items: baseline; gap: 6px; font-size: 19px; line-height: 1; }
.brand__text b { font-weight: 850; letter-spacing: -.01em; }
.brand__text i { font-style: normal; font-weight: 400; color: var(--muted); }

.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav__link { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
:root[data-theme="light"] .nav__link:hover, :root[data-theme="light"] .nav__link.is-active { background: rgba(15, 23, 42, .06); }

.header__tools { display: flex; align-items: center; gap: 8px; }
.tool {
  height: 42px; min-width: 42px; padding-inline: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 13.5px; font-weight: 650;
  transition: color .3s, border-color .3s, background-color .3s;
}
.tool:hover { color: var(--gold); border-color: rgba(var(--gold-rgb), .5); }
.tool .ico { width: 18px; height: 18px; }
.tool--theme .i-sun { display: none; }
:root[data-theme="light"] .tool--theme .i-sun { display: block; }
:root[data-theme="light"] .tool--theme .i-moon { display: none; }
.tool--menu { display: none; }
.tool--menu .i-close { display: none; }

@media (max-width: 900px) {
  .header__cta { display: none; }
  .tool--menu { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav__link { font-size: 26px; font-weight: 700; padding: 12px 24px; color: var(--text); transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav__link { transform: none; opacity: 1; }
  .menu-open .nav__link:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav__link:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav__link:nth-child(4) { transition-delay: .18s; }
  .menu-open .tool--menu .i-open { display: none; }
  .menu-open .tool--menu .i-close { display: block; }
  .menu-open { overflow: hidden; }
  .header__tools { margin-inline-start: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: grid; align-items: center; padding-block: calc(var(--header-h) + 44px) 84px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* fade the coloured glows into the page so they never end in a hard edge */
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: min(38%, 300px); background: linear-gradient(180deg, transparent, var(--bg)); }
.aurora { position: absolute; border-radius: 50%; opacity: .5; }
.aurora--a { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; inset-block-start: -18%; inset-inline-end: -8%; background: radial-gradient(circle, rgba(var(--gold-rgb), .55), transparent 65%); }
.aurora--b { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; inset-block-end: -22%; inset-inline-start: -10%; background: radial-gradient(circle, rgba(var(--server-rgb), .38), transparent 65%); }
.aurora--c { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; inset-block-start: 38%; inset-inline-start: 34%; background: radial-gradient(circle, rgba(var(--dama-rgb), .22), transparent 65%); }
:root[data-theme="light"] .aurora { opacity: .32; }

.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 78%);
  opacity: .7;
}
.noise {
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.hero__cta .btn { --bh: 50px; padding: 0 24px; font-size: 15px; }
@media (min-width: 1200px) { .hero__title .line > span { white-space: nowrap; } }
.hero__title { font-size: clamp(30px, 4vw, 52px); text-wrap: balance; line-height: 1.22; font-weight: 850; letter-spacing: -.025em; }
.lang-en .hero__title { line-height: 1.04; letter-spacing: -.045em; }
.hero__sub { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); max-width: 54ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 550; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: color .3s, border-color .3s, transform .4s var(--ease-out); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.chip:hover { color: var(--text); border-color: rgba(var(--acc-rgb), .5); transform: translateY(-2px); }
.chip--dama, .card--dama, .pp--dama, .pcard--dama { --acc: var(--dama); --acc-rgb: var(--dama-rgb); }
.chip--server, .card--server, .pp--server, .pcard--server { --acc: var(--server); --acc-rgb: var(--server-rgb); }
.chip--taraz, .card--taraz, .pp--taraz, .pcard--taraz { --acc: var(--taraz); --acc-rgb: var(--taraz-rgb); }

/* Hero visual: layered product cards */
.hero__visual { position: relative; }
.stack { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.18; margin-inline: auto; perspective: 1500px; }
.stack__halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb), .34), rgba(var(--gold-rgb), .08) 45%, transparent 68%); }
.stack__par, .stack__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.stack__par { transition: transform .6s var(--ease-out); }
.stack__scene { transform: rotateX(7deg) rotateY(10deg) rotateZ(-1.5deg); }
[dir="ltr"] .stack__scene { transform: rotateX(7deg) rotateY(-10deg) rotateZ(1.5deg); }
.stack__ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(var(--gold-rgb), .32); transform: translateZ(-130px); }
.stack__plate {
  position: absolute; inset: 12% 8% 10% 8%; border-radius: 34px;
  border: 1px solid rgba(var(--gold-rgb), .22);
  background: linear-gradient(150deg, rgba(var(--gold-rgb), .12), rgba(var(--gold-rgb), .02) 55%, transparent);
  transform: translateZ(-70px);
}
.pcard {
  position: absolute; display: grid; gap: 14px; padding: 18px; border-radius: 22px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--surface-2) 97%, transparent), color-mix(in srgb, var(--bg) 94%, transparent));
  border: 1px solid var(--line-2);
  box-shadow: var(--hi), var(--shadow-lg), 0 46px 90px -42px rgba(var(--acc-rgb), .75);
  animation: bob 9s ease-in-out infinite;
}
.pcard::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.pcard--a { width: 62%; left: 20%; top: 30%; transform: translateZ(80px); animation-delay: -2s; }
.pcard--b { width: 56%; left: 0; top: 1%; transform: translateZ(10px); animation-delay: -5s; }
.pcard--c { width: 56%; left: 44%; top: 71%; transform: translateZ(55px); animation-delay: -7s; }
[dir="ltr"] .pcard--b { left: 44%; }
[dir="ltr"] .pcard--c { left: 0; }
@keyframes bob { 50% { translate: 0 -12px; } }
.pcard__head { display: flex; align-items: center; gap: 12px; }
.pcard__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 80%, #fff), var(--acc) 55%, color-mix(in srgb, var(--acc) 75%, #000)); box-shadow: 0 10px 22px -8px rgba(var(--acc-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pcard__ico .ico { width: 20px; height: 20px; }
.pcard__t { display: grid; min-width: 0; }
.pcard__t b { font-size: 15.5px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.pcard__t small { font-size: 11.5px; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__live { margin-inline-start: auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--taraz-rgb), .12); border: 1px solid rgba(var(--taraz-rgb), .3); }
.pcard__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--taraz); animation: blink 1.800s infinite; }
.pcard__soon { margin-inline-start: auto; flex: none; font-size: 11px; font-weight: 650; line-height: 1; padding: 6px 10px; border-radius: 999px; color: var(--gold); background: rgba(var(--gold-rgb), .1); border: 1px solid rgba(var(--gold-rgb), .3); }
.pcard__chart { width: 100%; height: 78px; color: var(--acc); }
.pcard__chart .draw { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.400s var(--ease-out) .600s; }
.is-in .pcard__chart .draw { stroke-dashoffset: 0; }
.pcard__rows { display: grid; gap: 9px; }
.pcard__rows > div { display: grid; grid-template-columns: 22px 1fr 46px; gap: 10px; align-items: center; }
.pcard__rows i { height: 22px; border-radius: 7px; background: rgba(var(--acc-rgb), .18); border: 1px solid rgba(var(--acc-rgb), .3); }
.pcard__rows span { height: 8px; border-radius: 4px; background: var(--line-2); }
.pcard__rows div:nth-child(2) span { width: 70%; }
.pcard__rows em { height: 8px; border-radius: 4px; background: rgba(var(--acc-rgb), .6); }
.pcard__meters { display: grid; gap: 10px; }
.pcard__meters > div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; align-items: center; }
.pcard__meters small { font: 600 10.5px/1 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); }
.pcard__meters em { position: relative; display: block; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pcard__meters em::after { content: ""; position: absolute; inset-block: 0; left: 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, rgba(var(--acc-rgb), .55), var(--acc)); }
.pcard__cols { display: flex; align-items: flex-end; gap: 8px; height: 66px; }
.pcard__cols i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--acc), rgba(var(--acc-rgb), .15)); }
.stack__seal {
  position: absolute; left: 68%; top: 10%; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px;
  color: var(--on-gold);
  background: radial-gradient(circle at 30% 25%, var(--gold-2), var(--gold) 50%, var(--gold-3));
  box-shadow: 0 0 0 8px rgba(var(--gold-rgb), .08), 0 24px 50px -10px rgba(var(--gold-rgb), .65), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -8px 18px rgba(0, 0, 0, .18);
  transform: translateZ(150px) rotate(4deg);
  animation: bob 7s ease-in-out infinite; animation-delay: -3s;
}
[dir="ltr"] .stack__seal { left: 18%; transform: translateZ(150px) rotate(-4deg); }
.stack__seal .ico { width: 30px; height: 30px; }
/* Hero visual: living details */
.stack::after { content: ""; position: absolute; inset: auto 12% -4% 12%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); z-index: -1; }
:root[data-theme="light"] .stack::after { background: radial-gradient(closest-side, rgba(15, 23, 42, .22), transparent); }
.stack__ring::after { content: ""; position: absolute; inset-block-start: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 3px rgba(var(--gold-rgb), .8); }
.pcard { background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--acc-rgb), .17), transparent 55%),
    linear-gradient(155deg, color-mix(in srgb, var(--surface-2) 97%, transparent), color-mix(in srgb, var(--bg) 94%, transparent)); }
[dir="ltr"] .pcard { background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--acc-rgb), .17), transparent 55%),
    linear-gradient(155deg, color-mix(in srgb, var(--surface-2) 97%, transparent), color-mix(in srgb, var(--bg) 94%, transparent)); }
/* staggered entrance */
.js .hero__visual .pcard, .js .hero__visual .stack__seal, .js .hero__visual .fpill { opacity: 0; scale: .82; transition: opacity .9s var(--ease-out) var(--e, .3s), scale 1.200s var(--ease-out) var(--e, .3s); }
.js .hero__visual.is-in .pcard, .js .hero__visual.is-in .stack__seal, .js .hero__visual.is-in .fpill { opacity: 1; scale: 1; }
.pcard--b { --e: .35s; } .pcard--a { --e: .55s; } .pcard--c { --e: .75s; } .stack__seal { --e: .95s; } .fpill--order { --e: 1.250s; } .fpill--up { --e: 1.450s; }
/* chart: glowing live point at the end of the line */
.pcard__plot { position: relative; direction: ltr; }
.pcard__chart .fill { opacity: 0; transition: opacity 1.400s ease 1.600s; }
.is-in .pcard__chart .fill { opacity: 1; }
.pcard__dot { position: absolute; right: -5px; top: calc(10.400% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--acc), 0 0 16px 4px rgba(var(--acc-rgb), .8); opacity: 0; transition: opacity .5s ease 2.600s; }
.is-in .pcard__dot { opacity: 1; }
.pcard__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--acc); animation: ping 2.200s var(--ease-out) infinite; }
@keyframes ping { to { transform: scale(3.200); opacity: 0; } }
/* meters and columns breathe like live data */
.pcard__meters em::after { transform-origin: left; animation: meter 4.500s ease-in-out infinite; }
.pcard__meters div:nth-child(2) em::after { animation-delay: -1.500s; animation-duration: 6s; }
.pcard__meters div:nth-child(3) em::after { animation-delay: -3s; animation-duration: 5.200s; }
@keyframes meter { 0%, 100% { transform: scaleX(1); } 35% { transform: scaleX(1.550); } 70% { transform: scaleX(.8); } }
/* seal glow */
.stack__seal::after { content: ""; position: absolute; inset: -10px; border-radius: 28px; border: 1px solid rgba(var(--gold-rgb), .4); animation: ping-soft 3.600s var(--ease-out) infinite; }
@keyframes ping-soft { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.350); opacity: 0; } }
/* floating glass pills */
.fpill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 650; line-height: 1;
  background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid var(--line-2);
  box-shadow: var(--hi), 0 18px 36px -14px rgba(0, 0, 0, .7), 0 14px 30px -14px rgba(var(--acc-rgb), .7);
  animation: bob 6.500s ease-in-out infinite;
}
[dir="rtl"] .fpill { padding: 7px 8px 7px 14px; }
.fpill__ico { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--acc); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .18); }
.fpill__ico .ico { width: 13px; height: 13px; stroke-width: 2.400; }
.fpill--order { --acc: var(--taraz); --acc-rgb: var(--taraz-rgb); left: 5%; top: 63%; transform: translateZ(170px); animation-delay: -1s; }
.fpill--up { --acc: var(--server); --acc-rgb: var(--server-rgb); left: 50%; top: 22.500%; transform: translateZ(140px); animation-delay: -4s; }
[dir="ltr"] .fpill--order { left: 58%; }
[dir="ltr"] .fpill--up { left: 2%; }
/* drifting gold sparks */
.spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px 2px rgba(var(--gold-rgb), .7); transform: translateZ(60px); animation: twinkle 6s ease-in-out infinite; animation-delay: var(--sd); }
@keyframes twinkle { 0%, 100% { opacity: 0; translate: 0 10px; scale: .5; } 50% { opacity: 1; translate: 0 -14px; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }

.hero__scroll { position: absolute; inset-block-end: 28px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--faint); letter-spacing: .08em; }
.hero__scroll i { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; inset-block-start: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

@media (max-width: 960px) {
  .hero { padding-block-end: 90px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .stack { width: min(86vw, 400px); margin-block-end: 28px; }
  .pcard__soon { font-size: 10px; padding: 5px 8px; }
  .pcard { padding: 13px; gap: 10px; border-radius: 18px; }
  .pcard__ico { width: 32px; height: 32px; border-radius: 10px; }
  .pcard__t b { font-size: 13.5px; }
  .pcard__t small { font-size: 10.5px; }
  .pcard__chart { height: 60px; }
  .pcard__cols { height: 46px; }
  .stack__seal { width: 52px; height: 52px; border-radius: 17px; }
  .fpill { font-size: 10.5px; padding: 5px 10px 5px 6px; gap: 6px; }
  [dir="rtl"] .fpill { padding: 5px 6px 5px 10px; }
  .fpill__ico { width: 19px; height: 19px; }
  .fpill--order { left: 14%; }
  [dir="ltr"] .fpill--order { left: 44%; }
  .hero__scroll { display: none; }
}

/* ---------- Stats + marquee ---------- */
.stats { position: relative; padding-block: 8px clamp(20px, 3vw, 36px); }
.stats__panel {
  --acc-rgb: var(--gold-rgb);
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg), var(--hi);
}
.stats__panel > .stat { position: relative; }
.stat { display: flex; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 28px) clamp(16px, 2vw, 28px); transition: background-color .4s; }
.stat:hover { background: rgba(var(--gold-rgb), .05); }
/* soft vertical divider that fades at both ends */
.stat + .stat::before { content: ""; position: absolute; inset-block: 18%; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.stat__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--gold); background: linear-gradient(145deg, rgba(var(--gold-rgb), .2), rgba(var(--gold-rgb), .05)); border: 1px solid rgba(var(--gold-rgb), .3); box-shadow: var(--hi), 0 10px 24px -14px rgba(var(--gold-rgb), .9); transition: transform .5s var(--ease-out); }
.stat:hover .stat__ico { transform: translateY(-3px) rotate(-6deg); }
.stat__ico .ico { width: 22px; height: 22px; }
.stat__body { display: grid; min-width: 0; }
.stat__value { display: flex; align-items: baseline; gap: 6px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 850; line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__value b { font-weight: inherit; background: linear-gradient(180deg, var(--text) 30%, var(--gold) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat__value small { font-size: .45em; font-weight: 650; color: var(--gold); letter-spacing: 0; }
.stat__label { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 1000px) {
  .stats__panel { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-block-start: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat__ico { width: 40px; height: 40px; border-radius: 12px; }
}
.marquee { position: relative; direction: ltr; overflow: hidden; margin-block-start: clamp(18px, 2.4vw, 30px); }
.marquee::before, .marquee::after { content: ""; position: absolute; inset-block: 0; width: 14%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee__track { display: flex; align-items: center; gap: 12px; padding-inline-end: 12px; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--muted); white-space: nowrap; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
:root[data-theme="light"] .marquee__track span { background: rgba(255, 255, 255, .6); }
.marquee__track span i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(var(--gold-rgb), .8); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (shared) ---------- */
.pb, .value, .feature, .other, .contact__box {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), var(--hi);
  overflow: hidden;
  isolation: isolate;
}
/* Cursor spotlight */
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc-rgb), .16), transparent 55%);
  opacity: 0; transition: opacity .5s;
}
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc-rgb), .75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }
[data-spot] > :not(.aurora) { position: relative; z-index: 1; }

/* ---------- Product cards ---------- */
.card__ico {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; flex: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 82%, #fff), var(--acc) 55%, color-mix(in srgb, var(--acc) 75%, #000));
  box-shadow: 0 12px 28px -8px rgba(var(--acc-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.card__ico .ico { width: 22px; height: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; padding: 4px 12px; border-radius: 999px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--taraz); background: rgba(var(--taraz-rgb), .1); border: 1px solid rgba(var(--taraz-rgb), .3); }
.status--live i { animation: blink 1.8s infinite; }
.status--soon { color: var(--gold); background: rgba(var(--gold-rgb), .1); border: 1px solid rgba(var(--gold-rgb), .3); }
@keyframes blink { 50% { opacity: .3; } }



.notify { position: relative; display: flex; gap: 8px; width: 100%; max-width: 440px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 70%, transparent); transition: border-color .3s, box-shadow .3s; }
.notify:focus-within { border-color: rgba(var(--acc-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .14); }
.notify input[type="text"] { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding-inline: 16px; font-size: 15px; }
.notify input::placeholder { color: var(--faint); }
.notify .form__msg { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-start: 18px; }
.notify--lg { max-width: 520px; }

/* Products: one large card on one half, two stacked on the other */
.pbento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.pb {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 1.9vw, 26px);
  background: radial-gradient(75% 70% at 0% 0%, rgba(var(--acc-rgb), .2), transparent 66%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(var(--acc-rgb), .4);
}
[dir="ltr"] .pb { background: radial-gradient(75% 70% at 100% 0%, rgba(var(--acc-rgb), .2), transparent 66%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.pb:hover { border-color: rgba(var(--acc-rgb), .4); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(var(--acc-rgb), .65); }

/* the large card sits on the physical left half and spans both rows */
.pb--big { grid-row: 1 / span 2; gap: 16px; padding: clamp(22px, 2.6vw, 36px); }
[dir="rtl"] .pb--big { grid-column: 2; }
[dir="ltr"] .pb--big { grid-column: 1; }

/* the product icon as a large watermark in the far corner */
.pb__mark { position: absolute !important; z-index: 0 !important; inset-block-start: -18px; inset-inline-end: -18px; color: var(--acc); opacity: .1; pointer-events: none; transition: transform .9s var(--ease-out), opacity .6s; }
.pb__mark .ico { width: 150px; height: 150px; stroke-width: 1; }
.pb--big .pb__mark .ico { width: 250px; height: 250px; stroke-width: .8; }
.pb:hover .pb__mark { opacity: .17; transform: rotate(-8deg) scale(1.06); }

.pb__head { display: flex; align-items: center; gap: 11px; }
.pb__id { flex: 1; min-width: 0; }
.pb__id h3 { font-size: 19px; font-weight: 800; line-height: 1.45; }
.pb__id p { font-size: 12.5px; font-weight: 600; line-height: 1.6; color: var(--acc); }
.pb .status { flex: none; font-size: 11px; padding: 3px 9px; }
.pb__headline { margin: 2px 0 0; font-size: clamp(16px, 1.35vw, 18.5px); font-weight: 750; line-height: 1.65; text-wrap: balance; }
.pb__text { color: var(--muted); font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.pb .tags li { font-size: 12.5px; padding: 4px 12px; }
.pb__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2px 0 0; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: var(--hi); }
.pb__facts > div { padding: 9px 10px; text-align: center; }
.pb__facts > div + div { border-inline-start: 1px solid var(--line); }
.pb__facts dt { font-size: 15px; font-weight: 800; line-height: 1.5; color: var(--text); }
.pb__facts dd { margin: 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.pb__foot { margin-block-start: auto; padding-block-start: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pb__foot .notify { flex: 1 1 100%; max-width: none; }
.pb__foot .link { font-size: 14px; }
.pb__domain { margin-inline-start: auto; font: 500 12px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--faint); transition: color .3s; }
.pb__domain:hover { color: var(--acc); }

/* large card: bigger type and room for the seller pitch */
.pb--big .card__ico { width: 54px; height: 54px; border-radius: 16px; }
.pb--big .card__ico .ico { width: 26px; height: 26px; }
.pb--big .pb__id h3 { font-size: clamp(22px, 2vw, 27px); }
.pb--big .pb__id p { font-size: 14px; }
.pb--big .pb__headline { font-size: clamp(22px, 2.5vw, 34px); font-weight: 850; line-height: 1.45; letter-spacing: -.02em; margin-block-start: 6px; }
.pb--big .pb__text { font-size: 15.5px; }
.pb__pitch { position: relative; padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(var(--acc-rgb), .25); background: rgba(var(--acc-rgb), .07); font-size: 14.5px; line-height: 1.85; color: var(--text); }
.pb__pitch::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--acc); }
.pb--big .pb__facts dt { font-size: 17px; }
.pb--big .pb__facts dd { font-size: 12px; }
.pb--big .pb__facts > div { padding: 12px 10px; }

@media (max-width: 1040px) {
  .pbento { grid-template-columns: minmax(0, 1fr); }
  [dir] .pb--big { grid-column: 1; grid-row: auto; }
}

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.about__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-block-end: clamp(24px, 3.4vw, 44px); }
.about__copy { display: grid; gap: 16px; justify-items: start; }
.about__lead { font-size: clamp(16.5px, 1.45vw, 19.5px); line-height: 1.9; font-weight: 500; text-wrap: pretty; }
.lang-en .about__lead { line-height: 1.6; }
.about__body { color: var(--muted); font-size: 15.5px; text-wrap: pretty; }

/* Group structure diagram */
.eco {
  --acc-rgb: var(--gold-rgb);
  position: relative; display: grid; justify-items: center; padding: clamp(22px, 3vw, 36px) clamp(16px, 2.4vw, 30px);
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 0%, rgba(var(--gold-rgb), .14), transparent 65%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(var(--gold-rgb), .35);
}
.eco__root { display: grid; justify-items: center; gap: 2px; text-align: center; }
.eco__seal { width: 62px; height: 62px; display: grid; place-items: center; margin-block-end: 10px; border-radius: 20px; color: var(--on-gold); background: radial-gradient(circle at 30% 25%, var(--gold-2), var(--gold) 50%, var(--gold-3)); box-shadow: 0 0 0 8px rgba(var(--gold-rgb), .08), 0 20px 40px -12px rgba(var(--gold-rgb), .7), inset 0 2px 0 rgba(255, 255, 255, .55); }
.eco__seal .ico { width: 28px; height: 28px; }
.eco__root b { font-size: 19px; font-weight: 800; line-height: 1.5; }
.eco__root small { font-size: 13.5px; color: var(--muted); }
.eco__trunk { display: block; width: 1px; height: 28px; margin-block-start: 12px; background: linear-gradient(180deg, var(--gold), rgba(var(--gold-rgb), .35)); transform-origin: top; }
.eco__branches { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; padding-block-start: 24px; }
.eco__branches::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: calc((100% - 24px) / 6); height: 1px; background: rgba(var(--gold-rgb), .35); }
.eco__node { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 16px 8px 14px; text-align: center; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: var(--hi); transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s, opacity .7s ease, translate .9s var(--ease-out); }
.eco__node::before { content: ""; position: absolute; inset-block-start: -25px; left: 50%; width: 1px; height: 24px; background: rgba(var(--gold-rgb), .35); transform-origin: top; }
.eco__node::after { content: ""; position: absolute; inset-block-start: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.eco__node:hover { transform: translateY(-4px); border-color: rgba(var(--acc-rgb), .5); box-shadow: var(--hi), 0 20px 36px -22px rgba(var(--acc-rgb), .9); }
.eco__node .card__ico { margin-block-end: 6px; }
.eco__node b { font-size: 15.5px; font-weight: 750; line-height: 1.5; }
.eco__node small { font-size: 12px; color: var(--muted); line-height: 1.6; min-height: 3.2em; }
.eco__node .status { margin-block-start: 6px; font-size: 11px; padding: 3px 9px; }
/* the tree draws itself when it scrolls into view */
.js .eco .eco__trunk { transform: scaleY(0); transition: transform .5s var(--ease-out) .35s; }
.js .eco .eco__branches::before { transform: scaleX(0); transition: transform .6s var(--ease-out) .75s; }
.js .eco .eco__node::before { transform: scaleY(0); transition: transform .4s var(--ease-out) 1.200s; }
.js .eco .eco__node { opacity: 0; translate: 0 14px; transition-delay: 0s, 0s, 0s, 1.350s, 1.350s; }
.js .eco .eco__node:nth-child(2) { transition-delay: 0s, 0s, 0s, 1.450s, 1.450s; }
.js .eco .eco__node:nth-child(3) { transition-delay: 0s, 0s, 0s, 1.550s, 1.550s; }
.js .eco.is-in .eco__trunk, .js .eco.is-in .eco__branches::before, .js .eco.is-in .eco__node::before { transform: none; }
.js .eco.is-in .eco__node { opacity: 1; translate: 0 0; }
@media (max-width: 520px) {
  .eco__node small { display: none; }
  .eco__node b { font-size: 13.5px; }
  .eco__node .card__ico { width: 38px; height: 38px; border-radius: 12px; }
}

/* Values: one panel, three numbered principles joined by a gold line */
.about__values {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 120% at 50% -30%, rgba(var(--gold-rgb), .12), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(var(--gold-rgb), .4);
}
.value {
  --acc-rgb: var(--gold-rgb);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; padding: clamp(20px, 2.2vw, 30px);
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  transition: background-color .5s, opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.value + .value { border-inline-start: 1px solid var(--line); }
.value:hover { background: rgba(var(--gold-rgb), .05); }
/* numeral followed by a line that runs to the next principle */
.value__n { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: .04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.value__n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--gold-rgb), .6), transparent); }
[dir="rtl"] .value__n::after { background: linear-gradient(270deg, rgba(var(--gold-rgb), .6), transparent); }
.value__ico, .feature__ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: var(--gold); background: rgba(var(--gold-rgb), .1); border: 1px solid rgba(var(--gold-rgb), .25); box-shadow: var(--hi); }
/* filled gold badge */
.value__ico, .feature--row .feature__ico {
  width: 48px; height: 48px; border: 0; color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  box-shadow: 0 12px 24px -10px rgba(var(--gold-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .6s var(--ease-out);
}
.value:hover .value__ico { transform: rotate(-8deg) scale(1.08); }
.value h3, .feature h3 { font-size: 19px; font-weight: 750; margin-block-end: 6px; line-height: 1.5; }
.value p, .feature p { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.value h3 { font-size: 18px; margin-block-end: 4px; }
.value p { font-size: 14.5px; line-height: 1.85; }
@media (max-width: 900px) {
  .about__in { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: minmax(0, 1fr); }
  .value + .value { border-inline-start: 0; border-block-start: 1px solid var(--line); }
}

/* ---------- Why / feature grids ---------- */
.why__in { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.why__head { position: relative; margin-block-end: 0; }
/* the logo as a faint watermark behind the heading */
.why__seal { position: absolute; z-index: -1; inset-block-start: 50%; inset-inline-start: -4%; translate: 0 -50%; color: var(--gold); opacity: .07; pointer-events: none; }
.why__seal .ico { width: clamp(180px, 22vw, 300px); height: clamp(180px, 22vw, 300px); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature--row {
  grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 22px 24px;
  background: radial-gradient(80% 90% at 100% 0%, rgba(var(--gold-rgb), .11), transparent 62%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(var(--gold-rgb), .35);
}
[dir="ltr"] .feature--row { background: radial-gradient(80% 90% at 0% 0%, rgba(var(--gold-rgb), .11), transparent 62%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.feature--row:hover { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(var(--gold-rgb), .6); }
.feature--row h3 { font-size: 17.5px; margin-block-end: 4px; }
.feature--row p { font-size: 14px; line-height: 1.85; }
.feature__n { position: absolute !important; inset-block-end: 6px; inset-inline-end: 16px; font-size: 46px; font-weight: 850; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(var(--gold-rgb), .22); pointer-events: none; transition: -webkit-text-stroke-color .5s, transform .6s var(--ease-out); }
.feature--row:hover .feature__n { -webkit-text-stroke-color: rgba(var(--gold-rgb), .5); transform: translateY(-3px); }
@media (max-width: 960px) { .why__in { grid-template-columns: minmax(0, 1fr); } .why__seal { display: none; } }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { --acc-rgb: var(--gold-rgb); padding: 30px 26px; display: grid; gap: 14px; align-content: start; transition: transform .6s var(--ease-out), border-color .5s, opacity .9s var(--ease-out) var(--d, 0s); }
.feature:hover { transform: translateY(-6px); border-color: rgba(var(--acc-rgb), .35); }
.feature__ico { transition: transform .6s var(--ease-out); }
.feature:hover .feature__ico { transform: rotate(-8deg) scale(1.08); }
.pp .feature { --acc-rgb: inherit; }
.pp .feature__ico { color: var(--acc); background: rgba(var(--acc-rgb), .1); border-color: rgba(var(--acc-rgb), .28); }
@media (max-width: 1000px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why__grid, .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact__box { --acc-rgb: var(--gold-rgb); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(26px, 5vw, 68px); border-radius: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg), var(--hi); }
.contact__box .aurora { opacity: .28; z-index: 0; }
.contact__box .aurora--a { width: 420px; height: 420px; inset-block-start: -40%; inset-inline-end: -8%; }
.contact__box .aurora--b { width: 380px; height: 380px; inset-block-end: -50%; inset-inline-start: -6%; }
.contact__copy { display: grid; gap: 18px; align-content: start; justify-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full, .form__foot { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px;
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  outline: 0; font-size: 15.5px; line-height: 1.6;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--surface); color: var(--text); }
.field--select::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-end: 20px; width: 8px; height: 8px; border-inline-end: 1.5px solid var(--muted); border-block-end: 1.5px solid var(--muted); transform: translateY(-60%) rotate(45deg); pointer-events: none; }
[dir="rtl"] .field--select::after { transform: translateY(-60%) rotate(45deg); }
.field label { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; color: var(--faint); font-size: 15.5px; line-height: 1.6; pointer-events: none; transform-origin: top; transition: transform .3s var(--ease-out), color .3s; }
[dir="rtl"] .field label { transform-origin: top right; }
[dir="ltr"] .field label { transform-origin: top left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(.76); color: var(--gold); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(var(--gold-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .13); }
.field.is-bad input { border-color: var(--dama); box-shadow: 0 0 0 4px rgba(var(--dama-rgb), .14); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block-start: 6px; }
.form__msg { font-size: 14px; color: var(--muted); min-height: 1em; }
.form__msg.is-ok { color: var(--taraz); }
.form__msg.is-err { color: var(--dama); }
form.is-busy button { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .contact__box { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Contact details (contact section + footer) */
.clist { display: grid; gap: 10px; margin-block-start: 6px; width: 100%; }
.clist__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent); transition: border-color .3s, background-color .3s; }
a.clist__item:hover { border-color: rgba(var(--gold-rgb), .5); background: rgba(var(--gold-rgb), .06); }
.clist__ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); box-shadow: 0 8px 18px -10px rgba(var(--gold-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.clist__ico .ico { width: 18px; height: 18px; }
.clist__t { display: grid; min-width: 0; }
.clist__t small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.clist__t b { font-size: 15.5px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
[dir="rtl"] .clist__t b[dir="ltr"] { text-align: right; }
.fcontact { display: grid; gap: 8px; }
.fcontact__item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; transition: color .3s; }
a.fcontact__item:hover { color: var(--gold); }
.fcontact__ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--gold); background: rgba(var(--gold-rgb), .1); border: 1px solid rgba(var(--gold-rgb), .25); }
.fcontact__ico .ico { width: 15px; height: 15px; }
.fcontact__t { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.fcontact__t small { display: none; }
.fcontact__t b { font-weight: 500; line-height: 1.7; }
[dir="rtl"] .fcontact__t b[dir="ltr"] { text-align: right; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-block: clamp(36px, 4.5vw, 60px) 22px; overflow: hidden; background: var(--bg-2); isolation: isolate; }
/* gold hairline with a bright centre along the top edge */
.footer::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .7) 50%, transparent); }
.footer__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer__glow { position: absolute; inset-block-start: -260px; left: 50%; width: min(900px, 90vw); height: 520px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold-rgb), .2), transparent); }
.footer .gridlines { opacity: .45; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }

.footer__lead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; padding-block-end: clamp(22px, 2.8vw, 34px); margin-block-end: clamp(24px, 3vw, 38px); border-block-end: 1px solid var(--line); }
.footer__headline { display: grid; font-size: clamp(24px, 3.1vw, 40px); font-weight: 850; line-height: 1.3; letter-spacing: -.02em; }
.lang-en .footer__headline { line-height: 1.1; letter-spacing: -.04em; }

.footer__grid { display: grid; grid-template-columns: 1.15fr 1.25fr .6fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-block-end: clamp(26px, 3.5vw, 44px); }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__brand p { color: var(--muted); max-width: 38ch; font-size: 15px; }
.footer__sites { display: flex; flex-wrap: wrap; gap: 10px; }
.site { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: color .3s, border-color .3s, transform .4s var(--ease-out); }
.site i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.site .ico { width: 13px; height: 13px; opacity: .6; }
.site:hover { color: var(--text); border-color: rgba(var(--acc-rgb), .55); transform: translateY(-2px); }

.footer h3 { font-size: 12.5px; font-weight: 700; color: var(--faint); letter-spacing: .08em; margin-block-end: 14px; }
.lang-en .footer h3 { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.footer__products { display: grid; gap: 8px; }
.footer__products h3 { margin-block-end: 4px; }
.fprod { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 15px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--hi); transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s; }
.fprod:hover { transform: translateY(-3px); border-color: rgba(var(--acc-rgb), .45); box-shadow: var(--hi), 0 18px 36px -20px rgba(var(--acc-rgb), .8); }
.fprod__ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 82%, #fff), var(--acc) 55%, color-mix(in srgb, var(--acc) 75%, #000)); box-shadow: 0 10px 22px -10px rgba(var(--acc-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .5s var(--ease-out); }
.fprod:hover .fprod__ico { transform: rotate(-8deg) scale(1.06); }
.fprod__ico .ico { width: 20px; height: 20px; }
.fprod__t { display: grid; flex: 1; min-width: 0; }
.fprod__t b { font-size: 15.5px; font-weight: 750; line-height: 1.6; }
.fprod__t small { font-size: 13px; color: var(--muted); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fprod em { font-style: normal; flex: none; font-size: 11px; font-weight: 650; line-height: 1; padding: 5px 9px; border-radius: 999px; color: var(--gold); background: rgba(var(--gold-rgb), .1); border: 1px solid rgba(var(--gold-rgb), .3); }
.fprod > .ico { width: 18px; height: 18px; flex: none; color: var(--faint); transition: color .3s, translate .4s var(--ease-out); }
.fprod:hover > .ico { color: var(--acc); }
[dir="rtl"] .fprod:hover > .ico { translate: -4px 0; }
[dir="ltr"] .fprod:hover > .ico { translate: 4px 0; }

.footer__links { display: grid; gap: 4px; justify-items: start; align-content: start; }
.footer__links a { position: relative; padding-block: 5px; color: var(--muted); font-size: 15.5px; font-weight: 500; transition: color .3s; }
.footer__links a::after { content: ""; position: absolute; inset-block-end: 2px; inset-inline: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease-out); }
[dir="rtl"] .footer__links a::after { transform-origin: right; }
[dir="ltr"] .footer__links a::after { transform-origin: left; }
.footer__links a:hover { color: var(--text); }
.footer__links a:hover::after { transform: scaleX(1); }

.footer__word {
  font-size: clamp(90px, 17vw, 230px); font-weight: 900; line-height: .9; text-align: center; letter-spacing: -.04em;
  position: absolute; inset-inline: 0; inset-block-end: 34px; z-index: -1; margin: 0; pointer-events: none; user-select: none;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), .2) 10%, rgba(var(--gold-rgb), .05) 60%, transparent 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-fa .footer__word { line-height: 1.3; letter-spacing: 0; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block-start: 20px; border-block-start: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer__up { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); border: 1px solid rgba(var(--gold-rgb), .35); background: rgba(var(--gold-rgb), .08); transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
.footer__up:hover { background: var(--gold); color: var(--on-gold); }
.footer__up .ico { width: 18px; height: 18px; transition: translate .4s var(--ease-out); }
.footer__up:hover .ico { translate: 0 -3px; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__products { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__lead { align-items: start; }
  .footer__links { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer__links h3 { grid-column: 1 / -1; }
}

/* ---------- Product page ---------- */
.phero { position: relative; padding-block: calc(var(--header-h) + 70px) clamp(50px, 7vw, 90px); overflow: hidden; }
.phero .aurora--a { background: radial-gradient(circle, rgba(var(--acc-rgb), .5), transparent 65%); }
.phero .aurora--b { background: radial-gradient(circle, rgba(var(--gold-rgb), .3), transparent 65%); }
.phero__in { position: relative; display: grid; gap: 24px; justify-items: start; max-width: 900px; margin-inline-start: max(var(--gut), calc((100% - var(--wrap)) / 2)); margin-inline-end: auto; }
.phero__badge { display: flex; align-items: center; gap: 14px; }
.phero__title { font-size: clamp(38px, 6vw, 76px); line-height: 1.25; font-weight: 850; letter-spacing: -.025em; }
.lang-en .phero__title { line-height: 1.06; letter-spacing: -.04em; }
.phero__title .line:nth-child(2) { font-size: .62em; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--hi); display: grid; gap: 8px; align-content: start; }
.step__n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: var(--acc); box-shadow: 0 10px 24px -8px rgba(var(--acc-rgb), .8); margin-block-end: 8px; }
.step h3 { font-size: 17.5px; font-weight: 750; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--r); transition: transform .5s var(--ease-out), border-color .4s, opacity .9s var(--ease-out); }
.other:hover { transform: translateY(-4px); border-color: rgba(var(--acc-rgb), .4); }
.other__t { display: grid; flex: 1; }
.other__t b { font-size: 19px; font-weight: 800; }
.other__t small { color: var(--muted); font-size: 14px; }
.other > .ico { color: var(--muted); }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }

/* ---------- Generic page / 404 ---------- */
.page, .nf { padding-block-start: calc(var(--header-h) + 80px); }
.nf { text-align: center; min-height: 80svh; display: grid; align-items: center; }
.nf .wrap { display: grid; gap: 18px; justify-items: center; }
.nf__code { font-size: clamp(90px, 20vw, 200px); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.prose { display: grid; gap: 18px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.prose h2, .prose h3 { margin-block-start: 16px; line-height: 1.5; }
.prose ul, .prose ol { padding-inline-start: 22px; list-style: revert; }

/* ---------- Reduced motion ---------- */
/* Applied only when the theme is set to honour the visitor's OS setting
   (ARVAN_RESPECT_REDUCED_MOTION in functions.php) and that setting is on. */
.rm { scroll-behavior: auto; }
.rm *, .rm *::before, .rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.rm.js [data-reveal], .rm.js .line[data-reveal] > span { opacity: 1; transform: none; }
.rm .cursor { display: none !important; }

/* Sections that are off-screen stop animating (class toggled in main.js). */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
