/* سایت سحاب — sahaabapp.ir
   نظم بصری: ستون‌بندی ۱۲تایی (موبایل ۴)، فاصله‌ها مضرب ۸، شش پله‌ی اندازه‌ی متن. خط گرید دیده نمی‌شود.
   پیوستگی: یک آسمان پیوسته از بالا تا پایین (گرادیان + مه آرام + دانه‌ی خیلی ریز)، بدون بلوک‌های رنگی جدا. */

@font-face { font-family: "Vazirmatn"; font-weight: 300; font-display: swap; src: url(/fonts/vazirmatn-arabic-300.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url(/fonts/vazirmatn-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url(/fonts/vazirmatn-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url(/fonts/vazirmatn-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url(/fonts/vazirmatn-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url(/fonts/amiri-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --max: 1200px; --gut: 24px; --side: 24px; --art-max: 2200px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;
  --t-xs: 13px; --t-sm: 15px; --t-md: 18px; --t-lg: 24px; --t-xl: 36px; --t-2xl: 56px;
  --r: 14px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  /* سپیده و روز: مه نقره‌ای */
  --bg: #E7ECEF; --bg2: #DCE3E8;
  --grain: .05;
  --ink: #1C2F3A; --ink2: #465B69; --ink3: #6B7E8B;
  --hair: rgba(28, 47, 58, .10); --hair2: rgba(28, 47, 58, .2);
  --accent: #F2B24C; --on-accent: #1A1406; --accent-text: #8A5A10;
  --line: rgba(28, 47, 58, .3); --glass: rgba(255, 255, 255, .28);
  --hero-img: url(/site/img/hero-dawn.webp);
  --hero-img-sm: url(/site/img/hero-mobile.webp);
  --hero-fill: #B7C2CE;
  --hero-veil: linear-gradient(270deg, rgba(196, 207, 218, .62) 0%, rgba(196, 207, 218, .38) 32%, rgba(196, 207, 218, 0) 58%);
  --hero-veil-sm: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  --start-veil: rgba(0, 0, 0, 0);
  color-scheme: light;
}
html[data-phase="dusk"] { --bg: #E4E5E9; --bg2: #D9DBE1; }
html[data-phase="night"] {
  --bg: #15232D; --bg2: #1C2F3A;
  --grain: .06;
  --ink: #EEF2F3; --ink2: #BECBD2; --ink3: #8EA2AE;
  --hair: rgba(207, 220, 227, .1); --hair2: rgba(207, 220, 227, .2);
  --accent-text: #F2B24C;
  --line: rgba(238, 242, 243, .35); --glass: rgba(255, 255, 255, .05);
  --hero-img: url(/site/img/hero-night.webp);
  --hero-fill: #2A3A46;
  --hero-veil: linear-gradient(270deg, rgba(22, 36, 46, .6) 0%, rgba(22, 36, 46, .3) 35%, rgba(22, 36, 46, 0) 60%);
  --hero-veil-sm: linear-gradient(180deg, rgba(16, 28, 38, .82) 0%, rgba(16, 28, 38, .55) 45%, rgba(16, 28, 38, .15) 70%, rgba(16, 28, 38, 0) 100%);
  --start-veil: rgba(14, 26, 35, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: "Vazirmatn", system-ui, sans-serif; font-size: var(--t-sm); line-height: 1.85;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- جوّ پیوسته: مه آرام + دانه‌ی کاغذی، ثابت پشت همه‌چیز ---------- */
.atmo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmo::after { content: ""; position: absolute; inset: 0; background: url(/site/img/noise.png) repeat; opacity: var(--grain); mix-blend-mode: soft-light; }

/* ---------- ستون‌بندی ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--side) * 2); margin-inline: auto; padding-inline: var(--side); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

/* ---------- اجزای پایه ---------- */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico { width: 48px; height: 48px; flex: none; display: inline-grid; place-items: center; border-radius: var(--r); color: var(--accent-text); border: 1px solid var(--hair2); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.num { font-size: var(--t-xs); font-weight: 700; color: var(--accent-text); }
.label { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); color: var(--ink3); }
.label .num::after { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--hair2); vertical-align: middle; margin-inline-start: var(--s2); }
h2 { font-size: var(--t-xl); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--t-md); line-height: 1.6; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  height: 52px; padding-inline: var(--s3); border-radius: 999px;
  font-size: var(--t-sm); font-weight: 700; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 32px -12px rgba(242, 178, 76, .7); }
.btn-gold:hover { box-shadow: 0 10px 40px -10px rgba(255, 216, 154, .9); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: var(--glass); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding-inline: var(--s2); font-size: var(--t-xs); }
.cta { display: flex; flex-wrap: wrap; gap: var(--s2); }
.logotype { display: block; width: 200px; aspect-ratio: 300 / 240; background: currentColor; -webkit-mask: url(/img/logotype.webp) center / contain no-repeat; mask: url(/img/logotype.webp) center / contain no-repeat; }

/* ---------- ورودی ---------- */
.hero { position: relative; isolation: isolate; min-height: max(100svh, 640px); display: flex; flex-direction: column; }
/* تصویر هیچ‌وقت از عرض --art-max بیشتر کشیده نمی‌شود؛ لبه‌ها در رنگ آسمان محو می‌شوند */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-fill); -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
.hero-bg { position: absolute; inset: 0; z-index: -1; max-width: var(--art-max); margin-inline: auto; background: var(--hero-veil), var(--hero-img) left center / cover no-repeat; }
/* پایین تصویر شفاف می‌شود تا آسمان و مهِ صفحه بی‌درز از زیرش ادامه پیدا کند */
.hero-bg { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 88px; position: relative; z-index: 2; }
.bar-mark { display: block; width: 44px; color: var(--ink); }
.bar-mark .logotype { width: 44px; }
.bar-links { display: flex; align-items: center; gap: var(--s3); padding: 6px; padding-inline-start: var(--s3); font-size: var(--t-xs); color: var(--ink2); border-radius: 999px; background: rgba(231, 236, 239, .5); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
html[data-phase="night"] .bar-links { background: rgba(21, 35, 45, .5); border-color: rgba(207, 220, 227, .12); }
.bar-links a:not(.btn):hover { color: var(--ink); }

.hero-in { flex: 1; align-content: center; padding-block: var(--s6) var(--s12); }
.hero-text { grid-column: 1 / span 5; max-width: 440px; }
.eyebrow { font-size: var(--t-xs); color: var(--ink2); margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.hero h1 { margin-bottom: var(--s4); color: var(--ink); }
.lead { font-size: var(--t-md); line-height: 1.9; color: var(--ink2); margin-bottom: var(--s4); }
.web-link { color: var(--accent-text); font-weight: 700; border-bottom: 1px solid currentColor; }
.note { margin-top: var(--s2); font-size: var(--t-xs); color: var(--ink2); opacity: .85; }
.hero-live { position: absolute; bottom: var(--s4); inset-inline: 0; z-index: 2; display: flex; align-items: center; gap: var(--s1); font-size: var(--t-xs); color: var(--ink2); }
.hero-live[hidden] { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 178, 76, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242, 178, 76, 0); } }

/* ---------- بخش‌ها (بدون مرز؛ فقط فاصله) ---------- */
.sec { position: relative; padding-block: var(--s16); }
.sec-head { row-gap: var(--s2); margin-bottom: var(--s8); }
.sec-head > * { grid-column: 1 / span 7; }

/* روایت */
.sec-quote { padding-block: var(--s12); }
.quote { grid-column: 3 / span 8; text-align: center; }
.quote .ar { font-family: "Amiri", serif; font-size: 34px; line-height: 1.9; margin-bottom: var(--s3); }
.quote .fa { font-size: var(--t-md); color: var(--ink2); }
.quote figcaption { margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink3); display: inline-flex; align-items: center; gap: var(--s2); }
.quote figcaption::before, .quote figcaption::after { content: ""; width: 24px; height: 1px; background: var(--hair2); }

/* فانوس امشب */
.sec-lamp { overflow-x: clip; }
.lamp-col { grid-column: 2 / span 10; display: grid; grid-template-columns: 5fr 5fr; align-items: center; column-gap: var(--s8); }
.lamp { position: relative; justify-self: center; width: 300px; aspect-ratio: 3 / 4; -webkit-tap-highlight-color: transparent; transition: transform .6s var(--ease); }
.lamp:hover { transform: translateY(-4px); }
.lamp:active { transform: scale(.98); }
.lamp img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1.3s var(--ease); }
.lamp-on, .lamp-flame { opacity: 0; }
.lamp-glow { position: absolute; left: 50%; top: 55%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.5); border-radius: 50%; background: radial-gradient(circle, rgba(255, 216, 154, .75) 0%, rgba(242, 178, 76, .32) 28%, rgba(242, 178, 76, 0) 62%); opacity: 0; transition: opacity 1.6s var(--ease), transform 1.8s var(--ease); pointer-events: none; }
.lamp::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 26, 33, .35), transparent); z-index: -1; }
.lamp.lit .lamp-off { opacity: 0; }
.lamp.lit .lamp-on { opacity: 1; }
.lamp-flame { position: absolute; left: 50%; top: 62%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 190, .9) 0%, rgba(255, 200, 110, .45) 30%, rgba(242, 178, 76, 0) 70%); mix-blend-mode: screen; transition: opacity 1.3s var(--ease); pointer-events: none; }
.lamp.lit .lamp-flame { opacity: 1; animation: flicker 3.2s ease-in-out 1.3s infinite; }
.lamp.lit .lamp-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: breath 5s ease-in-out 1.8s infinite; }
.lamp.lit { cursor: default; }
.lamp.lit:hover { transform: none; }
@keyframes flicker { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 30% { transform: translate(-50%, -50%) scale(1.08, .94); opacity: .75; } 55% { transform: translate(-50%, -50%) scale(.95, 1.06); opacity: 1; } 80% { transform: translate(-50%, -50%) scale(1.04); opacity: .85; } }
@keyframes breath { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .78; transform: translate(-50%, -50%) scale(.95); } }
.lamp-text h2 { margin-block: var(--s2) var(--s1); }
.lamp-sub { color: var(--ink2); margin-bottom: var(--s4); }
.lamp-count { margin-top: var(--s3); font-size: var(--t-md); color: var(--ink); }
.lamp-count b { font-weight: 700; color: var(--accent-text); }
.lamp-all { margin-top: var(--s1); font-size: var(--t-xs); color: var(--ink3); }
.lamp-count[hidden], .lamp-all[hidden] { display: none; }
[data-lamp-btn][disabled] { background: transparent; color: var(--accent-text); border: 1px solid var(--accent); box-shadow: none; cursor: default; transform: none; }

/* چهار بخش */
.parts { align-items: start; }
.steps { grid-column: 1 / span 6; }
.step + .step { border-top: 1px solid var(--hair); }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--s6); opacity: .3; transition: opacity .5s var(--ease); }
.step.is-on { opacity: 1; }
.step-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.step h3 { font-size: var(--t-lg); margin-bottom: var(--s2); }
.step p { color: var(--ink2); max-width: 32em; }
.spec { display: flex; flex-wrap: wrap; row-gap: var(--s1); margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink3); }
.spec li { padding-inline: var(--s2); border-inline-start: 1px solid var(--hair2); line-height: 1.4; }
.spec li:first-child { padding-inline-start: 0; border: 0; }
.phone-cap { display: none; }
.phone-col { grid-column: 8 / span 4; position: sticky; top: calc(50vh - 330px); height: 660px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); }
.phone { width: 290px; aspect-ratio: 600 / 1298; padding: 10px; border-radius: 46px; background: #0F1A21; box-shadow: 0 0 0 1px var(--hair2), 0 40px 80px -30px rgba(15, 26, 33, .55); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #1C2F3A; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.screen img.is-on { opacity: 1; transform: none; }
.pager { display: flex; gap: var(--s1); }
.pager li { width: 24px; height: 2px; background: var(--hair2); border-radius: 2px; transition: background-color .4s var(--ease); }
.pager li.is-on { background: var(--accent); }

/* حریم خصوصی: تصویر در قاب طاقی، روی همان آسمان صفحه */
.sec-privacy {
  --wall: #1B3039;
  --ink: #EEF2F3; --ink2: #BECBD2; --ink3: #8EA2AE; --hair: rgba(207, 220, 227, .12); --hair2: rgba(207, 220, 227, .22); --accent-text: #F2B24C;
  color: var(--ink); background: var(--wall); overflow: hidden; isolation: isolate;
}
/* نور گرم فانوسِ نقاشی کمی روی دیوارِ بخش هم پخش می‌شود */
.sec-privacy::before { content: ""; position: absolute; z-index: -1; left: 4%; top: 30%; width: 60vmin; height: 60vmin; border-radius: 50%; background: radial-gradient(circle, rgba(242, 178, 76, .10), transparent 65%); pointer-events: none; }
.sec-privacy .grid { align-items: center; }
.privacy-text { grid-column: 1 / span 5; }
.privacy-text h2 { margin-block: var(--s2) var(--s6); }
.rows li { display: flex; gap: var(--s3); padding-block: var(--s3); border-top: 1px solid var(--hair); }
.rows li:last-child { border-bottom: 1px solid var(--hair); }
.rows h3 { font-size: var(--t-sm); margin-bottom: 4px; }
.rows p { color: var(--ink2); line-height: 1.8; }
.arch { grid-column: 8 / span 5; position: relative; aspect-ratio: 4 / 5; border-radius: 50% 50% 20px 20px / 40% 40% 16px 16px; overflow: hidden; background: var(--wall); isolation: isolate; }
/* لبه‌ی قاب فقط یک خط طلایی خیلی کم‌رنگ؛ داخلش تصویر در رنگ دیوار حل می‌شود */
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(242, 178, 76, .22); pointer-events: none; z-index: 2; }
.arch::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 62%, var(--wall) 100%); }
.arch img, .arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.arch video { z-index: 1; opacity: 0; transition: opacity 1s var(--ease); }
.arch video.ready { opacity: 1; }

/* شروع + پاورقی: تصویر جاده در آسمان صفحه محو می‌شود */
.sec-start { padding-block: var(--s16) 0; overflow: hidden; isolation: isolate; }
.start-bg { position: absolute; inset: 0; z-index: -1; max-width: var(--art-max); margin-inline: auto; background: url(/site/img/path.webp) center bottom / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 35%), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.start-bg::after { content: ""; position: absolute; inset: 0; background: var(--start-veil); }
.start-text { grid-column: 3 / span 8; text-align: center; padding-block: var(--s8) 280px; }
.start-text h2 { font-size: var(--t-2xl); line-height: 1.3; margin-bottom: var(--s2); }
.start-text p { color: var(--ink2); font-size: var(--t-md); margin-bottom: var(--s4); }
.start-text .cta { justify-content: center; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s4); position: relative; }
.foot-logo { color: var(--ink); }
.foot-logo .logotype { width: 56px; }
.foot-links { display: flex; gap: var(--s4); font-size: var(--t-xs); color: var(--ink2); }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: var(--t-xs); color: var(--ink3); }
html:not([data-phase="night"]) .foot { color: var(--ink); }

/* نمایش آرام */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- صفحه‌های خیلی عریض (زوم‌اوت): تصویر بزرگ‌تر از اندازه‌ی واقعی‌اش کشیده نمی‌شود ---------- */
@media (min-width: 2200px) {
  .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, #000 72%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect;
  }
}

/* ---------- تبلت ---------- */
@media (max-width: 1024px) {
  .hero-text { grid-column: 1 / span 6; }
  .steps { grid-column: 1 / span 7; }
  .phone-col { grid-column: 9 / span 4; }
  .phone { width: 240px; }
  .quote { grid-column: 2 / span 10; }
  .lamp-col { grid-column: 1 / -1; column-gap: var(--s4); }
  .privacy-text { grid-column: 1 / span 6; }
  .arch { grid-column: 8 / span 5; }
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero-bg { background: var(--hero-veil-sm), var(--hero-img-sm) center bottom / cover no-repeat; }
  .hero { min-height: max(100svh, calc(100vw * 1599 / 900)); }
  .hero-in { align-content: start; padding-top: var(--s6); }
  .hero-text { grid-column: 1 / -1; max-width: 520px; }
}

/* ---------- موبایل: ۴ ستون ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; --side: 20px; --t-xl: 28px; --t-2xl: 40px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1 !important; }
  .sec { padding-block: var(--s8); }
  .sec-head { margin-bottom: var(--s4); }

  .hero { min-height: max(100svh, 600px); }
  .bar { height: 72px; }
  .bar-links { background: none !important; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bar-links a:not(.btn) { display: none; }
  .hero-in { padding-block: var(--s3) 0; }
  .hero-in .logotype { width: 104px; }
  .hero h1 { margin-bottom: var(--s2); }
  .eyebrow { margin-bottom: var(--s1); }
  .lead { font-size: var(--t-sm); line-height: 1.85; margin-bottom: var(--s3); }
  .cta .btn { flex: 1 1 0; height: 48px; padding-inline: var(--s2); font-size: 13px; }
  .note { font-size: 12px; }
  .hero-live { bottom: var(--s3); color: #EEF2F3; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }

  .quote .ar { font-size: 26px; }

  .lamp-col { grid-template-columns: 1fr; row-gap: var(--s4); text-align: center; }
  .lamp { width: 220px; }
  .lamp-text .label { justify-content: center; }
  .lamp-text .btn { width: 100%; }

  /* موبایل هم مثل دسکتاپ: گوشی ثابت می‌ماند و با اسکرول، متنِ بالای آن و صفحه‌ی داخلش عوض می‌شود.
     قدم‌ها نامرئی‌اند و فقط مسیر اسکرول را می‌سازند؛ روی گوشیِ ثابت می‌لغزند. */
  .parts { display: flex; flex-direction: column; }
  .phone-col { order: -1; }
  .phone-col { position: sticky; top: 0; height: 100svh; justify-content: center; gap: var(--s2); padding-block: var(--s3); z-index: 1; }
  .phone-cap { display: grid; width: 100%; text-align: center; }
  .cap { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .cap.is-on { opacity: 1; transform: none; }
  .cap .step-head { justify-content: center; margin-bottom: var(--s1); }
  .cap .ico { width: 40px; height: 40px; }
  .cap h3 { font-size: var(--t-md); margin-bottom: 4px; }
  .cap p { font-size: 13px; line-height: 1.8; color: var(--ink2); max-width: 30em; margin-inline: auto; }
  .phone { width: auto; height: min(62svh, 520px); max-width: 76vw; padding: 8px; border-radius: 38px; }
  .screen { border-radius: 30px; }
  .steps { margin-top: -100svh; position: relative; pointer-events: none; }
  .step { min-height: 80svh; padding: 0; opacity: 0 !important; border: 0 !important; }
  .step:last-child { min-height: 100svh; }

  .sec-privacy .grid { row-gap: var(--s6); }
  .arch { order: -1; width: 78%; max-width: 320px; justify-self: center; }

  .start-text { padding-block: var(--s4) 220px; }
  .start-bg { background-position: 15% bottom; }
  .foot { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
