/* AutoMarketing pricing pages — monochrome, RTL. */

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansXV.woff2') format('woff2'), url('fonts/IRANSansXV.woff') format('woff');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  /* color */
  --c-bg: #ffffff;
  --c-text: #000000;
  --c-surface: #f1f1f1;
  --c-text-2: #555555;
  --c-text-3: #8a8a8a;
  --c-border: #e7e7e7;
  --c-border-strong: #cfcfcf;
  --c-inverse: #000000;
  --c-on-inverse: #ffffff;
  --c-on-inverse-2: rgba(255, 255, 255, 0.66);
  --c-on-inverse-border: rgba(255, 255, 255, 0.16);

  /* type */
  --font: 'IRANSansX', 'IRANSans', Vazirmatn, Tahoma, system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --fs-3xl: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --fs-price: clamp(2rem, 1.6rem + 1.4vw, 2.625rem);
  --lh-tight: 1.35;
  --lh: 1.85;

  /* space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --gutter: 16px;
  --section: clamp(64px, 6vw + 32px, 128px);
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --header-h: 64px;

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --bw: 1px;
  --border: var(--bw) solid var(--c-border);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
th { font-weight: inherit; text-align: start; }

:focus-visible { outline: 2px solid var(--c-text); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--c-inverse); color: var(--c-on-inverse);
  border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: 12px; }

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

@media (max-width: 959.98px) { .only-desk { display: none !important; } }
@media (min-width: 960px) { .only-mob { display: none !important; } }

.ic { width: 16px; height: 16px; max-width: none; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: var(--border);
}
.hdr__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-md); white-space: nowrap; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand__badge {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em;
  padding: 2px 10px; border: var(--border); border-radius: var(--r-pill); color: var(--c-text-2);
}
.hdr__nav { display: flex; gap: var(--s-1); margin-inline-start: auto; }
.hdr__nav a {
  padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none;
  font-size: var(--fs-sm); color: var(--c-text-2); white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hdr__nav a:hover { color: var(--c-text); background: var(--c-surface); }
.hdr__nav a[aria-current='page'] { color: var(--c-text); background: var(--c-surface); font-weight: 600; }

@media (max-width: 899.98px) {
  .hdr__in { flex-wrap: wrap; gap: 0 var(--s-3); padding-block: 10px 0; }
  .hdr__cta { margin-inline-start: auto; }
  .hdr__nav {
    order: 3; width: 100%; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px;
    width: calc(100% + var(--gutter) * 2); overflow-x: auto; scrollbar-width: none;
  }
  .hdr__nav::-webkit-scrollbar { display: none; }
  .hdr__nav a { padding: 6px 12px; }
  :root { --header-h: 108px; }
}

/* ---------- buttons, badges, chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  font-size: var(--fs-base); font-weight: 600; text-decoration: none; text-align: center;
  border: var(--bw) solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--dark { background: var(--c-inverse); color: var(--c-on-inverse); }
.btn--dark:hover { background: #262626; }
.btn--light { background: var(--c-bg); color: var(--c-text); }
.btn--light:hover { background: var(--c-surface); }
.btn--ghost { background: transparent; color: var(--c-on-inverse); border-color: var(--c-on-inverse-border); }
.btn--ghost:hover { border-color: var(--c-on-inverse); }

.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--c-inverse); color: var(--c-on-inverse);
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); border: var(--bw) dashed var(--c-border-strong);
  font-size: var(--fs-xs); color: var(--c-text-2); white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  padding: 8px 16px; border-radius: var(--r-pill); background: var(--c-bg);
  border: var(--border); font-size: var(--fs-sm); line-height: 1.6;
}
.section--alt .chip { background: var(--c-bg); border-color: transparent; }

.eyebrow { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-3); margin-bottom: var(--s-3); letter-spacing: 0.01em; }
.note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.9; }
.note--center { text-align: center; max-width: 640px; margin-inline: auto; }

/* ---------- glossary tooltip ---------- */

.term { display: inline; white-space: nowrap; }
.js .term__tip { white-space: normal; }
.term__btn {
  display: inline; padding: 0; margin: 0; border: 0; background: none; cursor: help;
  font: inherit; color: inherit; line-height: inherit;
  text-decoration: underline dotted; text-decoration-color: var(--c-text-3);
  text-underline-offset: 0.3em; text-decoration-thickness: 1px;
}
.term__btn:hover, .term__btn[aria-expanded='true'] { text-decoration-color: currentColor; }
.term__tip { display: none; }
.js .term__tip {
  display: block; position: fixed; z-index: 60; top: 0; left: 0;
  width: max-content; max-width: min(300px, calc(100vw - 24px));
  padding: 12px 14px; border-radius: var(--r-md);
  background: var(--c-inverse); color: var(--c-on-inverse);
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.8; text-align: start;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s var(--ease), visibility 0.15s;
}
.js .term__tip.is-open { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(56px, 7vw + 24px, 136px) clamp(40px, 4vw, 72px); text-align: center; }
.hero .wrap { max-width: calc(900px + var(--gutter) * 2); }
.hero__title { font-size: var(--fs-3xl); line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.hero__lead { margin: var(--s-5) auto 0; max-width: 680px; font-size: var(--fs-md); line-height: 2; color: var(--c-text-2); text-wrap: pretty; }
.scope-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-6);
  padding: 10px 18px; border-radius: var(--r-pill); background: var(--c-surface);
  font-size: var(--fs-sm); font-weight: 500; text-align: start;
}
.formula { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-6); }
.formula li {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 8px 18px; border: var(--border); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
}
.formula li + li::before { content: '+'; margin-inline-end: var(--s-2); color: var(--c-text-3); font-weight: 400; }
.formula li + li { border: 0; padding-inline-start: 0; }
.formula li + li::after { content: none; }
.confidential {
  display: inline-block; margin-top: var(--s-6); padding: 12px 18px;
  border-inline-start: 3px solid var(--c-text); background: var(--c-surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: var(--fs-sm); font-weight: 600; text-align: start;
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--alt { background: var(--c-surface); }
.section--plans { padding-top: 0; }
.shead { max-width: 720px; margin-bottom: var(--s-7); }
.shead__title { font-size: var(--fs-2xl); font-weight: 750; line-height: var(--lh-tight); letter-spacing: -0.01em; text-wrap: balance; }
.shead__lead { margin-top: var(--s-4); font-size: var(--fs-md); color: var(--c-text-2); line-height: 1.95; text-wrap: pretty; }

.split { display: grid; gap: var(--s-7); align-items: start; }
.split .shead { margin-bottom: var(--s-5); }
.split__after { color: var(--c-text-2); margin-bottom: var(--s-5); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9); }
}

/* ---------- plan cards ---------- */

.plans { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 720px) { .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 959.98px) { .plans--3 .plan { padding: var(--s-5); } }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s-6); border: var(--border); border-radius: var(--r-lg); background: var(--c-bg);
}
.plan > .btn { margin-top: auto; width: 100%; padding-inline: 16px; }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 28px; }
.plan__name { font-size: var(--fs-lg); font-weight: 750; line-height: 1.3; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__label { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-3); }
.plan__fit { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.9; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; margin-top: var(--s-5); }
.plan--tier .plan__price, .plan--support .plan__price { margin-top: var(--s-4); }
.plan__from { font-size: var(--fs-base); color: var(--c-text-2); font-weight: 500; }
.plan__amount { font-size: var(--fs-price); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.plan__unit { font-size: var(--fs-sm); color: var(--c-text-2); font-weight: 500; }
.plan__eq { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-text-2); }
.plan__facts { display: grid; gap: var(--s-2); margin: var(--s-5) 0 var(--s-6); padding-top: var(--s-5); border-top: var(--border); font-size: var(--fs-sm); }
.plan__facts li, .plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__facts .ic, .plan__list .ic { margin-top: 0.42em; }
.plan__inherits { margin-top: var(--s-5); font-size: var(--fs-sm); font-weight: 600; }
.plan__list { display: grid; gap: 10px; margin-top: var(--s-4); font-size: var(--fs-sm); line-height: 1.75; }
.plan--support .plan__list:last-of-type { margin-bottom: var(--s-5); }
.plan__outtitle { margin-top: var(--s-5); padding-top: var(--s-4); border-top: var(--border); font-size: var(--fs-sm); font-weight: 600; }
.plan__list--out { color: var(--c-text-2); }
.plan__note { margin: auto 0 var(--s-5); padding-top: var(--s-4); font-size: var(--fs-xs); color: var(--c-text-2); line-height: 1.9; }
.plan__list + .plan__note, .plan__list--out + .plan__note { margin-top: var(--s-4); }
.plan--support > .btn { margin-top: auto; }
.plan--support .plan__list--out { margin-bottom: var(--s-5); }

.specs { margin: var(--s-5) 0 0; border-top: var(--border); }
.specs div { display: flex; justify-content: space-between; gap: var(--s-4); padding: 10px 0; border-bottom: var(--border); font-size: var(--fs-sm); }
.specs dt { color: var(--c-text-2); }
.specs dd { font-weight: 600; text-align: end; }

.plan__more { margin: var(--s-4) 0 var(--s-5); }
.plan__more summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: var(--fs-sm); font-weight: 600; padding: 6px 0;
}
.plan__more summary::-webkit-details-marker { display: none; }
.plan__more summary .ic { margin-inline-start: auto; transition: transform 0.2s var(--ease); }
.plan__more[open] summary .ic { transform: rotate(45deg); }
.plan__count { color: var(--c-text-3); font-weight: 500; }
.plan__more .plan__inherits { margin-top: var(--s-3); }

/* featured = inverted */
.plan--featured { background: var(--c-inverse); color: var(--c-on-inverse); border-color: var(--c-inverse); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.35); }
.plan--featured .badge { background: var(--c-bg); color: var(--c-text); }
.plan--featured .plan__label,
.plan--featured .plan__fit,
.plan--featured .plan__unit,
.plan--featured .plan__from,
.plan--featured .plan__eq,
.plan--featured .plan__count,
.plan--featured .specs dt { color: var(--c-on-inverse-2); }
.plan--featured .plan__facts,
.plan--featured .specs,
.plan--featured .specs div { border-color: var(--c-on-inverse-border); }
.plan--featured .term__btn { text-decoration-color: var(--c-on-inverse-2); }

/* ---------- software features ---------- */

.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.fgroup { padding: var(--s-5) var(--s-5) var(--s-3); border: var(--border); border-radius: var(--r-lg); }
.fgroup__name { font-size: var(--fs-md); font-weight: 700; padding-bottom: var(--s-3); }
.ftable tr { border-top: var(--border); }
.ftable th, .ftable td { padding: 12px 0; vertical-align: top; font-size: var(--fs-sm); line-height: 1.75; }
.ftable td { width: 1%; min-width: 28px; padding-inline-start: var(--s-3); text-align: end; white-space: nowrap; }
.ftable td .ic { display: inline-block; margin-top: 0.3em; }
.ftable__cond { display: block; font-size: var(--fs-xs); color: var(--c-text-3); margin-top: 2px; }

.accs { border-top: var(--border); }
.acc { border-bottom: var(--border); }
.acc summary, .faq__item summary {
  display: flex; align-items: center; gap: var(--s-3); padding: 18px 0;
  cursor: pointer; list-style: none; font-weight: 650;
}
.acc summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.acc summary .ic, .faq__item summary .ic { margin-inline-start: auto; transition: transform 0.2s var(--ease); }
.acc[open] summary .ic, .faq__item[open] summary .ic { transform: rotate(45deg); }
.acc__count { font-size: var(--fs-xs); font-weight: 500; color: var(--c-text-3); }
.acc .fgroup { border: 0; padding: 0; border-radius: 0; }
.acc .ftable { margin-bottom: var(--s-3); }

/* ---------- not-included lists ---------- */

.xlist { display: grid; gap: 0; background: var(--c-bg); border-radius: var(--r-lg); padding: var(--s-2) var(--s-5); }
.xlist li { display: flex; gap: var(--s-3); align-items: flex-start; padding: 14px 0; border-bottom: var(--border); font-size: var(--fs-base); }
.xlist li:last-child { border-bottom: 0; }
.xlist .ic, .xgrid .ic { margin-top: 0.45em; color: var(--c-text-3); }

.xgrid { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .xgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.xgrid li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--c-bg); border-radius: var(--r-md); font-size: var(--fs-sm); }
.legal {
  margin-top: var(--s-6); padding: var(--s-5) var(--s-6);
  border-inline-start: 3px solid var(--c-text); background: var(--c-bg); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-md); line-height: 2; font-weight: 500;
}

/* ---------- comparison (desktop table) ---------- */

.ct table { table-layout: fixed; }
.ct th, .ct td { padding: 14px 16px; font-size: var(--fs-sm); line-height: 1.7; vertical-align: middle; }
.ct thead th {
  position: sticky; top: var(--header-h); z-index: 2; background: var(--c-bg);
  vertical-align: bottom; padding-block: var(--s-5) var(--s-4); border-bottom: var(--bw) solid var(--c-text);
}
.ct__corner { width: 24%; }
.ct thead th:not(.ct__corner) { text-align: center; }
.ct thead th.is-featured { background: var(--c-inverse); color: var(--c-on-inverse); border-radius: var(--r-md) var(--r-md) 0 0; border-bottom-color: var(--c-inverse); }
.ct thead th.is-featured .ct__sub { color: var(--c-on-inverse-2); }
.ct__name { display: block; font-size: var(--fs-md); font-weight: 750; }
.ct__sub { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--c-text-2); font-weight: 500; }
.ct tbody tr:not(.ct__group) { border-bottom: var(--border); }
.ct tbody th[scope='row'] { color: var(--c-text-2); }
.ct td { text-align: center; }
.ct td.is-featured { background: var(--c-surface); }
.ct td .ic { display: inline-block; vertical-align: middle; width: 18px; height: 18px; }
.ct__group th {
  padding-top: var(--s-6); padding-bottom: var(--s-2); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.02em; color: var(--c-text);
}
.ct tbody:first-of-type .ct__group th { padding-top: var(--s-4); }
.cell-dash { color: var(--c-border-strong); }
.cell-no { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-3); font-size: var(--fs-xs); }
.cell-no .ic { width: 14px !important; height: 14px !important; }
.is-excluded .ct__group th, .cm__group.is-excluded .cm__gname { color: var(--c-text); }
.is-excluded .ct__group th::before, .cm__group.is-excluded .cm__gname::before { content: '— '; }

/* ---------- comparison (mobile tabs) ---------- */

.cm__tabs {
  display: flex; gap: 4px; padding: 4px; margin-bottom: var(--s-5);
  background: var(--c-surface); border-radius: var(--r-pill);
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 5;
}
.cm__tabs [role='tab'] {
  flex: 1 1 0; min-width: 0; min-height: 40px; padding: 0 6px; border: 0; border-radius: var(--r-pill);
  background: transparent; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-2); cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cm__tabs [role='tab'][aria-selected='true'] { background: var(--c-inverse); color: var(--c-on-inverse); }
.cm__price { font-size: var(--fs-lg); font-weight: 750; margin-bottom: var(--s-3); }
.cm__group { margin-top: var(--s-5); }
.cm__gname { font-size: var(--fs-xs); font-weight: 700; padding-bottom: var(--s-2); border-bottom: var(--bw) solid var(--c-text); }
.cm__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 12px 0; border-bottom: var(--border); font-size: var(--fs-sm); line-height: 1.7; }
.cm__row dt { color: var(--c-text-2); }
.cm__row dd { text-align: end; font-weight: 600; }
.cm__row dd .ic { width: 18px; height: 18px; }
.js .cm__panel[hidden] { display: none; }
html:not(.js) .cm__panel + .cm__panel { margin-top: var(--s-7); }
html:not(.js) .cm__tabs { display: none; }

/* ---------- automation complexity ---------- */

.cxgrid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .cxgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cx { display: flex; flex-direction: column; padding: var(--s-6); background: var(--c-bg); border-radius: var(--r-lg); }
.cx__level { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--c-text-3); direction: ltr; justify-content: flex-end; }
.cx__dots { display: inline-flex; gap: 4px; }
.cx__dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--c-text); }
.cx__dots i.on { background: var(--c-text); }
.cx__name { margin-top: var(--s-3); font-size: var(--fs-lg); font-weight: 750; }
.cx__desc { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.9; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: var(--s-5); }
.flow li {
  display: inline-flex; align-items: center; white-space: nowrap; line-height: 1;
  font-size: var(--fs-xs); font-weight: 600;
}
.flow li::after { content: none; }
.flow li:not(:first-child)::before {
  content: ''; display: inline-block; width: 12px; height: 1px; margin-inline: 4px; background: var(--c-border-strong);
}
.flow__s { display: inline-block; padding: 7px 11px; border-radius: var(--r-pill); border: var(--border); }
.cx__ex { margin: var(--s-5) 0; padding: var(--s-4) var(--s-4) var(--s-3); background: var(--c-surface); border-radius: var(--r-md); }
.cx__extitle { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; font-size: var(--fs-sm); font-weight: 700; line-height: 1.6; }
.cx__extitle span {
  font-size: var(--fs-xs); font-weight: 600; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--c-inverse); color: var(--c-on-inverse);
}
.cx__steps { counter-reset: st; display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.cx__steps li { counter-increment: st; display: flex; gap: 10px; font-size: var(--fs-sm); line-height: 1.85; }
.cx__steps li::before {
  content: counter(st, persian); flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-bg); font-size: var(--fs-xs); font-weight: 700; line-height: 1;
}
.cx__gist { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: var(--fs-xs); color: var(--c-text-2); line-height: 1.8; }
.cx__price { margin-top: auto; padding-top: var(--s-5); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); border-top: var(--border); font-size: var(--fs-sm); }
.cx__price span { color: var(--c-text-2); }

/* ---------- add-ons ---------- */

.addons { display: grid; gap: 0 var(--s-8); }
@media (min-width: 960px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addon { display: flex; align-items: baseline; gap: var(--s-3); padding: 16px 0; border-bottom: var(--border); font-size: var(--fs-base); }
.addon__name { flex: 0 1 auto; }
.addon__line { flex: 1 1 24px; border-bottom: 1px dotted var(--c-border-strong); transform: translateY(-4px); min-width: 16px; }
.addon__price { flex: 0 0 auto; font-weight: 650; max-width: 60%; text-align: end; }
.why { margin-top: var(--s-7); padding: var(--s-6); border: var(--border); border-radius: var(--r-lg); }
.why__title { font-size: var(--fs-lg); font-weight: 750; line-height: 1.5; }
.why__text { margin-top: var(--s-3); max-width: 760px; color: var(--c-text-2); line-height: 2; }
.why__grid { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 900px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why__ex { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-4); background: var(--c-surface); border-radius: var(--r-md); }
.why__name { font-weight: 700; }
.why__row { display: grid; gap: 4px; font-size: var(--fs-sm); line-height: 1.85; }
.why__tag {
  justify-self: start; padding: 1px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600;
  background: var(--c-bg); color: var(--c-text-2);
}
.why__tag--high { background: var(--c-inverse); color: var(--c-on-inverse); }
.why__close { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s-5); font-weight: 600; line-height: 1.9; }
.why__close .ic { margin-top: 0.45em; }
@media (max-width: 639.98px) { .why { padding: var(--s-5) var(--s-4); } }
.onreview { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); display: grid; gap: var(--s-4); }
.onreview .chip { border-color: transparent; }
.onreview__label { font-weight: 700; }
@media (min-width: 960px) { .onreview { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-6); } }

/* ---------- multilingual stat ---------- */

.stat { padding: var(--s-6); background: var(--c-bg); border-radius: var(--r-lg); }
.stat__num { font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.stat__text { margin-top: var(--s-4); font-size: var(--fs-md); line-height: 1.9; }
.stat__note { margin-top: var(--s-4); padding-top: var(--s-4); border-top: var(--border); font-size: var(--fs-sm); color: var(--c-text-2); }

/* ---------- payment ---------- */

.pay { display: grid; gap: var(--s-4); counter-reset: none; }
@media (min-width: 900px) { .pay { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pay__step { display: grid; gap: var(--s-2); padding: var(--s-5); border: var(--border); border-radius: var(--r-lg); }
.pay__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-inverse); color: var(--c-on-inverse); font-size: var(--fs-xs); font-weight: 700; }
.pay__label { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-text-2); }
.pay__amount { font-size: var(--fs-xl); font-weight: 800; line-height: 1.3; }
.pay__amount small { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-2); }
.pay__bar { display: block; height: 4px; border-radius: 4px; background: var(--c-surface); overflow: hidden; margin-top: var(--s-2); }
.pay__bar i { display: block; height: 100%; background: var(--c-text); border-radius: 4px; }
.pay__pct { font-size: var(--fs-xs); color: var(--c-text-3); }
.pay__total { margin-top: var(--s-5); font-size: var(--fs-base); color: var(--c-text-2); }
.pay__total strong { color: var(--c-text); }

/* ---------- support: kinds ---------- */

.kinds { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kind { display: flex; flex-direction: column; padding: var(--s-6); background: var(--c-bg); border-radius: var(--r-lg); border: var(--bw) solid transparent; }
.kind--out { background: transparent; border: 1.5px dashed var(--c-border-strong); }
.kind__en { font-size: var(--fs-xs); font-weight: 600; color: var(--c-text-3); direction: ltr; text-align: end; }
.kind__name { margin-top: var(--s-2); font-size: var(--fs-xl); font-weight: 800; }
.kind__q { margin-top: var(--s-2); font-size: var(--fs-md); font-weight: 500; }
.kind__ex { display: grid; gap: 8px; margin: var(--s-5) 0; font-size: var(--fs-sm); color: var(--c-text-2); }
.kind__ex li::before { content: '· '; color: var(--c-text); font-weight: 700; }
.kind__where { margin-top: auto; padding-top: var(--s-4); border-top: var(--border); display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 650; }
.kind--out .kind__where { border-top-color: var(--c-border-strong); }
.kind__where .ic { margin-top: 0.4em; }

/* ---------- partner ---------- */

.pt { border-top: var(--bw) solid var(--c-text); }
.pt th, .pt td { padding: 18px 16px; text-align: start; font-size: var(--fs-base); border-bottom: var(--border); }
.pt thead th { font-size: var(--fs-sm); color: var(--c-text-2); font-weight: 600; }
.pt tbody th { font-weight: 750; font-size: var(--fs-md); }
.pt__label { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--c-text-3); }
.pt td { color: var(--c-text-2); }
.pt__partner { color: var(--c-text) !important; font-weight: 750; }
.pt thead th:last-child, .pt__partner { background: var(--c-surface); }
@media (max-width: 719.98px) {
  .pt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pt, .pt tbody, .pt tr, .pt th, .pt td { display: block; width: 100%; }
  .pt { border-top: 0; }
  .pt tr { border: var(--border); border-radius: var(--r-lg); margin-bottom: var(--s-3); overflow: hidden; }
  .pt th, .pt td { border-bottom: 0; }
  .pt tbody th { padding-bottom: 6px; }
  .pt td { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: 12px; border-top: var(--border); }
  .pt td::before { content: attr(data-label); color: var(--c-text-2); font-weight: 500; }
}
.resps { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .resps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resp { padding: var(--s-6); border: var(--border); border-radius: var(--r-lg); }
.resp--partner { background: var(--c-surface); border-color: transparent; }
.resp__name { font-size: var(--fs-lg); font-weight: 750; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: var(--s-4); }
.resp__sub { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-2); }
.resp li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: var(--border); font-size: var(--fs-sm); }
.resp--partner li { border-top-color: rgba(0, 0, 0, 0.08); }
.resp .ic { margin-top: 0.42em; }
.rules { counter-reset: r; display: grid; gap: 0; }
.rules li { counter-increment: r; display: flex; gap: var(--s-4); padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); font-size: var(--fs-md); line-height: 1.9; }
.rules li::before { content: counter(r, persian); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; font-size: var(--fs-sm); font-weight: 700; margin-top: 2px; }

/* partner: software */
.psw__prices { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.psw__prices li { display: inline-flex; align-items: baseline; gap: var(--s-2); padding: 8px 16px; border-radius: var(--r-pill); background: var(--c-surface); font-size: var(--fs-sm); }
.psw__prices span { color: var(--c-text-2); }
.psw { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .psw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.psw__way { padding: var(--s-6); border: var(--border); border-radius: var(--r-lg); }
.psw__way--main { background: var(--c-inverse); color: var(--c-on-inverse); border-color: var(--c-inverse); }
.psw__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 700; background: var(--c-surface); color: var(--c-text); }
.psw__name { margin-top: var(--s-4); font-size: var(--fs-lg); font-weight: 750; line-height: 1.5; }
.psw__text { margin-top: var(--s-3); line-height: 2; color: var(--c-text-2); }
.psw__way--main .psw__text { color: var(--c-on-inverse-2); }
.psw__points { display: grid; gap: var(--s-2); margin-top: var(--s-5); padding-top: var(--s-4); border-top: var(--border); font-size: var(--fs-sm); }
.psw__way--main .psw__points { border-top-color: var(--c-on-inverse-border); }
.psw__points li, .psw__notes li { display: flex; gap: 10px; align-items: flex-start; }
.psw__points .ic, .psw__notes .ic { margin-top: 0.42em; }
.psw__notes { display: grid; gap: var(--s-2); margin: var(--s-5) 0 var(--s-6); font-size: var(--fs-sm); color: var(--c-text-2); }
@media (max-width: 639.98px) { .psw__way { padding: var(--s-5); } }

/* ---------- FAQ ---------- */

.faq { border-top: var(--border); }
.faq__item { border-bottom: var(--border); }
.faq__item summary { padding: 22px 0; font-size: var(--fs-md); }
.faq__a { padding: 0 0 var(--s-5); padding-inline-end: var(--s-7); color: var(--c-text-2); line-height: 2; }

/* ---------- final CTA ---------- */

.final { background: var(--c-inverse); color: var(--c-on-inverse); padding-block: var(--section); text-align: center; }
.final__title { font-size: var(--fs-2xl); font-weight: 800; line-height: var(--lh-tight); text-wrap: balance; }
.final__text { margin: var(--s-4) auto 0; max-width: 560px; color: var(--c-on-inverse-2); font-size: var(--fs-md); }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------- footer ---------- */

.ftr { padding-block: var(--s-7); border-top: var(--border); }
.ftr__in { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); justify-content: space-between; align-items: center; }
.ftr__note { font-size: var(--fs-xs); color: var(--c-text-3); max-width: 520px; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); }
.ftr__nav a { color: var(--c-text-2); text-decoration: none; }
.ftr__nav a:hover { color: var(--c-text); }

/* ---------- sticky mobile CTA ---------- */

.sticky { display: none; }
@media (max-width: 959.98px) {
  .js .sticky {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
    position: fixed; z-index: 50; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 10px 10px 10px 10px; padding-inline-start: 18px;
    background: var(--c-inverse); color: var(--c-on-inverse); border-radius: var(--r-pill);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
    transform: translateY(calc(100% + 24px)); transition: transform 0.3s var(--ease);
  }
  .js .sticky.is-on { transform: none; }
  .sticky__info { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
  .sticky__name { font-size: var(--fs-xs); color: var(--c-on-inverse-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky__price { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
  .sticky .btn { min-height: 42px; padding: 0 20px; flex: none; }
  .js body { padding-bottom: 0; }
  .js .ftr { padding-bottom: calc(var(--s-7) + 72px); }
}

/* ---------- mobile refinements ---------- */

@media (max-width: 639.98px) {
  .plan { padding: var(--s-5); }
  .shead { margin-bottom: var(--s-6); }
  .hero { text-align: start; }
  .hero__lead { margin-inline: 0; font-size: var(--fs-base); }
  .formula { justify-content: flex-start; }
  .legal { padding: var(--s-4) var(--s-5); font-size: var(--fs-base); }
  .addon { flex-wrap: wrap; gap: 4px var(--s-3); }
  .addon__line { display: none; }
  .addon__name { flex: 1 1 100%; }
  .addon__price { max-width: none; text-align: start; color: var(--c-text); }
  .faq__a { padding-inline-end: 0; }
  .final { text-align: start; }
  .final__text { margin-inline: 0; }
  .final__actions { justify-content: stretch; }
  .final__actions .btn { flex: 1 1 100%; }
  .xlist { padding: var(--s-1) var(--s-4); }
  .cx, .kind, .resp, .stat { padding: var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- launch offer (/pricing/ronamaei/) ---------- */

.plans--1 { max-width: 560px; margin-inline: auto; }
.plan__eq s { text-decoration-thickness: 1px; }
.plan__help { margin-top: var(--s-4); text-align: center; font-size: var(--fs-sm); color: var(--c-on-inverse-2); }
.plan__help a { color: var(--c-on-inverse); text-underline-offset: 4px; }
@media (min-width: 1100px) { .why__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.psw--bg .psw__way { background: var(--c-bg); border-color: transparent; }
.psw__result { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s-4); padding-top: var(--s-4); border-top: var(--border); font-weight: 650; line-height: 1.9; }
.psw__result .ic { margin-top: 0.45em; }
.shead__title--sm { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.xlist--line { padding: 0; background: none; }
.confidential[hidden] { display: none; }
