@font-face {
  font-family: Estedad;
  src: url('/fonts/estedad-arabic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url('/fonts/vazirmatn-arabic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Bootstrap Icons';
  src: url('/icons/bootstrap-icons.woff2') format('woff2');
  font-display: block;
}
:root {
  color-scheme: light;
  --ink: #282035;
  --muted: #665a75;
  --accent: #6045a0;
  --line: #e9e1ef;
  --paper: #fcfaff;
  --display: Estedad, Vazirmatn, Tahoma, sans-serif;
  font-family: Vazirmatn, Tahoma, sans-serif;
  line-height: 1.8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #9876dc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); line-height: 1.45; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.4rem); }
.wrap { width: min(1150px, calc(100% - 48px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { padding-block: 18px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; gap: clamp(14px, 3vw, 36px); color: var(--muted); font-size: .92rem; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.18rem; font-weight: 820; white-space: nowrap; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 12px; font-size: .91rem; font-weight: 750; }
.cta.primary { background: var(--accent); color: white; }
.cta.primary:hover { background: #4e347f; }
.cta.outline { background: white; border-color: var(--line); color: var(--accent); }
.cta.outline:hover { border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent); font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(22px, 5vw, 64px); padding-block: clamp(44px, 7vw, 92px); }
.hero-copy { display: grid; justify-items: start; gap: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 780; color: var(--accent); }
.hero .eyebrow { padding: 3px 11px; border-radius: 24px; background: #efe8fa; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #965bc6; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 4.2rem); font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.15rem); }
.hero-copy .locale { font-size: .8rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.hero-art { padding: clamp(13px, 3.5vw, 44px); border: 1px solid #e8def7; border-radius: 28px; background: radial-gradient(ellipse at 15% 0, #f8ece2, transparent 66%), linear-gradient(145deg, #e9dcf9, #f5f0fc); }
.dashboard { padding: clamp(10px, 2vw, 19px); border: 1px solid white; border-radius: 19px; background: #fcfaff; box-shadow: 0 17px 40px #4b367129; display: grid; gap: 10px; }
.mock-header, .mock-row, .preview-heading { display: flex; align-items: center; gap: 8px; }
.mock-header > span, .preview-heading .pill { margin-inline-start: auto; }
.mock-header > span, .pill, .mock-row small { padding: 1px 8px; border-radius: 10px; color: var(--accent); background: #f0eafa; font-size: .72rem; }
.mock-welcome { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #ebe0fa; color: #533787; }
.mock-welcome > strong { font: 800 clamp(1.15rem, 2.5vw, 1.6rem)/1.45 var(--display); }
.mock-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mock-metrics > div { display: grid; padding: 7px 9px; border-radius: 10px; background: #eee8fa; }
.mock-metrics > div:nth-child(2) { background: #faeee0; }
.mock-metrics > div:nth-child(3) { background: #e4f4ee; }
.mock-metrics strong, .sample-amount { font-family: var(--display); font-weight: 800; }
.mock-panel, .preview-window { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.mock-panel > strong { display: block; padding-bottom: 3px; }
.mock-row { flex-wrap: wrap; padding-block: 5px; font-size: .84rem; }
.mock-row + .mock-row { border-top: 1px solid #f0ebf4; }
.mock-row small { margin-inline-start: auto; }
.checkbox { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #b8a8d0; border-radius: 4px; }
.checkbox.is-done { color: #316355; background: #e4f4ee; border-color: #8abca8; }
.section { padding-block: clamp(34px, 5vw, 68px); }
.section-intro { max-width: 58ch; margin-block-end: 22px; }
.section-intro p, .features p, .contact p { color: var(--muted); margin-block-start: 5px; }
.features, .previews { display: grid; gap: 12px; }
.features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features article, .preview-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.features h3 { margin-top: 9px; }
.features p { font-size: .9rem; }
.feature-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 9px; font: 1rem/1 'Bootstrap Icons'; background: #eee8fa; color: #5f4496; }
.feature-icon.mint { color: #246855; background: #e4f4ee; }
.feature-icon.peach { color: #844923; background: #faeee0; }
.feature-icon.blue { color: #305d8a; background: #e7eff8; }
.preview-band { background: #f4eff9; }
.previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preview-card { display: flex; flex-direction: column; }
.preview-card h3 { display: flex; align-items: center; gap: 8px; margin-block-end: 12px; }
.preview-window { flex: 1; background: #fcfaff; }
.preview-heading { margin-block-end: 6px; }
.sample-amount { margin-block-start: 9px; font-size: 1.25rem; }
.sample-amount small, .demo-note { color: var(--muted); font-size: .78rem; }
progress { width: 100%; height: 8px; accent-color: var(--accent); }
.chat-preview p { width: fit-content; max-width: 90%; padding: 7px 10px; border-radius: 10px; background: white; border: 1px solid var(--line); font-size: .82rem; }
.chat-preview p + p { margin-block-start: 7px; margin-inline-start: auto; background: #ede5fa; }
.chat-preview small { display: block; color: var(--accent); font-weight: 700; }
.loading-link { margin-block-start: 13px; }
.contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: clamp(18px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(120deg, #f8ecde, #eee5fa); }
.contact bdi { font-family: 'Segoe UI', sans-serif; }
.site-footer { padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.loading-page { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at top, #eadef7, #fcfaff 70%); }
.loading-card { width: min(100%, 440px); padding: clamp(20px, 6vw, 42px); text-align: center; border-radius: 24px; border: 1px solid var(--line); background: white; box-shadow: 0 15px 55px #43276c13; }
.loading-card p { color: var(--muted); }
.loading-card .actions { justify-content: center; }
.loading-track { width: 84px; height: 5px; margin: 18px auto; overflow: hidden; border-radius: 8px; background: #ece4f8; }
.loading-track span { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--accent); animation: loading 1.1s ease-in-out infinite alternate; }
@keyframes loading { to { transform: translateX(-120%); } }
@media (prefers-reduced-motion: reduce) { .loading-track span { animation: none; } }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 580px; width: 100%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .previews { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .wrap { width: calc(100% - 28px); }
  .site-header { flex-wrap: wrap; gap: 8px; }
  .site-header nav { order: 3; width: 100%; padding-top: 4px; }
  .features article, .preview-card { padding: 11px; }
  .mock-row small { font-size: .65rem; }
}
