:root {
  --bg: #050d0a;
  --bg-2: #0a1712;
  --line: rgba(255, 255, 255, 0.08);
  --line-lime: rgba(216, 231, 156, 0.18);
  --text: #f1f3ec;
  --muted: #92a098;
  --dim: #5f6d65;
  --lime: #d8e79c;
  --mint: #7fe0c0;
  --amber: #f2c46d;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 10px; }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- ambient layers ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--lime), var(--mint)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.spot { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--cx, 70%) var(--cy, 30%), rgba(127, 224, 192, 0.07), transparent 60%), radial-gradient(900px 700px at 85% -10%, rgba(31, 107, 81, 0.45), transparent 70%), radial-gradient(700px 600px at -10% 110%, rgba(216, 231, 156, 0.08), transparent 70%); }
.grain { position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s, padding 0.4s; }
.nav.scrolled { padding-block: 12px; background: rgba(5, 13, 10, 0.7); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--line-lime); background: rgba(5, 13, 10, 0.6); backdrop-filter: blur(10px); font: 500 12px/1 var(--mono); color: var(--lime); letter-spacing: 0.04em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(216, 231, 156, 0.7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(216, 231, 156, 0); } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; padding: 110px clamp(16px, 4vw, 48px) 48px; max-width: 1440px; margin-inline: auto; }
h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 600; }
h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
h1 .line > span { display: inline-block; transform: translateY(105%); animation: up 1.1s var(--ease) forwards; }
h1 .line.serif > span { animation-delay: 0.14s; letter-spacing: -0.03em; background: linear-gradient(95deg, var(--lime), var(--mint) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
@keyframes up { to { transform: none; } }
.lede { margin-top: 30px; max-width: 30em; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.fade { opacity: 0; animation: fade 1.2s var(--ease) 0.55s forwards; }
.globe-wrap.fade { animation-delay: 0.2s; animation-duration: 2s; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.btn { margin-top: 38px; display: inline-flex; align-items: center; gap: 12px; padding: 15px 18px 15px 26px; border-radius: 999px; background: var(--lime); color: #0a1d15; font-weight: 600; font-size: 15px; box-shadow: 0 10px 40px -10px rgba(216, 231, 156, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.12); transition: box-shadow 0.3s; will-change: transform; }
.btn svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #0a1d15; stroke: var(--lime); stroke-width: 1.8; fill: none; stroke-linecap: round; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateY(3px); }
.btn:hover { box-shadow: 0 16px 50px -10px rgba(216, 231, 156, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }

.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 720px; justify-self: center; }
#globe { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-hint { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- sections ---------- */
section:not(.hero) { padding: clamp(72px, 10vw, 136px) clamp(16px, 4vw, 48px); max-width: 1280px; margin-inline: auto; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 28px; }
h2 { font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 600; }
h2 .serif { color: var(--lime); letter-spacing: -0.03em; }

/* problem: scroll-scrubbed words */
.scrub { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; max-width: 18em; }
.js .scrub .w { opacity: 0.14; transition: opacity 0.25s linear, color 0.25s; }
.js .scrub .w.on { opacity: 1; }
.scrub .w.hl.on { color: var(--lime); }

/* vision */
.vision { text-align: center; display: grid; justify-items: center; }
.arch { width: clamp(110px, 14vw, 160px); margin-bottom: 36px; overflow: visible; }
.arch path { fill: none; stroke-linecap: round; }
.arch-line { stroke: var(--lime); stroke-width: 7; stroke-dasharray: 230; stroke-dashoffset: 0; }
.arch-glow { stroke: var(--lime); stroke-width: 7; opacity: 0.5; filter: blur(10px); stroke-dasharray: 230; }
.arch-base { stroke: var(--text); stroke-width: 2; opacity: 0.6; stroke-dasharray: 104; }
.js .vision .arch-line, .js .vision .arch-glow { stroke-dashoffset: 230; transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }
.js .vision .arch-base { stroke-dashoffset: 104; transition: stroke-dashoffset 1.4s var(--ease); }
.js .vision.in .arch path { stroke-dashoffset: 0; }
.vision-quote { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -0.015em; max-width: 17em; }
.vision-quote em, .vision-quote em .w { font-style: italic; background: linear-gradient(95deg, var(--lime), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .vision-quote .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(10px); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 45ms + 0.5s); }
.js .vision.in .vision-quote .w { opacity: 1; filter: none; transform: none; }
.vision-sign { margin-top: 36px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.js .vision .vision-sign { opacity: 0; transition: opacity 1s var(--ease) 2.2s; }
.js .vision.in .vision-sign { opacity: 1; }

/* opportunity */
.opp h2 .serif { color: var(--mint); }
.opp-grid { display: grid; grid-template-columns: 1fr 140px 1fr; margin-top: 64px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(90deg, rgba(216, 231, 156, 0.04), rgba(255, 255, 255, 0.01) 50%, rgba(127, 224, 192, 0.04)); }
.side { padding: clamp(28px, 4vw, 48px); display: grid; gap: 40px; align-content: start; }
.side-tag { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.side-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.side-abroad .side-tag i { background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.num { font-size: clamp(64px, 8vw, 112px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--text); }
.side-iran .num { text-shadow: 0 0 60px rgba(216, 231, 156, 0.25); }
.side-abroad .num { text-shadow: 0 0 60px rgba(127, 224, 192, 0.25); }
.cap { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 22em; }
.ref { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: 5px; padding: 0 4px; border-radius: 5px; font: 500 10px/1 var(--mono); color: var(--lime); background: rgba(216, 231, 156, 0.1); vertical-align: 3px; transition: background 0.2s; }
.ref:hover { background: rgba(216, 231, 156, 0.25); }
.compare { display: grid; gap: 8px; margin-top: 20px; max-width: 340px; }
.cmp { display: grid; grid-template-columns: 48px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.cmp-l { color: var(--muted); }
.cmp-v { color: var(--text); font-family: var(--mono); font-size: 12px; text-align: right; }
.cmp-t { height: 12px; display: block; }
.cmp-b { display: block; height: 100%; border-radius: 0 4px 4px 0; transform-origin: left; transition: transform 1.4s var(--ease) 0.4s; }
.cmp-b.iran { width: 59%; background: var(--lime); }
.cmp-b.world { width: 42%; background: #5f6d65; }

.gen { margin-top: 20px; max-width: 360px; }
.gen-bar { display: flex; gap: 2px; height: 12px; }
.gen-bar b { display: block; height: 100%; transform-origin: left; transition: transform 1.2s var(--ease) 0.4s; }
.gen-bar .g1 { flex: 445; background: #5f6d65; }
.gen-bar .g2 { flex: 310; background: var(--mint); border-radius: 0 4px 4px 0; transition-delay: 0.9s; }
.gen-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.gen-key span { display: inline-flex; align-items: center; gap: 8px; }
.gen-key i { width: 10px; height: 10px; border-radius: 3px; }
.gen-key .k1 { background: #5f6d65; } .gen-key .k2 { background: var(--mint); }
.js .opp:not(.in) .gen-bar b { transform: scaleX(0); }
.fig-note { font-style: normal; font-weight: 400; font-size: 13px; color: var(--mint); margin-left: 10px; letter-spacing: 0; }

.link { position: relative; display: grid; place-items: center; }
.link-line { position: absolute; left: -20px; right: -20px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(216, 231, 156, 0.5) 0 5px, transparent 5px 11px); }
.link-arch { position: relative; width: 64px; height: 64px; padding: 10px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line-lime); box-shadow: 0 0 40px rgba(216, 231, 156, 0.18); overflow: visible; }
.link-arch path { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 70; }
.link-arch path.base { stroke: var(--text); stroke-width: 2; opacity: 0.7; stroke-dasharray: 30; }
.link-pulse { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--lime), 0 0 4px #fff; animation: pulseX 2.6s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes pulseX { 0% { left: -20px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% + 14px); opacity: 0; } }

.dest { margin: 20px 0 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 255, 255, 0.015); }
.dest figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.dest figcaption .mono { font-weight: 400; font-size: 12px; letter-spacing: 0.04em; color: var(--dim); }
.bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bars li { position: relative; display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; font-size: 14px; border-radius: 8px; padding: 3px 0; }
.bl { color: var(--muted); transition: color 0.2s; }
.bt { position: relative; display: flex; align-items: center; gap: 10px; height: 18px; }
.bt b { display: block; height: 18px; border-radius: 0 4px 4px 0; background: var(--mint); transform-origin: left; transition: transform 1.3s var(--ease), filter 0.2s; transition-delay: calc(var(--i, 0) * 70ms + 0.1s); flex: none; }
.bv { font: 500 12px/1 var(--mono); color: var(--text); white-space: nowrap; transition: opacity 0.6s; transition-delay: calc(var(--i, 0) * 70ms + 0.9s); }
.bars li:nth-child(1) { --bw: 82%; --i: 0; } .bars li:nth-child(2) { --bw: 53.9%; --i: 1; } .bars li:nth-child(3) { --bw: 39%; --i: 2; }
.bars li:nth-child(4) { --bw: 37.9%; --i: 3; } .bars li:nth-child(5) { --bw: 23.6%; --i: 4; } .bars li:nth-child(6) { --bw: 16.9%; --i: 5; } .bars li:nth-child(7) { --bw: 16.8%; --i: 6; }
.bt b { width: var(--bw); }
.tip { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--mint); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.bars li:hover .bl { color: var(--text); }
.bars li:hover .bt b { filter: brightness(1.15); }
.bars li:hover .tip { opacity: 1; }
.js .opp:not(.in) .bt b, .js .opp:not(.in) .cmp-b { transform: scaleX(0); }
.js .opp:not(.in) .bv { opacity: 0; }
.js .opp:not(.in) .link-arch path { stroke-dashoffset: 70; }
.link-arch path { transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }

.sources { margin: 28px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 11px; line-height: 1.6; color: var(--dim); max-width: 920px; }
.sources a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-lime); text-underline-offset: 3px; }
.sources a:hover { color: var(--lime); }
.sources li:target { color: var(--text); }

/* anything */
.anything { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.anything { --lang: #d8e79c; --tech: #7fe0c0; --music: #f2c46d; --art: #f29bb8; --sport: #8ec5ff; --life: #c6a8ff; }
.pair { font-size: clamp(48px, 6.6vw, 96px); }
.slot-word { display: inline-flex; vertical-align: baseline; overflow: hidden; height: 1.22em; line-height: 1.22; transition: width 0.7s var(--ease); white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; padding-right: 0.08em; margin-block: -0.2em; }
.slot-word > span { display: block; flex: none; color: var(--wc, var(--lime)); }
.slot-word.out > span { animation: rollOut 0.45s cubic-bezier(.6, 0, .8, .4) forwards; }
.slot-word.in > span { animation: rollIn 0.7s var(--ease) forwards; }
@keyframes rollOut { to { transform: translateY(-110%); filter: blur(6px); opacity: 0; } }
@keyframes rollIn { from { transform: translateY(110%); filter: blur(6px); opacity: 0; } to { transform: none; filter: none; opacity: 1; } }
.any-sub { margin-top: 26px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 28em; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cats button { --c: var(--lime); font: 500 13px/1 var(--sans); color: var(--text); padding: 10px 14px 10px 28px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer; position: relative; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.cats button::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.cats button:hover, .cats button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.cats [data-cat="lang"] { --c: var(--lang); } .cats [data-cat="tech"] { --c: var(--tech); } .cats [data-cat="music"] { --c: var(--music); }
.cats [data-cat="art"] { --c: var(--art); } .cats [data-cat="sport"] { --c: var(--sport); } .cats [data-cat="life"] { --c: var(--life); }
.cloud { position: relative; aspect-ratio: 1; width: 100%; max-width: 580px; justify-self: center; }
.cloud::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(127, 224, 192, 0.08), transparent 70%); }
.tag { position: absolute; left: 50%; top: 50%; white-space: nowrap; font-weight: 600; letter-spacing: -0.02em; font-size: clamp(14px, 1.6vw, 20px); color: var(--c); will-change: transform, opacity; transition: opacity 0.35s, filter 0.35s; text-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); }
.tag.fa { font-family: "Vazirmatn", var(--sans); }
.no-js .cloud { display: none; }

/* how */
.how .head { display: flex; flex-direction: column; margin-bottom: 64px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.card { position: relative; padding: 18px 18px 30px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); overflow: hidden; transition: border-color 0.4s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(216, 231, 156, 0.1), transparent 50%); opacity: 0; transition: opacity 0.4s; }
.card:hover { border-color: var(--line-lime); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 26px; letter-spacing: -0.03em; margin: 26px 12px 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 12px; }
.ui { height: 220px; border-radius: 18px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); padding: 18px; position: relative; overflow: hidden; }
.av { display: block; width: 30px; height: 30px; border-radius: 50%; flex: none; background: conic-gradient(from 200deg, var(--lime), #3f8f6d, var(--lime)); }
.av.a2 { background: conic-gradient(from 90deg, var(--mint), #2e6b8f, var(--mint)); }
.av.a3 { background: conic-gradient(from 10deg, var(--amber), #8f5a2e, var(--amber)); }

.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 15px; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; flex: none; }
.caret { width: 1.5px; height: 18px; background: var(--lime); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.results { display: grid; gap: 10px; margin-top: 14px; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); opacity: 0; transform: translateY(8px); }
.row b { flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)); }
.row:nth-child(2) b { margin-right: 18%; }
.row:nth-child(3) b { margin-right: 8%; }
.ok { font: 500 10px/1 var(--mono); padding: 5px 7px; border-radius: 6px; color: var(--lime); background: rgba(216, 231, 156, 0.1); text-transform: uppercase; letter-spacing: 0.06em; }
.ui-search.show .row { animation: rowIn 0.6s var(--ease) forwards; }
.ui-search.show .row:nth-child(2) { animation-delay: 0.12s; }
.ui-search.show .row:nth-child(3) { animation-delay: 0.24s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }

.ui-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--dim); margin-bottom: 14px; gap: 8px; }
.ui-top > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hold { color: var(--amber); padding: 5px 8px; border-radius: 6px; background: rgba(242, 196, 109, 0.1); white-space: nowrap; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; font: 500 11.5px/1 var(--mono); color: var(--muted); transition: all 0.45s var(--ease); }
.slot.off { opacity: 0.25; text-decoration: line-through; }
.slot.sel { background: var(--lime); color: #0a1d15; border-color: var(--lime); box-shadow: 0 0 24px rgba(216, 231, 156, 0.45); transform: scale(1.06); }

.ui-call { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.peer { display: grid; justify-items: center; gap: 10px; font-size: 11px; color: var(--muted); z-index: 1; min-width: 0; }
.peer span { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peer .av { width: 56px; height: 56px; box-shadow: 0 0 0 6px rgba(216, 231, 156, 0.06), 0 0 0 12px rgba(216, 231, 156, 0.03); animation: talk 2.4s ease-in-out infinite; }
.peer .av.a2 { animation-delay: 1.2s; }
@keyframes talk { 50% { box-shadow: 0 0 0 9px rgba(216, 231, 156, 0.12), 0 0 0 18px rgba(216, 231, 156, 0.04); } }
.wire { flex: 1; position: relative; height: 90px; display: grid; place-items: center; align-content: center; gap: 12px; }
.wire::before { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 12px); background-size: 24px 100%; opacity: 0.5; animation: flow 0.8s linear infinite; }
@keyframes flow { to { background-position: 24px 0; } }
.chip { position: relative; font-size: 10px; padding: 5px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-lime); color: var(--lime); text-transform: uppercase; letter-spacing: 0.08em; }
.wave { position: relative; display: flex; gap: 3px; height: 22px; align-items: center; padding: 0 8px; background: var(--bg); }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--mint); animation: wave 1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -0.2s; } .wave i:nth-child(3) { animation-delay: -0.5s; } .wave i:nth-child(4) { animation-delay: -0.1s; }
.wave i:nth-child(5) { animation-delay: -0.7s; } .wave i:nth-child(6) { animation-delay: -0.35s; } .wave i:nth-child(7) { animation-delay: -0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* model */
.model-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.big { font-size: clamp(140px, 22vw, 320px); font-weight: 600; letter-spacing: -0.07em; line-height: 0.8; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text) 30%, rgba(241, 243, 236, 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pct { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.55em; letter-spacing: 0; background: linear-gradient(180deg, var(--lime), var(--mint)); -webkit-background-clip: text; background-clip: text; }
.model-copy { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.025em; max-width: 20em; }
.model-copy em { font-style: normal; color: var(--lime); }
.bar { display: flex; gap: 4px; height: 44px; margin-top: 36px; }
.bar span { position: relative; height: 100%; border-radius: 10px; transition: width 1.6s var(--ease); display: flex; align-items: center; overflow: hidden; }
.bar em { font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0 14px; color: #0a1d15; white-space: nowrap; }
.b-inst { background: linear-gradient(90deg, #8fae55, var(--lime)); }
.b-plat { background: var(--mint); justify-content: center; }
.b-plat em { padding: 0; }
.b-inst { width: 85%; }
.b-plat { width: 15%; }
.js .model:not(.in) .bar span { width: 0; }
.js .model.in .b-plat { transition-delay: 0.25s; }
.note { margin-top: 16px; font-size: 12px; color: var(--dim); }

/* status */
.status-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.col { padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.col h3 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.led { width: 8px; height: 8px; border-radius: 50%; }
.led.ok { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.led.next { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 16px 10px 36px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 14.5px; position: relative; }
.tags li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.2 2.2L9.5 3.5' fill='none' stroke='%23d8e79c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.next-copy { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.02em; color: var(--muted); }
.next-copy b { color: var(--text); font-weight: 500; }

/* closing */
.closing { position: relative; text-align: center; min-height: 80vh; display: grid; place-content: center; overflow: hidden; }
.fa-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%) scale(var(--s, 1)); font-family: "Vazirmatn", sans-serif; font-weight: 200; font-size: clamp(260px, 46vw, 640px); line-height: 1; color: rgba(216, 231, 156, 0.07); text-shadow: 0 0 80px rgba(216, 231, 156, 0.12); pointer-events: none; user-select: none; }
.closing h2 { position: relative; font-size: clamp(64px, 12vw, 180px); display: grid; gap: 18px; }
.closing h2 .small { font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.closing p { position: relative; margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--muted); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 4vw, 48px) 36px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* reveal */
.js .rise { opacity: 0; transform: translateY(40px) rotateX(10deg); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rise.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; gap: 8px; min-height: auto; overflow: clip; }
  .globe-wrap { order: 2; width: 150vw; max-width: none; aspect-ratio: auto; height: 96vw; margin: 12px 0 -40px calc(50% - 75vw); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); }
  #globe { width: 150vw; height: 150vw; }
  .globe-hint { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .model-grid, .status-grid, .anything { grid-template-columns: 1fr; }
  .opp-grid { grid-template-columns: 1fr; }
  .link { height: 96px; }
  .link-line { left: 50%; right: auto; top: -10px; bottom: -10px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(216, 231, 156, 0.5) 0 5px, transparent 5px 11px); }
  .link-pulse { left: 50%; margin: 0 0 0 -3px; animation-name: pulseY; }
  @keyframes pulseY { 0% { top: -10px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% + 4px); opacity: 0; } }
  .cloud { max-width: 420px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .globe-wrap { width: 110vw; height: 72vw; margin-left: calc(50% - 55vw); }
  #globe { width: 110vw; height: 110vw; }
}
@media (max-width: 480px) {
  .bars li { grid-template-columns: 108px 1fr; gap: 10px; font-size: 13px; }
  .tip { display: none; }
  .col { padding: 24px; }
  .btn { width: 100%; justify-content: space-between; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .grain { display: none; }
}

.notfound { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 20px; }
