/* =====================================================================
   Damavand Fund Landings — core.css
   ساختار و کامپوننت‌های مشترک همه‌ی لندینگ‌ها.
   رنگ‌ها و هنر هیروی هر صندوق در theme-<fund>.css تعریف می‌شود.
   ===================================================================== */

@font-face { font-family: "IRANSansX"; font-weight: 300; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-Light.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 400; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-Regular.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 500; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-Medium.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 600; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-DemiBold.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 700; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-Bold.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 800; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 900; font-display: swap; src: url("../fonts/iransansX/woff2/IRANSansXFaNum-Black.woff2") format("woff2"); }
@font-face { font-family: "Damavand"; font-weight: 800; font-display: swap; src: url("../fonts/DamavandExtraBold.woff2") format("woff2"), url("../fonts/DamavandExtraBold.woff") format("woff"); }

/* ---------- tokens (پیش‌فرض؛ تم‌ها بازنویسی می‌کنند) ---------- */
:root {
  --bg: #041228;
  --bg-2: #071a36;
  --bg-3: #0b2246;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f6f2e8;
  --ink-2: #b8c2d6;
  --ink-3: #7f8ca6;

  /* رنگ‌های تأکیدی؛ هر تم همه‌ی این‌ها را بازتعریف می‌کند (rgb به‌صورت «r, g, b» برای rgba) */
  --acc-rgb: 248, 192, 52;
  --acc-mid: #e0a01c; --acc-mid-rgb: 224, 160, 28;
  --acc-deep: #a76f00; --acc-deep-rgb: 201, 138, 16;
  --acc-deep2: #c98a10;
  --accent: #f8c034;
  --accent-ink: #2a1a00;
  --accent-soft: rgba(var(--acc-rgb), 0.12);
  --accent-line: rgba(var(--acc-rgb), 0.35);
  --grad: linear-gradient(135deg, #fff1c2 0%, #f8c034 42%, var(--acc-deep2) 100%);
  --grad-deep: linear-gradient(135deg, #c8890c 0%, #9a6400 100%);
  --btn-grad: linear-gradient(135deg, #ffe08a 0%, #f8c034 45%, var(--acc-mid) 100%);
  --glow: rgba(var(--acc-rgb), 0.35);

  --paper: #fbf7ee;
  --paper-2: #f3ecdc;
  --navy: #0b2246;

  --up: #3ddc97;
  --down: #ff6b6b;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gutter: 24px;
  --sec-y: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --f-body: "IRANSansX", Tahoma, sans-serif;
  --f-display: "Damavand", "IRANSansX", sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- icons ---------- */
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i .d { fill: var(--duo, currentColor); opacity: var(--duo-o, 0.28); stroke: none; }

/* کاشی آیکون رنگی — پالت مشترک همه‌ی لندینگ‌ها */
.ico {
  --s: 48px;
  width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * 0.3);
  display: inline-grid; place-items: center; flex: none;
  color: #fff;
  --duo: #fff; --duo-o: 0.32;
  background: linear-gradient(145deg, var(--t1, #8aa0c0), var(--t2, #4b5f80));
  box-shadow: 0 10px 22px -10px var(--t2, #000), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.ico .i { width: 54%; height: 54%; stroke-width: 1.8; }
.ico--xs { --s: 30px; }
.ico--sm { --s: 38px; }
.ico--lg { --s: 60px; }
.ico--xl { --s: 84px; }
.ico--gold    { --t1: #ffd978; --t2: #e39b12; color: #4a2c00; --duo-o: 0.5; }
.ico--emerald { --t1: #3fe0a5; --t2: #059669; }
.ico--sky     { --t1: #6cb2ff; --t2: #2563eb; }
.ico--violet  { --t1: #b197fc; --t2: #7c3aed; }
.ico--coral   { --t1: #ffa07f; --t2: #ee4f36; }
.ico--teal    { --t1: #3ee0cc; --t2: #0d9488; }
.ico--rose    { --t1: #ff8aa0; --t2: #e11d48; }
.ico--indigo  { --t1: #8f9bff; --t2: #4f46e5; }
.ico--slate   { --t1: #a8b5c8; --t2: #55657d; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.45;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.lead { color: var(--ink-2); font-size: 17px; line-height: 2; max-width: 620px; }
.gold-text { color: var(--accent); font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent);
  font-size: 15px; font-weight: 700; letter-spacing: 0;
  margin-bottom: 16px;
}
/* برچسب سکشن: متن ساده با یک خط کوتاه، بدون قرص و آیکون */
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.8; }
.eyebrow .i { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 16px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn .i { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 17px; border-radius: 18px; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--btn-grad); color: var(--accent-ink);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5);
}
.btn--gold:hover { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55); }
.btn--glass {
  background: rgba(255, 255, 255, 0.08); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(11, 34, 70, 0.8); }
.btn--navy:hover { background: #12305e; }

/* ---------- chips & pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.chip::before, .chip::after { content: ""; width: 32px; height: 1px; background: var(--accent-line); }
.chip__dot { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
/* اعداد علامت‌دار همیشه به‌صورت +۱٫۸۴٪ نمایش داده شوند */
[data-fmt^="signed"], [data-calc-out="profit"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.pill--up { color: var(--up); background: rgba(61, 220, 151, 0.12); }
.pill--down { color: var(--down); background: rgba(255, 107, 107, 0.12); }
.pill--lg { padding: 6px 14px; font-size: 15px; }
.pill .i { width: 16px; height: 16px; }

/* ---------- segmented control ---------- */
.seg {
  display: inline-flex; gap: 4px; padding: 5px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.seg button {
  padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--btn-grad); color: var(--accent-ink); box-shadow: 0 6px 16px -8px var(--glow); }
.seg--full { display: flex; }
.seg--full button { flex: 1; }

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.nav.is-stuck {
  padding: 10px 0;
  background: rgba(4, 18, 40, 0.78);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, 0.8);
}
.nav__in { display: flex; align-items: center; gap: 28px; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.nav__phone .i { color: var(--accent); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); place-items: center; }

/* ---------- hero (اسکلت مشترک) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(640px, 88svh);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--hero-bg, var(--bg));
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__content { position: relative; z-index: 3; text-align: center; padding-top: 150px; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 1.25; margin: 22px 0 14px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero__title em { display: inline-block; padding-inline: 4px;  }
.hero__lead { max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 2; }
.hero__btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { width: 18px; height: 18px; color: var(--accent); }
.hero__scroll {
  position: absolute; z-index: 4; bottom: 110px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 44px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.5);
}
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 6; margin-top: -86px; }
.ticker__card {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(14, 36, 72, 0.88), rgba(8, 24, 52, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.ticker__item { display: flex; align-items: center; gap: 12px; padding: 22px 18px; position: relative; }
.ticker__item + .ticker__item::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.ticker__item .ico { --s: 42px; }
.ticker__item small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; white-space: nowrap; }
.ticker__item b { display: flex; align-items: baseline; gap: 4px; font-size: 19px; font-weight: 800; white-space: nowrap; }
.ticker__item b i { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.is-up { color: var(--up); direction: ltr; justify-content: flex-end; }
.ticker__stamp { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec-y) 0; }
/* دو سکشن تیره پشت سر هم: فاصله‌ی بالایی کمتر */
.sec:not(.sec--paper) + .sec:not(.sec--paper) { padding-top: calc(var(--sec-y) * 0.3); }
.sec__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
.sec__head .lead { margin-top: 8px; font-size: 16px; line-height: 1.85; }
.sec--paper {
  --ink: #0f213f; --ink-2: #4a5873; --ink-3: #7a8599;
  --line: rgba(15, 33, 63, 0.1);
  --surface: #ffffff; --surface-2: rgba(15, 33, 63, 0.05);
  --accent-soft: rgba(var(--acc-deep-rgb), 0.1); --accent-line: rgba(var(--acc-deep-rgb), 0.3);
  background: var(--paper); color: var(--ink);
}
.sec--paper .eyebrow { color: var(--acc-deep); }
.sec--paper .gold-text { color: var(--acc-deep); }
.sec--paper .h2 { color: var(--ink); }

.note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.note .i { width: 16px; height: 16px; color: var(--accent); }

/* tags (کارت‌های کوچک شناور روی تصاویر) */
.tag {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.96); color: #0f213f;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
  animation: bob 6s ease-in-out infinite;
}
.tag b { display: block; font-size: 16px; font-weight: 800; line-height: 1.5; }
.tag small { display: block; font-size: 12.5px; color: #5d6a80; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.about__text .lead { margin-top: 18px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.feat { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s var(--ease); }
.feat:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.feat h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.feat p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.about__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.arch {
  position: relative; width: min(380px, 80%); aspect-ratio: 380 / 470;
  border-radius: 999px 999px 32px 32px;
  background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.22), rgba(var(--acc-rgb), 0.02) 70%);
  border: 1px solid var(--accent-line);
  display: grid; place-items: end center;
}
.arch::before { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px dashed rgba(var(--acc-rgb), 0.25); }
.arch__glow { position: absolute; inset: 15% 10% 30%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(20px); }
.arch img { position: relative; width: 86%; margin-bottom: -8%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.5)); }
.tag--a { top: 14%; inset-inline-start: 0; }
.tag--b { bottom: 10%; inset-inline-end: -4%; animation-delay: -3s; }

/* ---------- performance ---------- */
.perf { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.perf__card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.perf__bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line);
  transition: opacity 0.2s, background 0.2s;
}
.legend button:hover { background: var(--surface-2); }
.legend button[aria-pressed="false"] { opacity: 0.45; }
.legend button[aria-pressed="false"] .sw { background: transparent !important; box-shadow: inset 0 0 0 2px var(--c); }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.sw--dash { height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px) !important; }
.perf__body { display: grid; grid-template-columns: 1fr 260px; gap: 24px; }
.chart { position: relative; height: 380px; direction: ltr; }
.chart__svg { width: 100%; height: 100%; overflow: visible; }
.chart__svg .grid line { stroke: var(--line); }
.chart__svg .axis text { fill: var(--ink-3); font-size: 11.5px; font-family: var(--f-body); }
.chart__svg .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: opacity 0.3s; }
.chart__svg .area { opacity: 0.16; }
.chart__svg .xhair { stroke: rgba(255, 255, 255, 0.35); stroke-dasharray: 3 4; }
.chart__svg .dot { stroke: var(--bg-2); stroke-width: 2; }
.chart__svg .endlabel { font-size: 12px; font-weight: 700; fill: var(--ink); font-family: var(--f-body); }
.chart__tip {
  position: absolute; top: 0; z-index: 3; min-width: 190px; pointer-events: none;
  padding: 12px 14px; border-radius: 14px; direction: rtl;
  background: rgba(6, 18, 40, 0.94); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px -20px #000; font-size: 13px;
  /* پس‌زمینه‌ی تولتیپ همیشه تیره است؛ رنگ متن مستقل از تمِ روشن/تیره‌ی صفحه ثابت می‌ماند */
  color: #eef5fb;
}
.chart__tip h5 { margin: 0 0 6px; font-size: 12.5px; color: #9fb0cc; font-weight: 500; }
.chart__tip div b { color: #fff; }
.chart__tip div { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.chart__tip div b { margin-inline-start: auto; direction: ltr; font-weight: 700; }
.perf__side { display: flex; flex-direction: column; gap: 10px; }
.rtile {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: opacity 0.2s;
}
.rtile.is-off { opacity: 0.4; }
.rtile--hero { background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.16), rgba(var(--acc-rgb), 0.04)); border-color: var(--accent-line); }
.rtile .ico { --s: 36px; }
.rtile span { font-size: 14px; color: var(--ink-2); }
.rtile b { margin-inline-start: auto; font-size: 18px; font-weight: 800; direction: ltr; }
.rtile--hero b { font-size: 22px; }

/* ---------- calculator ---------- */
.calc__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: stretch; }
/* آیتم‌های گرید نباید به اندازه‌ی محتوای پهن (input، عدد بزرگ) کش بیایند */
.calc__grid > *, .about__grid > *, .how__grid > *, .faq__grid > *, .perf__body > * { min-width: 0; }
.calc__form { padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 30px 60px -40px rgba(15, 33, 63, 0.35); border: 1px solid var(--line); display: flex; flex-direction: column; }
.field__label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; }
.field__label:not(:first-child) { margin-top: 26px; }
.money { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 14px; background: var(--paper); border: 2px solid transparent; transition: border-color 0.2s; }
.money:focus-within { border-color: var(--acc-mid); }
.money input { flex: 1; width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: 22px; font-weight: 800; color: var(--ink); direction: ltr; text-align: right; }
.money span { color: var(--ink-3); font-weight: 600; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 16px 0 10px; border-radius: 6px; direction: ltr; background: linear-gradient(to right, var(--acc-mid) var(--p, 10%), rgba(15, 33, 63, 0.1) var(--p, 10%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--acc-mid); box-shadow: 0 4px 12px rgba(var(--acc-mid-rgb), 0.5); cursor: grab; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--acc-mid); cursor: grab; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { padding: 7px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); transition: background 0.2s, color 0.2s; }
.presets button:hover, .presets button.is-on { background: var(--navy); color: #fff; }
.calc__form .btn { margin-top: auto; }
.calc__form .seg { margin-bottom: 18px; }
.calc__result {
  --ink: #f6f2e8; --ink-2: #b8c2d6; --ink-3: #8794ad; --line: rgba(255, 255, 255, 0.09);
  position: relative; overflow: hidden;
  padding: 24px; border-radius: var(--r-lg);
  background: radial-gradient(120% 80% at 100% 0%, #173a6e 0%, var(--navy) 50%, #061633 100%);
  color: var(--ink);
}
.calc__result::after { content: ""; position: absolute; width: 340px; height: 340px; top: -170px; left: -120px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.calc__hero small { display: block; color: var(--ink-2); font-size: 14px; }
.calc__hero b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 4px 0 8px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1.3; }
.calc__hero b span { color: var(--accent); }
.calc__hero b i { font-style: normal; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.bars { margin-top: 18px; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 208px 1fr; align-items: center; gap: 6px 14px; }
.bars .lbl { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.bars .lbl small { font-size: 11.5px; opacity: 0.7; font-weight: 400; }
.bars .sw { flex: none; }
.bars .trk { position: relative; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.bars .fill { position: absolute; inset: 0 0 0 auto; width: 0; border-radius: 10px 4px 4px 10px; background: var(--c); transition: width 0.9s var(--ease); }
.bars .val { position: absolute; inset-inline-end: 10px; top: 0; bottom: 0; display: flex; align-items: center; font-size: 13.5px; font-weight: 700; color: #fff; direction: ltr; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.bars li.is-fund .lbl { color: var(--ink); font-weight: 700; }
.note--dark { color: var(--ink-3); }


/* ---------- compare (vs) ---------- */
.vs { max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; position: relative; }
.vs::before {
  content: ""; position: absolute; z-index: 0;
  /* ستون سوم (قیراط) در RTL سمت چپ است: 1.1 از 3.2 واحد عرض */
  top: -12px; bottom: -12px; left: 0; width: calc(100% * 1.1 / 3.2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fff, #fffaf0);
  border: 1.5px solid rgba(var(--acc-mid-rgb), 0.5);
  box-shadow: 0 40px 80px -40px rgba(var(--acc-deep-rgb), 0.5);
}
.vs__head, .vs__row { display: contents; }
.vs__head > div, .vs__row > div { position: relative; z-index: 1; }
.vs__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 16px; font-weight: 800; font-size: 17px; text-align: center; }
.vs__col--old { color: var(--ink-2); }
.vs__col--new img { width: 150px; margin-top: -90px; filter: drop-shadow(0 20px 20px rgba(var(--acc-deep-rgb), 0.35)); }
.vs__k, .vs__v { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.vs__k { font-weight: 700; }
.vs__v .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; flex: none; stroke-width: 2.4; }
.vs__v--bad { color: var(--ink-2); }
.vs__v--bad .i { color: #e5484d; background: rgba(229, 72, 77, 0.1); }
.vs__v--good { color: var(--ink); font-weight: 600; }
.vs__v--good .i { color: #fff; background: #12a171; }


.audience { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

/* ---------- how to buy ---------- */
.how__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.how__text .seg { margin: 26px 0 28px; }
.steps { position: relative; display: grid; gap: 8px; counter-reset: st; }
.steps::before { content: ""; position: absolute; inset-inline-start: 25px; top: 30px; bottom: 30px; border-inline-start: 2px dashed rgba(15, 33, 63, 0.15); }
.steps li { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 0; counter-increment: st; }
.steps .ico { --s: 52px; }
.steps .ico::after { content: counter(st); position: absolute; top: -6px; inset-inline-start: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); }
.steps .ico { position: relative; }
.steps h3 { font-size: 17px; font-weight: 800; }
.steps p { font-size: 14.5px; color: var(--ink-2); }
.how__info { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.how__info span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.how__info .i { width: 18px; height: 18px; color: var(--acc-deep2); }
.how__visual { position: relative; display: grid; place-items: center; padding: 40px 0; }
.how__visual::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--acc-rgb), 0.45), transparent); }
.phone {
  position: relative; width: 290px; aspect-ratio: 290 / 590;
  padding: 12px; border-radius: 46px;
  background: linear-gradient(145deg, #2a3a55, #0a1528);
  box-shadow: 0 60px 100px -40px rgba(15, 33, 63, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
}
.phone__notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 14px; background: #050b16; z-index: 2; }
.phone__screen { height: 100%; border-radius: 36px; overflow: hidden; padding: 56px 18px 18px; background: linear-gradient(180deg, #0b2246, #061633); color: #f6f2e8; display: flex; flex-direction: column; gap: 14px; }
.app__top { display: flex; align-items: center; gap: 10px; }
.app__top b { display: block; font-size: 16px; font-weight: 800; line-height: 1.4; }
.app__top small { display: block; font-size: 10.5px; color: #8794ad; }
.app__top .pill { margin-inline-start: auto; font-size: 11.5px; }
.app__price b { font-size: 30px; font-weight: 900; }
.app__price small { margin-inline-start: 6px; color: #8794ad; font-size: 12px; }
.app__spark { width: 100%; height: 90px; }
.app__book { display: grid; gap: 6px; font-size: 12px; }
.app__book div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.app__book div:first-child { color: #8794ad; font-size: 11px; }
.app__book i { font-style: normal; padding: 6px 10px; border-radius: 8px; font-weight: 700; }
.app__book .b { background: rgba(61, 220, 151, 0.12); color: #3ddc97; }
.app__book .s { background: rgba(255, 107, 107, 0.12); color: #ff8a8a; }
.app__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app__btns span { height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; }
.app__btns .buy { background: #12a171; }
.app__btns .sell { background: rgba(255, 255, 255, 0.08); }
.tag--c { bottom: 18%; inset-inline-end: 0; }


/* ---------- trust ---------- */
.trust { background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.trust::before { content: ""; position: absolute; width: 900px; height: 900px; top: -300px; left: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 134, 240, 0.12), transparent); pointer-events: none; }
.trust__top { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.trust__brand { width: 230px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent), var(--surface); border: 1px solid var(--line); }
.trust__brand img { width: 62%; }
.trust__text .lead { max-width: 720px; margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.stat { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; margin-top: 16px; font-size: 30px; font-weight: 900; line-height: 1.4; }
.stat small { color: var(--ink-2); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro .lead { margin: 12px 0 26px; }
.acc { display: grid; gap: 12px; }
.acc details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.acc details[open] { border-color: rgba(var(--acc-mid-rgb), 0.45); box-shadow: 0 24px 50px -36px rgba(15, 33, 63, 0.5); }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { margin-inline-start: auto; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--surface-2); transition: transform 0.3s var(--ease), background 0.3s, color 0.3s; }
.acc details[open] summary .i { transform: rotate(45deg); background: var(--navy); color: #fff; }
.acc details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; line-height: 2; }

/* ---------- lead form ---------- */
.lead-sec { padding-bottom: calc(var(--sec-y) + 20px); }
.leadbox {
  display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(140deg, var(--bg-3), var(--bg-2) 60%);
  border: 1px solid var(--accent-line);
  box-shadow: 0 60px 120px -60px var(--glow);
}
.leadbox__media { position: relative; min-height: 440px; }
.leadbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.leadbox__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(7, 26, 54, 0.85), transparent 45%); }
.tag--d { bottom: 28px; inset-inline-start: 28px; }
.leadbox__form { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.leadbox__form .lead { margin: 12px 0 28px; }
.field { position: relative; margin-bottom: 14px; }
.field .i { position: absolute; top: 50%; inset-inline-start: 18px; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.field input, .field select {
  width: 100%; height: 58px; padding: 0 52px 0 18px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink); outline: none; transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder { color: var(--ink-3); }
.field select { color: var(--ink-2); }
.field select option { background: var(--bg-2); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.09); }
.field.is-err input { border-color: var(--down); }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.form__err { min-height: 22px; color: var(--down); font-size: 13.5px; margin-bottom: 8px; }
.form__alt { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-2); }
.form__alt a { color: var(--accent); font-weight: 700; direction: ltr; unicode-bidi: embed; }
.lead-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lead-ok .ico .i { stroke-width: 2.6; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 24px; background: #020b1a; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1.2fr; gap: 48px; }
.foot__about img { height: 46px; width: auto; }
.foot__about p { margin-top: 18px; color: var(--ink-2); font-size: 14.5px; max-width: 360px; }
.foot h4 { font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.foot__links { display: grid; gap: 10px; }
.foot__links a { color: var(--ink-2); font-size: 14.5px; transition: color 0.2s; }
.foot__links a:hover { color: var(--accent); }
.foot__contact { display: grid; gap: 14px; }
.foot__contact li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); transition: background 0.2s, color 0.2s, transform 0.2s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.foot__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; color: var(--ink-3); }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .tag, .live, .hero__scroll span { animation: none; }
}

/* حالت بررسی داده: ?ph */
.ph-mode [data-f], .ph-mode .ph, .ph-mode [data-ph] { outline: 2px dashed #ff3da6; outline-offset: 2px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 8px 8px; font-size: 14px; }
  .nav__phone span { display: none; }
  .ticker__card { grid-template-columns: repeat(6, 1fr); }
  .ticker__item { grid-column: span 2; }
  .ticker__item:nth-child(n + 4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .ticker__item:nth-child(4)::before { display: none; }
}

@media (max-width: 980px) {
  :root { --sec-y: 64px; }
  .nav__links {
    position: fixed; inset: 70px 16px auto; flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 20px; background: rgba(6, 20, 44, 0.97); border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px #000;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 0.25s var(--ease);
  }
  .nav__links a { padding: 12px 14px; font-size: 15px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgba(4, 18, 40, 0.95); }
  .nav__burger { display: grid; }
  .nav__cta { margin-inline-start: auto; }
  .about__grid, .how__grid, .faq__grid, .calc__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__visual { min-height: 380px; order: -1; }
  .perf__body { grid-template-columns: 1fr; }
  .perf__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .faq__intro { position: static; }
  .leadbox { grid-template-columns: 1fr; }
  .leadbox__media { min-height: 240px; }
  .leadbox__media::after { background: linear-gradient(0deg, rgba(7, 26, 54, 0.9), transparent 55%); }
  .trust__top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .trust__brand { width: 170px; }
  .trust__text .lead { margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
  .how__visual { order: -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --sec-y: 48px; }
  body { font-size: 15px; }
  .foot { padding-bottom: 104px; } /* جا برای نوار اقدام پایین صفحه */
  .nav__brand img { height: 32px; }
  .nav .btn--sm { display: none; }
  .hero { min-height: 640px; }
  .hero__content { padding-top: 116px; }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1; padding: 0 16px; }
  .hero__trust { font-size: 13px; gap: 8px 16px; }
  .hero__scroll { display: none; }
  .ticker { margin-top: -60px; }
  .ticker__card { grid-template-columns: 1fr 1fr; }
  .ticker__item, .ticker__item:nth-child(n + 4) { grid-column: auto; }
  .ticker__item:last-child { grid-column: 1 / -1; }
  .ticker__item { padding: 16px 14px; gap: 10px; }
  .ticker__item .ico { --s: 36px; }
  .ticker__item b { font-size: 16px; }
  .ticker__item:nth-child(n)::before { display: none; }
  .ticker__item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .ticker__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feats { grid-template-columns: 1fr; }
  .about__visual { min-height: 320px; }
  .tag { padding: 10px 14px; }
  .tag b { font-size: 14px; }
  .perf__card { padding: 18px 14px; }
  .perf__bar .seg { width: 100%; }
  .perf__bar .seg button { flex: 1; padding: 8px 4px; font-size: 13px; }
  .chart { height: 300px; }
  .calc__form, .calc__result { padding: 18px 16px; }
  .money { height: 52px; }
  .money input { font-size: 20px; }
  .bars li { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr 1fr; }
  .vs::before { display: none; }
  .vs__head > div:first-child { display: none; }
  .vs__col { padding: 12px 8px; font-size: 14.5px; }
  .vs__col--new { background: #fff; border-radius: 18px 18px 0 0; border: 1.5px solid rgba(var(--acc-mid-rgb), 0.5); border-bottom: 0; }
  .vs__col--new img { width: 96px; margin-top: -40px; }
  .vs__k { grid-column: 1 / -1; padding: 18px 4px 8px; font-size: 15px; }
  .vs__v { border-top: 0; padding: 10px; font-size: 13.5px; align-items: flex-start; gap: 8px; }
  .vs__v--good { background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(var(--acc-mid-rgb), 0.4); }
  .vs__v .i { width: 20px; height: 20px; }
  .perf__side { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rtile { padding: 10px 12px; gap: 8px; }
  .rtile span { font-size: 13px; white-space: nowrap; }
  .rtile b, .rtile--hero b { font-size: 15.5px; }
  .rtile--hero { grid-column: 1 / -1; }
  .stats { gap: 10px; }
  .stat { padding: 18px; }
  .stat b { font-size: 24px; }
  .acc summary { padding: 16px 18px; font-size: 15px; }
  .acc details p { padding: 0 18px 18px; }
  .leadbox { border-radius: 28px; }
  .leadbox__form { padding: 24px 16px; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .phone { width: 250px; }
  .how__visual::before { width: 320px; height: 320px; }
  .dock {
    position: fixed; z-index: 60; inset: auto 12px 12px; display: flex; gap: 8px;
    padding: 8px; border-radius: 22px;
    background: rgba(4, 18, 40, 0.88); border: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    transform: translateY(140%); transition: transform 0.4s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { height: 50px; padding: 0 14px; font-size: 15px; }
  .dock .btn--gold { flex: 1; }
}

/* ---------- موبایل: فشرده‌تر برای اسکرول کمتر ---------- */
@media (max-width: 640px) {
  .h2 { font-size: clamp(22px, 6.4vw, 26px); line-height: 1.5; }
  .lead { font-size: 15px; line-height: 1.85; }
  .sec__head { margin-bottom: 22px; }
  .eyebrow { margin-bottom: 10px; font-size: 14px; }
  .feat { padding: 12px 14px; gap: 12px; }
  .feat p { font-size: 13.5px; line-height: 1.7; }
  .feats { gap: 10px; margin-top: 22px; }
  .how__visual { display: none; }
  .about__visual { min-height: 260px; }
  .steps li { padding: 8px 0; gap: 14px; }
  .stat { padding: 14px; }
  .stat b { margin-top: 8px; font-size: 22px; }
  .foot { padding: 32px 0 80px; }
  .foot__grid { gap: 22px; }
    .acc summary { padding: 13px 16px; }
  .perf__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rtile span { white-space: normal; }
  .presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .presets button { padding: 8px 2px; font-size: 12.5px; }
}

/* کردیت طراح در فوتر: هاور سبز هارمونی */
.foot__credit { color: var(--ink-3); transition: color 0.2s ease; }
.foot__credit:hover, .foot__credit:focus-visible { color: #24c76a; }

/* برچسب‌های شناور بخش معرفی روی عرض تبلت از صفحه بیرون نزنند */
.about { overflow-x: clip; }


/* ---------- ترکیب دارایی (یک خط خلاصه در بخش معرفی) ---------- */
.about__mix { margin-top: 14px; padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--accent-line); font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.about__mix b { color: var(--ink); }

/* ---------- اسناد و لینک‌های رسمی در فوتر ---------- */
.foot__docs small { display: block; color: var(--ink-3); font-size: 12px; }
.foot__ext { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot__ext a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); transition: color 0.2s, border-color 0.2s; }
.foot__ext a:hover { color: var(--accent); border-color: var(--accent-line); }
