/*
 * وبسایت روتینک (routinak.com) — ساختار الهام‌گرفته از سایت‌های برنامه‌ریز تصویری (گرادیان‌های پاستلی، تیتر سریف،
 * دکمه‌های قرصی تیره، گوشی‌های بادبزنی، ردیف‌های متن و تصویر) با پالت «باغ» خود روتینک (server/web/theme.css).
 * تیترها: Noto Naskh Arabic (حس سریف/ادیتوریال در فارسی)، متن: Vazirmatn. همه‌ی فونت‌ها محلی.
 */
@font-face { font-family: 'Vazirmatn'; src: url('fonts/vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  /* زمینه‌ها */
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: rgba(31, 58, 39, .10);
  --line-2: rgba(31, 58, 39, .18);
  /* متن */
  --ink: #18261c;
  --ink-2: #4b5a4f;
  --ink-3: #7a877d;
  /* برند */
  --forest: #1f3a27;      /* دکمه‌ی اصلی، مثل دکمه‌ی تیره‌ی قرصی */
  --brand: #4e7d55;
  --leaf: #6e9e6f;
  --cream: #f7f1e3;
  --honey: #e3a02f;
  /* پنل‌های پاستلی (هر بخش یک رنگ) */
  --p-sage: #e4eedd;
  --p-honey: #fbefd6;
  --p-teal: #dcf0ec;
  --p-lav: #ebe7f6;
  --p-rose: #f6e4ea;
  --p-sky: #e2edf7;
  --r: 28px;
  --shadow: 0 30px 60px -36px rgba(24, 38, 28, .35);
  --serif: 'Vazirmatn', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ic { width: 20px; height: 20px; flex: none; }
.serif { font-family: var(--serif); font-weight: 800; letter-spacing: 0; }
:focus-visible { outline: 3px solid rgba(78, 125, 85, .45); outline-offset: 3px; border-radius: 10px; }

/* ───── دکمه‌های قرصی ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--forest); color: var(--cream); }
.btn.dark:hover { background: #16301f; }
.btn.light { background: var(--cream); color: var(--ink); border-color: rgba(31, 58, 39, .12); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.btn.sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn.lg { min-height: 54px; padding: 12px 30px; font-size: 16.5px; }

/* ───── نوار بالا و سربرگ ───── */
.util { background: rgba(31, 58, 39, .06); font-size: 13px; color: var(--ink-2); }
.util .wrap { display: flex; justify-content: flex-end; gap: 22px; height: 34px; align-items: center; }
.util a { text-decoration: none; }
.util a:hover { color: var(--ink); }
.top { position: sticky; top: 0; z-index: 40; background: rgba(228, 238, 221, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: background .25s, box-shadow .25s; }
.top.solid { background: rgba(251, 250, 246, .9); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 21px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.top nav { display: flex; gap: 2px; margin-inline-start: 18px; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.top nav a:hover { color: var(--ink); background: rgba(31, 58, 39, .06); }
.top .grow { flex: 1; }

/* ───── قهرمان ───── */
.hero { position: relative; background: linear-gradient(180deg, var(--p-sage) 0%, #edf3e7 46%, var(--paper) 100%); padding: 56px 0 0; overflow: hidden; text-align: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hero .badge .ic { color: var(--brand); width: 22px; height: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.45; margin: 16px auto 0; max-width: 18ch; text-wrap: balance; }
.hero .sub { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.95; margin: 16px auto 0; max-width: 46ch; text-wrap: pretty; }
.hero .cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .note { color: var(--ink-3); font-size: 13.5px; margin-top: 14px; }

.fan { position: relative; height: 560px; margin-top: 44px; max-width: 1100px; margin-inline: auto; }
.phone {
  position: absolute; bottom: -70px; width: 236px; border-radius: 40px; padding: 8px; background: #111a14;
  box-shadow: 0 40px 70px -36px rgba(17, 26, 20, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone::before { content: ''; position: absolute; top: 13px; left: 50%; width: 54px; height: 15px; border-radius: 10px; background: #111a14; transform: translateX(-50%); z-index: 2; }
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 488 / 1055; object-fit: cover; object-position: top; background: #fff; }
.fan .p1 { left: calc(50% - 118px); width: 268px; bottom: -40px; z-index: 5; }
.fan .p2 { left: calc(50% - 360px); z-index: 4; }
.fan .p3 { left: calc(50% + 124px); z-index: 4; }
.fan .p4 { left: calc(50% - 580px); bottom: -120px; z-index: 3; opacity: .97; }
.fan .p5 { left: calc(50% + 344px); bottom: -120px; z-index: 3; opacity: .97; }

/* ───── نوار نشان‌ها (حرکت آرام؛ با کاهش حرکت می‌ایستد) ───── */
.strip { padding: 70px 0 30px; text-align: center; }
.strip h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); }
.marquee { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .row { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .row { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.chip .ic { color: var(--brand); }
@keyframes slide { to { transform: translateX(50%); } }

/* ───── سربرگ بخش‌ها ───── */
section.block { padding: 90px 0 0; }
.sec-h { max-width: 640px; }
.sec-h.center { margin: 0 auto; text-align: center; }
.sec-h h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.5; text-wrap: balance; }
.sec-h p { color: var(--ink-2); margin-top: 12px; font-size: 16.5px; }

/* ───── کاروسل کارت‌ها ───── */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; display: flex; flex-direction: column; }
.tile .pic { height: 320px; border-radius: var(--r); overflow: hidden; display: grid; justify-items: center; align-content: start; padding-top: 34px; }
.tile .pic .phone { position: relative; bottom: auto; width: 200px; }
.tile h3 { font-family: var(--serif); font-weight: 800; font-size: 24px; margin-top: 18px; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 6px; flex: 1; }
.tile .btn { margin-top: 14px; align-self: flex-start; }
.rail-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.rail-nav button:hover { background: var(--ink); color: var(--paper); }
.bg-sage { background: var(--p-sage); } .bg-honey { background: var(--p-honey); } .bg-teal { background: var(--p-teal); }
.bg-lav { background: var(--p-lav); } .bg-rose { background: var(--p-rose); } .bg-sky { background: var(--p-sky); }

/* ───── ردیف‌های داستانی (متن ↔ تصویر) ───── */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; padding-top: 110px; }
.story.flip .art { order: -1; }
.story h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.5; text-wrap: balance; }
.story p { color: var(--ink-2); font-size: 16.5px; margin-top: 16px; max-width: 46ch; }
.story .btn { margin-top: 24px; }
.story .art { border-radius: 32px; min-height: 480px; overflow: hidden; position: relative; display: grid; place-items: center; }
.story .art .phone { position: relative; bottom: auto; width: 250px; transform: translateY(70px); }
/* لپ‌تاپ + گوشی */
.laptop { position: relative; width: 86%; transform: translateY(30px); }
.laptop .screen { background: #111a14; border-radius: 18px 18px 0 0; padding: 10px 10px 0; }
.laptop .screen img { border-radius: 8px 8px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.laptop .base { height: 16px; background: linear-gradient(#d9dfd6, #b9c2b6); border-radius: 0 0 18px 18px; margin: 0 -5%; }
.laptop + .phone { position: absolute; width: 150px; bottom: -30px; left: 6%; transform: none; }

/* گفتگو (دستیار و ربات) */
.chat { width: min(380px, 88%); background: var(--card); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.chat .bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--forest); color: var(--cream); }
.chat .bar img { width: 34px; height: 34px; border-radius: 10px; }
.chat .bar b { display: block; font-size: 15px; line-height: 1.3; }
.chat .bar small { opacity: .8; font-size: 12px; }
.chat .body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f8f3; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.8; }
.msg.me { align-self: flex-start; background: var(--forest); color: var(--cream); border-end-start-radius: 6px; }
.msg.bot { align-self: flex-end; background: var(--card); border: 1px solid var(--line); border-end-end-radius: 6px; }
.msg .list { margin-top: 6px; display: grid; gap: 6px; }
.msg .list span { display: flex; justify-content: space-between; gap: 10px; background: #f6f8f3; border-radius: 10px; padding: 6px 10px; font-size: 13.5px; }
.msg .list em { font-style: normal; color: var(--ink-3); }
.msg .btns { display: flex; gap: 6px; margin-top: 8px; }
.msg .btns span { flex: 1; text-align: center; background: var(--p-sage); border-radius: 10px; padding: 4px 8px; font-size: 13px; font-weight: 700; color: var(--brand); }

/* ───── چرا روتینک (مثل کارت‌های نقل‌قول، ولی ادعاهای واقعی) ───── */
.values { background: linear-gradient(180deg, var(--paper), var(--p-sage) 18%, var(--p-sage) 82%, var(--paper)); padding: 110px 0; margin-top: 110px; }
.values .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
.vcard { background: var(--card); border-radius: 22px; padding: 24px; box-shadow: 0 16px 40px -30px rgba(24, 38, 28, .4); }
.vcard:nth-child(2) { margin-top: 40px; } .vcard:nth-child(4) { margin-top: 26px; }
.vcard .ic { width: 30px; height: 30px; color: var(--brand); }
.vcard h3 { font-family: var(--serif); font-weight: 800; font-size: 22px; margin-top: 14px; line-height: 1.5; }
.vcard p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }

/* ───── قیمت ───── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.pro { border: 1.5px solid var(--forest); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--forest); color: var(--cream); font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--serif); font-weight: 800; font-size: 25px; }
.plan .price { font-size: 30px; font-weight: 900; margin-top: 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price del { color: var(--ink-3); font-size: 17px; font-weight: 600; }
.plan .price small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.plan .off { align-self: flex-start; background: var(--p-honey); color: #8a5a0e; font-size: 12.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-top: 6px; }
.plan > p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ticks .ic { color: var(--brand); margin-top: 4px; width: 18px; height: 18px; }
.ticks li.off-li, .ticks li.off-li .ic { color: var(--ink-3); }
.note-c { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 18px; }

/* ───── پرسش‌ها ───── */
.faq { background: var(--card); border-radius: var(--r); padding: 8px 28px; margin-top: 36px; box-shadow: 0 16px 40px -34px rgba(24, 38, 28, .4); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; font-size: 15.5px; }
.faq a { color: var(--brand); }

/* ───── فراخوان پایانی ───── */
.final { text-align: center; padding: 120px 0 40px; }
.final h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.45; text-wrap: balance; }
.final p { color: var(--ink-2); max-width: 560px; margin: 14px auto 0; font-size: 16.5px; }
.final .btn { margin-top: 28px; }
.final small { display: block; color: var(--ink-3); margin-top: 12px; font-size: 13.5px; }

/* خلاصه‌ی انگلیسی (برای بررسی گوگل، زرین‌پال و اینماد) */
.en { max-width: 820px; margin: 60px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; text-align: left; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.en h3 { color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.en p + p { margin-top: 8px; }
.en a { color: var(--brand); }

/* ───── پانویس با گرادیان ───── */
footer.site { margin-top: 80px; background: linear-gradient(180deg, var(--paper) 0%, var(--p-sage) 45%, #cfe1c6 100%); padding: 80px 0 0; }
footer.site .lead { display: grid; gap: 14px; max-width: 520px; }
footer.site .lead img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 18px 36px -20px rgba(24, 38, 28, .6); }
footer.site .lead h2 { font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 1.5; }
footer.site .lead p { color: var(--ink-2); font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 26px; margin-top: 44px; }
footer.site h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
footer.site .cols a:not(.btn) { display: block; text-decoration: none; color: var(--ink-2); font-size: 14.5px; padding: 3px 0; }
footer.site .cols a:not(.btn):hover { color: var(--ink); }
footer.site .cols .btn { display: inline-flex; margin-bottom: 8px; }
footer.site .bottom { margin-top: 50px; border-top: 1px solid var(--line-2); }
footer.site .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--ink-2); }
footer.site .bottom a { text-decoration: none; margin-inline-start: 16px; }

/* ───── صفحه‌های متنی (حریم خصوصی، قوانین) ───── */
.doc { max-width: 780px; margin: 0 auto; padding: 50px 0 0; }
.doc h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.4; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.doc .meta a { color: var(--brand); }
.doc h2 { font-family: var(--serif); font-weight: 800; font-size: 24px; margin: 34px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; margin-top: 6px; }
.doc a { color: var(--brand); }
.doc .box { background: var(--p-sage); border-radius: 18px; padding: 16px 20px; margin-top: 20px; }
.doc code { background: var(--p-sage); border-radius: 6px; padding: 0 6px; font-size: 13px; }

/* ورود ملایم هنگام اسکرول (با کاهش حرکت خاموش) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee .row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ───── تبلت ───── */
@media (max-width: 1000px) {
  .top nav { display: none; }
  .fan { height: 470px; }
  .fan .p4, .fan .p5 { display: none; }
  .fan .p2 { left: calc(50% - 320px); } .fan .p3 { left: calc(50% + 90px); }
  .story { grid-template-columns: 1fr; gap: 34px; padding-top: 80px; }
  .story.flip .art { order: 0; }
  .story .art { min-height: 420px; }
  .values .grid { grid-template-columns: 1fr 1fr; }
  .vcard:nth-child(n) { margin-top: 0; }
  .plans { grid-template-columns: minmax(0, 460px); justify-content: center; }
  footer.site .cols { grid-template-columns: repeat(2, 1fr); }
}
/* ───── موبایل ───── */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .util { display: none; }
  .top .wrap { height: 64px; gap: 8px; }
  .top .login-txt { display: none; }
  .hero { padding-top: 38px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .fan { height: 430px; margin-top: 34px; }
  .fan .p1 { width: 220px; left: calc(50% - 110px); }
  .fan .p2 { width: 180px; left: calc(50% - 250px); bottom: -110px; }
  .fan .p3 { width: 180px; left: calc(50% + 70px); bottom: -110px; }
  .strip { padding-top: 56px; }
  section.block { padding-top: 70px; }
  .rail { grid-auto-columns: 82%; }
  .tile .pic { height: 280px; }
  .story .art { min-height: 380px; border-radius: 26px; }
  .story .art .phone { width: 210px; }
  .values { padding: 80px 0; margin-top: 80px; }
  .values .grid { grid-template-columns: 1fr; }
  .faq { padding: 4px 18px; }
  .final { padding-top: 90px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .bottom a { margin-inline-start: 0; margin-inline-end: 14px; }
}

/* ───── صفحه‌ی دریافت (download.html): وب و اندروید ───── */
.dl-hero { text-align: center; padding: 56px 0 8px; }
.dl-hero .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.dl-hero .badge .ic { color: var(--brand); }
.dl-hero h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.45; margin-top: 12px; text-wrap: balance; }
.dl-hero p { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18px); max-width: 44ch; margin: 10px auto 0; text-wrap: pretty; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; align-items: start; }
.dl-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.dl-card.fit { border: 2px solid var(--brand); }
.dl-fit { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 6; display: inline-flex; align-items: center; gap: 6px; background: var(--forest); color: var(--cream); font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.dl-fit .ic { width: 15px; height: 15px; }
.dl-fit[hidden] { display: none; }
.dl-art { position: relative; height: 320px; overflow: hidden; }
.dl-body { padding: 26px 28px 30px; }
.dl-body h2 { font-weight: 800; font-size: 28px; line-height: 1.5; margin-top: 12px; }
.dl-body > p { color: var(--ink-2); margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(31, 58, 39, .06); color: var(--ink-2); }
.pills .ic { width: 15px; height: 15px; }
.pills .soon { background: var(--p-honey); color: #8a5a07; }
.dl-go { margin-top: 20px; width: 100%; }

/* وب: پنجره‌ی مرورگر و آیفون */
.web-art { background: radial-gradient(90% 90% at 80% 0%, #f1ecfb 0%, transparent 60%), linear-gradient(160deg, var(--p-sky), var(--p-lav)); }
.win { position: absolute; top: 44px; right: 7%; width: 80%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 26px 50px -24px rgba(24, 38, 60, .45), 0 0 0 1px rgba(24, 38, 60, .08); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; background: #f1f3f6; direction: ltr; }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-bar .dots i:nth-child(2) { background: #febc2e; } .win-bar .dots i:nth-child(3) { background: #28c840; }
.win-bar .url { flex: 1; display: flex; align-items: center; gap: 5px; justify-content: center; height: 20px; border-radius: 6px; background: #fff; font-size: 11px; color: #5b6470; font-family: system-ui, sans-serif; }
.win-bar .url .ic { width: 11px; height: 11px; }
.win img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.iphone { position: absolute; left: 7%; bottom: -60px; width: 128px; padding: 6px; border-radius: 30px; background: #1b1c1f; box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .55); }
.iphone::before { content: ''; position: absolute; top: 11px; left: 50%; width: 40px; height: 12px; border-radius: 10px; background: #1b1c1f; transform: translateX(-50%); z-index: 2; }
.iphone img { border-radius: 25px; aspect-ratio: 488 / 1055; object-fit: cover; object-position: top; background: #fff; }

/* اندروید: گوشی با دوربین سوراخی، تراشه و دکمه‌ی شناور به سبک Material */
.android-art { background: radial-gradient(80% 90% at 10% 0%, #d6efe0 0%, transparent 60%), linear-gradient(160deg, var(--p-sage), var(--p-teal)); display: grid; justify-items: center; }
.droid { position: absolute; bottom: -90px; width: 200px; padding: 7px; border-radius: 34px; background: #20262b; box-shadow: 0 28px 50px -22px rgba(10, 30, 20, .55); }
.droid::before { content: ''; position: absolute; top: 15px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: #0c0f11; transform: translateX(-50%); z-index: 2; box-shadow: 0 0 0 2px #20262b; }
.droid img { border-radius: 28px; aspect-ratio: 488 / 1055; object-fit: cover; object-position: top; background: #fff; }
.m3-chip { position: absolute; top: 70px; left: 6%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: #1f3a27; color: var(--cream); font-size: 13.5px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(10, 30, 20, .6); z-index: 3; }
.m3-chip .ic { width: 16px; height: 16px; color: #f2b445; }
.m3-fab { position: absolute; bottom: 30px; right: 12%; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #c8e6c9; color: #1f3a27; box-shadow: 0 12px 24px -10px rgba(10, 30, 20, .5); z-index: 3; }
.stores { display: grid; gap: 10px; margin-top: 20px; }
.store { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 18px; border-radius: 18px; background: #111a14; color: #fff; text-decoration: none; transition: transform .2s, background .2s; }
.store:hover { transform: translateY(-1px); background: #1f3a27; }
.store .ic { width: 26px; height: 26px; }
.store span { display: grid; line-height: 1.4; }
.store small { font-size: 12px; opacity: .75; }
.store b { font-size: 16px; font-weight: 800; }
.store em { margin-inline-start: auto; font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.store.off { background: #eef1ec; color: var(--ink-3); cursor: not-allowed; }
.store.off:hover { transform: none; background: #eef1ec; }
.store.off em { background: var(--p-honey); color: #8a5a07; }
.dl-alt { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-weight: 700; font-size: 15px; text-decoration: none; }
.dl-alt:hover { text-decoration: underline; text-underline-offset: 5px; }
.dl-alt .ic { width: 17px; height: 17px; }
.dl-how { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.dl-how summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; min-height: 44px; }
.dl-how summary::-webkit-details-marker { display: none; }
.dl-how[open] summary .ic { transform: rotate(180deg); }
.dl-how .how { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.dl-how b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.dl-how b .ic { width: 17px; height: 17px; color: var(--brand); }
.dl-how ol { list-style-type: persian; padding-inline-start: 20px; margin-top: 6px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
.apk-hint { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.apk-hint[hidden] { display: none; }
.dl-help { text-align: center; color: var(--ink-2); margin: 40px 0 90px; }
.dl-help a { color: var(--brand); }
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .dl-grid.android-first #android { order: -1; }
}
@media (max-width: 600px) {
  .dl-hero { padding-top: 36px; }
  .dl-art { height: 260px; }
  .dl-body { padding: 22px 20px 24px; }
  .dl-how .how { grid-template-columns: 1fr; }
  .iphone { width: 104px; }
  .droid { width: 170px; }
}
@media (prefers-reduced-motion: reduce) { .dl-card, .store { transition: none; } }

/* آب‌وهوا (نمونه‌ی ساده‌ی صفحه‌ی امروز) */
.wx-mock { width: min(320px, 90%); margin: auto; padding: 20px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -30px rgba(40, 70, 110, .35); }
.wx-mock .wx-now { display: flex; align-items: center; gap: 14px; }
.wx-mock .wx-sun { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc83d 55%, #f59e0b); box-shadow: 0 0 0 10px rgba(255, 211, 77, .25), 0 10px 22px -8px rgba(245, 158, 11, .8); }
.wx-mock b { font-size: 34px; font-weight: 800; display: block; line-height: 1.1; }
.wx-mock .wx-now span { color: #6b7a87; font-size: 14px; }
.wx-mock p { margin: 14px 0; font-weight: 700; }
.wx-mock .wx-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wx-mock .wx-days span { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: #f3f7fb; font-size: 12px; color: #6b7a87; }
.wx-mock .wx-days b { font-size: 15px; color: #1b2a1f; }

/* لندینگ‌های امکانات (features، daily-planner، personal-finance، calorie-counter) و وبلاگ */
.land-hero { padding: 120px 0 30px; display: grid; gap: 24px; }
.land-hero .wrap { max-width: 860px; }
.land-hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.5; text-wrap: balance; margin-top: 10px; }
.land-hero .sub { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.95; margin-top: 14px; max-width: 60ch; }
.land-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.land-shot { display: flex; justify-content: center; }
.land-shot .phone { width: 250px; }
.crumbs { font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.land-body { max-width: 860px; display: grid; gap: 18px; padding-bottom: 40px; }
.land-sec { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px; border-radius: 24px; background: var(--card, #fff); border: 1px solid var(--line, rgba(0,0,0,.06)); }
.land-sec > .ic { width: 28px; height: 28px; color: var(--brand); margin-top: 6px; }
.land-sec h2 { font-size: 21px; font-weight: 800; line-height: 1.6; }
.land-sec p { color: var(--ink-2); line-height: 2; margin-top: 8px; }
.land-sec .ticks { margin: 12px 0 0; }
.land-faq { margin-top: 10px; }
.land-faq h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.land-final { border-radius: 28px; padding: 36px 20px; text-align: center; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.feat { display: grid; gap: 6px; padding: 16px; border-radius: 18px; border: 1px solid var(--line, rgba(0,0,0,.06)); background: var(--bg, #fff); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.feat:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(40, 70, 50, .45); }
.feat .ic { width: 24px; height: 24px; color: var(--brand); }
.feat b { font-size: 15.5px; }
.feat span { color: var(--ink-2); font-size: 13.5px; line-height: 1.9; }
@media (max-width: 640px) { .land-sec { grid-template-columns: 1fr; } .land-hero { padding-top: 96px; } }

/* وبلاگ */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.blog-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.blog-cats a.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.post-card { display: grid; gap: 8px; align-content: start; padding: 12px 12px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img, .post-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: linear-gradient(135deg, var(--p-sage), var(--p-honey)); display: block; }
.post-card b { font-size: 17px; line-height: 1.7; }
.post-meta { font-size: 12.5px; color: var(--ink-3); }
.post-cat { color: var(--brand); font-weight: 700; }
.post-ex { color: var(--ink-2); font-size: 14px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.empty-blog { text-align: center; color: var(--ink-2); padding: 40px 0; }
.post .land-hero { padding-bottom: 10px; }
.post-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 24px; }
.post-body { max-width: 760px; font-size: 17px; line-height: 2.15; color: var(--ink); padding-bottom: 50px; }
.post-body h2 { font-size: 25px; font-weight: 800; margin: 34px 0 10px; line-height: 1.6; }
.post-body h3 { font-size: 20px; font-weight: 800; margin: 26px 0 8px; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { padding-inline-start: 22px; margin: 0 0 16px; }
.post-body li { margin: 4px 0; }
.post-body a { color: var(--brand); }
.post-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 10px 0; }
.post-body blockquote { margin: 18px 0; padding: 12px 18px; border-inline-start: 4px solid var(--brand); background: var(--p-sage); border-radius: 12px; }
.post-body pre { direction: ltr; text-align: left; background: #1b2a1f; color: #e8f0e6; padding: 14px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line-2); padding: 8px 10px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.post-tags span { font-size: 13px; color: var(--ink-2); background: var(--p-sage); padding: 4px 10px; border-radius: 999px; }
.post-cta { margin: 34px 0; padding: 24px; border-radius: 24px; background: var(--p-honey); text-align: center; }
.post-cta b { font-size: 20px; }
.post-cta p { margin: 8px 0 14px; color: var(--ink-2); }

/* اسناد حقوقی: فهرست و جدول‌ها */
.doc .toc { margin-top: 22px; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line, rgba(0,0,0,.08)); }
.doc .toc ol { margin: 8px 0 0; padding-inline-start: 22px; display: block; columns: 2; column-gap: 28px; }
.doc .toc li { margin: 3px 0; break-inside: avoid; }
.doc .toc ol { list-style-type: persian; }
[lang="en"] .doc .toc ol, .doc [lang="en"] ol { list-style-type: decimal; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } }
.doc .tbl { overflow-x: auto; margin-top: 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); color: var(--ink-2); }
.doc th { font-weight: 800; color: var(--ink, inherit); background: var(--p-sage); }
.doc h2[id], .doc h3[id] { scroll-margin-top: 90px; }
