@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #24362f;
  --muted: #626f66;
  --green: #185747;
  --green-dark: #113e34;
  --mint: #eaf1ec;
  --paper: #f6f5f0;
  --surface: #fff;
  --surface-soft: #fafaf7;
  --line: #dce0d8;
  --control-border: #808c82;
  --secondary: #eceee8;
  --secondary-hover: #dfe4da;
  --focus: #2d725b;
  --danger: #9c382f;
  --danger-soft: #f9e9e6;
  --danger-line: #bd8178;
  --warning: #775626;
  --warning-soft: #faf1de;
  --white: #fff;
  --gold: #ae874a;
  font-family: "Vazirmatn", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.9; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { max-width: 100%; }
img { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.ui-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
/* Router focus announces the page title without styling it like an interactive control. */
h1[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.65; letter-spacing: -.035em; }
p { color: var(--muted); }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; min-height: 98px; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header > .container, .site-header .header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 48px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 12px 12px 12px 2px; box-shadow: 0 4px 10px rgba(11,101,87,.12); }
.brand-mark svg { width: 29px; height: 29px; }
.brand-name { display: block; font-size: 1.2rem; font-weight: 900; letter-spacing: -.05em; line-height: 1.65; }
.brand-subtitle { display: block; color: var(--muted); font-size: .67rem; line-height: 1.6; letter-spacing: .04em; }
.header-nav { display: flex; align-items: center; gap: 29px; font-size: .85rem; font-weight: 600; }
.nav-link { color: #52686a; transition: color .15s; }
.nav-link:hover { color: var(--green); }
.button, :where(.admin-shell, .office-onboarding, .quick-dialog) button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 10px 18px; min-height: 44px; border: 1px solid var(--control-border);
  border-radius: 10px; font-size: .875rem; font-weight: 600; line-height: 1.7;
  color: var(--ink); background: var(--secondary); text-align: center; text-decoration: none;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
:where(.button, .admin-shell button, .office-onboarding button, .quick-dialog button):hover { background: var(--secondary-hover); border-color: var(--muted); }
.button svg { width: 18px; height: 18px; }
.button-primary, .pb-primary { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 2px 3px #113e3410; }
.button-primary:hover, .pb-primary:hover { color: white; background: var(--green-dark); border-color: var(--green-dark); }
.button-secondary, .button-outline { color: var(--ink); background: var(--secondary); border-color: var(--control-border); }
.button-secondary:hover, .button-outline:hover { background: var(--secondary-hover); border-color: var(--muted); }
.button-light { color: var(--green-dark); background: #f7f8f3; border-color: #f7f8f3; }
.button-light:hover { background: #eaf0e7; }
.button-danger { color: var(--danger); background: var(--danger-soft); border-color: var(--danger-line); }
.button-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
:is(.admin-shell, .office-onboarding, .quick-dialog) button:disabled, .button:disabled { color: #526057; background: #e5e7e1; border-color: #c2c9bf; box-shadow: none; opacity: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: .88rem; font-weight: 700; }
.text-link:is(:hover, :focus-visible) { color: var(--green-dark); text-decoration: underline; text-underline-offset: .22em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--green); font-size: .78rem; font-weight: 700; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(189,148,88,.10); }
.home-hero { padding: 70px 0 58px; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 64px; align-items: start; }
.hero-copy { padding-top: 14px; min-width: 0; }
.hero-copy h1 { font-size: clamp(2.2rem, 3.2vw, 3.3rem); line-height: 1.65; margin-bottom: 22px; }
.accent { color: var(--green); }
.hero-lead { max-width: 550px; font-size: 1rem; line-height: 2.1; margin-bottom: 23px; }
.hero-points { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 24px; margin: 0; padding: 0; list-style: none; color: #4b6261; font-size: .78rem; }
.hero-points > * { display: inline-flex; align-items: center; gap: 7px; }
.hero-points > *::before { content: "✓"; color: var(--green); font-weight: 800; }
.architecture-visual { width: min(475px, 100%); margin: 12px auto -26px; }
.architecture-visual img { width: 100%; height: auto; }
.onboarding-card { position: relative; background: white; padding: 34px 35px 28px; border: 1px solid #dfe7df; border-radius: 18px; box-shadow: 0 18px 60px rgba(21,62,46,.065), 0 2px 8px rgba(21,62,46,.025); scroll-margin-top: 30px; }
.onboarding-card::before { position: absolute; content: ""; inset: -1px 34px auto; height: 3px; border-radius: 0 0 8px 8px; background: var(--gold); }
.step-label { display: block; color: var(--muted); font-size: .68rem; margin-bottom: 15px; }
.step-track { display: flex; gap: 8px; padding-bottom: 25px; margin-bottom: 27px; border-bottom: 1px solid #e9eeea; }
.step { display: flex; flex: 1; gap: 6px; align-items: center; font-size: .65rem; color: var(--muted); white-space: nowrap; }
.step > span:first-child, .step-number { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; color: var(--muted); background: #f1f4f1; border-radius: 50%; font-size: .63rem; }
.step.is-current { color: var(--green); font-weight: 700; }
.step.is-current > span:first-child, .step.is-current .step-number { color: white; background: var(--green); }
.form-heading { font-size: 1.4rem; margin-bottom: 11px; }
.form-copy { font-size: .82rem; line-height: 2; margin-bottom: 25px; }
.field-label { display: block; color: #304c4c; font-weight: 700; font-size: .8rem; margin-bottom: 9px; }
.mobile-input { display: block; width: 100%; height: 57px; padding: 11px 16px; border-radius: 9px; border: 1px solid #cbd8ce; background: #fcfdfb; direction: ltr; text-align: left; color: var(--ink); font-family: inherit; font-size: 1.05rem; letter-spacing: .04em; transition: border-color .15s, box-shadow .15s; }
.mobile-input::placeholder { color: var(--muted); }
.mobile-input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(11,101,87,.1); }
.mobile-input.invalid, .mobile-input[aria-invalid="true"] { border-color: #b13e31; }
.input-hint { display: block; color: var(--muted); font-size: .68rem; margin: 7px 0 21px; }
.form-button { width: 100%; min-height: 53px; margin-top: 3px; }
.form-error, .validation-message { padding: 9px 12px; margin: 0 0 16px; font-size: .77rem; color: #9d352b; background: #fff3ef; border-radius: 7px; line-height: 1.9; }
.validation-summary-errors { color: #9d352b; font-size: .77rem; }
.privacy-note { margin: 16px 0 0; text-align: center; font-size: .66rem; color: var(--muted); line-height: 2; }
.privacy-note svg { width: 14px; height: 14px; display: inline; vertical-align: -3px; margin-inline-end: 4px; }
.success-panel { padding: 4px 0; }
.success-icon { width: 53px; height: 53px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 1.5rem; }
.success-title { font-size: 1.3rem; margin-bottom: 12px; }
.success-copy { font-size: .86rem; line-height: 2.1; }
.next-step { padding: 15px 17px; margin-top: 22px; border: 1px solid #dce7de; border-radius: 10px; background: #f6f9f5; color: #546d61; font-size: .78rem; }
.next-step strong { display: block; color: var(--green); margin-bottom: 5px; }
.features-section { padding: 74px 0 82px; border-top: 1px solid var(--line); background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.section-heading { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 9px; }
.section-head p { margin-bottom: 0; font-size: .86rem; }
.features-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 19px; border-radius: 11px; color: var(--green); background: #eaf2e9; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; }
.feature-card p { font-size: .79rem; line-height: 2.1; margin-bottom: 0; }
.preview-section { padding: 72px 0; background: var(--paper); }
.preview-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 42px 48px; background: var(--green-dark); color: white; border-radius: 18px; overflow: hidden; }
.preview-copy .eyebrow { color: #c4d8c6; }
.preview-copy .section-heading { color: white; }
.preview-copy p { color: #b8d2c5; margin-bottom: 23px; font-size: .85rem; line-height: 2.1; }
.preview-mock { transform: rotate(-3deg); background: #f8f8f1; border-radius: 9px; padding: 0 0 18px; box-shadow: 0 18px 35px rgba(0,0,0,.15); color: var(--ink); }
.mock-browser { display: flex; justify-content: start; gap: 5px; align-items: center; padding: 12px 15px; border-bottom: 1px solid #e5e8de; }
.mock-browser span { width: 5px; height: 5px; border-radius: 50%; background: #c6d1c4; }
.mock-office { padding: 20px 22px 0; }
.mock-badge { color: var(--green); font-size: .55rem; margin-bottom: 7px; }
.mock-office h3 { font-size: 1.15rem; margin-bottom: 5px; }
.mock-office p { font-size: .6rem; color: var(--muted); margin-bottom: 5px; }
.mock-building { height: 145px; overflow: hidden; }
.mock-building img { width: 100%; height: 200px; object-fit: contain; object-position: top; }
.mock-lines { display: flex; gap: 10px; margin: 0 22px; }
.mock-lines span { flex: 1; height: 6px; border-radius: 3px; background: #e0e8da; }
.closing-note { padding: 22px 0 0; color: var(--muted); font-size: .71rem; text-align: center; }
.site-footer { padding: 26px 0; background: var(--paper); border-top: 1px solid #e0e7df; }
.site-footer > .container, .site-footer .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-footer p { margin: 0; font-size: .7rem; color: var(--muted); }
.site-footer .brand-name { font-size: .95rem; }
.demo-banner { padding: 10px 24px; color: #806335; background: #f2ead8; font-size: .73rem; text-align: center; border-bottom: 1px solid #e4d6bb; }
.office-hero { padding: 65px 0 62px; overflow: hidden; background: var(--paper); }
.office-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.office-copy h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 17px; }
.office-city { color: var(--green); font-size: .8rem; margin-bottom: 12px; }
.office-tagline { font-size: 1.2rem; font-weight: 600; color: #3f6659; margin-bottom: 16px; }
.office-description { color: #607a6d; font-size: .91rem; line-height: 2.1; white-space: pre-line; overflow-wrap: anywhere; }
.office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.office-visual { position: relative; overflow: hidden; min-height: 315px; background: #ecefe5; border: 1px solid var(--line); border-radius: 20px; }
.office-visual img { width: 100%; height: 330px; object-fit: contain; padding: 0 7px; }
.office-monogram { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.8); border-radius: 11px; background: rgba(255,255,255,.62); color: var(--green); font-weight: 800; font-size: 1.4rem; }
.office-visual-caption { padding: 12px 20px; background: rgba(255,255,255,.5); color: #5d7967; font-size: .66rem; text-align: center; }
.office-details { padding: 63px 0; background: white; }
.details-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.detail-panel { padding: 31px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.detail-panel h2 { font-size: 1.35rem; margin-bottom: 17px; }
.detail-panel p { font-size: .85rem; line-height: 2.2; overflow-wrap: anywhere; white-space: pre-line; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-item { padding: 15px 0; border-bottom: 1px solid #e8ece5; font-size: .85rem; overflow-wrap: anywhere; }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item span, .contact-item small { display: block; color: var(--muted); font-size: .7rem; margin-bottom: 4px; }
.contact-item a { color: var(--green); font-weight: 700; }
.service-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.service-tag { padding: 5px 12px; border: 1px solid #dbe7db; color: #5c7564; background: #f4f8f1; border-radius: 7px; font-size: .72rem; }
.office-bottom { padding: 31px 0; background: #f3f5ed; }
.office-bottom > .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.office-bottom p { margin: 0; font-size: .8rem; }
.empty-page { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 24px; }
.empty-page h1 { font-size: 2rem; margin-bottom: 12px; }
.empty-page p { max-width: 460px; font-size: .9rem; margin-bottom: 25px; }
.empty-page .eyebrow { font-size: .85rem; }
@media (min-width: 1200px) { .home-hero { min-height: 660px; } }
@media (max-width: 1050px) {
  .container { width: min(1160px, calc(100% - 48px)); }
  .hero-grid { gap: 40px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .onboarding-card { padding: 28px 25px; }
  .hero-copy h1 { font-size: 2.5rem; }
  .preview-card { gap: 35px; padding: 35px; }
  .header-nav { gap: 20px; }
  .office-hero-grid { gap: 35px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header, .site-header > .container, .site-header .header-inner { min-height: 80px; }
  .header-nav { gap: 16px; }
  .header-nav .nav-link { display: none; }
  .header-nav .button { min-height: 44px; padding: 8px 14px; font-size: .8rem; }
  .brand-mark { width: 36px; height: 40px; border-radius: 9px 9px 9px 2px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand-name { font-size: 1.03rem; }
  .brand-subtitle { font-size: .57rem; }
  .home-hero { padding: 35px 0 42px; }
  .hero-grid, .office-hero-grid { display: flex; flex-direction: column; gap: 31px; }
  .hero-copy { padding-top: 0; width: 100%; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.7; margin-bottom: 17px; }
  .eyebrow { font-size: .7rem; margin-bottom: 12px; }
  .hero-lead { font-size: .88rem; margin-bottom: 17px; }
  .hero-points { gap: 7px 17px; font-size: .72rem; }
  .architecture-visual { max-width: 340px; margin: 0 auto; }
  .onboarding-card { width: 100%; padding: 29px 25px; }
  .features-section { padding: 45px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 23px; }
  .feature-icon { margin-bottom: 13px; }
  .feature-card h3 { margin-bottom: 6px; }
  .section-head { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 23px; }
  .section-heading { font-size: 1.65rem; }
  .preview-section { padding: 36px 0; }
  .preview-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 25px; }
  .preview-mock { max-width: 380px; width: 100%; margin: 0 auto; }
  .preview-copy { min-width: 0; }
  .closing-note { font-size: .66rem; }
  .site-footer { padding: 23px 0; }
  .site-footer > .container, .site-footer .footer-inner { align-items: start; flex-direction: column; gap: 10px; }
  .office-hero { padding: 36px 0; }
  .office-hero-grid { gap: 25px; }
  .office-copy, .office-visual { width: 100%; }
  .office-copy h1 { font-size: 2.3rem; }
  .office-tagline { font-size: 1rem; }
  .office-description { font-size: .83rem; }
  .office-visual { min-height: auto; }
  .office-visual img { height: 280px; }
  .office-details { padding: 35px 0; }
  .details-grid { grid-template-columns: 1fr; gap: 19px; }
  .detail-panel { padding: 25px; }
  .office-bottom > .container { flex-direction: column; align-items: start; gap: 15px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 30px); }
  .brand { gap: 7px; }
  .brand-name { font-size: .94rem; }
  .brand-subtitle { font-size: .51rem; }
  .header-nav .button { padding: 8px 11px; }
  .hero-copy h1 { font-size: 1.94rem; }
  .onboarding-card { padding: 27px 20px; }
  .step { gap: 4px; font-size: .6rem; }
  .step > span:first-child, .step-number { width: 19px; height: 19px; }
  .form-heading { font-size: 1.2rem; }
  .preview-card { padding: 25px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Shared semantic elements used by the server-rendered pages. */
.skip-link { position: absolute; top: -100px; inset-inline-start: 20px; z-index: 100; padding: 10px 18px; color: white; background: var(--green-dark); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.brand-dot { color: var(--gold); }
.step-label { display: flex; align-items: center; justify-content: space-between; }
.step-track { list-style: none; padding-inline: 0; }
.next-step p { margin: 0; color: inherit; }
.visual-caption { display: block; margin-top: -10px; text-align: center; color: var(--muted); font-size: .68rem; }
.hero-points > *::before { content: none; }
.hero-points > * > span { color: var(--green); font-weight: 800; }
.section-head { display: block; max-width: 720px; }
.section-head p { max-width: 620px; }
.mock-browser small { margin-inline-start: auto; color: var(--muted); font-size: .57rem; }
.mock-building { display: grid; place-items: center; }
.mock-building svg { width: 90px; height: 90px; color: var(--green); }
.mock-office > strong { display: block; font-size: 1.1rem; margin: 0 0 7px; }
.mock-office > span { display: block; font-size: .68rem; }
.mock-lines { margin-top: 22px; }
.mock-lines i { flex: 1; height: 6px; border-radius: 3px; background: #e0e8da; }
.download-page { max-width: 720px; padding-block: clamp(40px, 9vw, 100px); text-align: center; }
.download-page h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.download-page p { margin: 0 0 20px; color: var(--muted); }
.download-page .button { margin-block-end: 12px; }
.footer-inner > div { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner > div > span, .footer-platform { font-size: .7rem; color: var(--muted); }
.demo-banner > .container { display: flex; align-items: center; gap: 14px; justify-content: center; }
.demo-banner p { margin: 0; color: inherit; }
.demo-badge { flex-shrink: 0; padding: 3px 10px; border: 1px solid #d6c29a; border-radius: 99px; font-size: .65rem; }
.office-city { display: flex; align-items: center; gap: 6px; }
.office-city svg { width: 17px; height: 17px; }
.office-monogram svg { width: 34px; height: 34px; }
.office-visual-caption { display: block; }
.contact-item dt { color: var(--muted); font-size: .72rem; margin-bottom: 5px; }
.contact-item dd { margin: 0; color: var(--ink); font-size: .85rem; }
.contact-item dd > span { color: var(--muted); font-size: .78rem; }
.office-bottom h2 { margin-bottom: 0; font-size: 1.35rem; }
@media (max-width: 760px) {
  .visual-caption { margin-top: -18px; }
  .demo-banner { padding-inline: 0; }
  .demo-banner > .container { align-items: start; gap: 9px; text-align: right; }
  .footer-inner > div { gap: 5px 14px; }
}

.office-showcase { margin-block: 24px; }
.office-showcase article { display: flow-root; padding-block: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.office-showcase article img { float: inline-end; margin-inline-start: 12px; object-fit: cover; border-radius: 8px; }
.office-showcase article h3, .office-showcase article p { margin-block: 4px; }
.office-showcase > a { display: inline-block; padding: 12px; }
