/* Study 03. Persian type scale uses rem and never shrinks body copy on mobile. */
.theme-compact { --max: 1184px; --compact-muted: #edf3f7; }
.theme-compact .nav-shell { height: 72px; }
.theme-compact .site-header { background: #fff; }
.theme-compact .study-inner { height: 28px; font-size: 0.875rem; }
.theme-compact .brand > img { width: 34px; height: 34px; }
.theme-compact .brand > span { font-size: 1.5625rem; }
.theme-compact .main-nav { gap: 27px; }
.theme-compact .main-nav a { font-size: 1rem; }
.theme-compact .button { min-height: 44px; padding: 9px 21px; gap: 16px; font-size: 1rem; }
.theme-compact .button-small { min-height: 38px; padding: 7px 16px; font-size: 1rem; }
.theme-compact .text-button { font-size: 1rem; gap: 12px; }
.theme-compact section[id], .theme-compact footer[id] { scroll-margin-top: 88px; }

.compact-hero { padding: 36px 0 30px; }
.compact-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.compact-hero .eyebrow { font-size: 1rem; margin-bottom: 10px; }
.compact-hero h1 { font-size: 3.625rem; line-height: 1.4; letter-spacing: normal; font-weight: 800; }
.compact-hero h1 > span { color: var(--deep); }
.compact-hero-actions { padding-top: 24px; }
.compact-hero-actions > p { font-size: 1.125rem; line-height: 2; }
.compact-hero .hero-actions { margin-top: 20px; gap: 10px; }

.compact-jobs { background: var(--ice); padding: 22px 0 16px; border-block: 1px solid #e0edf5; }
.compact-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.compact-section-heading h2 { font-size: 1.5625rem; font-weight: 750; letter-spacing: normal; }
.compact-demo-note { font-size: 0.875rem; color: var(--muted); }
.theme-compact .jobs-toolbar { margin-bottom: 14px; align-items: center; }
.theme-compact .filter-tabs { background: #e3eef5; border-radius: 8px; padding: 3px; gap: 3px; }
.theme-compact .filter { border-radius: 6px; padding: 6px 15px; min-height: 33px; font-size: 1rem; border-color: transparent; }
.theme-compact .filter.active { color: var(--deep); background: #fff; border-color: #d4e2eb; box-shadow: 0 1px 3px #173e5310; }
.theme-compact .filter:hover:not(.active) { background: #d8e8f2; }
.theme-compact .job-search { border: 1px solid #cddfe9; border-radius: 8px; padding: 5px 10px; background: #fff; }
.theme-compact .job-search input { font-size: 1rem; width: 168px; }
.theme-compact .jobs-grid { gap: 14px; }
.theme-compact .job-card { padding: 17px 20px; border-radius: 10px; border-color: #d9e5ec; }
.theme-compact .job-card-top { margin-bottom: 15px; }
.theme-compact .job-sector { font-size: 0.875rem; }
.theme-compact .demo-tag { font-size: 0.875rem; }
.theme-compact .job-heading h3 { font-size: 1.25rem; }
.theme-compact .job-heading p { font-size: 0.875rem; margin-top: 4px; }
.theme-compact .job-meta { margin: 16px 0 13px; font-size: 0.875rem; gap: 16px; }
.theme-compact .job-meta .icon { width: 13px; height: 13px; }
.theme-compact .job-bottom { padding-top: 12px; }
.theme-compact .job-bottom > span { font-size: 1rem; }
.theme-compact .job-bottom .icon-button { border-radius: 6px; width: 30px; height: 30px; }
.compact-jobs-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-top: 12px; }
.compact-jobs-footer .job-count { margin: 0; font-size: 0.875rem; }
.compact-jobs-footer .text-button { font-size: 1rem; }
.theme-compact .jobs-empty { padding: 26px 16px; background: #fff; border: 1px dashed #c6dce9; font-size: 1rem; }

.compact-proof { border-bottom: 1px solid var(--line); padding: 22px 0; }
.compact-proof-inner { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; align-items: center; gap: 24px; }
.compact-proof-label { font-size: 1rem; font-weight: 600; }
.compact-proof-label small { display: block; font-size: 0.875rem; font-weight: 400; color: var(--muted); margin-top: 3px; }
.compact-metric { display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); padding-right: 28px; }
.compact-metric strong { font-size: 1.5625rem; line-height: 1.5; white-space: nowrap; font-weight: 700; }
.compact-metric strong > span { color: var(--deep); font-size: 1.125rem; }
.compact-metric > span { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }

.compact-workflow { padding: 38px 0; }
.workflow-tabs { display: flex; background: #eff3f6; border: 1px solid #e5eaee; border-radius: 8px; padding: 3px; gap: 3px; }
.workflow-tabs button { min-height: 34px; padding: 6px 18px; font-size: 1rem; border-radius: 5px; background: transparent; color: var(--muted); }
.workflow-tabs button[aria-selected=true] { color: var(--deep); background: #fff; box-shadow: 0 1px 4px #15334913; font-weight: 600; }
.workflow-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 27px 32px; border: 1px solid #dae8f1; border-radius: 12px; background: var(--ice); min-height: 230px; }
.workflow-panel[hidden] { display: none; }
.workflow-kicker { font-size: 0.875rem; color: var(--deep); }
.workflow-copy h3 { font-size: 1.6875rem; font-weight: 750; line-height: 1.8; letter-spacing: normal; margin-top: 5px; }
.workflow-copy > p { font-size: 1rem; color: var(--muted); margin: 8px 0 18px; line-height: 2; }
.workflow-copy .button { font-size: 1rem; min-height: 40px; padding-inline: 18px; }
.workflow-step { border-bottom: 1px solid #d4e3ed; }
.workflow-step:last-child { border-bottom: 0; }
.workflow-step summary { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: 1rem; font-weight: 550; cursor: pointer; list-style: none; }
.workflow-step summary::-webkit-details-marker { display: none; }
.workflow-step summary > .icon { margin-right: auto; width: 16px; height: 16px; transition: transform .15s; opacity: .65; }
.workflow-step[open] summary > .icon { transform: rotate(45deg); }
.step-index { font-size: 0.875rem; color: var(--deep); font-weight: 400; }
.workflow-step > p { margin: 0 29px 13px 12px; font-size: 1rem; color: var(--muted); line-height: 2; }
.workflow-step summary:hover { color: var(--deep); }

.compact-services { padding: 30px 0; background: #fafcfd; border-block: 1px solid var(--line); }
.compact-services .compact-section-heading { margin-bottom: 16px; }
.compact-service-note { font-size: 1rem; color: var(--muted); }
.compact-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.compact-service { display: flex; gap: 14px; align-items: flex-start; padding: 22px; min-width: 0; }
.compact-service + .compact-service { border-right: 1px solid var(--line); }
.compact-service-icon { display: flex; margin-top: 3px; }
.compact-service-icon .icon { width: 21px; height: 21px; }
.compact-service > div { flex: 1; min-width: 0; }
.compact-service h3 { font-size: 1.125rem; font-weight: 650; }
.compact-service p { font-size: 1rem; color: var(--muted); margin-top: 7px; }
.compact-price { display: block; font-size: 1rem; margin-top: 12px; }
.compact-service .icon-button { width: 30px; height: 30px; border-radius: 6px; border-color: #d8e6ee; margin-top: 2px; }
.compact-service .icon-button .icon { width: 16px; height: 16px; }
.compact-price-note { color: var(--muted); font-size: 0.875rem; margin-top: 12px; }

.compact-footer { padding: 25px 0 18px; }
.compact-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.compact-footer-main > p { font-size: 1rem; color: var(--muted); }
.compact-footer-bottom { border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.875rem; }
.compact-footer-bottom > div { display: flex; align-items: center; gap: 20px; }
.compact-footer-bottom button { padding: 0; background: transparent; font-size: inherit; }
.compact-footer-bottom a { display: inline-flex; gap: 5px; align-items: center; }
.compact-footer-bottom .icon { width: 12px; height: 12px; }

@media (max-width: 1100px) {
  .compact-hero h1 { font-size: 3.25rem; }
  .compact-hero-inner { gap: 35px; }
  .compact-hero-actions > p { font-size: 1.125rem; }
  .compact-metric { gap: 8px; padding-right: 20px; }
  .compact-metric strong { font-size: 1.375rem; }
  .compact-metric > span { font-size: 0.875rem; }
  .workflow-panel { gap: 40px; padding-inline: 25px; }
  .workflow-copy h3 { font-size: 1.5rem; }
  .compact-service { padding: 18px 16px; gap: 10px; }
  .compact-service h3 { font-size: 1rem; }
  .compact-service p { font-size: 0.875rem; }
}
@media (max-width: 850px) {
  .theme-compact .nav-shell { gap: 18px; }
  .theme-compact .main-nav { gap: 16px; }
  .theme-compact .main-nav a { font-size: 1rem; }
  .theme-compact .brand > span { font-size: 1.4375rem; }
  .theme-compact .brand > img { width: 30px; height: 30px; }
  .theme-compact .button-small { padding: 7px 13px; font-size: 1rem; }
  .compact-hero h1 { font-size: 2.875rem; }
  .compact-hero-actions { padding-top: 20px; }
  .compact-hero-actions > p { font-size: 1.125rem; }
  .theme-compact .compact-hero .hero-actions { gap: 8px; }
  .theme-compact .compact-hero .button { font-size: 1rem; padding: 8px 13px; gap: 8px; }
  .compact-section-heading h2 { font-size: 1.4375rem; }
  .theme-compact .job-card { padding: 16px 14px; }
  .theme-compact .job-heading h3 { font-size: 1rem; }
  .theme-compact .job-meta { font-size: 0.875rem; gap: 10px; }
  .theme-compact .job-bottom > span { font-size: 0.875rem; }
  .compact-proof-inner { gap: 16px; }
  .compact-proof-label { font-size: 1rem; }
  .compact-metric { flex-direction: column; align-items: center; padding-right: 12px; gap: 2px; }
  .workflow-panel { gap: 30px; padding: 23px; }
  .workflow-copy h3 { font-size: 1.3125rem; }
  .workflow-copy > p { font-size: 1rem; }
  .workflow-step summary { font-size: 1rem; }
  .compact-service-icon { display: none; }
  .compact-service { padding: 18px 14px; gap: 10px; }
  .compact-service h3 { font-size: 1rem; }
  .compact-service .icon-button { width: 26px; height: 26px; }
  .compact-footer-main > p { font-size: 0.875rem; }
}
@media (max-width: 680px) {
  .theme-compact .nav-shell { height: 62px; gap: 13px; }
  .theme-compact .main-nav { top: 62px; }
  .theme-compact .main-nav a { font-size: 1rem; padding-block: 11px; }
  .theme-compact .header-cta { min-height: 34px; font-size: 1rem; padding-inline: 12px; }
  .theme-compact .menu-toggle { width: 32px; height: 32px; }
  .theme-compact .study-inner { font-size: 0.875rem; height: 25px; }
  .compact-hero { padding: 25px 0 24px; }
  .compact-hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .compact-hero .eyebrow { font-size: 0.875rem; margin-bottom: 8px; }
  .compact-hero h1 { font-size: 2.6875rem; line-height: 1.45; letter-spacing: normal; }
  .compact-hero-actions { padding-top: 0; }
  .compact-hero-actions > p { font-size: 1.125rem; }
  .theme-compact .compact-hero .hero-actions { margin-top: 15px; gap: 8px; }
  .theme-compact .compact-hero .button { font-size: 1rem; min-height: 42px; padding: 9px 16px; gap: 11px; }
  .compact-jobs { padding: 20px 0 16px; }
  .compact-section-heading { margin-bottom: 15px; gap: 12px; }
  .compact-section-heading h2 { font-size: 1.375rem; }
  .compact-demo-note { font-size: 0.875rem; }
  .theme-compact .jobs-toolbar { gap: 12px; margin-bottom: 13px; }
  .theme-compact .filter-tabs { justify-content: space-between; width: 100%; gap: 0; }
  .theme-compact .filter { font-size: 1rem; padding: 5px 10px; min-height: 34px; }
  .theme-compact .job-search { padding: 4px 10px; width: 100%; }
  .theme-compact .job-search input { width: 100%; font-size: 1rem; }
  .theme-compact .jobs-grid { gap: 10px; }
  .theme-compact .job-card { padding: 17px 18px; }
  .theme-compact .job-card-top { margin-bottom: 12px; }
  .theme-compact .job-sector { font-size: 0.875rem; }
  .theme-compact .job-heading h3 { font-size: 1.25rem; }
  .theme-compact .job-heading p { font-size: 0.875rem; }
  .theme-compact .job-meta { font-size: 0.875rem; margin: 14px 0 11px; }
  .theme-compact .job-bottom > span { font-size: 1rem; }
  .compact-jobs-footer .text-button { font-size: 1rem; }
  .compact-proof { padding: 18px 0; }
  .compact-proof-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 8px; }
  .compact-proof-label { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; }
  .compact-proof-label small { margin: 0; font-size: 0.875rem; }
  .compact-metric { padding: 0; border-right: 1px solid var(--line); gap: 3px; }
  .compact-metric:nth-child(2) { border-right: 0; }
  .compact-metric strong { font-size: 1.4375rem; }
  .compact-metric > span { font-size: 0.875rem; }
  .compact-workflow { padding: 27px 0; }
  .compact-workflow > .container > .compact-section-heading { flex-direction: column; align-items: flex-start; gap: 13px; }
  .workflow-tabs { width: 100%; }
  .workflow-tabs button { flex: 1; font-size: 1rem; min-height: 36px; }
  .workflow-panel { grid-template-columns: 1fr; padding: 21px; gap: 18px; min-height: 0; }
  .workflow-kicker { font-size: 0.875rem; }
  .workflow-copy h3 { font-size: 1.4375rem; line-height: 1.65; margin-top: 6px; }
  .workflow-copy > p { font-size: 1rem; margin: 9px 0 15px; }
  .workflow-copy .button { min-height: 40px; font-size: 1rem; }
  .workflow-step summary { font-size: 1rem; padding-block: 12px; }
  .workflow-step > p { font-size: 1rem; margin-right: 27px; }
  .compact-services { padding: 25px 0; }
  .compact-services .compact-section-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .compact-service-note { font-size: 0.875rem; }
  .compact-service-grid { grid-template-columns: 1fr; }
  .compact-service + .compact-service { border-right: 0; border-top: 1px solid var(--line); }
  .compact-service { padding: 17px; gap: 13px; }
  .compact-service-icon { display: flex; }
  .compact-service-icon .icon { width: 19px; height: 19px; }
  .compact-service h3 { font-size: 1.125rem; }
  .compact-service p { font-size: 1rem; margin-top: 4px; }
  .compact-price { font-size: 0.875rem; margin-top: 8px; }
  .compact-service .icon-button { width: 30px; height: 30px; }
  .compact-price-note { font-size: 0.875rem; margin-top: 10px; }
  .compact-footer { padding: 23px 0 16px; }
  .compact-footer-main { flex-wrap: wrap; gap: 15px; padding-bottom: 20px; }
  .compact-footer-main > p { order: 3; width: 100%; font-size: 1rem; }
  .compact-footer-main .text-button { font-size: 1rem; }
  .compact-footer-bottom { flex-direction: column; gap: 13px; font-size: 0.875rem; }
  .compact-footer-bottom > div { justify-content: space-between; gap: 12px; }
}

/* Reflow space for readable Persian text instead of shrinking type to fit. */
.theme-compact { font-size: 1rem; line-height: 1.9; }
.theme-compact .study-inner { min-height: 34px; height: auto; padding-block: 4px; flex-wrap: wrap; }
.theme-compact .button, .workflow-tabs button, .theme-compact .filter { min-height: 44px; }
.theme-compact .job-search { min-height: 44px; }
.theme-compact .job-meta { line-height: 1.85; }
.theme-compact .job-meta .icon { width: 16px; height: 16px; }
.theme-compact .job-bottom .icon-button,
.theme-compact .compact-service .icon-button { width: 40px; height: 40px; }
.theme-compact .job-title { font-size: inherit; }
.compact-proof-inner { grid-template-columns: 1fr repeat(3, 1fr); gap: 18px; }
.compact-metric { flex-direction: column; align-items: flex-start; gap: 0; padding-right: 20px; }
.compact-metric > span { white-space: normal; }
.theme-compact .compact-price { font-size: 1rem; }
.theme-compact .dialog-shell h2 { font-size: 1.625rem; letter-spacing: normal; }
.theme-compact .dialog-heading .eyebrow,
.theme-compact .demo-notice,
.theme-compact .field small { font-size: .875rem; }
.theme-compact .dialog-description,
.theme-compact .field,
.theme-compact .field > input,
.theme-compact .field > select,
.theme-compact .field > textarea,
.theme-compact .field input[type=file],
.theme-compact .file-upload,
.theme-compact .checkout-summary > div { font-size: 1rem; line-height: 1.9; }
.theme-compact .compact-footer-bottom > div { flex-wrap: wrap; }
@media (max-width: 1000px) {
  .theme-compact .main-nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 15px 24px 22px; box-shadow: 0 12px 20px #05283f08; }
  .theme-compact .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .theme-compact .main-nav a { padding-block: 11px; }
  .theme-compact .menu-toggle { display: flex; order: 3; width: 40px; height: 40px; }
  .theme-compact .header-cta { margin-right: auto; }
  .theme-compact .jobs-toolbar { flex-wrap: wrap; }
  .theme-compact .filter-tabs { max-width: 100%; }
  .theme-compact .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-compact .compact-service-grid { grid-template-columns: 1fr; }
  .theme-compact .compact-service + .compact-service { border-right: 0; border-top: 1px solid var(--line); }
  .theme-compact .compact-service-icon { display: flex; }
}
@media (max-width: 680px) {
  .theme-compact .nav-shell { min-height: 68px; height: auto; padding-block: 10px; gap: 10px; }
  .theme-compact .main-nav { top: 100%; }
  .theme-compact .brand { gap: 6px; }
  .theme-compact .brand > span { font-size: 1.375rem; }
  .theme-compact .brand > img { width: 28px; height: 28px; }
  .theme-compact .header-cta { padding-inline: 12px; }
  .theme-compact .filter-tabs { justify-content: flex-start; gap: 3px; }
  .theme-compact .filter { padding-inline: 12px; }
  .theme-compact .jobs-grid { grid-template-columns: 1fr; }
  .compact-proof-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compact-proof-label { flex-wrap: wrap; gap: 4px 12px; }
  .compact-metric { align-items: center; padding: 0; text-align: center; }
  .compact-metric strong { font-size: 1.5rem; }
  .compact-footer-bottom > div { gap: 16px; }
  .theme-compact .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .theme-compact .nav-shell { flex-wrap: wrap; }
  .theme-compact .brand { margin-left: auto; }
  .theme-compact .header-cta { margin-right: 0; }
  .compact-hero h1 { font-size: 2.5rem; }
  .compact-jobs-footer { flex-wrap: wrap; }
}
.theme-compact .consent, .theme-compact .job-detail-meta { font-size: .875rem; }
