@davoodmehraban89 / LifeMate / commits / 60919f7
Fork 0

LifeMate — Personal, Family & Learning Companion

feat: prepare LifeGuide public review site and Pages publication

Quinn White committed Oct 15, 2026 at 06:51 UTC 60919f79e3315b7d0007e945f3654103ac84c3b0
23 files changed +1374 -118
.github/workflows/publish-static.yml
+49 -55
@@ -1,68 +1,62 @@
1 -name: Publish static PWA and APK
1 +name: Publish LifeGuide public review website
2
3 on:
4 push:
5 - branches: [main]
5 + branches: [main, feat/public-review-page]
6 + paths:
7 + - 'site/review/**'
8 + - 'scripts/check-review-site.py'
9 + - '.github/workflows/publish-static.yml'
10 workflow_dispatch:
11
12 permissions:
9 - contents: write
13 + contents: read
14 +
15 +concurrency:
16 + group: lifeguide-public-pages
17 + cancel-in-progress: false
18
19 jobs:
12 - publish:
20 + build:
21 runs-on: ubuntu-latest
14 - defaults:
15 - run:
16 - working-directory: apps/lifemate
22 + permissions:
23 + contents: read
24 + pages: read
25 steps:
26 - uses: actions/checkout@v4
19 -
20 - - uses: subosito/flutter-action@v2
21 - with:
22 - channel: stable
23 - cache: true
24 -
25 - - run: flutter pub get
26 -
27 - - name: Build PWA against staging API
28 - run: >
29 - flutter build web --release
30 - --dart-define=LIFEMATE_API_URL=https://lifemate-api-fn-staging.up.railway.app
31 -
32 - - name: Build Android APK against staging API
33 - run: >
34 - flutter build apk --release
35 - --dart-define=LIFEMATE_API_URL=https://lifemate-api-fn-staging.up.railway.app
36 -
37 - - name: Publish stable APK release
38 - env:
39 - GH_TOKEN: ${{ github.token }}
40 - run: |
41 - TAG=feature1-test
42 - git tag -f "$TAG" "$GITHUB_SHA"
43 - git push origin "refs/tags/$TAG" --force
44 - gh release view "$TAG" >/dev/null 2>&1 || \
45 - gh release create "$TAG" \
46 - --title "LifeMate Feature 1 Test" \
47 - --notes "Latest installable Android test build connected to the LifeMate staging API." \
48 - --prerelease \
49 - --target "$GITHUB_SHA"
50 - gh release upload "$TAG" \
51 - build/app/outputs/flutter-apk/app-release.apk#LifeMate.apk \
52 - --clobber
53 -
54 - - name: Prepare static release directory
27 + - name: Validate public content and local assets
28 + run: python3 scripts/check-review-site.py
29 + - name: Configure existing GitHub Pages site
30 + uses: actions/configure-pages@v5
31 + - name: Record exact published source
32 run: |
56 - rm -rf ../../public-release
57 - mkdir -p ../../public-release
58 - cp -R build/web/. ../../public-release/
59 - touch ../../public-release/.nojekyll
60 -
61 - - name: Publish immutable static branch
62 - uses: peaceiris/actions-gh-pages@v4
33 + python3 - <<'PY'
34 + import json, os
35 + from pathlib import Path
36 + Path('site/review/build-info.json').write_text(json.dumps({
37 + 'product': 'LifeGuide',
38 + 'purpose': 'public-product-review',
39 + 'commit': os.environ['GITHUB_SHA'],
40 + 'run': os.environ['GITHUB_RUN_ID'],
41 + 'liveLogin': False,
42 + }, indent=2) + '\n')
43 + PY
44 + - name: Upload review website only
45 + uses: actions/upload-pages-artifact@v3
46 with:
64 - github_token: ${{ secrets.GITHUB_TOKEN }}
65 - publish_branch: deployment-static
66 - publish_dir: ./public-release
67 - force_orphan: true
68 - commit_message: "publish: LifeMate PWA and APK ${{ github.sha }}"
47 + path: site/review
48 + deploy:
49 + # Keep the existing main-only deployment policy; feature pushes validate only.
50 + if: github.ref == 'refs/heads/main'
51 + needs: build
52 + runs-on: ubuntu-latest
53 + permissions:
54 + pages: write
55 + id-token: write
56 + environment:
57 + name: github-pages
58 + url: ${{ steps.deployment.outputs.page_url }}
59 + steps:
60 + - name: Deploy owner-requested public product review
61 + id: deployment
62 + uses: actions/deploy-pages@v4
PROJECT_STATE.md
+17 -63
@@ -1,63 +1,17 @@
1 -# LifeMate — Project State
2 -
3 -**Last updated:** 2026-10-05
4 -**Phase:** Phase 5 — Hardening, Observability & Release — COMPLETE
5 -**Repository:** `davoodmehraban89/LifeMate`
6 -**Working product name:** LifeMate — approved
7 -
8 -## Transfer checkpoint
9 -Phases 1–5 engineering core are complete. LifeMate now has the foundation/identity, planner-school-family core, advisory learning/wellbeing guides, and the operational hardening/release-readiness layer required for a controlled beta. Public production release and minor-sensitive external AI/voice exposure remain intentionally gated and require separate explicit approval.
10 -
11 -## Five-phase roadmap
12 -1. **Foundation, Product Contract & UX Direction** — COMPLETE
13 -2. **Product Foundation & Identity** — COMPLETE
14 -3. **Planner, School & Family Core** — COMPLETE
15 -4. **AI Guides, Learning & Wellbeing** — COMPLETE
16 -5. **Hardening, Observability & Release** — COMPLETE
17 -
18 -## Accepted architecture baseline
19 -- Flutter Android + responsive Web/PWA; future packaged/native iOS path preserved.
20 -- Provider-neutral Node API + PostgreSQL; Railway remains staging host.
21 -- LifeMate-owned identity/session adapter; server-side relationship-aware authorization.
22 -- Offline client support does not replace server authority.
23 -- AI guides are advisory and plan proposals require explicit acceptance.
24 -- Wellbeing/AI transcripts remain owner-private; family membership does not grant transcript access.
25 -
26 -## Phase 4 completed vertical slice
27 -Learning goal → learning check-in → wellbeing check-in → AI guide session → safety classification → advisory response → explicit plan proposal → accept/reject decision. No guide response silently mutates planner state.
28 -
29 -### Verified Phase 4 gates
30 -- Migration `0004_ai_learning_wellbeing.sql` defines seven Phase 4 tables, including the separate `wellbeing_safety_event` ledger, and owner-oriented indexes.
31 -- Phase 4 API implements learning goals/check-ins, private/guardian-summary wellbeing check-ins, AI sessions/messages, explicit proposal decisions, guardian wellbeing summaries and privacy-preserving family guidance.
32 -- High-risk self-harm language follows a fixed urgent-support path and writes a separate safety signal; ordinary family membership never grants raw wellbeing notes or AI transcripts.
33 -- Study/planner/wellbeing guidance is advisory, non-diagnostic and never silently mutates planner data.
34 -- Flutter includes interactive guide chat, learning goals/check-ins, wellbeing check-ins, guardian summary and parent family-guidance flows.
35 -- ADR `docs/decisions/0004-ai-learning-wellbeing-safety.md` records privacy, provider, voice and production safety gates.
36 -
37 -## Phase 5 completed scope
38 -- Production-entrypoint request correlation, security headers, privacy-safe structured request/error telemetry and bounded request bodies.
39 -- Configurable general/auth/AI fixed-window rate limits with HTTP 429 and `Retry-After`.
40 -- Separate `/live` and database-backed `/ready` operational probes while retaining `/health` compatibility.
41 -- PostgreSQL-native backup/restore scripts plus an automated CI data round-trip restore drill.
42 -- Release regression gates for backend tests/syntax/audit/schema, secret scanning, Flutter format/analyze/tests, Web release build, Android build and PWA install/RTL metadata.
43 -- Deployment, rollback, backup/restore, incident-response and production-readiness runbooks plus changelog/version discipline.
44 -- Railway staging API function hardened with request IDs, security headers, rate limiting, `/live`, `/ready` and privacy-safe error handling; staging tracing and auto-instrumentation enabled.
45 -
46 -### Verified Phase 5 gates
47 -- Red-first operations contract was observed failing before the hardening implementation; subsequent backend contract/integration tests passed.
48 -- GitHub Actions run 165 at branch commit `125c44f55827dc5ed26d81fe821969348db4598e` completed successfully: security, backend and Flutter jobs all green.
49 -- Backend run 165 passed migrations, authorization tests, dependency audit, 11 Node tests, syntax checks, 28-table schema verification and the backup/restore data round-trip drill.
50 -- Flutter run 165 passed formatting, analysis, widget/tests, PWA release metadata checks, Web release build and Android debug build.
51 -- Railway staging deployment `0cd21bed-5cba-494b-afef-7f45312f2fdf` is SUCCESS/online with no reported warnings or critical issues after Phase 5 hardening.
52 -- Railway staging source inspection confirms the operational middleware and `/live` + `/ready` routes are deployed; external AI/voice remain unenabled and Phase 4 AI continues in local-fallback mode.
53 -
54 -## Production-gate items intentionally deferred
55 -Jurisdiction-specific legal/guardian consent review; final safety severity taxonomy; emergency resource localization; external AI provider privacy/retention review; wellbeing retention/export/deletion policy; voice-provider privacy review; production push-provider configuration; final device beta acceptance. These are release gates, not missing Phase 5 engineering-core work.
56 -
57 -## Release status
58 -Engineering phases 1–5: COMPLETE.
59 -Controlled family beta: READY FOR OWNER-APPROVED DEVICE TESTING.
60 -Public production deployment/release: NOT PERFORMED.
61 -
62 -## Guardrail
63 -AI/wellbeing production exposure stays disabled until dedicated safety/legal/provider gates pass. Production deploys, destructive migrations, public release and sensitive access changes require explicit action-specific approval.
1 +# LifeGuide / لایف‌گاید — وضعیت انتشار صفحه معرفی
2 +
3 +Updated: 2026-10-15. مخزن `davoodmehraban89/LifeMate` حفظ می‌شود. این شاخه `feat/public-review-page` بر مبنای main در `abdc9d9d032bc6746c8390b902a2e52d82991530` است؛ تغییرات Backend و Flutter از PRهای دیگر وارد این انتشار نمی‌شوند.
4 +
5 +## هدف جاری
6 +
7 +مالک صفحه عمومی قابل مشاهده برای بررسی الگوی ورود پیامکی کاوه‌نگار `lifeguideotp` در `https://app.lifeguide.ir/` خواسته است. انتشار صفحه معرفی درخواستی مجاز است؛ دستور قبلی مالک درباره عدم merge نهایی بدون تأیید صریح حفظ می‌شود. محیط `github-pages` فعلی فقط `main` را مجاز می‌کند؛ policy گسترش داده نمی‌شود. ابتدا محتوا و workflow آزموده، PR باز و سپس تأیید نهایی همان PR درخواست می‌شود.
8 +
9 +صفحه `site/review` فارسی RTL، معرفی محصول/هدف، حریم خصوصی، شرایط و مسیر پشتیبانی دارد. ورود پیامکی در انتظار فعال‌سازی است؛ این سایت شماره/فرم/داده خصوصی یا سرویس AI جمع‌آوری نمی‌کند. GitHub Pages میزبانی HTML و Actions انتشار را انجام می‌دهند؛ Backend/PostgreSQL و OTP واقعی باید جدا عملیاتی شوند. صفحه معرفی، نسخه کامل آنلاین اپلیکیشن نیست.
10 +
11 +## مانع فعلی دامنه
12 +
13 +[ممیزی خواندنی۱۵اکتبر](docs/audits/2026-10-15-pages-dns.md): DNS عمومی app، دو IP آروان را برمی‌گرداند و CNAME عمومی ندارد؛ Pages روی دامنه درست تنظیم است ولی گواهی ندارد. HTTP200 فعلی صرفاً loader قدیمی LifeMate است و معرفی قابل بررسی ندارد. تنظیم مورد نیاز: `CNAME app → davoodmehraban89.github.io` با proxy/CDN خاموش (DNS-only). رکورد فعلی ممکن است CNAME پروکسی‌شده باشد؛ باید مقصد بررسی و proxy خاموش شود. NS، دامنه اصلی، ایمیل و TXT دست نمی‌خورند. دسترسی متصل به پنل آروان در اختیار تیم نیست.
14 +
15 +[راهنمای انتشار و DNS](docs/operations/PUBLIC_REVIEW_PAGE.md). تمام آزمون/CI/deploy این شاخه تا ثبت خروجی در گزارش تحویل UNVERIFIED است؛ وضعیت تأیید کاوه‌نگار و دسترسی ایران نیز UNVERIFIED می‌ماند. هیچ پیام/تیکتی برای کاوه‌نگار ارسال نشده است.
16 +
17 +[checkpoint قدیمی۵اکتبر](docs/history/2026-10-05-project-state.md) تاریخی است؛ عنوان‌های COMPLETE/READY آن گواه آماده‌بودن عمومی امروز نیستند. توسعه آنلاین خانواده و آموزش در شاخه‌های مستقل ادامه دارد؛ PRهای آن‌ها ادغام نشده‌اند. Feature1، مدل پروفایل/خانواده و schema/JWT فعلی در این بسته تغییر نمی‌کنند. AI/voice خارجی و داده حساس کودک وارد این وب‌سایت نمی‌شوند.
README.md
+6
@@ -1,3 +1,9 @@
1 +# LifeGuide / لایف‌گاید — صفحه عمومی بررسی
2 +
3 +[راهنمای انتشار صفحه، DNS و کاوه‌نگار](docs/operations/PUBLIC_REVIEW_PAGE.md). منبع سایت `site/review` است. وضعیت انتشار و محدودیت‌ها در [PROJECT_STATE](PROJECT_STATE.md) ثبت می‌شوند. این صفحه معرفی، ورود پیامکی یا Backend را فعال معرفی نمی‌کند.
4 +
5 +## مستند تاریخی مخزن
6 +
7 # LifeMate
8
9 **Personal, Family & Learning Companion**
docs/audits/2026-10-15-pages-dns.md new
+38
@@ -0,0 +1,38 @@
1 +# LifeGuide Pages and DNS audit — 2026-10-15
2 +
3 +Read-only audit at 06:41–06:43 UTC. No DNS, Pages configuration, application, server, or provider-contact changes were performed.
4 +
5 +## Evidence
6 +
7 +- Google DNS and Cloudflare DoH independently return `app.lifeguide.ir A 185.143.233.132` and `185.143.234.132` (TTL 180). Neither returns a public CNAME or AAAA record for `app`.
8 +- `lifeguide.ir` nameservers: `d.ns.arvancdn.ir` and `s.ns.arvancdn.ir`. Apex A and TXT returned no answers in this audit; no apex change is needed for the requested app subdomain.
9 +- `davoodmehraban89.github.io` resolves to `185.199.108.153`, `185.199.109.153`, `185.199.110.153`, `185.199.111.153`. These match the current official GitHub Pages documentation.
10 +- `https://app.lifeguide.ir/` returns HTTP 200, title `LifeMate`, HTML content type. Initial response is a Flutter bootstrap shell (`flutter_bootstrap.js`); the only body text is a LifeMate enable-JavaScript noscript message. It contains no LifeGuide name or public service introduction.
11 +- `http://app.lifeguide.ir/` redirects to HTTPS. `https://davoodmehraban89.github.io/LifeMate/` redirects to `https://app.lifeguide.ir/` and returns that same shell.
12 +- GitHub Pages metadata: `build_type=workflow`, `cname=app.lifeguide.ir`, public=true, `https_enforced=false`, `https_certificate=null`. `/pages/health` was denied with HTTP 403, `Resource not accessible by integration`; fresh internal health detail remains unverified.
13 +
14 +## Assessment and exact manual DNS step
15 +
16 +The public subdomain exposes non-Pages A records, consistent with the reported `InvalidARecordError`. Arvan nameservers and edge-style A records suggest an enabled CDN proxy, but the actual dashboard record and origin have not been inspected.
17 +
18 +In the Arvan DNS zone `lifeguide.ir`, set or edit only the `app` record:
19 +
20 +| Field | Value |
21 +| --- | --- |
22 +| Type | CNAME |
23 +| Name | app |
24 +| Target | davoodmehraban89.github.io |
25 +| Proxy/CDN/cloud toggle | Off / DNS-only |
26 +| TTL | 300 seconds or provider default |
27 +
28 +Do not include `https://`, `/LifeMate`, or a trailing path in the target. If app currently has a proxied CNAME, edit it and disable proxy; if it has manual A/AAAA records, replace only those app records with the CNAME. Do not alter apex/root, nameservers, mail, TXT, or other subdomains.
29 +
30 +After propagation, recheck public DNS and GitHub Pages Settings. Wait for the Pages certificate, then enable Enforce HTTPS. Publish the public LifeGuide introduction as initial HTML so a reviewer can read it without application startup, sign-in or OTP. The existing 200 response alone does not establish this reviewability.
31 +
32 +## Limits
33 +
34 +No finding establishes an Iran outage, Kavenegar reachability, template approval, or direct origin TLS certificate status. HTTP results were collected through the configured managed network proxy with TLS verification enabled. Provider-side DNS dashboard configuration and GitHub internal DNS health are unverified.
35 +
36 +Official source: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site
37 +
38 +Machine-readable evidence: `/tmp/pages-dns-audit-2026-10-15.json`.
docs/audits/2026-10-15-public-review-verification.md new
+21
@@ -0,0 +1,21 @@
1 +# شواهد صفحه عمومی LifeGuide —۱۵اکتبر۲۰۲۶
2 +
3 +دامنه این بسته، صفحه معرفی عمومی مورد درخواست مالک برای بررسی کاوه‌نگار است. صفحه در `site/review` و Workflow در `.github/workflows/publish-static.yml` قرار دارند. کد Flutter، Backend، دیتابیس یا تنظیمات سرویس پیامک در این شاخه تغییر نکرده‌اند.
4 +
5 +## اجراهای واقعی محلی
6 +
7 +- `python3 scripts/check-review-site.py`: PASS؛ چهار HTML فارسی RTL، نام LifeGuide، لینک‌ها/دارایی‌های محلی، CNAME صحیح، عدم فرم/اسکریپت/API و مرز artifact عمومی بررسی شدند. checker لینک واقعی مخزن LifeMate و مسیر `./` به index را از خطای کاذب مستثنی می‌کند؛ نام محصول روی صفحه LifeGuide است.
8 +- مرورگر واقعی Chromium با Playwright روی HTTP محلی: **۱۲/۱۲**، چهار صفحه در عرض‌های۳۲۰/۳۹۰/۱۲۸۰. فونت محلی واقعاً بارگیری شد، overflow افقی نداشت، دکمه OTP غیرفعال بود، لینک حریم خصوصی باز شد، ورودی/فرم/اسکریپت/iframe/کوکی/localStorage/sessionStorage وجود نداشت. **۷۵ درخواست محلی، صفر درخواست خارجی، صفر خطای کنسول/شبکه**. [receipt](evidence/pages-browser-2026-10-15.json). این اجرا HTTPS عمومی، Safari واقعی یا اتصال Backend را آزموده معرفی نمی‌کند.
9 +- YAML با PyYAML parse شد و شرط main-only، permissions جداگانه و مرز `site/review` بررسی شد. `git diff --check` موفق بود. بازبینی مستقل، مانع اجرایی در محتوا/Workflow پیدا نکرد؛ بازبینی به معنی اجرای deploy نیست.
10 +
11 +[تصویر موبایل۳۹۰](evidence/pages-browser-2026-10-15-390.png)، [موبایل۳۲۰](evidence/pages-browser-2026-10-15-320.png)، [دسکتاپ۱۲۸۰](evidence/pages-browser-2026-10-15-1280.png). مسئول هماهنگی تصویر موبایل را مشاهده کرد.
12 +
13 +## واقعیت GitHub/DNS پیش از انتشار
14 +
15 +CLI رسمی GitHub با حساب مجاز موجود، Pages را `build_type:workflow`، `cname:app.lifeguide.ir`، `https_enforced:false` و `https_certificate:null` گزارش کرد. محیط github-pages فقط شاخه main را در policy دارد؛ این policy تغییر نکرده است. [ممیزی DNS/HTTP تازه](2026-10-15-pages-dns.md) و [JSON](evidence/pages-dns-before-2026-10-15.json) نشان می‌دهند صفحه HTTP200 فعلی loader قدیمی LifeMate است و DNS عمومی به proxy آروان پاسخ می‌دهد. این‌ها، نصب یا درست‌بودن API جدید را ثابت نمی‌کنند.
16 +
17 +## در انتظار / UNVERIFIED
18 +
19 +CI همین commit و deploy عمومی تا ثبت run واقعی، **UNVERIFIED** هستند. push feature فقط build/upload می‌کند؛ deploy فقط پس از تأیید مالک برای ادغام PR این صفحه در main انجام می‌شود. این توقف از دستور مستقیم قبلی مالک «final merge ... forbidden without my explicit approval» و policy واقعی محیط می‌آید؛ مجوز انتشار صفحه دریافت شده، ولی محدودیت merge دور زده نشده است.
20 +
21 +تغییر DNS نیازمند پنل آروان مالک است. [راهنمای دقیق CNAME و ترتیب HTTPS](../operations/PUBLIC_REVIEW_PAGE.md). دسترسی از ایران، گواهی عمومی پس از DNS، Safari/Android واقعی، ورود/ارسال SMS و تأیید نهایی کاوه‌نگار **UNVERIFIED** هستند. هیچ تیکت، پیامک یا پیام خارجی ارسال نشده و هیچ کلید/API یا داده خصوصی در سایت قرار نگرفته است.
docs/audits/evidence/pages-browser-2026-10-15-1280.png
Binary files /dev/null and b/docs/audits/evidence/pages-browser-2026-10-15-1280.png differ
docs/audits/evidence/pages-browser-2026-10-15-320.png
Binary files /dev/null and b/docs/audits/evidence/pages-browser-2026-10-15-320.png differ
docs/audits/evidence/pages-browser-2026-10-15-390.png
Binary files /dev/null and b/docs/audits/evidence/pages-browser-2026-10-15-390.png differ
docs/audits/evidence/pages-browser-2026-10-15.json new
+107
@@ -0,0 +1,107 @@
1 +{
2 + "date": "2026-10-15T06:48:32.608Z",
3 + "status": "PASS",
4 + "scope": "Real local HTTP static browser checks; public HTTPS/deploy/Iran/Safari/OTP are UNVERIFIED",
5 + "checks": [
6 + {
7 + "width": 320,
8 + "page": "index.html",
9 + "status": "PASS",
10 + "localPersianFont": true,
11 + "noOverflow": true,
12 + "noCollectionOrScripts": true
13 + },
14 + {
15 + "width": 320,
16 + "page": "privacy.html",
17 + "status": "PASS",
18 + "localPersianFont": true,
19 + "noOverflow": true,
20 + "noCollectionOrScripts": true
21 + },
22 + {
23 + "width": 320,
24 + "page": "terms.html",
25 + "status": "PASS",
26 + "localPersianFont": true,
27 + "noOverflow": true,
28 + "noCollectionOrScripts": true
29 + },
30 + {
31 + "width": 320,
32 + "page": "support.html",
33 + "status": "PASS",
34 + "localPersianFont": true,
35 + "noOverflow": true,
36 + "noCollectionOrScripts": true
37 + },
38 + {
39 + "width": 390,
40 + "page": "index.html",
41 + "status": "PASS",
42 + "localPersianFont": true,
43 + "noOverflow": true,
44 + "noCollectionOrScripts": true
45 + },
46 + {
47 + "width": 390,
48 + "page": "privacy.html",
49 + "status": "PASS",
50 + "localPersianFont": true,
51 + "noOverflow": true,
52 + "noCollectionOrScripts": true
53 + },
54 + {
55 + "width": 390,
56 + "page": "terms.html",
57 + "status": "PASS",
58 + "localPersianFont": true,
59 + "noOverflow": true,
60 + "noCollectionOrScripts": true
61 + },
62 + {
63 + "width": 390,
64 + "page": "support.html",
65 + "status": "PASS",
66 + "localPersianFont": true,
67 + "noOverflow": true,
68 + "noCollectionOrScripts": true
69 + },
70 + {
71 + "width": 1280,
72 + "page": "index.html",
73 + "status": "PASS",
74 + "localPersianFont": true,
75 + "noOverflow": true,
76 + "noCollectionOrScripts": true
77 + },
78 + {
79 + "width": 1280,
80 + "page": "privacy.html",
81 + "status": "PASS",
82 + "localPersianFont": true,
83 + "noOverflow": true,
84 + "noCollectionOrScripts": true
85 + },
86 + {
87 + "width": 1280,
88 + "page": "terms.html",
89 + "status": "PASS",
90 + "localPersianFont": true,
91 + "noOverflow": true,
92 + "noCollectionOrScripts": true
93 + },
94 + {
95 + "width": 1280,
96 + "page": "support.html",
97 + "status": "PASS",
98 + "localPersianFont": true,
99 + "noOverflow": true,
100 + "noCollectionOrScripts": true
101 + }
102 + ],
103 + "requestCount": 75,
104 + "externalRequestCount": 0,
105 + "failures": [],
106 + "errors": []
107 +}
docs/audits/evidence/pages-dns-before-2026-10-15.json new
+301
@@ -0,0 +1,301 @@
1 +{
2 + "checked_at_utc": "2026-10-15T06:41:32.345125+00:00",
3 + "dns": [
4 + {
5 + "name": "app.lifeguide.ir",
6 + "type": "CNAME",
7 + "resolver": "dns.google",
8 + "status": 0,
9 + "answer": [],
10 + "authority": [
11 + {
12 + "name": "lifeguide.ir.",
13 + "type": 6,
14 + "TTL": 300,
15 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
16 + }
17 + ],
18 + "ad": false
19 + },
20 + {
21 + "name": "app.lifeguide.ir",
22 + "type": "A",
23 + "resolver": "dns.google",
24 + "status": 0,
25 + "answer": [
26 + {
27 + "name": "app.lifeguide.ir.",
28 + "type": 1,
29 + "TTL": 180,
30 + "data": "185.143.233.132"
31 + },
32 + {
33 + "name": "app.lifeguide.ir.",
34 + "type": 1,
35 + "TTL": 180,
36 + "data": "185.143.234.132"
37 + }
38 + ],
39 + "authority": [],
40 + "ad": false
41 + },
42 + {
43 + "name": "app.lifeguide.ir",
44 + "type": "AAAA",
45 + "resolver": "dns.google",
46 + "status": 0,
47 + "answer": [],
48 + "authority": [
49 + {
50 + "name": "lifeguide.ir.",
51 + "type": 6,
52 + "TTL": 300,
53 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
54 + }
55 + ],
56 + "ad": false
57 + },
58 + {
59 + "name": "lifeguide.ir",
60 + "type": "NS",
61 + "resolver": "dns.google",
62 + "status": 0,
63 + "answer": [
64 + {
65 + "name": "lifeguide.ir.",
66 + "type": 2,
67 + "TTL": 7200,
68 + "data": "d.ns.arvancdn.ir."
69 + },
70 + {
71 + "name": "lifeguide.ir.",
72 + "type": 2,
73 + "TTL": 7200,
74 + "data": "s.ns.arvancdn.ir."
75 + }
76 + ],
77 + "authority": [],
78 + "ad": false
79 + },
80 + {
81 + "name": "lifeguide.ir",
82 + "type": "A",
83 + "resolver": "dns.google",
84 + "status": 0,
85 + "answer": [],
86 + "authority": [
87 + {
88 + "name": "lifeguide.ir.",
89 + "type": 6,
90 + "TTL": 300,
91 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
92 + }
93 + ],
94 + "ad": false
95 + },
96 + {
97 + "name": "lifeguide.ir",
98 + "type": "TXT",
99 + "resolver": "dns.google",
100 + "status": 0,
101 + "answer": [],
102 + "authority": [
103 + {
104 + "name": "lifeguide.ir.",
105 + "type": 6,
106 + "TTL": 300,
107 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
108 + }
109 + ],
110 + "ad": false
111 + },
112 + {
113 + "name": "davoodmehraban89.github.io",
114 + "type": "A",
115 + "resolver": "dns.google",
116 + "status": 0,
117 + "answer": [
118 + {
119 + "name": "davoodmehraban89.github.io.",
120 + "type": 1,
121 + "TTL": 3600,
122 + "data": "185.199.108.153"
123 + },
124 + {
125 + "name": "davoodmehraban89.github.io.",
126 + "type": 1,
127 + "TTL": 3600,
128 + "data": "185.199.109.153"
129 + },
130 + {
131 + "name": "davoodmehraban89.github.io.",
132 + "type": 1,
133 + "TTL": 3600,
134 + "data": "185.199.111.153"
135 + },
136 + {
137 + "name": "davoodmehraban89.github.io.",
138 + "type": 1,
139 + "TTL": 3600,
140 + "data": "185.199.110.153"
141 + }
142 + ],
143 + "authority": [],
144 + "ad": false
145 + },
146 + {
147 + "name": "app.lifeguide.ir",
148 + "type": "CNAME",
149 + "resolver": "cloudflare-dns.com",
150 + "status": 0,
151 + "answer": [],
152 + "authority": [
153 + {
154 + "name": "lifeguide.ir",
155 + "type": 6,
156 + "TTL": 300,
157 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
158 + }
159 + ]
160 + },
161 + {
162 + "name": "app.lifeguide.ir",
163 + "type": "A",
164 + "resolver": "cloudflare-dns.com",
165 + "status": 0,
166 + "answer": [
167 + {
168 + "name": "app.lifeguide.ir",
169 + "type": 1,
170 + "TTL": 180,
171 + "data": "185.143.233.132"
172 + },
173 + {
174 + "name": "app.lifeguide.ir",
175 + "type": 1,
176 + "TTL": 180,
177 + "data": "185.143.234.132"
178 + }
179 + ],
180 + "authority": []
181 + },
182 + {
183 + "name": "app.lifeguide.ir",
184 + "type": "AAAA",
185 + "resolver": "cloudflare-dns.com",
186 + "status": 0,
187 + "answer": [],
188 + "authority": [
189 + {
190 + "name": "lifeguide.ir",
191 + "type": 6,
192 + "TTL": 300,
193 + "data": "d.ns.arvancdn.ir. hostmaster.arvancloud.ir. 1791298415 86400 7200 604800 7200"
194 + }
195 + ]
196 + }
197 + ],
198 + "http": [
199 + {
200 + "url": "https://app.lifeguide.ir/",
201 + "final_url": "https://app.lifeguide.ir/",
202 + "http_status": 200,
203 + "title": "LifeMate",
204 + "headers": {
205 + "content-type": "text/html",
206 + "server": "envoy"
207 + },
208 + "sampled_bytes": 956
209 + },
210 + {
211 + "url": "http://app.lifeguide.ir/",
212 + "final_url": "https://app.lifeguide.ir/",
213 + "http_status": 200,
214 + "title": "LifeMate",
215 + "headers": {
216 + "content-type": "text/html",
217 + "server": "envoy"
218 + },
219 + "sampled_bytes": 956
220 + },
221 + {
222 + "url": "https://davoodmehraban89.github.io/LifeMate/",
223 + "final_url": "https://app.lifeguide.ir/",
224 + "http_status": 200,
225 + "title": "LifeMate",
226 + "headers": {
227 + "content-type": "text/html",
228 + "server": "envoy"
229 + },
230 + "sampled_bytes": 956
231 + }
232 + ],
233 + "public_page_structure": {
234 + "script_src": [
235 + "flutter_bootstrap.js"
236 + ],
237 + "visible_body_text": "برای استفاده از LifeMate جاوااسکریپت را فعال کنید.",
238 + "has_flutter_bootstrap": true,
239 + "has_lifeguide_text": false,
240 + "has_lifemate_text": true,
241 + "has_noscript": true,
242 + "meta_description": [
243 + "LifeMate — همراه شخصی، تحصیلی و خانوادگی"
244 + ]
245 + },
246 + "pages_metadata": {
247 + "checked_at_utc": "2026-10-15T06:42:07.381668+00:00",
248 + "status": null,
249 + "build_type": "workflow",
250 + "cname": "app.lifeguide.ir",
251 + "html_url": "http://app.lifeguide.ir/",
252 + "https_enforced": false,
253 + "https_certificate": null,
254 + "source": {
255 + "branch": "main",
256 + "path": "/"
257 + },
258 + "public": true,
259 + "health_endpoint": {
260 + "status": 403,
261 + "message": "Resource not accessible by integration"
262 + }
263 + },
264 + "official_docs": {
265 + "url": "https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site",
266 + "verified": true,
267 + "subdomain_rule": "CNAME points directly to user.github.io excluding repository name",
268 + "pages_ipv4": [
269 + "185.199.108.153",
270 + "185.199.109.153",
271 + "185.199.110.153",
272 + "185.199.111.153"
273 + ]
274 + },
275 + "assessment": {
276 + "dns_cause": "Public app.lifeguide.ir A records are not GitHub Pages addresses; two independent resolvers agree. Arvan nameservers and non-Pages edge addresses suggest proxied DNS, but the current dashboard record/origin is unverified. This is consistent with reported InvalidARecordError.",
277 + "reviewability_cause": "Public HTTPS returns HTTP 200 but serves a LifeMate Flutter bootstrap shell with no LifeGuide introduction/review text in initial HTML. It does not satisfy the requested public LifeGuide review page yet.",
278 + "manual_dns_step": {
279 + "zone": "lifeguide.ir",
280 + "type": "CNAME",
281 + "name": "app",
282 + "target": "davoodmehraban89.github.io",
283 + "proxy": "DNS-only; disable Arvan CDN/cloud proxy for this record",
284 + "ttl": "300 seconds or provider default",
285 + "conflict_handling": "If app has manual A/AAAA records, replace only those app records. If current app CNAME is proxied, edit the existing record and disable proxy. Do not change apex/root, nameservers, mail or TXT records."
286 + },
287 + "post_change_verification": [
288 + "Both public DoH resolvers return app CNAME davoodmehraban89.github.io and GitHub Pages A addresses.",
289 + "GitHub Pages Settings DNS check succeeds and HTTPS certificate becomes available.",
290 + "Enable Enforce HTTPS only after certificate availability.",
291 + "Public HTTPS initial HTML contains LifeGuide introduction, service purpose, OTP purpose and contact/review information."
292 + ],
293 + "not_verified": [
294 + "Arvan DNS dashboard record type, origin, proxy toggle and access",
295 + "Reachability from Iran or Kavenegar review network",
296 + "GitHub DNS health endpoint blocked by integration permission 403",
297 + "Kavenegar template approval/review",
298 + "Direct origin TLS certificate independent of managed HTTPS proxy"
299 + ]
300 + }
301 +}
\ No newline at end of file
docs/history/2026-10-05-project-state.md new
+63
@@ -0,0 +1,63 @@
1 +# LifeMate — Project State
2 +
3 +**Last updated:** 2026-10-05
4 +**Phase:** Phase 5 — Hardening, Observability & Release — COMPLETE
5 +**Repository:** `davoodmehraban89/LifeMate`
6 +**Working product name:** LifeMate — approved
7 +
8 +## Transfer checkpoint
9 +Phases 1–5 engineering core are complete. LifeMate now has the foundation/identity, planner-school-family core, advisory learning/wellbeing guides, and the operational hardening/release-readiness layer required for a controlled beta. Public production release and minor-sensitive external AI/voice exposure remain intentionally gated and require separate explicit approval.
10 +
11 +## Five-phase roadmap
12 +1. **Foundation, Product Contract & UX Direction** — COMPLETE
13 +2. **Product Foundation & Identity** — COMPLETE
14 +3. **Planner, School & Family Core** — COMPLETE
15 +4. **AI Guides, Learning & Wellbeing** — COMPLETE
16 +5. **Hardening, Observability & Release** — COMPLETE
17 +
18 +## Accepted architecture baseline
19 +- Flutter Android + responsive Web/PWA; future packaged/native iOS path preserved.
20 +- Provider-neutral Node API + PostgreSQL; Railway remains staging host.
21 +- LifeMate-owned identity/session adapter; server-side relationship-aware authorization.
22 +- Offline client support does not replace server authority.
23 +- AI guides are advisory and plan proposals require explicit acceptance.
24 +- Wellbeing/AI transcripts remain owner-private; family membership does not grant transcript access.
25 +
26 +## Phase 4 completed vertical slice
27 +Learning goal → learning check-in → wellbeing check-in → AI guide session → safety classification → advisory response → explicit plan proposal → accept/reject decision. No guide response silently mutates planner state.
28 +
29 +### Verified Phase 4 gates
30 +- Migration `0004_ai_learning_wellbeing.sql` defines seven Phase 4 tables, including the separate `wellbeing_safety_event` ledger, and owner-oriented indexes.
31 +- Phase 4 API implements learning goals/check-ins, private/guardian-summary wellbeing check-ins, AI sessions/messages, explicit proposal decisions, guardian wellbeing summaries and privacy-preserving family guidance.
32 +- High-risk self-harm language follows a fixed urgent-support path and writes a separate safety signal; ordinary family membership never grants raw wellbeing notes or AI transcripts.
33 +- Study/planner/wellbeing guidance is advisory, non-diagnostic and never silently mutates planner data.
34 +- Flutter includes interactive guide chat, learning goals/check-ins, wellbeing check-ins, guardian summary and parent family-guidance flows.
35 +- ADR `docs/decisions/0004-ai-learning-wellbeing-safety.md` records privacy, provider, voice and production safety gates.
36 +
37 +## Phase 5 completed scope
38 +- Production-entrypoint request correlation, security headers, privacy-safe structured request/error telemetry and bounded request bodies.
39 +- Configurable general/auth/AI fixed-window rate limits with HTTP 429 and `Retry-After`.
40 +- Separate `/live` and database-backed `/ready` operational probes while retaining `/health` compatibility.
41 +- PostgreSQL-native backup/restore scripts plus an automated CI data round-trip restore drill.
42 +- Release regression gates for backend tests/syntax/audit/schema, secret scanning, Flutter format/analyze/tests, Web release build, Android build and PWA install/RTL metadata.
43 +- Deployment, rollback, backup/restore, incident-response and production-readiness runbooks plus changelog/version discipline.
44 +- Railway staging API function hardened with request IDs, security headers, rate limiting, `/live`, `/ready` and privacy-safe error handling; staging tracing and auto-instrumentation enabled.
45 +
46 +### Verified Phase 5 gates
47 +- Red-first operations contract was observed failing before the hardening implementation; subsequent backend contract/integration tests passed.
48 +- GitHub Actions run 165 at branch commit `125c44f55827dc5ed26d81fe821969348db4598e` completed successfully: security, backend and Flutter jobs all green.
49 +- Backend run 165 passed migrations, authorization tests, dependency audit, 11 Node tests, syntax checks, 28-table schema verification and the backup/restore data round-trip drill.
50 +- Flutter run 165 passed formatting, analysis, widget/tests, PWA release metadata checks, Web release build and Android debug build.
51 +- Railway staging deployment `0cd21bed-5cba-494b-afef-7f45312f2fdf` is SUCCESS/online with no reported warnings or critical issues after Phase 5 hardening.
52 +- Railway staging source inspection confirms the operational middleware and `/live` + `/ready` routes are deployed; external AI/voice remain unenabled and Phase 4 AI continues in local-fallback mode.
53 +
54 +## Production-gate items intentionally deferred
55 +Jurisdiction-specific legal/guardian consent review; final safety severity taxonomy; emergency resource localization; external AI provider privacy/retention review; wellbeing retention/export/deletion policy; voice-provider privacy review; production push-provider configuration; final device beta acceptance. These are release gates, not missing Phase 5 engineering-core work.
56 +
57 +## Release status
58 +Engineering phases 1–5: COMPLETE.
59 +Controlled family beta: READY FOR OWNER-APPROVED DEVICE TESTING.
60 +Public production deployment/release: NOT PERFORMED.
61 +
62 +## Guardrail
63 +AI/wellbeing production exposure stays disabled until dedicated safety/legal/provider gates pass. Production deploys, destructive migrations, public release and sensitive access changes require explicit action-specific approval.
docs/operations/PUBLIC_REVIEW_PAGE.md new
+46
@@ -0,0 +1,46 @@
1 +# صفحه عمومی بررسی LifeGuide و اتصال دامنه
2 +
3 +این خروجی، معرفی عمومی محصول برای مشاهده و بررسی درخواست کاوه‌نگار است. API/PostgreSQL، ورود OTP، نصب PWA اپلیکیشن و APK عملیاتی را به‌تنهایی فعال نمی‌کند. نام سایت LifeGuide/لایف‌گاید است؛ نام مخزن و پروتکل تغییر نمی‌کنند. تصاویر مالک نشان می‌دهند قالب `lifeguideotp` هنوز تأیید نشده و کارشناس لینک را قابل بررسی ندیده است؛ این مشکل با صدور ادعای تأیید یا شبیه‌سازی ورود حل نمی‌شود.
4 +
5 +## محتوای قابل بازبینی و آزمون
6 +
7 +منبع: `site/review/`. فایل‌های HTML/CSS/فونت/نشان همگی محلی‌اند. این سایت JavaScript، API، فرم دریافت شماره، iframe و analytics ندارد. تماس عمومی به issue گیت‌هاب معرفی می‌شود و ایمیل/شماره/هویت حقوقی ساختگی ندارد.
8 +
9 +```bash
10 +python3 scripts/check-review-site.py
11 +python3 -m http.server 8765 --bind 127.0.0.1 --directory site/review
12 +```
13 +
14 +این HTTP محلی فقط مشاهده developer است، پذیرش HTTPS عمومی یا Safari نیست. خروجی CI فقط `site/review` را بسته‌بندی می‌کند؛ keystore، env، APK، کد Backend و داده خصوصی وارد Pages نمی‌شوند. `build-info.json` در CI شناسه commit/run و `liveLogin:false` را ثبت می‌کند.
15 +
16 +## انتشار GitHub Pages
17 +
18 +Settings → Pages باید Source=`GitHub Actions` و Custom domain=`app.lifeguide.ir` داشته باشد؛ read-only API فعلی هر دو را تأیید کرده است. Workflow `.github/workflows/publish-static.yml` جایگزین مسیر قدیمی انتشار Railway/APK می‌شود؛ tag/release/force-push یا credential ارائه‌دهنده نمی‌سازد. push شاخه feature فقط validate/build/upload می‌کند؛ deploy فقط روی main و در محیط موجود github-pages انجام می‌شود. مجوز محیط فعلی فقط main است و تغییر نکرده است.
19 +
20 +پس از آزمون و تأیید نهایی مالک برای ادغام PR همین صفحه، push main انتشار را آغاز می‌کند. در run واقعی باید build و deploy موفق شوند؛ فقط سبزشدن build به معنی انتشار نیست. در دامنه، title، متن LifeGuide، لینک‌های حریم خصوصی و build-info باید مستقل خوانده شوند. main قبلی همچنان workflow تاریخی خود را دارد؛ تا ادغام این PR، نباید با dispatch آن مسیر قدیمی را به‌عنوان صفحه جدید منتشر کرد.
21 +
22 +## تنها تغییر لازم DNS در پنل آروان
23 +
24 +Zone: `lifeguide.ir`.
25 +
26 +| فیلد | مقدار |
27 +|---|---|
28 +| نوع | CNAME |
29 +| نام/زیردامنه | app |
30 +| مقصد | davoodmehraban89.github.io |
31 +| Proxy/CDN/ابر | خاموش؛ DNS-only |
32 +| TTL | 300 یا پیش‌فرض پنل |
33 +
34 +اگر app از قبل CNAME است، مقصد را بررسی و فقط proxy آن را خاموش کنید. اگر A/AAAA دستی برای همان app وجود دارد، پس از ثبت مقادیر قبلی، رکورد متعارض همان نام باید با CNAME درست جایگزین شود؛ CNAME با A/AAAA هم‌نام هم‌زمان معتبر نیست. دامنه اصلی، NSها، MX/ایمیل و TXT تأیید دست نمی‌خورند. مقدار مقصد https یا مسیر `/LifeMate` ندارد.
35 +
36 +این پیشنهاد پس از بررسی فعلی است و تغییر DNS توسط تیم اجرا نشده است؛ ابزار متصل برای پنل آروان در دسترس نیست. پاسخ عمومی فعلی IPهای آروان `185.143.233.132` و `185.143.234.132` است؛ این پاسخ نمی‌گوید رکورد داخل پنل الزاماً از نوع A است، چون proxy می‌تواند CNAME را پنهان کند.
37 +
38 +بعد از پایان TTL، CNAME عمومی و وضعیت DNS Pages دوباره بررسی شود. وقتی گواهی GitHub آماده شد، Enforce HTTPS فعال شود. هیچ TLS bypass یا گواهی self-signed برای کارشناس عمومی استفاده نشود. در صورت نیاز، بازگشت DNS با مقادیر ثبت‌شده قبلی انجام می‌شود؛ سرویس‌های دیگر حذف نمی‌شوند.
39 +
40 +## بررسی و پاسخ کاوه‌نگار
41 +
42 +مالک لینک دقیق `https://app.lifeguide.ir/` را با copy/paste ثبت کند؛ شکل جابه‌جای `https:/` یا slash در نمایش RTL به‌تنهایی اثبات غلط‌بودن مقدار پنل نیست. بعد از انتشار موفق و مشاهده از شبکه ایران بدون VPN، متن پیشنهادی پاسخ تیکت:
43 +
44 +> سلام. صفحه معرفی لایف‌گاید در https://app.lifeguide.ir/ قابل مشاهده است و توضیح کاربرد برنامه، حریم خصوصی و استفاده از پیامک فقط برای ورود/تأیید هویت در آن درج شده است. لطفاً الگوی lifeguideotp را مجدداً بررسی بفرمایید. سپاس.
45 +
46 +این متن تا پیش از آن بررسی نباید با ادعای «قابل مشاهده است» ارسال شود. تیم در این بسته تیکت، ایمیل یا پیامک ارسال نمی‌کند. تأیید نهایی با کاوه‌نگار است؛ مشاهده صفحه تضمین تأیید الگو نیست. کلید API و سایر secretها در GitHub Secrets یا محیط Backend قرار می‌گیرند و هرگز در HTML/JavaScript، مخزن یا چت نوشته نمی‌شوند. اتصال provider، صحت OTP/انقضا/محدودیت تلاش و رسیدن پیامک به گوشی بعد از تأیید، جدا آزموده می‌شوند.
scripts/check-review-site.py new
+53
@@ -0,0 +1,53 @@
1 +#!/usr/bin/env python3
2 +"""Validate the static public review boundary; no server/login tests implied."""
3 +from html.parser import HTMLParser
4 +from pathlib import Path
5 +from urllib.parse import urlsplit
6 +import json
7 +
8 +root = Path(__file__).resolve().parents[1] / 'site/review'
9 +class Page(HTMLParser):
10 + def __init__(self):
11 + super().__init__(convert_charrefs=True)
12 + self.html = {}; self.refs = []; self.title = False; self.h1 = 0
13 + def handle_starttag(self, tag, attrs):
14 + a = dict(attrs)
15 + if tag == 'html': self.html = a
16 + if tag == 'h1': self.h1 += 1
17 + if tag == 'title': self.title = True
18 + assert tag not in {'script', 'iframe', 'form', 'input', 'textarea'}, f'No collection/embed/script: {tag}'
19 + for key in ['src', 'href']:
20 + if a.get(key): self.refs.append((tag, key, a[key], a))
21 + if tag == 'button': assert 'disabled' in a, 'Login must stay unavailable until real auth is approved and connected'
22 +
23 +assert (root / 'CNAME').read_text().strip() == 'app.lifeguide.ir'
24 +assert (root / '.nojekyll').is_file()
25 +pages = list(root.glob('*.html'))
26 +assert len(pages) >= 3, 'Include introduction, privacy and terms/support information'
27 +for path in pages:
28 + source = path.read_text()
29 + p = Page(); p.feed(source)
30 + assert p.html.get('lang') == 'fa' and p.html.get('dir') == 'rtl', path.name
31 + assert p.title and p.h1 == 1, f'Single accessible page title and H1: {path.name}'
32 + assert 'LifeGuide' in source and 'لایف‌گاید' in source, f'Product identity: {path.name}'
33 + branding = source.replace('https://github.com/davoodmehraban89/LifeMate', '')
34 + assert not any(x.lower() in branding.lower() for x in ['LifeMate', 'up.railway.app', 'googleapis.com', 'gstatic.com']), path.name
35 + for tag, key, ref, attrs in p.refs:
36 + u = urlsplit(ref)
37 + if u.scheme or u.netloc:
38 + assert tag == 'a' and key == 'href' and u.scheme == 'https' and u.hostname == 'github.com', f'External runtime dependency or invented contact: {path.name}'
39 + if attrs.get('target') == '_blank': assert 'noopener' in attrs.get('rel', '').split()
40 + continue
41 + if not u.path: continue
42 + target = (path.parent / u.path.lstrip('/')).resolve()
43 + if target.is_dir(): target = target / 'index.html'
44 + assert target.is_relative_to(root.resolve()) and target.is_file(), f'Missing/escaping local reference: {path.name}: {ref}'
45 +for path in root.rglob('*'):
46 + assert not path.is_symlink(), 'Only owned static files in public artifact'
47 + if path.is_file():
48 + assert path.suffix not in {'.jks', '.keystore', '.dump', '.env', '.pem', '.key'}, 'No private artifacts'
49 + assert path.stat().st_size < 5_000_000, 'Keep public review fast and bounded'
50 + if path.suffix == '.css':
51 + css=path.read_text().lower()
52 + assert 'http:' not in css and 'https:' not in css and '@import' not in css, 'Local CSS/fonts only'
53 +print(json.dumps({'status':'PASS','scope':'static public product review; login/backend/SMS not exercised','htmlPages':len(pages)}, ensure_ascii=False))
site/review/.nojekyll
site/review/CNAME new
+1
@@ -0,0 +1 @@
1 +app.lifeguide.ir
site/review/assets/LifeGuidePersian.ttf
Binary files /dev/null and b/site/review/assets/LifeGuidePersian.ttf differ
site/review/assets/OFL-Noto-Arabic.txt new
+93
@@ -0,0 +1,93 @@
1 +Copyright 2022 The Noto Project Authors (https://github.com/notofonts/arabic)
2 +
3 +This Font Software is licensed under the SIL Open Font License, Version 1.1.
4 +This license is copied below, and is also available with a FAQ at:
5 +https://openfontlicense.org
6 +
7 +
8 +-----------------------------------------------------------
9 +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10 +-----------------------------------------------------------
11 +
12 +PREAMBLE
13 +The goals of the Open Font License (OFL) are to stimulate worldwide
14 +development of collaborative font projects, to support the font creation
15 +efforts of academic and linguistic communities, and to provide a free and
16 +open framework in which fonts may be shared and improved in partnership
17 +with others.
18 +
19 +The OFL allows the licensed fonts to be used, studied, modified and
20 +redistributed freely as long as they are not sold by themselves. The
21 +fonts, including any derivative works, can be bundled, embedded,
22 +redistributed and/or sold with any software provided that any reserved
23 +names are not used by derivative works. The fonts and derivatives,
24 +however, cannot be released under any other type of license. The
25 +requirement for fonts to remain under this license does not apply
26 +to any document created using the fonts or their derivatives.
27 +
28 +DEFINITIONS
29 +"Font Software" refers to the set of files released by the Copyright
30 +Holder(s) under this license and clearly marked as such. This may
31 +include source files, build scripts and documentation.
32 +
33 +"Reserved Font Name" refers to any names specified as such after the
34 +copyright statement(s).
35 +
36 +"Original Version" refers to the collection of Font Software components as
37 +distributed by the Copyright Holder(s).
38 +
39 +"Modified Version" refers to any derivative made by adding to, deleting,
40 +or substituting -- in part or in whole -- any of the components of the
41 +Original Version, by changing formats or by porting the Font Software to a
42 +new environment.
43 +
44 +"Author" refers to any designer, engineer, programmer, technical
45 +writer or other person who contributed to the Font Software.
46 +
47 +PERMISSION & CONDITIONS
48 +Permission is hereby granted, free of charge, to any person obtaining
49 +a copy of the Font Software, to use, study, copy, merge, embed, modify,
50 +redistribute, and sell modified and unmodified copies of the Font
51 +Software, subject to the following conditions:
52 +
53 +1) Neither the Font Software nor any of its individual components,
54 +in Original or Modified Versions, may be sold by itself.
55 +
56 +2) Original or Modified Versions of the Font Software may be bundled,
57 +redistributed and/or sold with any software, provided that each copy
58 +contains the above copyright notice and this license. These can be
59 +included either as stand-alone text files, human-readable headers or
60 +in the appropriate machine-readable metadata fields within text or
61 +binary files as long as those fields can be easily viewed by the user.
62 +
63 +3) No Modified Version of the Font Software may use the Reserved Font
64 +Name(s) unless explicit written permission is granted by the corresponding
65 +Copyright Holder. This restriction only applies to the primary font name as
66 +presented to the users.
67 +
68 +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69 +Software shall not be used to promote, endorse or advertise any
70 +Modified Version, except to acknowledge the contribution(s) of the
71 +Copyright Holder(s) and the Author(s) or with their explicit written
72 +permission.
73 +
74 +5) The Font Software, modified or unmodified, in part or in whole,
75 +must be distributed entirely under this license, and must not be
76 +distributed under any other license. The requirement for fonts to
77 +remain under this license does not apply to any document created
78 +using the Font Software.
79 +
80 +TERMINATION
81 +This license becomes null and void if any of the above conditions are
82 +not met.
83 +
84 +DISCLAIMER
85 +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87 +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88 +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89 +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90 +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91 +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92 +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93 +OTHER DEALINGS IN THE FONT SOFTWARE.
site/review/assets/brand.svg new
+5
@@ -0,0 +1,5 @@
1 +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
2 + <rect width="64" height="64" rx="19" fill="#1267B1"/>
3 + <path d="M21 17v29h25" stroke="#fff" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
4 + <path d="m29 28 7 7 13-16" stroke="#91E2CE" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
5 +</svg>
site/review/assets/styles.css new
+232
@@ -0,0 +1,232 @@
1 +@font-face {
2 + font-family: LifeGuide;
3 + src: url("./LifeGuidePersian.ttf") format("truetype");
4 + font-style: normal;
5 + font-weight: 100 900;
6 + font-display: swap;
7 +}
8 +
9 +:root {
10 + color-scheme: light;
11 + --ink: #17364c;
12 + --muted: #526b7b;
13 + --blue: #1267b1;
14 + --blue-dark: #0d508d;
15 + --teal: #087f7c;
16 + --line: #dce7ed;
17 + --paper: #ffffff;
18 + --pale: #f5f9fc;
19 + --radius: 24px;
20 +}
21 +
22 +* { box-sizing: border-box; }
23 +html { scroll-behavior: smooth; scroll-padding-top: 32px; }
24 +body { margin: 0; color: var(--ink); background: var(--paper); font-family: LifeGuide, Tahoma, sans-serif; font-size: 16px; line-height: 1.9; }
25 +body, button { -webkit-font-smoothing: antialiased; }
26 +a { color: var(--blue-dark); text-underline-offset: 5px; }
27 +a:hover { color: var(--teal); }
28 +button, a { -webkit-tap-highlight-color: transparent; }
29 +a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #de8b13; outline-offset: 6px; border-radius: 5px; }
30 +img, svg { max-width: 100%; }
31 +svg { flex-shrink: 0; }
32 +button { font: inherit; }
33 +h1, h2, h3, p { margin-top: 0; }
34 +h1, h2, h3 { font-weight: 750; line-height: 1.6; }
35 +h1 { margin-bottom: 22px; font-size: clamp(2.15rem, 4.3vw, 3.7rem); letter-spacing: -.045em; }
36 +h2 { margin-bottom: 14px; font-size: clamp(1.65rem, 2.9vw, 2.25rem); letter-spacing: -.025em; }
37 +h3 { margin-bottom: 10px; font-size: 1.15rem; }
38 +p { margin-bottom: 18px; }
39 +strong { font-weight: 750; }
40 +.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
41 +.skip-link { position: fixed; z-index: 10; top: -100px; right: 16px; padding: 10px 20px; background: var(--ink); color: white; }
42 +.skip-link:focus { top: 10px; }
43 +.site-header { background: #fff; border-bottom: 1px solid var(--line); }
44 +.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
45 +.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
46 +.brand:hover { color: var(--ink); }
47 +.brand img { display: block; width: 44px; height: 44px; }
48 +.brand-name { display: block; font-size: 1.28rem; font-weight: 800; line-height: 1.4; }
49 +.brand-en { display: block; color: var(--muted); font: 500 .73rem/1.6 LifeGuide, Tahoma, sans-serif; letter-spacing: .09em; }
50 +.main-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 25px; font-size: .9rem; }
51 +.main-nav a { color: var(--muted); text-decoration: none; }
52 +.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-dark); }
53 +.header-label { padding: 7px 12px; border: 1px solid #cce5df; background: #eff9f6; color: #22665b; font-size: .74rem; border-radius: 100px; white-space: nowrap; }
54 +.hero { position: relative; padding: 76px 0 72px; background: radial-gradient(ellipse at 12% 25%, #e9f6f4 0, transparent 49%), linear-gradient(135deg, #f8fbff, #f3f8fc 70%, #f5fbfa); border-bottom: 1px solid var(--line); overflow: hidden; }
55 +.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
56 +.eyebrow { display: flex; gap: 9px; align-items: center; color: var(--teal); font-size: .85rem; font-weight: 700; margin-bottom: 18px; }
57 +.eyebrow::before { content: ""; width: 21px; height: 3px; border-radius: 8px; background: currentColor; }
58 +.hero h1 span { color: var(--blue); }
59 +.hero-copy { color: var(--muted); font-size: 1.025rem; max-width: 510px; }
60 +.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
61 +.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 23px; border: 1px solid transparent; border-radius: 12px; background: var(--blue); color: white; font-weight: 650; text-decoration: none; font-size: .9rem; }
62 +.button:hover { background: var(--blue-dark); color: white; }
63 +.button svg { width: 18px; height: 18px; }
64 +.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 3px; font-size: .88rem; font-weight: 650; }
65 +.hero-note { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; color: var(--muted); font-size: .78rem; }
66 +.hero-note svg { width: 17px; height: 17px; margin-top: 5px; color: var(--teal); }
67 +.preview-wrap { position: relative; padding: 16px 0 0; }
68 +.preview-wrap::before { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid #b9d6e5; border-radius: 50%; left: -32px; top: -24px; }
69 +.preview { position: relative; padding: 25px; border: 1px solid #d7e4ee; background: rgba(255, 255, 255, .96); border-radius: 26px; box-shadow: 0 24px 65px -35px #427d9d66; }
70 +.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 21px; margin-bottom: 21px; border-bottom: 1px solid #e8eff4; }
71 +.preview-heading { font-size: 1rem; font-weight: 750; margin: 0 0 2px; }
72 +.preview-sub { color: var(--muted); font-size: .7rem; margin: 0; }
73 +.preview-sun { width: 43px; height: 43px; border-radius: 14px; background: #fff7e5; color: #b47812; display: grid; place-items: center; }
74 +.preview-sun svg { width: 25px; height: 25px; }
75 +.preview-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .72rem; margin: 0 0 10px; }
76 +.preview-label::before { content: ""; display: block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
77 +.sample-task { display: flex; gap: 13px; align-items: center; padding: 13px 14px; border: 1px solid #e0eaf1; border-radius: 13px; margin-bottom: 10px; }
78 +.task-icon { width: 37px; height: 37px; display: grid; place-items: center; color: var(--blue); background: #edf5fd; border-radius: 10px; flex-shrink: 0; }
79 +.task-icon.teal { color: var(--teal); background: #eaf7f2; }
80 +.task-icon svg { width: 20px; height: 20px; }
81 +.sample-task p { font-size: .83rem; font-weight: 650; margin: 0; }
82 +.sample-task small { display: block; font-size: .68rem; color: var(--muted); }
83 +.task-time { margin-inline-start: auto; font-size: .7rem; color: var(--muted); white-space: nowrap; }
84 +.preview-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 16px; }
85 +.preview-card { padding: 13px 14px; background: #eff6fb; border-radius: 13px; }
86 +.preview-card:last-child { background: #edf8f3; }
87 +.preview-card p { margin: 0 0 5px; font-size: .76rem; font-weight: 700; }
88 +.preview-card small { color: var(--muted); font-size: .66rem; display: block; }
89 +.preview-caption { position: relative; margin: 16px 0 0; text-align: center; color: var(--muted); font-size: .72rem; }
90 +.principles { border-bottom: 1px solid var(--line); }
91 +.principles-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 26px; }
92 +.principle { display: flex; justify-content: center; align-items: center; gap: 11px; padding-inline: 18px; font-size: .85rem; }
93 +.principle + .principle { border-inline-start: 1px solid var(--line); }
94 +.principle svg { color: var(--teal); width: 21px; height: 21px; }
95 +.section { padding-block: 78px; }
96 +.section-tint { background: var(--pale); border-block: 1px solid var(--line); }
97 +.section-heading { max-width: 640px; margin-bottom: 34px; }
98 +.section-heading p { color: var(--muted); margin-bottom: 0; }
99 +.section-kicker { margin-bottom: 8px; color: var(--teal); font-size: .78rem; font-weight: 750; }
100 +.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
101 +.feature-card { padding: 29px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
102 +.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--blue); background: #edf5fd; margin-bottom: 25px; }
103 +.feature-card:nth-child(2) .feature-icon { color: var(--teal); background: #eaf7f2; }
104 +.feature-card:nth-child(3) .feature-icon { color: #846314; background: #fff7e5; }
105 +.feature-icon svg { width: 25px; height: 25px; }
106 +.feature-card p { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
107 +.feature-status { display: inline-block; font-size: .68rem; color: #617a87; background: #f2f6f8; border: 1px solid #e1e9ed; border-radius: 6px; padding: 2px 7px; }
108 +.family-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
109 +.family-copy > p { color: var(--muted); }
110 +.family-copy .text-link { margin-top: 4px; }
111 +.privacy-list { display: grid; gap: 13px; }
112 +.privacy-item { display: flex; align-items: flex-start; gap: 15px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 17px; background: white; }
113 +.privacy-item svg { width: 22px; height: 22px; color: var(--teal); margin-top: 5px; }
114 +.privacy-item h3 { font-size: .94rem; margin-bottom: 4px; }
115 +.privacy-item p { color: var(--muted); font-size: .81rem; margin: 0; }
116 +.availability { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; padding: 38px; border: 1px solid #cfe1ed; border-radius: 26px; background: #f1f7fc; }
117 +.availability h2 { font-size: 1.75rem; }
118 +.availability p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }
119 +.access-card { padding: 25px; border: 1px solid #d7e4ee; border-radius: 18px; background: white; }
120 +.access-card h3 { font-size: 1rem; }
121 +.access-card p { font-size: .82rem; }
122 +.disabled-button { width: 100%; display: block; padding: 13px 12px; border: 1px solid #d2e0e8; border-radius: 11px; background: #eaf0f5; color: #536c7b; cursor: not-allowed; font-size: .86rem; font-weight: 650; margin: 18px 0 12px; }
123 +.access-card .access-note { font-size: .7rem; line-height: 1.9; }
124 +.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
125 +.faq-list { border-top: 1px solid var(--line); }
126 +details { border-bottom: 1px solid var(--line); }
127 +summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; gap: 18px; font-size: .95rem; font-weight: 650; }
128 +summary::-webkit-details-marker { display: none; }
129 +summary::after { content: "+"; font-family: Tahoma, sans-serif; font-size: 1.4rem; font-weight: 400; color: var(--blue); line-height: 1.5; }
130 +details[open] summary::after { content: "−"; }
131 +details p { color: var(--muted); font-size: .85rem; padding-inline-end: 20px; }
132 +.site-footer { padding: 39px 0 22px; background: #f5f8fa; border-top: 1px solid var(--line); }
133 +.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding-bottom: 29px; }
134 +.footer-brand p { max-width: 365px; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
135 +.footer-links { display: flex; gap: 17px 24px; flex-wrap: wrap; align-items: center; padding-top: 8px; font-size: .8rem; }
136 +.footer-links a { color: var(--muted); text-decoration: none; }
137 +.footer-links a:hover { color: var(--blue); text-decoration: underline; }
138 +.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
139 +.footer-bottom p { margin: 0; }
140 +.footer-bottom a { color: var(--muted); }
141 +.page-hero { padding: 55px 0 39px; background: #f4f8fc; border-bottom: 1px solid var(--line); }
142 +.breadcrumb { font-size: .77rem; color: var(--muted); margin-bottom: 24px; }
143 +.breadcrumb a { color: var(--muted); }
144 +.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
145 +.page-hero p { max-width: 700px; color: var(--muted); margin: 0; font-size: .95rem; }
146 +.document { max-width: 800px; padding-block: 46px 70px; }
147 +.document h2 { font-size: 1.35rem; margin-top: 33px; margin-bottom: 12px; }
148 +.document h2:first-child { margin-top: 0; }
149 +.document p, .document li { font-size: .94rem; color: var(--muted); }
150 +.document ul { padding-inline-start: 24px; }
151 +.document li { padding-inline-start: 4px; margin-bottom: 8px; }
152 +.notice { margin: 0 0 28px; padding: 20px 23px; border: 1px solid #cce4dc; background: #eff9f5; border-radius: 14px; }
153 +.notice p { margin: 0; color: #2c6457; font-size: .87rem; }
154 +.document .button { margin-top: 10px; }
155 +.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
156 +.support-card { border: 1px solid var(--line); border-radius: 17px; padding: 24px; }
157 +.support-card h2 { margin-top: 0; font-size: 1.15rem; }
158 +.support-card p { font-size: .85rem; }
159 +.support-card a { overflow-wrap: anywhere; }
160 +
161 +@media (min-width: 1400px) { .hero { padding-block: 88px; } }
162 +@media (max-width: 980px) {
163 + .header-label { display: none; }
164 + .hero-grid { gap: 30px; }
165 + .hero { padding-block: 54px; }
166 + .preview { padding: 20px; }
167 + .family-grid, .faq-wrap { gap: 35px; }
168 + .availability { gap: 28px; padding: 30px; }
169 + .feature-card { padding: 24px 20px; }
170 + .footer-top { flex-direction: column; gap: 20px; }
171 +}
172 +
173 +@media (max-width: 720px) {
174 + .container { width: calc(100% - 40px); }
175 + .header-inner { min-height: 86px; gap: 18px; flex-wrap: wrap; padding-block: 17px 14px; }
176 + .brand img { width: 39px; height: 39px; }
177 + .brand-name { font-size: 1.15rem; }
178 + .brand-en { font-size: .67rem; }
179 + .main-nav { font-size: .78rem; gap: 17px; }
180 + .hero { padding-block: 43px 34px; }
181 + .hero-grid { grid-template-columns: 1fr; gap: 36px; }
182 + .hero-copy { font-size: .97rem; max-width: none; }
183 + h1 { font-size: clamp(2.25rem, 7vw, 3.2rem); }
184 + .hero-actions { margin-top: 23px; }
185 + .preview-wrap { width: min(450px, 100%); margin-inline: auto; }
186 + .preview-wrap::before { width: 140px; height: 140px; left: -15px; top: -9px; }
187 + .preview { padding: 23px; }
188 + .principles-inner { gap: 15px; padding-block: 24px; }
189 + .principle { flex-direction: column; text-align: center; gap: 8px; padding-inline: 0; font-size: .71rem; }
190 + .principle + .principle { border: 0; }
191 + .principle svg { width: 23px; height: 23px; }
192 + .section { padding-block: 51px; }
193 + .section-heading { margin-bottom: 27px; }
194 + .section-heading p { font-size: .91rem; }
195 + .feature-grid { grid-template-columns: 1fr; gap: 15px; }
196 + .feature-card { padding: 25px; }
197 + .feature-icon { margin-bottom: 19px; }
198 + .feature-card p { margin-bottom: 15px; }
199 + .family-grid, .faq-wrap, .availability { grid-template-columns: 1fr; gap: 27px; }
200 + .family-copy > p { font-size: .91rem; }
201 + .availability { padding: 25px; }
202 + .availability h2 { font-size: 1.55rem; }
203 + .access-card { padding: 20px; }
204 + .faq-wrap { gap: 20px; }
205 + .faq-wrap .section-heading { margin-bottom: 0; }
206 + .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
207 + .footer-links { gap: 15px 21px; }
208 + .page-hero { padding-block: 35px; }
209 + .document { padding-block: 31px 50px; }
210 + .support-grid { grid-template-columns: 1fr; }
211 +}
212 +
213 +@media (max-width: 400px) {
214 + .container { width: calc(100% - 32px); }
215 + .header-inner { justify-content: center; gap: 13px; }
216 + .main-nav { width: 100%; justify-content: center; gap: 20px; }
217 + h1 { font-size: 2.1rem; }
218 + .hero-actions { gap: 7px; }
219 + .button { padding-inline: 17px; font-size: .84rem; }
220 + .text-link { font-size: .81rem; }
221 + .preview { padding: 18px; }
222 + .sample-task { padding: 11px; gap: 9px; }
223 + .task-time { font-size: .65rem; }
224 + .sample-task p { font-size: .77rem; }
225 + .preview-bottom { gap: 8px; }
226 + .preview-card { padding: 11px; }
227 + .preview-card p { font-size: .7rem; }
228 + .availability { padding: 20px; }
229 + .access-card { padding: 17px; }
230 +}
231 +
232 +@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
site/review/index.html new
+163
@@ -0,0 +1,163 @@
1 +<!doctype html>
2 +<html lang="fa" dir="rtl">
3 +<head>
4 + <meta charset="utf-8">
5 + <meta name="viewport" content="width=device-width, initial-scale=1">
6 + <meta name="description" content="لایف‌گاید، همراه برنامه‌ریزی، یادگیری و خانواده. آشنایی با محصول، حریم خصوصی و وضعیت آماده‌سازی نسخه آزمایشی.">
7 + <meta name="theme-color" content="#1267b1">
8 + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; connect-src 'none'; frame-src 'none'">
9 + <title>لایف‌گاید | همراه برنامه‌ریزی، یادگیری و خانواده</title>
10 + <link rel="icon" type="image/svg+xml" href="assets/brand.svg">
11 + <link rel="preload" href="assets/LifeGuidePersian.ttf" as="font" type="font/ttf" crossorigin>
12 + <link rel="stylesheet" href="assets/styles.css">
13 +</head>
14 +<body>
15 + <a class="skip-link" href="#main">رفتن به محتوای اصلی</a>
16 + <header class="site-header">
17 + <div class="container header-inner">
18 + <a class="brand" href="./" aria-label="لایف‌گاید، صفحه اصلی">
19 + <img src="assets/brand.svg" width="44" height="44" alt="">
20 + <span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span>
21 + </a>
22 + <nav class="main-nav" aria-label="راهبری اصلی">
23 + <a href="#features">آشنایی با محصول</a><a href="privacy.html">حریم خصوصی</a><a href="support.html">ارتباط با ما</a>
24 + </nav>
25 + <span class="header-label">نسخه آزمایشی در حال آماده‌سازی</span>
26 + </div>
27 + </header>
28 +
29 + <main id="main">
30 + <section class="hero" aria-labelledby="hero-title">
31 + <div class="container hero-grid">
32 + <div>
33 + <p class="eyebrow">همراه برنامه‌ریزی، یادگیری و خانواده</p>
34 + <h1 id="hero-title">امروز با برنامه،<br><span>فردا با خیال آسوده‌تر.</span></h1>
35 + <p class="hero-copy">لایف‌گاید برای کنار هم آوردن برنامه‌های روزانه، مسیر یادگیری و همراهی خانواده طراحی می‌شود؛ با فضایی روشن، ساده و متناسب با حریم شخصی هر فرد.</p>
36 + <div class="hero-actions">
37 + <a class="button" href="#features">با لایف‌گاید آشنا شوید <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M19 12H5m6-6-6 6 6 6" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
38 + <a class="text-link" href="#availability">وضعیت دسترسی</a>
39 + </div>
40 + <p class="hero-note"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><path d="M12 3 4 6v6c0 5 8 9 8 9s8-4 8-9V6l-8-3Z"/><path d="m8 12 3 3 5-6" stroke-linecap="round" stroke-linejoin="round"/></svg><span>نسخه آزمایشی در حال آماده‌سازی است. این وب‌سایت، معرفی عمومی محصول است.</span></p>
41 + </div>
42 + <div class="preview-wrap">
43 + <div class="preview" aria-label="تصویر مفهومی از امکانات برنامه‌ریزی‌شده لایف‌گاید">
44 + <div class="preview-top">
45 + <div><p class="preview-heading">قدم‌های کوچک، روزهای بهتر</p><p class="preview-sub">یک نگاه به روزی که پیش روست</p></div>
46 + <div class="preview-sun"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5" stroke-linecap="round"/></svg></div>
47 + </div>
48 + <p class="preview-label">برنامه‌ای با زمان یادگیری و استراحت</p>
49 + <div class="sample-task">
50 + <span class="task-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="M4 4h6a3 3 0 0 1 3 3v14a4 4 0 0 0-4-3H4V4Zm16 0h-4a3 3 0 0 0-3 3v14a4 4 0 0 1 4-3h3V4Z" stroke-linejoin="round"/></svg></span>
51 + <div><p>یک نوبت مطالعه</p><small>تمرکز روی یک هدف کوچک</small></div><span class="task-time">۲۵ دقیقه</span>
52 + </div>
53 + <div class="sample-task">
54 + <span class="task-icon teal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="M5 10h11v5a5 5 0 0 1-5 5h-1a5 5 0 0 1-5-5v-5Zm11 0h2a3 3 0 1 1 0 6h-2M8 3v3m5-3v3" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
55 + <div><p>وقت استراحت</p><small>تعادل در کنار پیشرفت</small></div><span class="task-time">۵ دقیقه</span>
56 + </div>
57 + <div class="preview-bottom">
58 + <div class="preview-card"><p>مسیر یادگیری</p><small>مرور، تمرین و قدم بعدی</small></div>
59 + <div class="preview-card"><p>همراهی خانواده</p><small>اشتراک‌گذاری با انتخاب شما</small></div>
60 + </div>
61 + </div>
62 + <p class="preview-caption">پیش‌نمایش مفهومی · امکانات برنامه‌ریزی‌شده</p>
63 + </div>
64 + </div>
65 + </section>
66 +
67 + <div class="principles" aria-label="اصول طراحی محصول">
68 + <div class="container principles-inner">
69 + <div class="principle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="4" y="5" width="16" height="16" rx="3"/><path d="M8 3v4m8-4v4M4 11h16m-12 4h3m3 0h2" stroke-linecap="round"/></svg><span>برنامه‌های کوچک و شدنی</span></div>
70 + <div class="principle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="M12 3 4 6v6c0 5 8 9 8 9s8-4 8-9V6l-8-3Z"/><path d="m8 12 3 3 5-6" stroke-linecap="round" stroke-linejoin="round"/></svg><span>حریم شخصی از ابتدا</span></div>
71 + <div class="principle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="M12 20S3 15 3 8.5a4.5 4.5 0 0 1 9-1 4.5 4.5 0 0 1 9 1C21 15 12 20 12 20Z" stroke-linejoin="round"/></svg><span>همراهی محترمانه خانواده</span></div>
72 + </div>
73 + </div>
74 +
75 + <section class="section" id="features" aria-labelledby="features-title">
76 + <div class="container">
77 + <div class="section-heading">
78 + <p class="section-kicker">لایف‌گاید برای چه ساخته می‌شود؟</p>
79 + <h2 id="features-title">یک مسیر روشن، برای کارهای هر روز</h2>
80 + <p>تمرکز ما کمک به نوجوانان و خانواده‌ها برای ساختن عادت‌های بهتر است. قابلیت‌های زیر، مسیر برنامه‌ریزی‌شده محصول را نشان می‌دهند.</p>
81 + </div>
82 + <div class="feature-grid">
83 + <article class="feature-card">
84 + <div class="feature-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><rect x="4" y="5" width="16" height="16" rx="3"/><path d="M8 3v4m8-4v4M4 11h16m-12 4 2 2 5-3" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
85 + <h3>برنامه‌ریزی با ریتم زندگی</h3>
86 + <p>ثبت کارهای روزانه و تکالیف، تقسیم هدف‌ها به قدم‌های کوچک و نوبت‌های مطالعه با زمان استراحت؛ برای برنامه‌ای که قابل پیگیری باشد.</p>
87 + <span class="feature-status">در برنامه توسعه محصول</span>
88 + </article>
89 + <article class="feature-card">
90 + <div class="feature-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M3 5h6a3 3 0 0 1 3 3v13a4 4 0 0 0-4-3H3V5Zm18 0h-6a3 3 0 0 0-3 3v13a4 4 0 0 1 4-3h5V5Z" stroke-linejoin="round"/><path d="M6 9h2m8 0h2M6 13h2m8 0h2" stroke-linecap="round"/></svg></div>
91 + <h3>یادگیری، قدم به قدم</h3>
92 + <p>مرور درس‌ها، تمرین و آزمونک با محتوای بازبینی‌شده. موضوع‌ها و پایه‌های قابل پشتیبانی در زمان عرضه اعلام می‌شوند؛ پوشش کامل کتاب‌های درسی وعده داده نمی‌شود.</p>
93 + <span class="feature-status">در برنامه توسعه محصول</span>
94 + </article>
95 + <article class="feature-card">
96 + <div class="feature-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="9" cy="8" r="3"/><path d="M3 21v-3a6 6 0 0 1 12 0v3M16 5a3 3 0 0 1 0 6m2 3a5 5 0 0 1 3 4v3" stroke-linecap="round"/></svg></div>
97 + <h3>خانواده در کنار هم</h3>
98 + <p>حساب مستقل برای هر فرد و امکان همراهی با برنامه‌ها و خلاصه‌های منتخب؛ با سطح دسترسی مشخص و توجه هم‌زمان به نقش سرپرست و حریم شخصی نوجوان.</p>
99 + <span class="feature-status">در برنامه توسعه محصول</span>
100 + </article>
101 + </div>
102 + </div>
103 + </section>
104 +
105 + <section class="section section-tint" aria-labelledby="privacy-title">
106 + <div class="container family-grid">
107 + <div class="family-copy">
108 + <p class="section-kicker">همراهی با احترام</p>
109 + <h2 id="privacy-title">اعتماد، بخشی از طراحی است.</h2>
110 + <p>اعضای خانواده نیازهای متفاوتی دارند. در طراحی لایف‌گاید، همراهی خانواده به معنی دسترسی نامحدود به اطلاعات شخصی افراد نیست.</p>
111 + <p>در نسخه آینده، سیاست‌های دسترسی و رضایت سرپرست برای استفاده افراد زیر سن قانونی باید پیش از عرضه مشخص و اجرا شوند.</p>
112 + <a class="text-link" href="privacy.html">درباره حریم خصوصی بخوانید</a>
113 + </div>
114 + <div class="privacy-list">
115 + <article class="privacy-item"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="5" y="10" width="14" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3m-4 5v2" stroke-linecap="round"/></svg><div><h3>اشتراک‌گذاری با دسترسی مشخص</h3><p>در طراحی محصول، اطلاعات خصوصی و اطلاعات قابل اشتراک از هم تفکیک می‌شوند.</p></div></article>
116 + <article class="privacy-item"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 22v-2a8 8 0 0 1 16 0v2" stroke-linecap="round"/></svg><div><h3>حساب مستقل، انتخاب آگاهانه</h3><p>عضویت در خانواده به‌تنهایی مجوز دیدن همه داده‌های یک عضو نخواهد بود.</p></div></article>
117 + <article class="privacy-item"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="m3 3 18 18M10.5 5.2 12 5c6 0 10 7 10 7a18 18 0 0 1-3.2 4M6.2 6.2C3.5 8.1 2 12 2 12s4 7 10 7c1.6 0 3.1-.5 4.5-1.2" stroke-linecap="round"/><path d="M9.9 9.9a3 3 0 0 0 4.2 4.2" stroke-linecap="round"/></svg><div><h3>همراهی، بدون پایش پنهانی</h3><p>محصول برای نظارت مخفی بر گوشی یا رفتار اعضای خانواده طراحی نمی‌شود.</p></div></article>
118 + </div>
119 + </div>
120 + </section>
121 +
122 + <section class="section" id="availability" aria-labelledby="availability-title">
123 + <div class="container">
124 + <div class="availability">
125 + <div>
126 + <p class="section-kicker">شفاف درباره وضعیت فعلی</p>
127 + <h2 id="availability-title">نسخه آزمایشی در حال آماده‌سازی</h2>
128 + <p>در حال حاضر ثبت‌نام، ورود به برنامه و دریافت نسخه نصب از این وب‌سایت در دسترس نیست. زمان و روش دسترسی به نسخه آزمایشی پس از آماده‌شدن، در همین وب‌سایت اعلام می‌شود.</p>
129 + </div>
130 + <div class="access-card">
131 + <h3>ورود با شماره همراه</h3>
132 + <p>در نسخه آینده، پیامک برای ارسال رمز یک‌بارمصرف ورود و تأیید هویت در نظر گرفته شده است.</p>
133 + <button class="disabled-button" type="button" disabled>ورود پیامکی — در انتظار فعال‌سازی</button>
134 + <p class="access-note">کاربرد پیامک: فقط ورود و تأیید هویت؛ بدون پیام تبلیغاتی. کد ورود خود را به دیگران ندهید. این صفحه شماره همراهی دریافت نمی‌کند و پیامکی نمی‌فرستد.</p>
135 + </div>
136 + </div>
137 + </div>
138 + </section>
139 +
140 + <section class="section section-tint" aria-labelledby="faq-title">
141 + <div class="container faq-wrap">
142 + <div class="section-heading"><p class="section-kicker">پرسش‌های رایج</p><h2 id="faq-title">پیش از شروع، بیشتر بدانید</h2><p>اطلاعات روشن درباره محصول و دسترسی به آن.</p><a class="text-link" href="support.html">راه ارتباط و ثبت پرسش</a></div>
143 + <div class="faq-list">
144 + <details><summary>آیا الان می‌توان از برنامه استفاده کرد؟</summary><p>نسخه عمومی برنامه هنوز آماده استفاده نیست. این وب‌سایت برای معرفی لایف‌گاید، توضیح امکانات برنامه‌ریزی‌شده و اعلام وضعیت دسترسی منتشر شده است.</p></details>
145 + <details><summary>لایف‌گاید برای چه کسانی طراحی می‌شود؟</summary><p>تمرکز اولیه روی نوجوانان و خانواده‌های آن‌هاست؛ برای مدیریت برنامه‌های روزانه، پیگیری یادگیری و همراهی با سطح دسترسی مشخص. شرایط سنی دقیق نسخه آزمایشی پیش از ثبت‌نام اعلام خواهد شد.</p></details>
146 + <details><summary>آیا لایف‌گاید جای معلم یا مشاور را می‌گیرد؟</summary><p>لایف‌گاید یک همراه برنامه‌ریزی و یادگیری است و جایگزین معلم، متخصص سلامت یا مشاور حرفه‌ای نیست. این وب‌سایت هیچ خدمت مشاوره یا هوش مصنوعی فعال ارائه نمی‌کند.</p></details>
147 + <details><summary>آیا این سایت اطلاعات شخصی دریافت می‌کند؟</summary><p>این سایت فرم، حساب کاربری، ابزار آمارگیری یا پایگاه داده کاربران ندارد. میزبان سایت ممکن است برای ارائه و امنیت سرویس، اطلاعات فنی درخواست‌های وب را ثبت کند. توضیح بیشتر در <a href="privacy.html">صفحه حریم خصوصی</a> آمده است.</p></details>
148 + </div>
149 + </div>
150 + </section>
151 + </main>
152 +
153 + <footer class="site-footer">
154 + <div class="container">
155 + <div class="footer-top">
156 + <div class="footer-brand"><a class="brand" href="./"><img src="assets/brand.svg" width="44" height="44" alt=""><span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span></a><p>همراهی برای برنامه‌های روزانه، یادگیری و خانواده؛ با احترام به انتخاب و حریم شخصی.</p></div>
157 + <nav class="footer-links" aria-label="پیوندهای تکمیلی"><a href="#features">درباره محصول</a><a href="privacy.html">حریم خصوصی</a><a href="terms.html">شرایط استفاده</a><a href="support.html">ارتباط با ما</a></nav>
158 + </div>
159 + <div class="footer-bottom"><p>لایف‌گاید · نسخه آزمایشی در حال آماده‌سازی</p><a href="https://github.com/davoodmehraban89/LifeMate" lang="fa">مخزن عمومی پروژه در گیت‌هاب ↗</a></div>
160 + </div>
161 + </footer>
162 +</body>
163 +</html>
site/review/privacy.html new
+60
@@ -0,0 +1,60 @@
1 +<!doctype html>
2 +<html lang="fa" dir="rtl">
3 +<head>
4 + <meta charset="utf-8">
5 + <meta name="viewport" content="width=device-width, initial-scale=1">
6 + <meta name="description" content="اطلاعاتی روشن درباره داده‌های این وب‌سایت و اصول حریم خصوصی در طراحی لایف‌گاید.">
7 + <meta name="theme-color" content="#1267b1">
8 + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; connect-src 'none'; frame-src 'none'">
9 + <title>حریم خصوصی | لایف‌گاید</title>
10 + <link rel="icon" type="image/svg+xml" href="assets/brand.svg">
11 + <link rel="preload" href="assets/LifeGuidePersian.ttf" as="font" type="font/ttf" crossorigin>
12 + <link rel="stylesheet" href="assets/styles.css">
13 +</head>
14 +<body>
15 + <a class="skip-link" href="#main">رفتن به محتوای اصلی</a>
16 + <header class="site-header">
17 + <div class="container header-inner">
18 + <a class="brand" href="./" aria-label="لایف‌گاید، صفحه اصلی">
19 + <img src="assets/brand.svg" width="44" height="44" alt="">
20 + <span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span>
21 + </a>
22 + <nav class="main-nav" aria-label="راهبری اصلی">
23 + <a href="./#features">آشنایی با محصول</a><a href="privacy.html" aria-current="page">حریم خصوصی</a><a href="support.html">ارتباط با ما</a>
24 + </nav>
25 + <span class="header-label">نسخه آزمایشی در حال آماده‌سازی</span>
26 + </div>
27 + </header>
28 +
29 + <main id="main">
30 + <section class="page-hero" aria-labelledby="page-title">
31 + <div class="container"><div class="breadcrumb"><a href="./">صفحه اصلی</a> / حریم خصوصی</div><h1 id="page-title">حریم خصوصی</h1><p>اطلاعاتی روشن درباره داده‌های این وب‌سایت و اصول حریم خصوصی در طراحی لایف‌گاید.</p></div>
32 + </section>
33 + <div class="container document">
34 + <div class="notice"><p><strong>وضعیت فعلی:</strong> این وب‌سایت فقط برای معرفی لایف‌گاید است. ثبت‌نام، ورود، دریافت شماره همراه و ارسال پیامک در آن فعال نیست.</p></div>
35 + <h2>این وب‌سایت چه داده‌ای دریافت می‌کند؟</h2>
36 + <p>این صفحه‌ها فرم، حساب کاربری، پایگاه داده کاربران، ابزار تحلیل بازدید، تبلیغات یا محتوای جاسازی‌شده از سرویس‌های دیگر ندارند. شماره همراه، اطلاعات فرزند، برنامه درسی یا کد ورود شما در این وب‌سایت دریافت یا ذخیره نمی‌شود. این صفحه‌ها کوکی تنظیم نمی‌کنند و داده‌ای در حافظه محلی مرورگر نمی‌نویسند.</p>
37 + <h2>اطلاعات فنی میزبانی</h2>
38 + <p>وب‌سایت روی GitHub Pages میزبانی می‌شود. ارائه‌دهنده میزبانی ممکن است برای ارائه و امنیت سرویس، اطلاعات فنی درخواست‌های وب مانند نشانی IP و مشخصات مرورگر را در گزارش‌های خود ثبت کند. پردازش و نگهداری این گزارش‌ها تابع سیاست‌های ارائه‌دهنده میزبانی است.</p>
39 + <p>فونت، نشان و فایل‌های نمایشی از همین وب‌سایت بارگیری می‌شوند. پیوند گیت‌هاب شما را به یک سرویس مستقل هدایت می‌کند که شرایط و سیاست حریم خصوصی خودش را دارد.</p>
40 + <h2>پیامک ورود در نسخه آینده</h2>
41 + <p>برای نسخه آینده، استفاده از شماره همراه جهت ورود و تأیید هویت با رمز یک‌بارمصرف برنامه‌ریزی شده است. هدف این پیامک فقط ورود و تأیید هویت است و پیام تبلیغاتی ارسال نخواهد شد. در حال حاضر این امکان در این وب‌سایت فعال نیست.</p>
42 + <p>پیش از فعال‌سازی ثبت‌نام، جزئیات داده‌های موردنیاز، سرویس پیامک، مدت نگهداری اطلاعات و راه درخواست حذف یا اصلاح آن‌ها باید در سیاست حریم خصوصی نسخه برنامه اعلام شود.</p>
43 + <h2>حریم شخصی نوجوان و همراهی خانواده</h2>
44 + <p>برای نسخه آینده، حساب مستقل هر فرد و سطح دسترسی مشخص اعضای خانواده در نظر گرفته شده است. عضویت در خانواده نباید به‌تنهایی دسترسی نامحدود به داده‌های شخصی ایجاد کند. لایف‌گاید برای پایش مخفی گوشی یا رفتار اعضای خانواده طراحی نمی‌شود.</p>
45 + <p>پیش از عرضه قابلیت‌های مربوط به افراد زیر سن قانونی، شرایط سنی، رضایت سرپرست و سیاست دسترسی به اطلاعات آن‌ها باید مشخص و اجرا شود. این وب‌سایت اکنون هیچ داده‌ای درباره کودک یا نوجوان دریافت نمی‌کند.</p>
46 + <h2>پرسش درباره حریم خصوصی</h2>
47 + <p>راه فعلی ثبت پرسش در <a href="support.html">صفحه ارتباط با ما</a> آمده است. در گیت‌هاب عمومی، شماره همراه، اطلاعات فرزند، رمز ورود یا هر اطلاعات شخصی و محرمانه دیگری منتشر نکنید.</p>
48 + </div>
49 + </main>
50 + <footer class="site-footer">
51 + <div class="container">
52 + <div class="footer-top">
53 + <div class="footer-brand"><a class="brand" href="./"><img src="assets/brand.svg" width="44" height="44" alt=""><span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span></a><p>همراهی برای برنامه‌های روزانه، یادگیری و خانواده؛ با احترام به انتخاب و حریم شخصی.</p></div>
54 + <nav class="footer-links" aria-label="پیوندهای تکمیلی"><a href="./#features">درباره محصول</a><a href="privacy.html">حریم خصوصی</a><a href="terms.html">شرایط استفاده</a><a href="support.html">ارتباط با ما</a></nav>
55 + </div>
56 + <div class="footer-bottom"><p>لایف‌گاید · نسخه آزمایشی در حال آماده‌سازی</p><a href="https://github.com/davoodmehraban89/LifeMate" lang="fa">مخزن عمومی پروژه در گیت‌هاب ↗</a></div>
57 + </div>
58 + </footer>
59 +</body>
60 +</html>
site/review/support.html new
+59
@@ -0,0 +1,59 @@
1 +<!doctype html>
2 +<html lang="fa" dir="rtl">
3 +<head>
4 + <meta charset="utf-8">
5 + <meta name="viewport" content="width=device-width, initial-scale=1">
6 + <meta name="description" content="راه فعلی ثبت پرسش و گزارش مشکل درباره وب‌سایت معرفی لایف‌گاید.">
7 + <meta name="theme-color" content="#1267b1">
8 + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; connect-src 'none'; frame-src 'none'">
9 + <title>ارتباط با ما | لایف‌گاید</title>
10 + <link rel="icon" type="image/svg+xml" href="assets/brand.svg">
11 + <link rel="preload" href="assets/LifeGuidePersian.ttf" as="font" type="font/ttf" crossorigin>
12 + <link rel="stylesheet" href="assets/styles.css">
13 +</head>
14 +<body>
15 + <a class="skip-link" href="#main">رفتن به محتوای اصلی</a>
16 + <header class="site-header">
17 + <div class="container header-inner">
18 + <a class="brand" href="./" aria-label="لایف‌گاید، صفحه اصلی">
19 + <img src="assets/brand.svg" width="44" height="44" alt="">
20 + <span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span>
21 + </a>
22 + <nav class="main-nav" aria-label="راهبری اصلی">
23 + <a href="./#features">آشنایی با محصول</a><a href="privacy.html">حریم خصوصی</a><a href="support.html" aria-current="page">ارتباط با ما</a>
24 + </nav>
25 + <span class="header-label">نسخه آزمایشی در حال آماده‌سازی</span>
26 + </div>
27 + </header>
28 +
29 + <main id="main">
30 + <section class="page-hero" aria-labelledby="page-title">
31 + <div class="container"><div class="breadcrumb"><a href="./">صفحه اصلی</a> / ارتباط با ما</div><h1 id="page-title">ارتباط با ما</h1><p>راه فعلی ثبت پرسش و گزارش مشکل درباره وب‌سایت معرفی لایف‌گاید.</p></div>
32 + </section>
33 + <div class="container document">
34 + <div class="notice"><p>نسخه آزمایشی لایف‌گاید در حال آماده‌سازی است. ورود پیامکی هنوز فعال نیست؛ برای استفاده از این وب‌سایت نیازی به شماره همراه یا کد ورود ندارید.</p></div>
35 + <h2>ثبت پرسش یا گزارش مشکل</h2>
36 + <p>در حال حاضر می‌توانید پرسش عمومی یا مشکل این وب‌سایت را در مخزن عمومی پروژه در گیت‌هاب ثبت کنید. برای ثبت گزارش ممکن است به حساب گیت‌هاب نیاز داشته باشید. زمان پاسخ‌گویی مشخص یا پشتیبانی شبانه‌روزی اعلام نشده است.</p>
37 + <a class="button" href="https://github.com/davoodmehraban89/LifeMate/issues/new">ثبت پرسش یا مشکل در گیت‌هاب ↗</a>
38 + <h2>مراقب اطلاعات شخصی باشید</h2>
39 + <p>گزارش‌های این مخزن عمومی هستند. شماره همراه، کد ورود، اطلاعات کودک یا نوجوان، جزئیات خانوادگی و اطلاعات محرمانه را در آن‌ها ننویسید. برای گزارش مشکل ظاهری صفحه، نام صفحه، نوع دستگاه و شرح کوتاه مشکل کافی است.</p>
40 + <div class="support-grid">
41 + <section class="support-card"><h2>درباره محصول</h2><p>هدف لایف‌گاید و امکانات برنامه‌ریزی‌شده آن را در صفحه اصلی ببینید.</p><a href="./#features">آشنایی با لایف‌گاید</a></section>
42 + <section class="support-card"><h2>وضعیت دسترسی</h2><p>اطلاع‌رسانی درباره آماده‌شدن نسخه آزمایشی در همین وب‌سایت انجام می‌شود.</p><a href="./#availability">مشاهده وضعیت فعلی</a></section>
43 + </div>
44 + <h2>درباره پروژه</h2>
45 + <p>نام محصول <strong>لایف‌گاید</strong>، به انگلیسی <bdi lang="en">LifeGuide</bdi> است. مسیر توسعه فنی محصول در مخزن عمومی پروژه قابل مشاهده است.</p>
46 + <p><a href="https://github.com/davoodmehraban89/LifeMate">مشاهده مخزن عمومی پروژه در گیت‌هاب ↗</a></p>
47 + </div>
48 + </main>
49 + <footer class="site-footer">
50 + <div class="container">
51 + <div class="footer-top">
52 + <div class="footer-brand"><a class="brand" href="./"><img src="assets/brand.svg" width="44" height="44" alt=""><span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span></a><p>همراهی برای برنامه‌های روزانه، یادگیری و خانواده؛ با احترام به انتخاب و حریم شخصی.</p></div>
53 + <nav class="footer-links" aria-label="پیوندهای تکمیلی"><a href="./#features">درباره محصول</a><a href="privacy.html">حریم خصوصی</a><a href="terms.html">شرایط استفاده</a><a href="support.html">ارتباط با ما</a></nav>
54 + </div>
55 + <div class="footer-bottom"><p>لایف‌گاید · نسخه آزمایشی در حال آماده‌سازی</p><a href="https://github.com/davoodmehraban89/LifeMate" lang="fa">مخزن عمومی پروژه در گیت‌هاب ↗</a></div>
56 + </div>
57 + </footer>
58 +</body>
59 +</html>
site/review/terms.html new
+60
@@ -0,0 +1,60 @@
1 +<!doctype html>
2 +<html lang="fa" dir="rtl">
3 +<head>
4 + <meta charset="utf-8">
5 + <meta name="viewport" content="width=device-width, initial-scale=1">
6 + <meta name="description" content="محدوده استفاده از وب‌سایت معرفی لایف‌گاید و توضیح وضعیت فعلی خدمات.">
7 + <meta name="theme-color" content="#1267b1">
8 + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; connect-src 'none'; frame-src 'none'">
9 + <title>شرایط استفاده | لایف‌گاید</title>
10 + <link rel="icon" type="image/svg+xml" href="assets/brand.svg">
11 + <link rel="preload" href="assets/LifeGuidePersian.ttf" as="font" type="font/ttf" crossorigin>
12 + <link rel="stylesheet" href="assets/styles.css">
13 +</head>
14 +<body>
15 + <a class="skip-link" href="#main">رفتن به محتوای اصلی</a>
16 + <header class="site-header">
17 + <div class="container header-inner">
18 + <a class="brand" href="./" aria-label="لایف‌گاید، صفحه اصلی">
19 + <img src="assets/brand.svg" width="44" height="44" alt="">
20 + <span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span>
21 + </a>
22 + <nav class="main-nav" aria-label="راهبری اصلی">
23 + <a href="./#features">آشنایی با محصول</a><a href="privacy.html">حریم خصوصی</a><a href="support.html">ارتباط با ما</a>
24 + </nav>
25 + <span class="header-label">نسخه آزمایشی در حال آماده‌سازی</span>
26 + </div>
27 + </header>
28 +
29 + <main id="main">
30 + <section class="page-hero" aria-labelledby="page-title">
31 + <div class="container"><div class="breadcrumb"><a href="./">صفحه اصلی</a> / شرایط استفاده</div><h1 id="page-title">شرایط استفاده</h1><p>محدوده استفاده از وب‌سایت معرفی لایف‌گاید و توضیح وضعیت فعلی خدمات.</p></div>
32 + </section>
33 + <div class="container document">
34 + <div class="notice"><p><strong>این شرایط مربوط به وب‌سایت معرفی است.</strong> شرایط ثبت‌نام و استفاده از نسخه برنامه پیش از فعال‌شدن آن منتشر خواهد شد.</p></div>
35 + <h2>هدف و محدوده وب‌سایت</h2>
36 + <p>این وب‌سایت برای معرفی لایف‌گاید، مسیر برنامه‌ریزی‌شده محصول و وضعیت دسترسی به نسخه آزمایشی منتشر شده است. لایف‌گاید برای همراهی در برنامه‌ریزی روزانه، یادگیری و ارتباط خانواده طراحی می‌شود.</p>
37 + <h2>وضعیت دسترسی و امکانات</h2>
38 + <p>نسخه آزمایشی در حال آماده‌سازی است. در این وب‌سایت امکان ساخت حساب، ورود، ارسال پیامک، ثبت برنامه یا دریافت فایل نصب وجود ندارد. نمونه برنامه نمایش‌داده‌شده در صفحه اصلی، پیش‌نمایش مفهومی است و داده واقعی کاربر نیست.</p>
39 + <p>قابلیت‌های معرفی‌شده، برنامه توسعه محصول را توصیف می‌کنند و ممکن است پیش از عرضه تغییر کنند. زمان عرضه، دستگاه‌های قابل پشتیبانی، شرایط سنی و امکانات نهایی هنگام آماده‌شدن نسخه آزمایشی اعلام خواهند شد.</p>
40 + <h2>محتوای آموزشی و راهنمایی</h2>
41 + <p>امکانات آموزشی برنامه‌ریزی‌شده، کمک به مرور و تمرین هستند. پوشش کامل همه کتاب‌ها، پایه‌ها یا برنامه درسی مدارس وعده داده نمی‌شود. موضوع‌های قابل پشتیبانی و محدوده محتوای بازبینی‌شده در زمان عرضه اعلام می‌شوند.</p>
42 + <p>لایف‌گاید جایگزین معلم، مشاور حرفه‌ای، پزشک یا خدمات اضطراری نیست. این وب‌سایت خدمت مشاوره، تشخیص پزشکی یا هوش مصنوعی فعال ارائه نمی‌کند.</p>
43 + <h2>پیوندها و ارتباط</h2>
44 + <p>پیوندهای گیت‌هاب برای مشاهده مخزن عمومی یا ثبت پرسش عمومی ارائه شده‌اند. استفاده از گیت‌هاب تابع شرایط همان سرویس است. زمان پاسخ‌گویی مشخصی برای پرسش‌ها تضمین نشده است.</p>
45 + <h2>شفافیت و تغییرات</h2>
46 + <p>با تغییر وضعیت محصول، اطلاعات این وب‌سایت به‌روزرسانی می‌شود. استفاده از خدمات آینده نیازمند اعلام شرایط و سیاست حریم خصوصی متناسب با همان خدمات خواهد بود.</p>
47 + <p>برای پرسش درباره این صفحه به <a href="support.html">ارتباط با ما</a> و برای توضیح داده‌ها به <a href="privacy.html">حریم خصوصی</a> مراجعه کنید.</p>
48 + </div>
49 + </main>
50 + <footer class="site-footer">
51 + <div class="container">
52 + <div class="footer-top">
53 + <div class="footer-brand"><a class="brand" href="./"><img src="assets/brand.svg" width="44" height="44" alt=""><span><span class="brand-name">لایف‌گاید</span><span class="brand-en" lang="en" dir="ltr">LifeGuide</span></span></a><p>همراهی برای برنامه‌های روزانه، یادگیری و خانواده؛ با احترام به انتخاب و حریم شخصی.</p></div>
54 + <nav class="footer-links" aria-label="پیوندهای تکمیلی"><a href="./#features">درباره محصول</a><a href="privacy.html">حریم خصوصی</a><a href="terms.html">شرایط استفاده</a><a href="support.html">ارتباط با ما</a></nav>
55 + </div>
56 + <div class="footer-bottom"><p>لایف‌گاید · نسخه آزمایشی در حال آماده‌سازی</p><a href="https://github.com/davoodmehraban89/LifeMate" lang="fa">مخزن عمومی پروژه در گیت‌هاب ↗</a></div>
57 + </div>
58 + </footer>
59 +</body>
60 +</html>