@font-face {
  font-family: Poppins;
  src: url(/assets/poppins400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(/assets/poppins500.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(/assets/poppins600.woff2) format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url(/assets/vazir.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0b3c5d;
  --deep: #091e2c;
  --ink: #0e1f2b;
  --muted: #506572;
  --paper: #f4f8fb;
  --teal: #1ca7a6;
  --orange: #ff8a3d;
  --line: #cedce2;
  --type: Poppins, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font: 100% var(--type);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
}
html[lang="fa"] {
  --type: Vazirmatn, Tahoma, sans-serif;
  --mono: Vazirmatn, Tahoma, sans-serif;
  font-family: var(--type);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
input,
textarea,
select {
  min-width: 0;
}
svg,
img {
  display: block;
}
.icon {
  height: 1.05em;
  width: 1.05em;
  flex: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  color: inherit;
}
button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e7792c;
  outline-offset: 4px;
}
.wrap {
  width: min(1240px, 90%);
  margin-inline: auto;
}
.section {
  padding-block: clamp(52px, 6vw, 92px);
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.044em;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}
h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
}
h3 {
  font-size: 1.55rem;
}
p {
  line-height: 1.74;
}
p,
.lead {
  color: var(--muted);
}
[lang="fa"]
  :is(h1, h2, h3, h4, .eyebrow, .card-type, .signal small, .signal figcaption) {
  letter-spacing: 0;
}
[lang="fa"] h1,
[lang="fa"] h2 {
  line-height: 1.36;
}
.skip {
  position: absolute;
  inset-block-start: -80px;
  inset-inline-start: 10px;
  z-index: 20;
  background: white;
  padding: 10px;
}
.skip:focus {
  inset-block-start: 4px;
}
.site-head {
  background: #091b28;
  color: #f8fbff;
  border-bottom: 1px solid #ffffff1a;
  position: relative;
  z-index: 3;
}
.head-inner,
.head-actions,
.desktop-nav,
.wordmark,
.head-portal,
.language,
.hero-buttons,
.btn,
.contact-inner,
.foot-inner,
.foot-inner nav,
.eyebrow,
.filters,
.card-type,
.read-link,
.signal figcaption,
.demo-links {
  display: flex;
  align-items: center;
}
.head-inner {
  min-height: 78px;
  gap: clamp(22px, 3.5vw, 56px);
}
.wordmark {
  gap: 10px;
  direction: ltr;
  width: max-content;
}
.wordmark img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.wordmark > span {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.075em;
  font-size: 2rem;
  line-height: 1;
}
.brand-dot {
  color: var(--orange);
}
.desktop-nav {
  gap: 30px;
  margin-inline-start: auto;
}
.desktop-nav a,
.head-actions a {
  font-size: 0.87rem;
  font-weight: 500;
}
.desktop-nav a {
  color: #d2dde4;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: #ffae74;
}
.head-actions {
  gap: 22px;
}
.language,
.head-portal {
  gap: 8px;
}
.language {
  font-family: Vazirmatn, Poppins, sans-serif;
}
.head-portal {
  border: 1px solid #48606e;
  border-radius: 7px;
  padding: 10px 16px;
  background: #ffffff05;
}
.head-portal:hover,
.ghost:hover {
  background: #ffffff15;
}
.mobile-menu {
  display: none;
}
.hero {
  background: var(--deep);
  color: #f7fafc;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 75%, #0a3b472e, transparent 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 0;
  min-height: clamp(450px, 39vw, 600px);
  padding-block: 43px 46px;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: #176e72;
  text-transform: uppercase;
  font: 600 0.79rem/1.55 var(--mono);
  letter-spacing: 0.13em;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow i {
  width: 24px;
  height: 2px;
  background: currentColor;
}
.hero .eyebrow,
.detail-hero .eyebrow {
  color: #7cd7cf;
}
.hero h1 {
  font-size: clamp(4rem, 6.1vw, 6.35rem);
  line-height: 1.03;
  letter-spacing: -0.069em;
  font-weight: 600;
}
.hero h1 em {
  background: linear-gradient(100deg, #ff9250 12%, #f9b078);
  color: transparent;
  background-clip: text;
  font-style: normal;
}
.hero-intro {
  max-width: 510px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.24vw, 1.15rem);
  color: #c2d2db;
  line-height: 1.7;
}
.hero-buttons {
  margin-top: 28px;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.4;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.primary {
  background: var(--orange);
  color: #182431;
}
.primary:hover {
  background: #ffa062;
}
.ghost {
  border-color: #506774;
  color: #f1f7fa;
}
.outline {
  border-color: #aac0cb;
  color: var(--navy);
  background: #fff;
}
.outline:hover {
  background: #e9f2f5;
}
.signal {
  position: relative;
  height: auto;
  aspect-ratio: 1.53;
  direction: ltr;
  isolation: isolate;
  margin-inline-start: 1.8%;
  border-radius: 2px;
}
.signal > img {
  position: absolute;
  width: 110%;
  height: 110%;
  object-fit: fill;
  left: -5%;
  top: -5%;
  z-index: -2;
  mask-image: radial-gradient(ellipse 70% 70% at center, #000 66%, transparent);
}
.field-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#78a8b608 1px, transparent 1px),
    linear-gradient(90deg, #78a8b608 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
}
.signal figcaption,
.signal small {
  position: absolute;
  font: 500 0.73rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: #a8c4d1;
}
.signal figcaption {
  gap: 8px;
  text-transform: uppercase;
  top: 4%;
  left: 3.5%;
}
.signal figcaption .icon {
  color: #6ed5c9;
}
.signal small {
  bottom: 3%;
  right: 3.5%;
  letter-spacing: 0;
  color: #a3bac6;
}
.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0.48;
  border-color: #6b929f;
  border-style: solid;
}
.tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}
.bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}
.br {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}
.signal-tag {
  position: absolute;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #e0faf7;
  background: #0a2535ed;
  padding: 5px 10px;
  border: 1px solid #3a707a;
  border-radius: 5px;
  font: 500 0.78rem/1.4 var(--mono);
  transition: transform 0.2s;
}
.signal-tag:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}
.beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65ecd9;
  box-shadow: 0 0 9px #28ccb4;
}
.signal-tag:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 19px;
  left: 13px;
  top: 100%;
  background: linear-gradient(#63bea8, #63bea833);
}
.tag-0 {
  left: 9%;
  top: 18%;
}
.tag-1 {
  left: 57%;
  top: 24%;
}
.tag-1 .beacon,
.tag-2 .beacon {
  background: #ffad69;
  box-shadow: 0 0 9px #e0914a;
}
.tag-2 {
  left: 63%;
  top: 73%;
}
.tag-2:after {
  top: auto;
  bottom: 100%;
}
.metric-band {
  background: #0c2637;
  color: #fff;
  border-top: 1px solid #39505b;
  border-bottom: 1px solid #23404c;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 23px;
}
.metrics > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 12px;
  border-inline-start: 1px solid #3b5360;
}
.metrics > div:first-child {
  justify-content: flex-start;
  border: 0;
  padding-inline-start: 0;
}
.metrics > div:last-child {
  justify-content: flex-end;
  padding-inline-end: 0;
}
.metrics strong {
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.metrics span {
  color: #b8cbd4;
  font: 500 0.85rem/1.4 var(--mono);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 27px;
}
.section-top p,
.lead {
  margin-top: 11px;
  max-width: 650px;
}
.filters {
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px;
  border: 1px solid #cfdde4;
  border-radius: 8px;
  background: #e9f0f4;
}
.filters button {
  border: 0;
  background: transparent;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #475b65;
}
.filters button[aria-pressed="true"] {
  color: white;
  background: var(--navy);
}
.project-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px #12364c12;
}
.project-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-art {
  position: relative;
  background: #091e2c;
  overflow: hidden;
}
.project-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.88;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover img {
  transform: scale(1.035);
}
.project-art span {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  padding: 3px 9px;
  border: 1px solid #bde2e338;
  background: #0a202de0;
  color: #dcecee;
  border-radius: 4px;
  font: 500 0.73rem/1.6 var(--mono);
}
.card-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-type {
  font: 500 0.74rem/1.55 var(--mono);
  color: #267478;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-copy h3 {
  margin-top: 10px;
  font-size: 1.75rem;
}
.card-copy h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.04rem;
  margin: 6px 0 12px;
}
.card-copy > p:not(.card-type) {
  font-size: 1rem;
}
.read-link {
  color: var(--navy);
  margin-top: auto;
  padding-top: 17px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}
.services {
  background: white;
  border-block: 1px solid #dbe6ea;
}
.service-grid {
  margin-top: 30px;
}
.service-grid article {
  border-top: 2px solid var(--teal);
  padding: 23px 8px 6px 0;
}
.service-grid article > .icon,
.bio-facts .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 7px;
  background: #e2f2f3;
  color: #146567;
  box-sizing: content-box;
}
.service-grid h3 {
  margin: 17px 0 10px;
}
.service-result {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 13px;
}
.service-result strong {
  font-size: 0.82rem;
  color: var(--navy);
}
.about,
.detail-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 9%;
  align-items: center;
}
.about p:not(.eyebrow) {
  margin: 16px 0;
}
.bio-facts {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0 24px;
}
.bio-facts div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-content: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.bio-facts div:last-child {
  border: 0;
}
.bio-facts .icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
}
.bio-facts dt {
  color: var(--muted);
  font-size: 0.83rem;
}
.bio-facts dd {
  font-weight: 600;
}
.contact {
  color: white;
  background: var(--navy);
}
.contact-inner {
  justify-content: space-between;
  gap: 24px;
  padding-block: 48px;
}
.contact h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}
.contact p {
  color: #cfdee5;
  margin-top: 8px;
}
.contact .btn {
  flex: none;
}
footer {
  background: #091b28;
  color: white;
}
.foot-inner {
  min-height: 94px;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 19px;
}
.foot-inner p {
  font: 400 0.84rem/1.6 var(--mono);
  color: #b0c3cd;
}
.foot-inner nav {
  gap: 21px;
  margin-inline-start: auto;
  font-size: 0.84rem;
}
.detail-hero {
  background: var(--deep);
  color: white;
}
.detail-hero .section {
  padding-top: 36px;
}
.crumb {
  color: #badbdc;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.detail-split {
  margin-top: 30px;
  gap: 5%;
}
.detail-split h2 {
  font-size: 1.6rem;
  margin: 12px 0;
}
.detail-split p:not(.eyebrow) {
  color: #bfd5df;
}
.detail-split img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.prose {
  max-width: 820px;
}
.prose p {
  margin: 15px 0 30px;
}
.prose h2 {
  font-size: 1.65rem;
}
.initiative-feature {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--teal);
  border-radius: 12px;
  background: #fff;
}
.project-resources {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-inline-start: 1.25em;
}
.project-resources a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.project-resources a:hover {
  text-decoration-thickness: 2px;
}
.article-heading {
  margin-top: 30px;
}
.article-heading h1 {
  font-size: clamp(2.05rem, 5vw, 3.6rem);
}
.article-heading p {
  color: #bfd5df;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.article-findings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 20px;
  margin: 0 0 34px;
}
.article-findings > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 7px;
  padding-block: 13px;
  border-block-start: 2px solid var(--teal);
}
.article-findings dt,
.project-figure figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}
.article-findings dd {
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.project-figure {
  margin: 0 0 44px;
}
.project-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.project-figure figcaption {
  margin-top: 12px;
}
.article-section + .article-section {
  margin-top: 34px;
  padding-top: 28px;
  border-block-start: 1px solid var(--line);
}
.article-section p {
  margin: 12px 0;
}
.account-section {
  min-height: 70vh;
}
.account-title {
  max-width: 760px;
  margin-bottom: 26px;
}
.account-title h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}
.account-title > p:last-child {
  margin-top: 12px;
}
.signin-box,
.panel,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: clamp(19px, 3vw, 32px);
}
.signin-box {
  max-width: 500px;
}
.signin-icon {
  display: inline-grid;
  border-radius: 10px;
  background: #e7f5f4;
  color: #16767a;
  padding: 10px;
  margin-bottom: 12px;
}
.signin-box h2,
.panel h2 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.signin-box form,
.stack {
  display: grid;
  gap: 10px;
}
.signin-box label,
.stack label,
.toolbar label {
  font-size: 0.9rem;
  font-weight: 500;
}
.signin-box input,
.stack input,
.stack textarea,
.toolbar :is(input, select),
.stack select {
  border: 1px solid #a4b9c3;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 11px 13px;
  width: 100%;
  min-height: 44px;
}
.stack textarea {
  resize: vertical;
  min-height: 100px;
}
.signin-box > .btn {
  width: 100%;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  margin: 14px 0;
  color: var(--muted);
}
.or:before,
.or:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: auto;
}
.google-g {
  color: var(--navy);
}
#login-note,
.status-line {
  margin-top: 15px;
  line-height: 1.55;
}
.demo-links {
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 13px;
}
.demo-links button,
.link-button,
.demo-links a {
  border: 0;
  background: none;
  color: #11636a;
  padding: 0;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.preview-note,
.notice {
  padding: 12px 16px;
  background: #fdf0e7;
  color: #663e21;
  border-inline-start: 3px solid var(--orange);
  border-radius: 5px;
  margin: 12px 0;
  font-size: 0.93rem;
}
.workspace-head,
.form-actions,
.row-head,
.pager,
.toolbar,
.bar-row,
.stat-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}
.workspace-head,
.row-head,
.pager {
  justify-content: space-between;
}
.workspace-head {
  margin-block: 16px;
  flex-wrap: wrap;
}
.workspace-head h2 {
  font-size: 1.6rem;
}
.workspace-head p {
  font-size: 0.87rem;
}
.form-actions,
.toolbar {
  flex-wrap: wrap;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}
.stat-card {
  padding: 18px;
}
.stat-card span {
  font-size: 0.84rem;
  color: var(--muted);
}
.stat-card strong {
  display: block;
  font-size: 2rem;
}
.panel {
  margin-block: 16px;
}
.inbox {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: start;
}
.inbox > .panel {
  margin: 0;
}
.toolbar {
  margin-bottom: 13px;
  align-items: flex-end;
}
.toolbar label {
  flex: 1;
  min-width: 100px;
}
.toolbar label input,
.toolbar label select {
  display: block;
  margin-top: 4px;
}
.request-row {
  display: grid;
  gap: 6px;
  width: 100%;
  background: white;
  border: 0;
  border-bottom: 1px solid #dce6ea;
  text-align: start;
  padding: 13px 8px;
  overflow-wrap: anywhere;
}
.request-row[aria-current="true"] {
  background: #eaf4f4;
  border-inline-start: 3px solid var(--teal);
}
.request-row strong {
  font-size: 1rem;
}
.mini,
.stamp,
.pager,
.row-head {
  font-size: 0.82rem;
  color: #506571;
}
.badge {
  padding: 2px 8px;
  border-radius: 5px;
  background: #e2f2f2;
  color: #165b60;
  font-size: 0.8rem;
  white-space: nowrap;
}
.badge.closed {
  background: #e8edf0;
  color: #435362;
}
.badge.active {
  background: #fff0df;
  color: #794812;
}
.pager {
  margin-top: 14px;
}
.pager button,
.status-btn {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
}
.msg {
  padding: 13px 16px;
  border-radius: 8px;
  background: #f1f5f8;
  margin-top: 10px;
}
.msg.advisor {
  background: #e8f5f2;
  border-inline-start: 2px solid var(--teal);
}
.msg p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  margin-top: 5px;
}
.thread h3 {
  overflow-wrap: anywhere;
}
.thread .stack {
  margin-top: 18px;
}
.bar-row {
  margin: 8px 0;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 2fr 45px;
}
.bar-row meter {
  width: 100%;
  accent-color: var(--teal);
}
.stats-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stats-pair h3 {
  font-size: 1.02rem;
}
.stats-pair ol {
  padding-inline-start: 23px;
}
.empty {
  padding-block: 15px;
}
.status-line:empty,
#login-note:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
[lang="fa"] .hero h1 {
  line-height: 1.14;
}
[lang="fa"] .metrics strong {
  letter-spacing: 0;
}
[lang="fa"] .signal figcaption,
[lang="fa"] .signal small,
[lang="fa"] .signal-tag {
  direction: rtl;
}
@media (min-width: 1600px) {
  .hero-grid {
    min-height: 580px;
  }
}
@media (max-width: 1000px) {
  .section-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 7.1vw, 5rem);
  }
  .hero-buttons .btn {
    padding: 11px 13px;
  }
  .metrics > div {
    gap: 10px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .head-actions {
    gap: 13px;
  }
  .project-grid,
  .service-grid {
    gap: 13px;
  }
  .card-copy {
    padding: 17px;
  }
}
@media (max-width: 740px) {
  .head-inner {
    min-height: 65px;
    justify-content: space-between;
  }
  .desktop-nav {
    display: none;
  }
  .head-actions {
    margin-inline-start: auto;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    list-style: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary .icon {
    width: 24px;
    height: 24px;
  }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #102d3e;
    border-bottom: 1px solid #517383;
    padding: 12px 5%;
    display: grid;
    gap: 2px;
  }
  .mobile-menu nav a {
    padding: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 40px 24px;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 11.5vw, 5.2rem);
  }
  .hero-intro {
    max-width: 560px;
  }
  .signal {
    width: min(100%, 580px);
    margin: 26px auto 0;
    aspect-ratio: 1.8;
  }
  .signal > img {
    object-fit: fill;
  }
  .metrics {
    padding-block: 17px;
  }
  .metrics > div,
  .metrics > div:first-child,
  .metrics > div:last-child {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding-inline: 12px;
  }
  .metrics > div:first-child {
    padding-inline-start: 0;
  }
  .metrics strong {
    font-size: 1.7rem;
  }
  .metrics span {
    font-size: 0.76rem;
  }
  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .project-art img {
    aspect-ratio: 2.3;
  }
  .project-card a {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }
  .project-art img {
    height: 100%;
    aspect-ratio: auto;
  }
  .service-grid {
    gap: 24px;
  }
  .about,
  .detail-split,
  .inbox,
  .stats-pair {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-inner nav {
    width: 100%;
    margin: 0;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-inner p {
    font-size: 0.77rem;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: 90%;
  }
  .head-portal {
    padding: 7px 9px;
  }
  .head-portal .icon {
    display: none;
  }
  .head-actions {
    gap: 7px;
  }
  .wordmark img {
    width: 38px;
    height: 38px;
  }
  .wordmark > span {
    font-size: 1.65rem;
  }
  .head-inner {
    gap: 8px;
  }
  .language {
    gap: 4px;
  }
  .project-card a {
    display: flex;
  }
  .project-art img {
    aspect-ratio: 1.95;
    height: auto;
  }
  .hero-buttons {
    gap: 8px;
  }
  .hero-buttons .btn {
    font-size: 0.82rem;
  }
  .filters button {
    padding: 7px 8px;
  }
  .hero .eyebrow {
    font-size: 0.74rem;
  }
  .signal figcaption,
  .signal small {
    font-size: 0.7rem;
  }
  .signal-tag {
    font-size: 0.71rem;
    padding: 3px 7px;
  }
  .card-copy {
    padding: 19px;
  }
  .metrics > div {
    padding-inline: 9px;
  }
  .stat-card {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.data-summary > summary {
  font-size: 1.02rem;
  color: var(--navy);
}
.data-summary .stats-pair {
  margin-top: 20px;
}
.mini-chart {
  height: 80px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 12px 0;
}
.mini-chart svg {
  width: 100%;
  min-width: 0;
  fill: #1b999a;
}
.counts {
  margin-bottom: 10px;
}
.counts summary {
  font-size: 0.87rem;
  color: var(--navy);
}
.counts table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
.counts th,
.counts td {
  padding: 4px 8px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
.thread h3 {
  margin-block: 12px;
}
.change-status {
  margin-top: 11px;
}

.quote-dialog {
  --quote-line: #d9e4ea;
  width: min(940px, calc(100% - 2rem));
  max-height: min(90dvh, 1050px);
  max-width: 100%;
  padding: 0;
  border: 1px solid var(--quote-line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  overscroll-behavior: contain;
}
.quote-dialog::backdrop {
  background: rgb(12 33 45 / 65%);
}
.quote-dialog [hidden] {
  display: none;
}
.quote-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  background: #fff;
  border-bottom: 1px solid var(--quote-line);
}
.quote-head h2,
.quote-results p,
.quote-form .mini,
.quote-confirm p {
  margin: 0;
}
.quote-form {
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 2rem;
}
.quote-fields,
.quote-intake {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .85rem;
  align-items: end;
}
.quote-form input,
.quote-form select,
.quote-intake select {
  width: 100%;
  min-width: 0;
}
.quote-breakdown {
  margin: 0;
  min-inline-size: 0;
  padding: 1rem;
  border: 1px solid var(--quote-line);
  border-radius: 12px;
}
.quote-breakdown legend {
  padding-inline: .4rem;
  font-weight: 700;
}
.quote-lines {
  display: grid;
  gap: .75rem;
  margin-bottom: .7rem;
}
.quote-line {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: .65rem;
}
.quote-rate {
  display: grid;
  justify-items: start;
  gap: .3rem;
}
.quote-results {
  display: grid;
  gap: .45rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--quote-line);
  border-radius: 12px;
  background: #f4f8fa;
}
.quote-results dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
  margin: 0;
}
.quote-results dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.quote-terms {
  min-inline-size: 0;
  padding: .8rem 1rem;
  border: 1px solid var(--quote-line);
  border-radius: 12px;
}
.quote-terms summary {
  cursor: pointer;
  font-weight: 700;
}
.quote-terms .quote-fields {
  margin-top: .8rem;
}
.quote-terms textarea {
  min-height: 5rem;
}
.quote-final {
  align-items: end;
}
.quote-message textarea {
  min-height: 15rem;
}
.quote-confirm {
  display: grid;
  gap: .8rem;
}
.quote-thread-button {
  margin: .5rem 0;
}
@media (max-width: 620px) {
  .quote-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-line label:first-child {
    grid-column: 1 / -1;
  }
  .quote-line button {
    justify-self: start;
  }
}
