/* ============================================================================
   روزیار — سیستم طراحی سایت
   هیچ منبع خارجی‌ای بارگذاری نمی‌شود: فونت‌ها، آیکون‌ها و تصویرها همه از خودِ
   همین سرور می‌آیند. سایت روی سرور داخل ایران میزبانی می‌شود و نباید برای
   نمایش درست به هیچ سرویس بیرونی وابسته باشد.
   رنگ‌ها از خودِ آیکونِ اپلیکیشن استخراج شده‌اند (#3ea1ff → #0173de).
   ========================================================================== */

/* ---------- فونت: Vazirmatn، زیرمجموعه‌شده (فارسی + لاتین + ارقام) -------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------- توکن‌ها -------------------------------- */
:root {
  color-scheme: light;

  /* سطح و متن */
  --bg:          #fbfcfe;
  --bg-tint:     #f1f6fd;
  --surface:     #ffffff;
  --ink:         #0f1a2b;
  --ink-2:       #37475f;
  --muted:       #5c6d85;
  --line:        #e4ebf5;
  --line-soft:   #eef3fa;

  /* برند — از آیکونِ اپ */
  --primary:     #0d6fd6;
  --primary-2:   #0a58ab;
  --sky:         #3ea1ff;
  --violet:      #6a5ae0;

  /* رنگِ اختصاصیِ هر دامنه — همان تفکیکی که داخلِ خودِ اپ هست */
  --c-task:      #1f6fd0;
  --c-cal:       #6a5ae0;
  --c-fin:       #12866a;
  --c-ledger:    #bd6f17;

  /* فاصله */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 88px;

  /* گردی */
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* سایه */
  --sh-1: 0 1px 2px rgba(16,35,62,.04), 0 4px 14px rgba(16,35,62,.05);
  --sh-2: 0 12px 32px rgba(13,111,214,.10), 0 2px 8px rgba(16,35,62,.05);
  --sh-3: 0 34px 64px -24px rgba(12,58,120,.34);

  --maxw: 1120px;
}

/* ---------------------------------- پایه ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }

h1, h2, h3 { line-height: 1.4; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(13,111,214,.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 380px) { .wrap { padding-inline: 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 20px; top: -100px;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); z-index: 200; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------- هدر ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,252,254,.94);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  position: relative;
  display: flex; align-items: center; gap: var(--s4);
  min-height: 68px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; color: var(--ink);
  text-decoration: none; flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(160deg, var(--sky), #0173de);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(13,111,214,.28);
}
.brand-mark svg { width: 19px; height: 19px; display: block; }

.nav { display: flex; align-items: center; gap: var(--s5); margin-inline-start: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--primary); border-bottom-color: var(--sky); }

.nav-cta { margin-inline-start: var(--s3); }

.btn.header-cta { display: none; margin-inline-start: auto; }

.burger {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-sm);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 3px auto; transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: grid; }
  .btn.header-cta { display: inline-flex; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute; inset-inline: 0; top: calc(100% + 6px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-2);
    padding: var(--s3); margin: 0; z-index: 110;
  }
  .nav a { padding: 10px 14px; border-radius: var(--r-sm); border-bottom: 0; font-size: 16px; line-height: 1.8; }
  .nav a:hover { background: var(--bg-tint); border-bottom: 0; }
  .btn.nav-cta { display: none; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: var(--s2); }
  .brand { font-size: 17px; }
  .btn.header-cta { padding: 0 14px; font-size: 13.5px; }
}

/* --------------------------------- دکمه‌ها --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-primary {
  background: linear-gradient(170deg, var(--sky), var(--primary));
  color: #fff; box-shadow: var(--sh-2);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px rgba(13,111,214,.24); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--sky); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* -------------------------------- بخش‌ها ---------------------------------- */
.section { padding-block: var(--s9); scroll-margin-top: 84px; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
@media (max-width: 700px) { .section { padding-block: var(--s8); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: rgba(62,161,255,.11); border: 1px solid rgba(62,161,255,.24);
  border-radius: var(--r-pill); padding: 5px 14px; line-height: 1.8;
}
.section-head { max-width: 62ch; margin-bottom: var(--s7); }
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-top: var(--s4);
}
.section-head p { color: var(--muted); margin-top: var(--s3); font-size: 17px; }

/* ---------------------------------- هیرو ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: var(--s9) var(--s9);
  background:
    radial-gradient(70ch 42ch at 78% -8%, rgba(62,161,255,.16), transparent 62%),
    radial-gradient(54ch 36ch at 8% 4%, rgba(106,90,224,.10), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--line-soft);
}
.hero-grid {
  display: grid; gap: var(--s8);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.3; margin-top: var(--s5);
}
.hero .lead {
  color: var(--ink-2); font-size: clamp(16px, 2vw, 18.5px);
  margin-top: var(--s5); max-width: 52ch;
}
.hero .lead .q { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  margin-top: var(--s6); padding: 0; list-style: none;
  color: var(--muted); font-size: 14.5px;
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 16px; height: 16px; color: #12866a; flex: 0 0 auto; }

@media (max-width: 900px) {
  .hero { padding-block: var(--s6) var(--s7); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-visual { order: 2; }
  .hero h1 { margin-top: var(--s4); }
  .hero .lead { margin-top: var(--s4); line-height: 1.85; }
  .hero-actions { margin-top: var(--s5); }
  .hero-facts { margin-top: var(--s5); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 29px; line-height: 1.45; }
  .hero .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn-lg { min-height: 52px; font-size: 16px; }
  .phone { max-width: 278px; }
  .phone-screen { min-height: 390px; }
}

/* ------------------------------ موکاپِ گوشی ------------------------------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: var(--s3); }

.phone {
  width: 100%; max-width: 310px;
  border-radius: 38px; padding: 10px;
  background: linear-gradient(165deg, #dbe8f8, #b9cfe9);
  box-shadow: var(--sh-3);
}
.phone-screen {
  background: #fff; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 424px;
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 4px; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.phone-status .dots { display: flex; gap: 4px; }
.phone-status .dots i { width: 5px; height: 5px; border-radius: 50%; background: #c3d0e0; }

.phone-head {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 18px 14px; border-bottom: 1px solid var(--line-soft);
}
.phone-head .brand-mark { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.phone-head .brand-mark svg { width: 14px; height: 14px; }
.phone-head b { font-size: 14.5px; }

.phone-body {
  flex: 1; padding: 16px 16px 10px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  background: linear-gradient(180deg, #fff, #f7fafe);
}

.bubble {
  align-self: flex-start; max-width: 90%;
  background: linear-gradient(170deg, var(--sky), var(--primary));
  color: #fff; padding: 10px 15px; border-radius: 16px 16px 16px 5px;
  font-size: 14.5px; line-height: 1.85; box-shadow: var(--sh-2);
}

.result-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 13px 15px;
  box-shadow: var(--sh-1);
  display: grid; gap: 7px;
}
.result-card .chip {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; border-radius: var(--r-pill);
  padding: 3px 11px; line-height: 1.9;
  background: var(--chip-bg, rgba(31,111,208,.10));
  color: var(--chip-fg, var(--c-task));
}
.result-card .title { font-size: 15px; font-weight: 700; }
.result-card .meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.composer {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 6px 10px; padding: 10px 15px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--sh-1);
}
.composer .typed {
  flex: 1; font-size: 14px; color: var(--ink); min-height: 1.9em;
  overflow: hidden; white-space: nowrap; text-overflow: clip;
}
.composer .typed:empty::before { content: 'بنویس…'; color: #9fb0c6; }
.composer .caret {
  display: inline-block; width: 1.5px; height: 15px; vertical-align: -2px;
  background: var(--primary); margin-inline-start: 1px;
  animation: blink 1.05s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.composer .send {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(170deg, var(--sky), var(--primary));
  display: grid; place-items: center; color: #fff;
}
.composer .send svg { width: 14px; height: 14px; }

.phone-caption { font-size: 13px; color: var(--muted); text-align: center; max-width: 34ch; }

.reveal { animation: rise .42s cubic-bezier(.22,.9,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .composer .caret { animation: none; }
}

/* ------------------------------ نحوه‌ی کار -------------------------------- */
.steps { display: grid; gap: var(--s4); grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step {
  counter-increment: step;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: var(--s2);
}
.step::before {
  content: counter(step, persian);
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(165deg, rgba(62,161,255,.16), rgba(13,111,214,.12));
  color: var(--primary); font-weight: 700; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 16.5px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------- قابلیت‌ها -------------------------------- */
.features { display: grid; gap: var(--s4); grid-template-columns: repeat(4, 1fr); }
.feature {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s5);
  box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: var(--s3);
}
.feature::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--accent);
}
.feature .ico {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 11%, #fff);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
}
.feature .ico svg { width: 21px; height: 21px; }
.feature h3 { font-size: 16.5px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.soon { margin-top: var(--s6); }
.soon h3 { font-size: 15px; color: var(--ink-2); margin-bottom: var(--s3); }
.soon ul { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.soon li {
  font-size: 13.5px; color: var(--muted);
  background: var(--surface); border: 1px dashed #cfdcec;
  border-radius: var(--r-pill); padding: 4px 14px; line-height: 1.9;
}
.soon .hint { margin-top: var(--s3); font-size: 13.5px; color: var(--muted); }

/* --------------------------------- اعتماد -------------------------------- */
.trust { display: grid; gap: var(--s7); grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
.trust-list { display: grid; gap: var(--s4); list-style: none; padding: 0; margin: 0; }
.trust-list li {
  display: flex; gap: var(--s3); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s4) var(--s5); box-shadow: var(--sh-1);
}
.trust-list .ico {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center; margin-top: 4px;
  background: rgba(13,111,214,.09); color: var(--primary);
}
.trust-list .ico svg { width: 19px; height: 19px; }
.trust-list b { display: block; font-size: 15.5px; }
.trust-list span { color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.trust-copy p + p { margin-top: var(--s4); }
.trust-copy p { color: var(--ink-2); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; gap: var(--s6); } }

/* --------------------------------- دانلود -------------------------------- */
.download-card {
  background: linear-gradient(165deg, #0e4f9e, #0a3a7a 55%, #082f63);
  color: #fff; border-radius: var(--r-xl); padding: var(--s8);
  box-shadow: var(--sh-3); position: relative; overflow: hidden;
}
.download-card::before {
  content: ""; position: absolute; inset-inline-end: -60px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62,161,255,.38), transparent 65%);
}
.download-inner {
  position: relative; display: grid; gap: var(--s6);
  grid-template-columns: auto minmax(0, 1fr); align-items: center;
}
.download-icon {
  width: 108px; height: 108px; border-radius: 26px;
  box-shadow: 0 18px 36px rgba(0,0,0,.3);
}
.download-card h2 { font-size: clamp(22px, 3vw, 30px); color: #fff; }
.download-card p { color: #c9dcf3; margin-top: var(--s3); font-size: 16px; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.download-card .btn-primary {
  background: #fff; color: var(--primary-2);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.download-card .btn-primary:hover { color: var(--primary-2); background: #f2f7fd; }
.download-card .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none;
}
.download-card .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.download-meta {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: #a9c6e8; font-variant-numeric: tabular-nums;
}
.download-meta li { display: flex; align-items: center; gap: 7px; }
.download-meta svg { width: 15px; height: 15px; }
.download-note {
  margin-top: var(--s5); padding: var(--s4) var(--s5);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r); font-size: 14px; color: #d5e6f8; line-height: 1.9;
  position: relative;
}
@media (max-width: 780px) {
  .download-card { padding: var(--s6) var(--s5); }
  .download-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .download-icon { width: 82px; height: 82px; border-radius: 20px; }
}

/* ---------------------------------- سؤال‌ها ------------------------------- */
.faq { display: grid; gap: var(--s3); max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-1);
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s4) var(--s5);
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: var(--s3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-inline-start: auto; flex: 0 0 auto;
  width: 9px; height: 9px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] summary { color: var(--primary); }
.faq .answer { padding: 0 var(--s5) var(--s5); color: var(--ink-2); font-size: 15px; }
.faq-more { margin-top: var(--s5); font-size: 15px; }

/* --------------------------------- تماس ---------------------------------- */
.contact-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(3, 1fr); max-width: 960px; }
.contact-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s4) var(--s5); box-shadow: var(--sh-1);
}
.contact-item dt { font-size: 13.5px; color: var(--muted); margin-bottom: 2px; }
.contact-item dd { margin: 0; font-size: 16px; font-weight: 700; }
.contact-item dd a { text-decoration: none; }
.contact-item dd a:hover { text-decoration: underline; }
.contact-item.wide { grid-column: 1 / -1; }
.contact-item.wide dd { font-weight: 400; font-size: 15.5px; line-height: 1.9; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* --------------------------------- فوتر ---------------------------------- */
.site-footer {
  background: #0b1f38; color: #9fb6d2;
  padding-block: var(--s8) var(--s5); margin-top: 0;
}
.footer-grid {
  display: grid; gap: var(--s6);
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  padding-bottom: var(--s6); border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-about { margin-top: var(--s4); font-size: 14.5px; max-width: 44ch; line-height: 1.95; }
.footer-col h2 { font-size: 14px; color: #fff; margin-bottom: var(--s3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { color: #9fb6d2; text-decoration: none; font-size: 14.5px; display: inline-block; padding-block: 4px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  padding-top: var(--s4); font-size: 13.5px; color: #7c93b1;
  display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s5); } }

/* ------------------------------ صفحه‌های متنی ----------------------------- */
.page-head { padding-block: var(--s8) var(--s6); background: var(--bg-tint); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); margin-top: var(--s3); }
.page-head .updated { color: var(--muted); font-size: 14px; margin-top: var(--s3); }

.prose { max-width: 76ch; padding-block: var(--s8); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: 21px; margin-top: var(--s7); }
.prose h3 { font-size: 17.5px; margin-top: var(--s6); }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul, .prose ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose .callout {
  background: var(--bg-tint); border: 1px solid var(--line);
  border-inline-start: 3px solid var(--sky);
  border-radius: var(--r); padding: var(--s4) var(--s5); font-size: 15px;
}
