/* Main site — botanical editorial. Brand colours, spacing and motion come from theme/tokens.css (shared with every app);
   this file lays out the page and its effects. One typeface everywhere (Vazirmatn, the platform font), never italic.
   Every animation is skipped for prefers-reduced-motion. */
:root {
  --page: #f8f3ea; --page-2: #f2ead9; --text: #13161c; --soft: #5b6170; --faint: #8b8f99; --line: rgba(19, 22, 28, .09);
  --deep: #0f1828; --deep-2: #17233a; --w: 1240px;
  --gold-grad: linear-gradient(100deg, #9a5a12 0%, #d9962c 30%, #f3c46b 50%, #d9962c 70%, #9a5a12 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 10px; }
[dir="rtl"] use[href="#i-arrow"] { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
::selection { background: rgba(217, 150, 44, .25); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.grain { position: fixed; inset: 0; z-index: 150; pointer-events: none; background: var(--grain); opacity: .055; mix-blend-mode: multiply; }
/* accent phrases: same typeface, set apart by the gold gradient only */
em, i, cite { font-style: normal; }
.accent, .glow { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow { animation: shimmer 8s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: translate .35s var(--ease); }
.btn:hover svg { translate: 4px 0; }
[dir="rtl"] .btn:hover svg { translate: -4px 0; }
.btn.lg { min-height: 54px; padding: 14px 30px; font-size: 16px; }
.btn.sm { min-height: 38px; padding: 7px 18px; font-size: 14px; }
.btn.dark { background: var(--text); color: #fff; box-shadow: 0 10px 30px -12px rgba(19, 22, 28, .55), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.dark:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(19, 22, 28, .6), 0 0 0 6px rgba(217, 150, 44, .12); }
.btn.glass { background: rgba(255, 255, 255, .55); border-color: rgba(19, 22, 28, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.glass:hover { background: rgba(255, 255, 255, .85); transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--text); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }
.btn.light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .55), 0 0 0 6px rgba(243, 196, 107, .2); }
.btn.outline { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.outline:hover { border-color: var(--gold); background: rgba(255, 255, 255, .06); }

/* navigation: a floating glass pill */
.nav { position: fixed; top: 14px; inset-inline: 0; z-index: 100; padding: 0 16px; pointer-events: none; }
.nav-in { pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 62px; padding: 0 10px 0 18px; display: flex; align-items: center; gap: 28px; border-radius: 999px;
  background: rgba(252, 249, 243, .62); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 0 rgba(19, 22, 28, .04), 0 12px 40px -24px rgba(19, 22, 28, .3);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); transition: box-shadow .4s, background .4s; }
[dir="rtl"] .nav-in { padding: 0 18px 0 10px; }
.nav.scrolled .nav-in { background: rgba(252, 249, 243, .85); box-shadow: 0 1px 0 rgba(19, 22, 28, .05), 0 18px 50px -24px rgba(19, 22, 28, .38); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; filter: drop-shadow(0 4px 8px rgba(178, 111, 20, .35)); }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--soft); transition: color .25s, background .25s; }
.links a:hover { color: var(--text); background: rgba(19, 22, 28, .05); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang { background: none; border: 0; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--soft); }
.lang:hover { color: var(--text); background: rgba(19, 22, 28, .05); }

/* hero */
main { overflow: clip; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 110px 24px 70px; }
.aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: float 18s ease-in-out infinite; }
.aura i:nth-child(1) { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; inset-inline-end: -6vw; top: 8%; background: radial-gradient(circle, rgba(243, 196, 107, .75), rgba(243, 196, 107, 0) 68%); }
.aura i:nth-child(2) { width: 30vw; height: 30vw; inset-inline-start: -8vw; top: -6%; background: radial-gradient(circle, rgba(236, 170, 190, .45), transparent 70%); animation-delay: -6s; }
.aura i:nth-child(3) { width: 28vw; height: 28vw; inset-inline-start: 30%; bottom: -10%; background: radial-gradient(circle, rgba(159, 211, 168, .4), transparent 70%); animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(3%, -4%) scale(1.06); } 66% { transform: translate(-3%, 3%) scale(.96); } }
.hero-in { position: relative; z-index: 1; max-width: var(--w); width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 24px -14px rgba(178, 111, 20, .5); font-size: 14px; font-weight: 600; color: var(--amber-2); animation: rise .9s var(--ease) both; }
[dir="rtl"] .kicker { padding: 7px 12px 7px 16px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(217, 150, 44, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 150, 44, .55); } 70% { box-shadow: 0 0 0 10px rgba(217, 150, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 150, 44, 0); } }
.hero h1 { margin: 0; font-size: clamp(2.8rem, 6.2vw, 5.8rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .line { display: block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) { animation-delay: .12s; padding-bottom: .08em; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.sub { margin: 26px 0 36px; max-width: 32em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--soft); line-height: 1.9; animation: rise 1.1s var(--ease) .24s both; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1.1s var(--ease) .36s both; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--soft); animation: rise 1.1s var(--ease) .48s both; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--amber-2); background: rgba(217, 150, 44, .14); stroke-width: 2.4; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 2; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(19, 22, 28, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber-2); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* hero: the five products orbit the amber mark (pure CSS; pauses on hover and under reduced motion) */
.orbit { --R: clamp(132px, 21vw, 212px); position: relative; width: min(100%, 2.6 * var(--R) + 140px); aspect-ratio: 1; margin: 0 auto; animation: rise 1.4s var(--ease) .2s both; }
.orbit-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed rgba(217, 150, 44, .45); }
.orbit-ring.r1 { width: calc(2 * var(--R)); height: calc(2 * var(--R)); animation: spin 120s linear infinite; }
.orbit-ring.r2 { width: calc(1.25 * var(--R)); height: calc(1.25 * var(--R)); border-style: solid; border-color: rgba(217, 150, 44, .18); animation: spin 80s linear infinite reverse; }
.orbit-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; }
.orbit-gem { width: clamp(96px, 14vw, 150px); height: clamp(96px, 14vw, 150px); filter: drop-shadow(0 24px 40px rgba(217, 150, 44, .45)); animation: breathe 6s ease-in-out infinite; }
.orbit-core b { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; }
.orbit-track { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.orbit-sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 360deg / var(--n, 7))) translateY(calc(-1 * var(--R))) rotate(calc(var(--i) * -360deg / var(--n, 7))); }
.orbit-sat a { position: absolute; left: 0; top: 0; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(217, 150, 44, .3); box-shadow: 0 14px 30px -16px rgba(19, 22, 28, .35); color: var(--text); text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 700; backdrop-filter: blur(10px); animation: spin 90s linear infinite reverse; transition: transform .35s var(--ease), box-shadow .35s; }
[dir="rtl"] .orbit-sat a { padding: 9px 10px 9px 16px; }
.orbit-sat a svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; background: var(--amber); flex: none; }
.orbit-sat a:hover { transform: scale(1.08); box-shadow: 0 22px 40px -16px rgba(217, 150, 44, .6); }
.orbit:hover .orbit-track, .orbit:hover .orbit-sat a { animation-play-state: paused; }
.orbit-dots i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: .55; animation: float 14s ease-in-out infinite; }
.orbit-dots i:nth-child(1) { left: 12%; top: 22%; } .orbit-dots i:nth-child(2) { left: 78%; top: 14%; animation-delay: -3s; } .orbit-dots i:nth-child(3) { left: 88%; top: 62%; animation-delay: -6s; width: 9px; height: 9px; }
.orbit-dots i:nth-child(4) { left: 20%; top: 80%; animation-delay: -9s; } .orbit-dots i:nth-child(5) { left: 55%; top: 92%; animation-delay: -12s; width: 4px; height: 4px; } .orbit-dots i:nth-child(6) { left: 6%; top: 52%; animation-delay: -5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
[data-theme="dark"] .orbit-sat a { background: rgba(28, 34, 46, .8); }
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; padding: 22px 24px; box-shadow: 0 30px 70px -34px rgba(120, 72, 10, .45), inset 0 1px 0 rgba(255, 255, 255, .8); transition: opacity .35s ease, transform .35s ease; }
.st-card.hidden { opacity: 0; transform: translateY(12px); }
.st-tag { display: inline-block; direction: ltr; font-size: 13px; font-weight: 600; color: var(--amber-2); margin-bottom: 4px; }
.st-card-title { margin: 0 0 6px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.015em; }
.st-desc { margin: 0 0 14px; font-size: 14.5px; line-height: 1.8; color: var(--soft); }
.st-props { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.st-props > div { display: flex; flex-direction: column; }
.st-label { font-size: 12px; color: var(--faint); }
.st-value { font-size: 14.5px; font-weight: 600; }

/* plant-name marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--page), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--page), transparent); }
.track { display: flex; width: max-content; gap: 34px; align-items: baseline; direction: ltr; animation: marquee 60s linear infinite; }
.track span { white-space: nowrap; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.track em { font-weight: 400; font-size: .62em; letter-spacing: 0; color: var(--faint); margin-inline-start: 8px; }
.track .star { color: var(--amber); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement: words light up as the reader scrolls */
.statement { max-width: 1020px; margin: 0 auto; padding: clamp(110px, 16vh, 180px) 24px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 14px; font-weight: 600; color: var(--amber-2); letter-spacing: .02em; }
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.words { margin: 0; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.55; font-weight: 700; letter-spacing: -.02em; }
.words .w { color: rgba(19, 22, 28, .14); transition: color .5s ease; }
.words .w.on { color: var(--text); }

/* section heads */
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { margin: 0 0 18px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.sec-head p:not(.eyebrow) { margin: 0 auto; max-width: 34em; font-size: 1.1rem; color: var(--soft); }

/* products bento */
.products { max-width: var(--w); margin: 0 auto; padding: 0 24px clamp(110px, 16vh, 170px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 420px; padding: 34px; border-radius: 32px;
  background: linear-gradient(165deg, #fffdf9 0%, color-mix(in srgb, var(--tint2) 28%, #fffdf9) 100%); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(19, 22, 28, .04), 0 30px 60px -40px color-mix(in srgb, var(--tint) 60%, transparent); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tint2) 55%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tint) 70%, transparent), transparent 70%);
  -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; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(19, 22, 28, .04), 0 50px 90px -48px color-mix(in srgb, var(--tint) 75%, transparent); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.t-kahroba { grid-column: span 7; }
.t-library { grid-column: span 5; }
.t-academy { grid-column: span 5; }
.t-mezaj { grid-column: span 7; }
.t-text { position: relative; z-index: 1; max-width: 400px; }
.t-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; color: var(--tint); background: rgba(255, 255, 255, .8); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--tint) 80%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--tint) 18%, transparent); }
.t-ico svg { width: 26px; height: 26px; }
.tile h3 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.tile p { margin: 0 0 18px; color: var(--soft); font-size: 15.5px; line-height: 1.85; }
.t-meta { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--tint); background: rgba(255, 255, 255, .75); border: 1px solid color-mix(in srgb, var(--tint) 18%, transparent); }
.go { position: absolute; top: 28px; inset-inline-end: 28px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: #fff; transition: transform .5s var(--ease), background .3s; }
.go svg { width: 20px; height: 20px; }
.tile:hover .go { transform: rotate(-45deg) scale(1.06); background: var(--tint); }
[dir="rtl"] .tile:hover .go { transform: rotate(45deg) scale(1.06); }

/* bento visuals */
.viz { position: absolute; z-index: 0; pointer-events: none; }
.t-kahroba { min-height: 470px; }
.t-kahroba .t-text { max-width: 560px; }
.viz-flow { inset-inline: 34px; bottom: 30px; height: 150px; display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; }
.viz-flow .col { grid-auto-flow: row; }
.viz-flow .col { display: grid; gap: 14px; }
.viz-flow .chip { padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px -12px rgba(19, 22, 28, .3); white-space: nowrap; }
.wire { width: 100%; height: 132px; min-width: 50px; }
.wire path { stroke: color-mix(in srgb, var(--tint) 55%, transparent); stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
[dir="rtl"] .wire { transform: scaleX(-1); }
@keyframes dash { to { stroke-dashoffset: -18; } }
.result { display: grid; gap: 4px; justify-items: start; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--tint) 70%, transparent); min-width: 150px; }
.result .r-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--tint); }
.result .r-ico svg { width: 18px; height: 18px; }
.result b { font-size: 17px; }
.result small { font-size: 12px; color: var(--soft); }
.result .bar { display: block; width: 100%; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--tint) 14%, #fff); overflow: hidden; }
.result .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 60%, #fff)); transition: width 1.6s var(--ease) .4s; }
.tile.in .result .bar i { width: 82%; }
.viz-books { inset-inline-end: 30px; bottom: 30px; width: 190px; height: 170px; }
.viz-books i { position: absolute; bottom: 0; width: 92px; height: 132px; border-radius: 4px 12px 12px 4px; transform-origin: bottom left; box-shadow: 0 18px 30px -16px rgba(19, 22, 28, .5), inset 8px 0 0 rgba(0, 0, 0, .14), inset 9px 0 0 rgba(255, 255, 255, .18); transition: transform .7s var(--ease); }
.viz-books i:nth-child(1) { left: 0; background: linear-gradient(150deg, #2e5aa8, #183a78); transform: rotate(-14deg); }
.viz-books i:nth-child(2) { left: 30px; background: linear-gradient(150deg, #d9962c, #9a5a12); transform: rotate(-5deg); }
.viz-books i:nth-child(3) { left: 60px; background: linear-gradient(150deg, #3f7d5a, #24543b); transform: rotate(4deg); }
.viz-books i:nth-child(4) { left: 90px; background: linear-gradient(150deg, #7a4f9c, #4b2c66); transform: rotate(12deg); }
.tile:hover .viz-books i:nth-child(1) { transform: rotate(-22deg) translateY(-6px); }
.tile:hover .viz-books i:nth-child(2) { transform: rotate(-9deg) translateY(-12px); }
.tile:hover .viz-books i:nth-child(3) { transform: rotate(6deg) translateY(-12px); }
.tile:hover .viz-books i:nth-child(4) { transform: rotate(20deg) translateY(-6px); }
.viz-ring { inset-inline-end: 34px; bottom: 34px; width: 150px; height: 150px; display: grid; place-items: center; }
.viz-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.viz-ring .track-c { stroke: color-mix(in srgb, var(--tint) 14%, #fff); stroke-width: 9; }
.viz-ring .prog-c { stroke: var(--tint); stroke-width: 9; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.tile.in .viz-ring .prog-c { stroke-dashoffset: 70.4; }
.ring-num { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.viz-compass { inset-inline-end: 40px; top: 50%; translate: 0 -50%; width: 210px; height: 210px; transition: transform 1.2s var(--ease); }
.tile:hover .viz-compass { transform: rotate(18deg); }
.viz-compass svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(107, 77, 138, .25)); }
.viz-compass .q { stroke: #fff; stroke-width: 2; }
.viz-compass .q1 { fill: #f6c7a8; } .viz-compass .q2 { fill: #f3dc9b; } .viz-compass .q3 { fill: #bfe0d8; } .viz-compass .q4 { fill: #cdd2ea; }
.viz-compass .mid { fill: #fff; stroke: var(--tint); stroke-width: 1.5; stroke-dasharray: 3 3; }
.viz-compass .pin { fill: var(--tint); stroke: #fff; stroke-width: 3; animation: pin 3s ease-in-out infinite; transform-origin: 60px 60px; }
@keyframes pin { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 3px); } }

/* why: the dark band */
.why { position: relative; margin: 0 16px; padding: clamp(100px, 14vh, 150px) 24px; border-radius: 44px; color: #eef1f6; overflow: hidden;
  background: radial-gradient(60% 70% at 85% 0%, rgba(217, 150, 44, .28), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(91, 143, 214, .18), transparent 60%), linear-gradient(180deg, var(--deep-2), var(--deep)); }
.why::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.why-in { position: relative; max-width: var(--w); margin: 0 auto; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .eyebrow { color: var(--gold); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feat { padding: 30px 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(243, 196, 107, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.f-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border-radius: 15px; color: var(--deep); background: linear-gradient(140deg, #f7d58c, #d9962c); box-shadow: 0 12px 30px -10px rgba(217, 150, 44, .6); }
.f-ico svg { width: 24px; height: 24px; stroke-width: 2; }
.feat b { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; color: #fff; }
.feat p { margin: 0; font-size: 15px; line-height: 1.85; color: rgba(238, 241, 246, .66); }

/* how: three steps on a line that draws itself */
.how { max-width: var(--w); margin: 0 auto; padding: clamp(110px, 16vh, 170px) 24px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps::before { content: ''; position: absolute; top: 31px; inset-inline: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent); transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.steps.in::before { transform: scaleX(1); }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps .n { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; font-size: 1.5rem; font-weight: 800; color: var(--amber-2);
  background: #fffdf8; box-shadow: 0 0 0 8px var(--page), 0 0 0 9px rgba(217, 150, 44, .35), 0 20px 40px -18px rgba(178, 111, 20, .6); }
.steps b { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { margin: 0 auto; max-width: 22em; color: var(--soft); font-size: 15.5px; }

/* closing */
.closing { max-width: var(--w); margin: 0 auto; padding: 0 24px clamp(100px, 14vh, 150px); }
.closing-card { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 32px; border-radius: 44px; text-align: center; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, #18253c 0%, #0f1828 60%); box-shadow: 0 50px 100px -50px rgba(15, 24, 40, .7); }
.orbs i { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); animation: float 16s ease-in-out infinite; }
.orbs i:nth-child(1) { width: 420px; height: 420px; top: -180px; inset-inline-start: -80px; background: radial-gradient(circle, rgba(243, 196, 107, .55), transparent 65%); }
.orbs i:nth-child(2) { width: 360px; height: 360px; bottom: -200px; inset-inline-end: -60px; background: radial-gradient(circle, rgba(236, 132, 191, .35), transparent 65%); animation-delay: -8s; }
.closing-card h2 { margin: 0 auto 16px; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.closing-card h2 .accent-line { display: block; color: var(--gold); }
.closing-card p { margin: 0 auto 34px; max-width: 30em; color: rgba(238, 241, 246, .7); font-size: 1.1rem; }
.closing-card .cta { justify-content: center; animation: none; }

/* footer with a giant outlined wordmark */
.foot { position: relative; overflow: hidden; padding: 70px 24px 30px; border-top: 1px solid var(--line); }
.foot-in { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 14px 0 0; max-width: 26em; color: var(--soft); font-size: 15px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-col h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--faint); letter-spacing: .04em; }
.foot-col a { color: var(--soft); transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.wordmark { margin: 40px auto -0.18em; text-align: center; font-weight: 800; font-size: clamp(6rem, 22vw, 20rem); line-height: 1.1; letter-spacing: -.04em; user-select: none;
  color: transparent; background: linear-gradient(180deg, rgba(217, 150, 44, .5) 0%, rgba(217, 150, 44, .16) 55%, rgba(217, 150, 44, 0) 92%); -webkit-background-clip: text; background-clip: text; }
.fine { position: relative; max-width: var(--w); margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .words .w { color: var(--text); }
  html { scroll-behavior: auto; }
}
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding-top: 120px; }
  .hero-copy { text-align: center; }
  .hero-copy .cta, .ticks { justify-content: center; }
  .sub { margin-inline: auto; }
  .orbit { --R: clamp(120px, 26vw, 200px); margin-top: 24px; }
  .scroll-cue { display: none; }
  .t-kahroba, .t-library, .t-academy, .t-mezaj { grid-column: span 12; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav-in { gap: 12px; height: 56px; }
  .links { display: none; }
  .hero { min-height: 0; padding: 100px 16px 40px; }
  .orbit { --R: 118px; }
  .orbit-sat a { font-size: 12.5px; padding: 6px 12px 6px 7px; }
  .orbit-sat a svg { width: 24px; height: 24px; padding: 5px; }
  .tile { min-height: 0; padding: 26px; padding-bottom: 210px; border-radius: 26px; }
  .t-kahroba { min-height: 0; }
  .viz-flow { inset-inline: 22px; bottom: 30px; height: 140px; }
  .viz-compass { top: auto; bottom: 40px; translate: 0 0; width: 150px; height: 150px; inset-inline-end: auto; inset-inline-start: 26px; }
  .viz-ring, .viz-books { inset-inline-end: auto; inset-inline-start: 26px; bottom: 30px; }
  .go { top: 22px; inset-inline-end: 22px; }
  .why { margin: 0 8px; border-radius: 30px; padding: 80px 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .closing { padding: 0 10px 80px; }
  .closing-card { border-radius: 30px; padding: 70px 22px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}


/* ── 2026-10: dark theme for the landing page (tokens.css flips the shared layer; these are this file's own colours) ── */
[data-theme="dark"] { --page: #0e1626; --page-2: #152035; --text: #eef2f8; --soft: #b8c3d6; --faint: #8290a8; --line: rgba(255, 255, 255, .1); }
[data-theme="dark"] .nav.scrolled .nav-in { background: rgba(14, 22, 38, .85); }
[data-theme="dark"] .btn.dark { background: var(--gold); color: var(--navy); }
.lang.theme svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
[data-theme="dark"] .lang.theme svg path { d: path("M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"); }

/* domains dropdown */
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 15px; color: var(--soft); background: none; border: 0; cursor: pointer; transition: color .25s, background .25s; }
.menu-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s; }
.menu-btn:hover, .menu.open .menu-btn { color: var(--text); background: rgba(19, 22, 28, .05); }
[data-theme="dark"] .menu-btn:hover, [data-theme="dark"] .menu.open .menu-btn { background: rgba(255, 255, 255, .08); }
.menu.open .menu-btn svg { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 12px); inset-inline-start: 0; display: none; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 18px; padding: 18px; min-width: 620px; background: var(--page); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -24px rgba(19, 22, 28, .45); z-index: 110; }
.menu.open .menu-panel { display: grid; }
.menu-group { display: grid; gap: 2px; }
.menu-title { font-weight: 800; font-size: 14px; color: var(--text); padding: 4px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-group a[role="menuitem"] { padding: 5px 10px; border-radius: 10px; font-size: 14px; color: var(--soft); }
.menu-group a[role="menuitem"]:hover { color: var(--text); background: rgba(217, 150, 44, .12); }
@media (max-width: 900px) { .menu-panel { position: fixed; inset-inline: 16px; top: 90px; min-width: 0; grid-template-columns: 1fr; max-height: 70vh; overflow: auto; } }

/* signed-in chip */
.who { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 600; }
[dir="ltr"] .who { padding: 4px 4px 4px 12px; }
.who-avatar { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #e6a63c, #b26f14); color: #fff; font-size: 12px; font-weight: 800; }
.who-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* support widget */
.support { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 120; display: grid; justify-items: start; gap: 10px; }
.support-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: var(--text); color: var(--page); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(19, 22, 28, .6); }
.support-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linejoin: round; }
.support-panel { display: grid; gap: 8px; width: min(92vw, 340px); padding: 16px; background: var(--page); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(19, 22, 28, .5); }
.support-panel[hidden] { display: none; }
.support-panel b { font-size: 15px; }
.support-lead { margin: 0; font-size: 13px; color: var(--soft); line-height: 1.6; }
.support-panel input, .support-panel textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--page-2); color: var(--text); font: inherit; font-size: 14px; }
.support-panel textarea { resize: vertical; }
.support-row { display: flex; align-items: center; gap: 10px; }
.support-row small { color: var(--soft); font-size: 12px; }

/* ── hand-analysis tile (2026-10) ── */
.t-hand { grid-column: span 6; min-height: 320px; }
.t-acu { grid-column: span 6; min-height: 320px; }
.t-acu .t-text { max-width: 420px; }
.viz-acu { inset-inline-end: 24px; bottom: 0; width: 150px; height: 205px; transition: transform 1.2s var(--ease); }
.tile:hover .viz-acu { transform: translateY(-6px); }
[dir="rtl"] .viz-acu svg { transform: scaleX(-1); }
.viz-acu svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(27, 94, 155, .25)); }
.viz-acu .ac-body { fill: #e7eef7; stroke: color-mix(in srgb, var(--tint) 50%, #fff); stroke-width: 2; }
.viz-acu .ac-line { fill: none; stroke: var(--tint); stroke-width: 2; stroke-dasharray: 3 4; animation: dash 1.6s linear infinite; }
.viz-acu .ac-pt { r: 4; fill: var(--amber); stroke: #fff; stroke-width: 2; }
.tile.in .viz-acu .ac-pt { animation: pin 3s ease-in-out infinite; }
/* ── shop tile ── */
.t-shop { grid-column: span 6; min-height: 320px; }
.t-shop .t-text { max-width: 440px; }
.viz-shop { inset-inline-end: 24px; bottom: 0; width: 150px; height: 150px; transition: transform 1.2s var(--ease); }
.tile:hover .viz-shop { transform: translateY(-6px); }
.viz-shop svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(138, 90, 20, .25)); }
.viz-shop .sh-bag { fill: #fbf1dc; stroke: var(--tint); stroke-width: 2; }
.viz-shop .sh-handle { fill: none; stroke: var(--tint); stroke-width: 2.5; }
.viz-shop .sh-leaf { fill: #5b8a3c; stroke: none; }
.viz-shop .sh-dot { fill: var(--amber); stroke: #fff; stroke-width: 2; }
.tile.in .viz-shop .sh-dot { animation: pin 3s ease-in-out infinite; }
.t-homeopathy { grid-column: span 6; min-height: 320px; }
.t-homeopathy .t-text { max-width: 400px; }
.viz-homeopathy { inset-inline-end: 24px; bottom: 16px; width: 170px; height: 170px; transition: transform 1.2s var(--ease); }
.tile:hover .viz-homeopathy { transform: translateY(-6px); }
.viz-homeopathy svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(74, 63, 143, .25)); }
.viz-homeopathy .sy-c { stroke: color-mix(in srgb, var(--tint) 30%, #fff); stroke-width: 1.5; }
.viz-homeopathy .sy-0 { fill: #fff; } .viz-homeopathy .sy-1 { fill: var(--tint2); } .viz-homeopathy .sy-2 { fill: color-mix(in srgb, var(--tint) 55%, var(--tint2)); } .viz-homeopathy .sy-3 { fill: var(--tint); }
.viz-homeopathy .sy-win { fill: none; stroke: var(--amber); stroke-width: 3; }
.tile.in .viz-homeopathy .sy-win { animation: pin 3s ease-in-out infinite; }
@media (max-width: 1080px) { .t-hand, .t-acu, .t-shop, .t-homeopathy { grid-column: span 12; } }
@media (max-width: 900px) { .viz-shop { display: none; } .t-shop { min-height: 0; } }
@media (max-width: 900px) { .viz-acu { display: none; } .t-acu { min-height: 0; } }
.t-hand .t-text { max-width: 560px; }
.viz-hand { inset-inline-end: 48px; top: 50%; translate: 0 -50%; width: 220px; height: 300px; transition: transform 1.2s var(--ease); }
.tile:hover .viz-hand { transform: translateY(-8px) rotate(-4deg); }
[dir="rtl"] .viz-hand svg { transform: scaleX(-1); }
.viz-hand svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(181, 69, 47, .25)); }
.viz-hand .pm-skin { fill: #f6e2d0; stroke: color-mix(in srgb, var(--tint) 60%, #fff); stroke-width: 2; }
.viz-hand .pm-line { fill: none; stroke: var(--tint); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.viz-hand .pm-minor { stroke-width: 1.8; opacity: .7; }
.tile.in .viz-hand .pm-line { stroke-dashoffset: 0; }
.viz-hand .pm-mount { fill: color-mix(in srgb, var(--tint) 18%, transparent); stroke: color-mix(in srgb, var(--tint) 45%, transparent); stroke-width: 1; }
@media (max-width: 900px) { .viz-hand { display: none; } .t-hand { min-height: 0; } }
