/* radixo.ir — one family (Vazirmatn, variable), weight carries the hierarchy. */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/vazirmatn-arabic-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/vazirmatn-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #121933;
  --ink-2: #3d4566;
  --ink-3: #6b7290;
  --paper: #ffffff;
  --wash: #eef1fb;
  --line: #dfe3f0;
  --lapis: #2f4bd8;
  --lapis-deep: #1d2f99;
  --mint: #8fe3d6;
  --mint-ink: #0e6b5d;
  --sun: #f2b84b;
  --radius: 14px;
  --w: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01';
}
[dir='ltr'] body {
  line-height: 1.65;
}
h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}
[dir='ltr'] h1,
[dir='ltr'] h2 {
  letter-spacing: -0.025em;
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}
h3 {
  font-size: 1.15rem;
  font-weight: 750;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
:focus-visible {
  outline: 3px solid var(--lapis);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(var(--w), 100% - 32px);
  margin-inline: auto;
}
.section {
  padding-block: clamp(56px, 9vw, 104px);
}
.section > h2,
.page-head > h1 {
  max-width: 22ch;
}
.lead {
  font-size: 1.12rem;
  color: var(--ink-2);
  margin-top: 14px;
}
.narrow {
  max-width: 60ch;
}
.note {
  color: var(--ink-3);
  font-size: 0.92rem;
  margin-top: 18px;
}
.center {
  text-align: center;
  margin-top: 40px;
}
.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset-inline-start: 16px;
  top: 12px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--lapis);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid var(--lapis);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--lapis-deep);
  border-color: var(--lapis-deep);
}
.btn .ico {
  width: 20px;
  height: 20px;
}
.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1.05rem;
}
.btn-ghost {
  background: transparent;
  color: var(--lapis);
}
.btn-ghost:hover {
  background: var(--wash);
  color: var(--lapis-deep);
}
.btn-light {
  background: #fff;
  color: var(--lapis-deep);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--mint);
  border-color: var(--mint);
}
.link {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-2);
}
.link:hover {
  color: var(--lapis);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.mark {
  width: 34px;
  height: 34px;
}
.menu {
  display: flex;
  gap: 22px;
  flex: 1;
}
.menu a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.97rem;
}
.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--lapis);
}
.top-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero: the organization tree is the picture of the product. */
.hero {
  background:
    radial-gradient(60% 70% at 15% 30%, rgb(143 227 214 / 0.28), transparent 70%),
    linear-gradient(180deg, var(--wash), #f7f8fd 85%, var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  font-weight: 900;
  line-height: 1.22;
  max-width: 13ch;
}
[dir='ltr'] .hero h1 {
  line-height: 1.05;
  max-width: 15ch;
}
.hero .lead {
  max-width: 46ch;
  font-size: 1.18rem;
  margin-top: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.tree {
  position: relative;
  margin: 0;
  aspect-ratio: 520 / 430;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.tree-svg {
  width: 100%;
  height: 100%;
}
.branches path {
  stroke: var(--lapis);
  stroke-width: 5;
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
  opacity: 0.9;
}
.n-root {
  fill: var(--lapis);
}
.n-co {
  fill: #fff;
  stroke: var(--lapis);
  stroke-width: 5;
}
.n-team {
  fill: var(--mint);
  stroke: var(--lapis);
  stroke-width: 4;
}
.tag,
.chip {
  position: absolute;
  transform: translate(-50%, 0);
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.6;
}
.tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.tag-root {
  left: 50%;
  top: 92.5%;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tag-a {
  left: 28.8%;
  top: 63%;
}
.tag-b {
  left: 71.2%;
  top: 63%;
}
.tag-t1 {
  left: 15.4%;
  top: 36%;
}
.tag-t2 {
  left: 40.4%;
  top: 36%;
}
.tag-t3 {
  left: 80.8%;
  top: 36%;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 1px 0 var(--line),
    0 10px 30px -12px rgb(29 47 153 / 0.35);
}
.chip em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mint-ink);
  background: rgb(143 227 214 / 0.45);
  border-radius: 6px;
  padding: 0 6px;
}
.chip .tick {
  width: 16px;
  height: 16px;
  color: var(--lapis);
}
.chip-task {
  left: 22%;
  top: 6%;
}
.chip-call {
  left: 74%;
  top: 11%;
}

/* The one orchestrated moment: the tree grows from its root on load. */
@media (prefers-reduced-motion: no-preference) {
  .branches path {
    stroke-dashoffset: 260;
    animation: grow 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
  }
  .branches path:nth-child(n + 3) {
    animation-delay: 0.55s;
  }
  .nodes circle,
  .tag,
  .chip {
    opacity: 0;
    animation: appear 0.5s ease-out forwards;
  }
  .n-root,
  .tag-root {
    animation-delay: 0.05s;
  }
  .n-co,
  .tag-a,
  .tag-b {
    animation-delay: 0.7s;
  }
  .n-team,
  .tag-t1,
  .tag-t2,
  .tag-t3 {
    animation-delay: 1.3s;
  }
  .chip {
    animation-delay: 1.75s;
  }
}
@keyframes grow {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes appear {
  to {
    opacity: 1;
  }
}

/* "Instead of" band */
.band {
  padding-block: clamp(56px, 8vw, 96px);
}
.swap {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.swap li {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #fafbfe;
}
.swap li:nth-child(even) {
  background: #fff;
}
.from {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: rgb(107 114 144 / 0.45);
}
.to {
  font-weight: 750;
}
.arrow {
  height: 2px;
  background: var(--lapis);
  position: relative;
}
.arrow::after {
  content: '';
  position: absolute;
  inset-inline-end: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-inline-start-color: var(--lapis);
}

/* Feature showcase rows with small product fragments */
.show {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.show-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 20px;
  background: var(--wash);
}
.show-row:nth-child(even) .mini {
  order: -1;
}
.show-text h3 {
  font-size: 1.4rem;
  margin-top: 14px;
}
.show-text p {
  color: var(--ink-2);
  margin-top: 8px;
  max-width: 44ch;
}
.ico-wrap {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--lapis);
}
.ico {
  width: 24px;
  height: 24px;
}
.mini {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  min-height: 170px;
}
.mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-kanban p {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.card {
  display: block;
  position: relative;
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 600;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.card-hot {
  border-color: var(--lapis);
  box-shadow: 0 8px 20px -12px rgb(47 75 216 / 0.6);
}
.card-hot i {
  position: absolute;
  inset-inline-end: 8px;
  bottom: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sun);
}
.card-done {
  background: rgb(143 227 214 / 0.25);
  border-color: transparent;
  color: var(--mint-ink);
}
.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  max-width: 78%;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
}
.bubble-them {
  align-self: flex-start;
  background: var(--wash);
  border-start-start-radius: 4px;
}
.bubble-me {
  align-self: flex-end;
  background: var(--lapis);
  color: #fff;
  border-end-end-radius: 4px;
}
.call-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  align-self: center;
}
.call-bar .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #323a5c;
}
.call-end {
  width: 40px;
  height: 26px;
  border-radius: 999px;
  background: #e5484d;
}
.mini-crm .crm-name {
  font-weight: 800;
  font-size: 1.1rem;
}
.crm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fafbfe;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.crm-row .tick {
  width: 18px;
  height: 18px;
  color: var(--lapis);
}
.crm-follow {
  border-color: var(--sun);
  background: #fff8ea;
}

.more {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.more li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.more .ico-wrap {
  background: var(--wash);
  flex: none;
}
.more p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Steps: a real sequence, so it is numbered. */
.steps-band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 8vw, 96px);
}
.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding-top: 52px;
}
.steps li::before {
  content: counter(s, persian);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
}
[dir='ltr'] .steps li::before {
  content: counter(s);
}
.steps-band .steps p {
  color: #c4c9e0;
  margin-top: 6px;
}
.steps-plain {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}
.steps-plain li {
  padding-top: 0;
  padding-inline-start: 54px;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 2px solid var(--ink);
}
.trust > div {
  padding: 22px 0;
  padding-inline-end: 28px;
}
.trust p {
  color: var(--ink-2);
  margin-top: 6px;
}

/* Pricing */
.period {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  border-radius: 12px;
  background: var(--wash);
}
.period button {
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 6px 16px;
  border-radius: 9px;
  cursor: pointer;
}
.period button[aria-pressed='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(18 25 51 / 0.12);
}
.pill {
  font-size: 0.72rem;
  color: var(--mint-ink);
  background: rgb(143 227 214 / 0.55);
  padding: 1px 8px;
  border-radius: 999px;
  margin-inline-start: 4px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.plan {
  position: relative;
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--lapis);
  box-shadow: 0 24px 50px -30px rgb(47 75 216 / 0.6);
}
.plan-flag {
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  background: var(--lapis);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.4rem;
}
.plan-blurb {
  color: var(--ink-3);
  font-size: 0.93rem;
  margin-top: 6px;
  min-height: 3.6em;
}
.price {
  margin-top: 18px;
}
.amount {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.unit {
  color: var(--ink-3);
  font-size: 0.9rem;
}
.plan-cap {
  font-weight: 650;
  margin: 4px 0 18px;
  color: var(--ink-2);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 6px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.tick {
  width: 18px;
  height: 18px;
  color: var(--mint-ink);
  flex: none;
}

.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  float: inline-end;
  color: var(--lapis);
  font-weight: 800;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  color: var(--ink-2);
  margin-top: 10px;
}
.faq h2 {
  margin-bottom: 14px;
}

.cta {
  background: linear-gradient(120deg, var(--lapis-deep), var(--lapis));
  color: #fff;
}
.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 56px;
}
.cta p {
  color: #d5dcff;
  margin-top: 8px;
}

/* Inner pages */
.page-head h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
}
.narrow-page {
  max-width: 760px;
}
.groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.groups section {
  padding: 26px;
  border-radius: 18px;
  background: var(--wash);
}
.groups h2 {
  font-size: 1.3rem;
}
.contact {
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.contact dt {
  font-weight: 750;
}
.contact dd {
  margin: 4px 0 0;
  color: var(--ink-2);
}
.contact a {
  color: var(--lapis);
  font-weight: 700;
}
.prose h2 {
  font-size: 1.25rem;
  margin-top: 30px;
}
.prose p {
  color: var(--ink-2);
  margin-top: 8px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  background: #fafbfe;
  margin-top: 0;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
  gap: 32px;
  padding-block: 48px 28px;
}
.foot-brand p {
  color: var(--ink-3);
  font-size: 0.93rem;
  margin-top: 12px;
  max-width: 36ch;
}
.foot h2 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.foot-in a:not(.brand) {
  display: block;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 2.2;
}
.foot-in a:not(.brand):hover {
  color: var(--lapis);
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* Small screens */
@media (max-width: 900px) {
  .top-in {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0;
  }
  .menu {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 10px;
    font-size: 0.9rem;
  }
  .hero-in,
  .show-row {
    grid-template-columns: 1fr;
  }
  .show-row:nth-child(even) .mini {
    order: 0;
  }
  .more,
  .steps,
  .trust,
  .plans,
  .groups {
    grid-template-columns: 1fr;
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .tree {
    max-width: 440px;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .top-cta .link {
    display: none;
  }
  .swap li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .arrow {
    display: none;
  }
  .tag,
  .chip {
    font-size: 0.72rem;
  }
  .chip {
    padding: 5px 8px;
  }
  .show-row {
    padding: 18px;
  }
}
