/* صفحه‌های ایستای قدم (معرفی، حریم خصوصی، قوانین): همان توکن‌های اپ، بی‌نیاز به React */
@font-face { font-family: 'Vazirmatn'; font-weight: 400; font-display: swap; src: url('/fonts/vazirmatn-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 600; font-display: swap; src: url('/fonts/vazirmatn-arabic-600-normal.woff2') format('woff2'); }
:root {
  --bg: #fbf8f3; --surface: #ffffff; --surface-2: #f3eee6; --text: #2b2a28; --text-soft: #6f6a62; --text-faint: #9a948a;
  --accent: #3f8f6b; --accent-strong: #33785a; --accent-soft: #e3f1ea; --on-accent: #ffffff; --warm: #e8925a; --warm-soft: #fbeadd;
  --line: #e8e2d8; --radius: 20px; --shadow: 0 2px 12px rgb(43 42 40 / 0.06); --shadow-lift: 0 10px 40px rgb(43 42 40 / 0.10);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #1b1a18; --surface: #252421; --surface-2: #2e2c29; --text: #f1ede6; --text-soft: #b3ada3; --text-faint: #8a847b;
  --accent: #6cc49b; --accent-strong: #84d2ad; --accent-soft: #23382e; --on-accent: #10251b; --warm: #f0a878; --warm-soft: #3a2a1f;
  --line: #3a3733; --shadow: none; --shadow-lift: 0 10px 40px rgb(0 0 0 / 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.9; font-size: 16px;
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background 150ms, transform 150ms;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ── معرفی ── */
.hero { display: grid; gap: 32px; align-items: center; padding: 24px 0 48px; }
.hero-text { display: grid; gap: 16px; justify-items: start; }
.hero h1 { margin: 0; font-size: clamp(30px, 7vw, 46px); line-height: 1.4; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin: 0; color: var(--text-soft); font-size: 18px; max-width: 30em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero .free { font-size: 14px; color: var(--text-faint); }
.phone {
  justify-self: center; width: min(280px, 78vw); border-radius: 36px; padding: 8px; background: var(--surface);
  box-shadow: var(--shadow-lift); border: 1px solid var(--line);
}
.phone img { border-radius: 28px; aspect-ratio: 750 / 1624; object-fit: cover; }

.section { padding: 48px 0; }
.section h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; text-align: center; }
.section .sub { margin: 0 auto 32px; color: var(--text-soft); text-align: center; max-width: 30em; }

.features { display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.feature img { border-radius: 14px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.feature h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.feature p { margin: 0; color: var(--text-soft); font-size: 15px; }

.promises { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.promises li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; }
.promises .dot { flex: none; width: 10px; height: 10px; margin-top: 0.7em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.promises b { font-weight: 600; }

.end { text-align: center; padding: 56px 0 64px; display: grid; justify-items: center; gap: 14px; }
.end img { width: 88px; height: 88px; border-radius: 24px; box-shadow: var(--shadow-lift); }
.end h2 { margin: 8px 0 0; font-size: 26px; font-weight: 600; }
.end p { margin: 0; color: var(--text-soft); }

.foot { border-top: 1px solid var(--line); padding: 20px 0 calc(24px + env(safe-area-inset-bottom)); color: var(--text-faint); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--text-soft); text-decoration: none; }
.foot a:hover { color: var(--accent-strong); }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding: 48px 0 72px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; padding: 16px; }
  .feature img { aspect-ratio: 4 / 5; }
}

/* ── متن‌های حقوقی ── */
.doc { padding: 16px 0 48px; }
.doc h1 { font-size: 28px; font-weight: 600; margin: 8px 0 4px; }
.doc .date { color: var(--text-faint); font-size: 14px; margin: 0 0 24px; }
.doc .lead { font-size: 17px; color: var(--text-soft); background: var(--accent-soft); color: var(--text); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; }
.doc h2 { font-size: 19px; font-weight: 600; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text-soft); }
.doc ul { padding-inline-start: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc b { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
