/* ==========================================================================
   landing.css — public pages (owner: public)
   Cinematic home (/), job info (/job), contract preview (/contract), privacy (/privacy).
   Builds on base.css tokens and classes. RTL, mobile-first. Every JS-driven effect
   (public/js/cinematic.js) has a complete static fallback; motion respects
   prefers-reduced-motion. Only local-effect colours are introduced here.
   ========================================================================== */

:root {
  /* SVG film grain (feTurbulence), used as a tiled overlay */
  --lp-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --lp-night: #05030a;
}

/* ==========================================================================
   1. Shared pieces
   ========================================================================== */

/* ---------- scroll progress (needs cinematic.js) ---------- */
.lp-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 70;
  height: 3px;
  pointer-events: none;
  display: none;
}
html.cine .lp-progress { display: block; }
.lp-progress > span {
  display: block;
  height: 100%;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(255,79,163,.65);
  transform: scaleX(0);
  transform-origin: 100% 50%; /* RTL: grows from the right */
  will-change: transform;
}

/* ---------- buttons ---------- */
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(-4px); }
.btn-glow {
  --btn-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 40px -10px rgba(255,79,163,.75), 0 0 60px -12px rgba(160,32,240,.9);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-glow { animation: lp-glow 3.2s ease-in-out infinite; }
}
@keyframes lp-glow {
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 50px -10px rgba(255,79,163,.95), 0 0 90px -6px rgba(160,32,240,1); }
}

/* ---------- «ظرفیت تکمیل است» ---------- */
.closed-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,200,87,.09);
  border: 1px solid rgba(255,200,87,.42);
  color: #ffe2a6;
  font-weight: 700;
  line-height: 1.6;
  text-align: start;
}
.closed-note .icon { color: var(--amber); }

/* ---------- inner-page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 8vw, 96px) clamp(32px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 8%;
  bottom: -1px;
  height: 1px;
  background: var(--grad-brand);
  opacity: .7;
  box-shadow: 0 0 20px rgba(255,79,163,.5);
}
.page-hero-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ph-blob { position: absolute; border-radius: 50%; }
.ph-b1 { width: 680px; height: 440px; top: -240px; inset-inline-start: -140px; background: radial-gradient(closest-side, rgba(160,32,240,.40), transparent); }
.ph-b2 { width: 540px; height: 380px; top: -140px; inset-inline-end: -180px; background: radial-gradient(closest-side, rgba(255,79,163,.20), transparent); }
.ph-b3 { width: 720px; height: 300px; bottom: -220px; left: 28%; background: radial-gradient(closest-side, rgba(46,230,166,.13), transparent); }
.ph-grain { position: absolute; inset: 0; background-image: var(--lp-grain); background-size: 200px 200px; opacity: .055; mix-blend-mode: overlay; }
@media (prefers-reduced-motion: no-preference) {
  .ph-b1 { animation: lp-drift-a 22s ease-in-out infinite alternate; }
  .ph-b2 { animation: lp-drift-b 28s ease-in-out infinite alternate; }
}
@keyframes lp-drift-a { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
@keyframes lp-drift-b { to { transform: translate3d(-50px, 30px, 0) scale(1.1); } }

.page-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.page-title { font-size: clamp(1.85rem, 1.15rem + 3vw, 3.2rem); max-width: 24ch; }
.page-lead { max-width: 62ch; }
.page-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.page-chips .chip { gap: 8px; line-height: 1.8; }
.page-chips .icon { color: var(--pink); }
.page-hero-actions { margin-top: 6px; }

.crumbs ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  color: var(--text-dim);
}
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 4.5vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, rgba(123,44,191,.30), rgba(255,79,163,.12) 55%, rgba(46,230,166,.10)), var(--bg-1);
  box-shadow: var(--shadow);
}
.cta-band-glow {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  top: -210px;
  inset-inline-start: -130px;
  background: radial-gradient(closest-side, rgba(160,32,240,.45), transparent);
  pointer-events: none;
}
.cta-band-title { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); margin-bottom: 6px; }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 520px) {
  .cta-band-actions > * { flex: 1 1 100%; }
  .cta-band-actions .closed-note { width: 100%; }
}

/* ---------- checklist ---------- */
ul.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  line-height: 1.8;
}
.checklist .icon { color: var(--green); margin-top: .28em; }

/* ==========================================================================
   2. Home — intro sequence
   ========================================================================== */

/* Black cover: hides the hero until cinematic.js decides whether to play the intro
   (fades itself out after 2.6s if the script never runs). */
.cine-cover { display: none; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .cine-cover {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: #030106;
    pointer-events: none;
    animation: cine-cover-out .6s ease 2.6s forwards;
  }
}
.cine-cover.is-gone { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; animation: none; }
@keyframes cine-cover-out { to { opacity: 0; visibility: hidden; } }

.cine-intro {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  contain: layout paint;
}
.cine-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 50%, #1b0a31 0%, #0a0412 58%, #030106 100%);
  transition: opacity .75s ease;
}
.cine-intro::after { /* scanlines */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px);
  transition: opacity .6s ease;
}
.cine-intro-bar {
  position: absolute;
  inset-inline: 0;
  z-index: 3;
  height: 12vh;
  height: 12svh;
  background: #000;
  transition: transform .85s var(--ease);
}
.cine-intro-bar.is-top { top: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.cine-intro-bar.is-bottom { bottom: 0; border-top: 1px solid rgba(255,255,255,.05); }
.cine-intro-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-inline: 16px;
  text-align: center;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s ease, transform 1.6s var(--ease), filter .6s ease;
}
.cine-intro.is-on .cine-intro-stage { opacity: 1; transform: none; }
.cine-intro-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: rgba(255,255,255,.55);
}
.cine-intro-kicker::before,
.cine-intro-kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45));
}
.cine-intro-kicker::after { transform: scaleX(-1); }
.cine-intro-clock {
  direction: ltr;
  font-size: clamp(2.8rem, 13vw, 8.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  color: #f7eaff;
  text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 18px rgba(199,125,255,.95), 0 0 42px rgba(160,32,240,.85), 0 0 96px rgba(255,79,163,.5);
  transition: color .3s ease, text-shadow .3s ease, transform .6s var(--ease);
}
.cine-intro.is-on .cine-intro-clock { animation: cine-neon-on 1s linear both; }
.cine-intro-digits { display: inline-block; }
.cine-intro-digits.is-tick { animation: cine-tick .5s var(--ease); }
.cine-intro.is-zero .cine-intro-clock {
  color: #ecfff7;
  transform: scale(1.05);
  text-shadow: 0 0 6px #fff, 0 0 20px rgba(46,230,166,.95), 0 0 50px rgba(46,230,166,.75), 0 0 120px rgba(255,79,163,.45);
}
.cine-intro-sub { min-height: 1.9em; font-size: 1rem; font-weight: 600; color: #b9ffe6; letter-spacing: .02em; }
.cine-intro-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,222,245,.92) 20%, rgba(255,79,163,.38) 46%, rgba(160,32,240,.14) 68%, transparent 86%);
}
.cine-intro.is-zero .cine-intro-flash { animation: cine-flash .6s ease-out both; }
.cine-intro-skip {
  position: absolute;
  z-index: 5;
  bottom: max(2.6vh, 12px);
  inset-inline-end: clamp(16px, 4vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s, opacity .3s;
}
.cine-intro-skip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: #fff; }
.cine-intro-skip:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 999px; }

.cine-intro.is-out { pointer-events: none; }
.cine-intro.is-out::before,
.cine-intro.is-out::after { opacity: 0; }
.cine-intro.is-out .cine-intro-bar.is-top { transform: translateY(-101%); }
.cine-intro.is-out .cine-intro-bar.is-bottom { transform: translateY(101%); }
.cine-intro.is-out .cine-intro-stage { opacity: 0; transform: scale(1.2); filter: blur(8px); transition-duration: .55s, .8s, .55s; }
.cine-intro.is-out .cine-intro-skip { opacity: 0; }
.cine-intro.is-fast *,
.cine-intro.is-fast::before,
.cine-intro.is-fast::after { transition-duration: .3s !important; }

@keyframes cine-neon-on {
  0% { opacity: 0; }
  8% { opacity: .9; }
  12% { opacity: .15; }
  22% { opacity: 1; }
  26% { opacity: .35; }
  34%, 100% { opacity: 1; }
}
@keyframes cine-tick { from { opacity: .45; transform: translateY(5px) scale(.985); filter: blur(1.5px); } }
@keyframes cine-flash { 0% { opacity: 0; } 18% { opacity: .95; } 100% { opacity: 0; } }

/* ==========================================================================
   3. Home — hero
   ========================================================================== */

.cine-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + clamp(24px, 6vh, 64px)) clamp(92px, 16vh, 170px);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(130% 90% at 50% 0%, #12072a 0%, #0a0514 46%, var(--bg-0) 78%);
}
.cine-hero::after { /* blend into the next section */
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 16vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg-0));
}
.cine-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cine-sky > * { position: absolute; inset: 0; }
.cine-stars { width: 100%; height: 100%; max-width: none; }

/* aurora */
.cine-aurora { inset: -12%; transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -16px), 0); }
.cine-blob { position: absolute; border-radius: 50%; will-change: transform; }
.cb-1 { width: 78vmax; height: 46vmax; top: -8%; right: -18%; background: radial-gradient(closest-side, rgba(123,44,191,.58), rgba(123,44,191,0)); transform: rotate(-14deg); }
.cb-2 { width: 64vmax; height: 40vmax; top: 16%; left: -24%; background: radial-gradient(closest-side, rgba(160,32,240,.40), rgba(160,32,240,0)); transform: rotate(18deg); }
.cb-3 { width: 52vmax; height: 30vmax; top: 34%; right: 6%; background: radial-gradient(closest-side, rgba(255,79,163,.27), rgba(255,79,163,0)); }
.cb-4 { width: 60vmax; height: 30vmax; bottom: 4%; left: 12%; background: radial-gradient(closest-side, rgba(46,230,166,.17), rgba(46,230,166,0)); }
@media (prefers-reduced-motion: no-preference) {
  .cb-1 { animation: cine-drift-1 24s ease-in-out infinite alternate; }
  .cb-2 { animation: cine-drift-2 31s ease-in-out infinite alternate; }
  .cb-3 { animation: cine-drift-3 19s ease-in-out infinite alternate; }
  .cb-4 { animation: cine-drift-4 27s ease-in-out infinite alternate; }
}
@keyframes cine-drift-1 { to { transform: rotate(-4deg) translate3d(-10vw, 7vh, 0) scale(1.18); } }
@keyframes cine-drift-2 { to { transform: rotate(4deg) translate3d(12vw, -5vh, 0) scale(1.12); } }
@keyframes cine-drift-3 { from { opacity: .75; } to { transform: translate3d(-14vw, -6vh, 0) scale(1.3); opacity: 1; } }
@keyframes cine-drift-4 { to { transform: translate3d(10vw, -4vh, 0) scale(1.2); } }

/* planet horizon with a purple → pink → green rim (RTL: midnight at the right, morning at the left) */
.cine-sky > .cine-horizon {
  inset: auto;
  left: 50%;
  top: 74%;
  width: max(1500px, 185vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate3d(calc(-50% + var(--mx, 0) * 12px), 0, 0);
  background:
    radial-gradient(closest-side, #06030c calc(100% - 2.5px), transparent 100%),
    linear-gradient(270deg, var(--purple-2) 24%, var(--veronica) 38%, var(--pink) 54%, #ff9a8b 63%, var(--green) 76%);
  box-shadow: 0 -10px 60px -14px rgba(160,32,240,.7), 0 -40px 140px -30px rgba(255,79,163,.45), 0 -2px 24px -6px rgba(255,255,255,.3);
}
.cine-horizon::before { /* atmosphere */
  content: "";
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 95.5%, rgba(160,32,240,.22) 97.6%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .cine-horizon::before { animation: cine-breathe 7s ease-in-out infinite alternate; }
}
@keyframes cine-breathe { from { opacity: .55; } to { opacity: 1; } }

/* film grain + vignette */
.cine-sky > .cine-grain {
  inset: -50%;
  background-image: var(--lp-grain);
  background-size: 180px 180px;
  opacity: .085;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: no-preference) {
  .cine-sky > .cine-grain { animation: cine-grain 1s steps(1) infinite; }
}
@keyframes cine-grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 2%, 0); }
  40% { transform: translate3d(3%, -3%, 0); }
  60% { transform: translate3d(-2%, 4%, 0); }
  80% { transform: translate3d(4%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.cine-vignette { background: radial-gradient(125% 90% at 50% 45%, transparent 52%, rgba(3,1,6,.55) 82%, rgba(3,1,6,.9) 100%); }

/* content */
.cine-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4vh, 26px);
  max-width: 1040px;
  transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--hs, 0) * 90px + var(--my, 0) * 5px), 0);
  opacity: calc(1 - var(--hs, 0) * 1.25);
}
.cine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.8;
  color: #ffd1ea;
  background: rgba(255,79,163,.08);
  border: 1px solid rgba(255,79,163,.3);
  box-shadow: 0 0 30px -8px rgba(255,79,163,.5), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cine-eyebrow .icon { color: #ffd580; }

.cine-title {
  font-size: clamp(2.15rem, 1.05rem + 5vw, 5rem);
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -.012em;
  text-shadow: 0 2px 30px rgba(7,4,13,.6);
}
.cine-title.is-long { font-size: clamp(1.8rem, 1rem + 3.4vw, 3.6rem); }
.cine-line { display: block; }
.cine-line.is-hl { filter: drop-shadow(0 0 26px rgba(255,79,163,.35)); }
.w, .w-in { display: inline-block; }
.cine-line.is-hl .w-in {
  padding-bottom: .06em;
  background: linear-gradient(100deg, #c77dff 0%, #ff6fb5 30%, #ffa08e 50%, #ff6fb5 70%, #c77dff 100%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .cine-line.is-hl .w-in { animation: cine-sheen 9s ease-in-out infinite alternate; }
}
@keyframes cine-sheen { to { background-position: 0% 50%; } }

/* staggered reveal (only once cinematic.js runs: html.cine).
   Hidden state uses opacity .01, not 0: the text is still painted (under the intro overlay), so it stays an
   LCP candidate and the metric is not delayed by the intro. */
html.cine .cine-hero .w-in {
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms + 80ms);
}
html.cine .cine-hero:not(.is-live) .w-in {
  opacity: .01;
  transform: translate3d(0, .5em, 0) scale(.98);
  filter: blur(12px);
}
html.cine .cine-hero .hero-rv {
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms + 160ms);
}
html.cine .cine-hero:not(.is-live) .hero-rv { opacity: .01; transform: translate3d(0, 18px, 0); }
/* fail-safe: never leave the headline hidden */
html.cine .cine-hero:not(.is-live) .w-in,
html.cine .cine-hero:not(.is-live) .hero-rv { animation: cine-show .01s linear 5s forwards; }
@keyframes cine-show { to { opacity: 1; transform: none; filter: none; } }

.cine-lead {
  max-width: 40rem;
  font-size: clamp(1.02rem, .95rem + .45vw, 1.25rem);
  line-height: 2.05;
  color: #dccdf0;
  text-shadow: 0 1px 16px rgba(7,4,13,.85);
}
.cine-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  margin-top: 4px;
}
.cine-ctas .btn-ghost:not(:hover) {
  --btn-bg: rgba(10,6,20,.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (max-width: 480px) {
  .cine-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .cine-ctas > * { width: 100%; justify-content: center; }
}

/* live shift status */
.shift-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(10,6,20,.5);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color .4s, border-color .4s, background-color .4s;
}
.shift-dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 10px var(--purple-2);
}
.shift-time {
  display: inline-block;
  min-width: 5.4em;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.shift-chip.is-live { color: #c9ffe9; border-color: rgba(46,230,166,.42); background: rgba(6,40,30,.45); }
.shift-chip.is-live .shift-dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.shift-chip.is-live .shift-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: cine-ping 1.8s var(--ease) infinite;
}
@keyframes cine-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* scroll cue */
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(18px, 4vh, 36px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: .78rem;
  text-decoration: none;
  transition: color .2s;
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue-mouse { position: relative; width: 24px; height: 38px; border-radius: 14px; border: 1.6px solid rgba(255,255,255,.32); }
.scroll-cue-mouse::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue-mouse::before { animation: cine-wheel 1.9s var(--ease) infinite; }
}
@keyframes cine-wheel {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-height: 640px), (max-width: 380px) {
  .scroll-cue { display: none; }
}

/* ==========================================================================
   4. Home — «شب در یک نگاه» (list by default; scroll-driven when JS adds .is-scrolly)
   ========================================================================== */

.night { position: relative; padding-block: var(--section-y); }
.night-head { margin-bottom: clamp(28px, 5vw, 48px); }
.night-hint { display: none; }
.night-sticky { display: none; }

.night-chapters { position: relative; display: grid; gap: 16px; max-width: 760px; margin-inline: auto; }
.night-chapters::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  inset-inline-start: 23px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #c77dff, var(--veronica) 35%, var(--pink) 62%, var(--green));
  opacity: .55;
}
.night-chapter { position: relative; padding-inline-start: 64px; }
.night-card {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.night-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c, var(--pink));
}
.night-time time { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.night-time-icon {
  position: absolute;
  inset-inline-start: -64px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(160,32,240,.6), rgba(255,79,163,.45));
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.25), transparent 60%), color-mix(in srgb, var(--c) 45%, #120a22);
  border: 1px solid var(--border-strong);
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 0 22px -4px var(--c);
}
.night-title { font-size: 1.25rem; margin-bottom: 4px; }
.night-text { color: var(--text-muted); }

/* scroll-driven mode */
.night.is-scrolly { padding-bottom: 0; }
.night.is-scrolly .night-hint { display: inline; }
.night.is-scrolly .night-stage { position: relative; }
.night.is-scrolly .night-sticky {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.night.is-scrolly .night-chapters-wrap { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.night.is-scrolly .night-chapters { max-width: none; gap: 0; }
.night.is-scrolly .night-chapters::before { display: none; }
.night.is-scrolly .night-chapter {
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 0 24px;
  padding: 0 0 max(6svh, 24px);
}
.night.is-scrolly .night-card {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 18px 20px;
  background: rgba(12,7,24,.64);
  border-color: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  opacity: .3;
  transform: translate3d(0, 18px, 0) scale(.98);
  transition: opacity .6s var(--ease), transform .8s var(--ease), border-color .6s, box-shadow .6s;
}
.night.is-scrolly .night-chapter.is-active .night-card {
  opacity: 1;
  transform: none;
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: var(--shadow), 0 0 50px -16px var(--c);
}
.night.is-scrolly .night-time-icon { position: static; width: 38px; height: 38px; }
@media (max-width: 899.98px) {
  .night.is-scrolly .night-chapter:not(.is-active) .night-card { opacity: .12; }
}

.night-sky { position: absolute; inset: 0; overflow: hidden; background: #0b0616; }
.night-sky > * { position: absolute; }
.night-grad {
  inset-inline: 0;
  top: 0;
  height: 400%;
  background: var(--grad-shift);
  background: linear-gradient(180deg, #0b0616 0%, #1a0b2e 16%, #3a0d4a 36%, #6a1758 52%, #8a1f5f 60%, #72287c 66%, #4a3c93 72%, #1d5494 78%, #07627c 85%, #0b6a5a 92%, #0f5c4a 100%);
  transform: translate3d(0, calc(var(--p, 0) * -75%), 0);
  will-change: transform;
}
.night-stars {
  inset: 0;
  opacity: calc(1 - var(--p, 0) * 1.6);
  background-image:
    radial-gradient(1.4px 1.4px at 8% 14%, #fff, transparent 60%),
    radial-gradient(1px 1px at 22% 38%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.6px 1.6px at 36% 9%, #ffe3f4, transparent 60%),
    radial-gradient(1px 1px at 47% 30%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 61% 18%, #fff, transparent 60%),
    radial-gradient(1px 1px at 73% 42%, rgba(214,196,255,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 12%, #fff, transparent 60%),
    radial-gradient(1px 1px at 93% 34%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 14% 60%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 31% 70%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 55% 58%, rgba(200,255,236,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 79% 66%, rgba(255,255,255,.6), transparent 60%);
}
.night-sun {
  left: 50%;
  bottom: -60%;
  width: 150vmax;
  height: 90vmax;
  border-radius: 50%;
  transform: translate3d(-50%, calc((1 - var(--p, 0)) * 35%), 0);
  background: radial-gradient(closest-side, rgba(255,206,170,.5), rgba(255,111,181,.3) 40%, rgba(160,32,240,.1) 66%, transparent 80%);
  opacity: min(calc(var(--p, 0) * 1.8 - .35), calc((1 - var(--p, 0)) * 3));
}
.night-sun-2 {
  background: radial-gradient(closest-side, rgba(214,255,240,.5), rgba(46,230,166,.28) 42%, rgba(6,214,160,.08) 66%, transparent 80%);
  opacity: calc((var(--p, 0) - .68) * 3.2);
}
.night-fade { inset: 0; background: linear-gradient(180deg, var(--bg-0) 0%, transparent 16%, transparent 84%, var(--bg-0) 100%); }

.night-dial-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 3vh);
}
.night-dial-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.night-dial {
  position: relative;
  width: min(64vw, 38vh, 300px);
  width: min(64vw, 38svh, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.night-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.night-ring-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 2; }
.night-ring-fill {
  fill: none;
  stroke: var(--night-accent, #c77dff);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px var(--night-accent, #c77dff));
  transition: stroke .3s linear;
}
.night-tick { stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-linecap: round; }
.night-knob { position: absolute; inset: 0; transform: rotate(calc(var(--p, 0) * 360deg)); pointer-events: none; }
.night-knob::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 18px 4px var(--night-accent, #c77dff);
}
.night-clock { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; }
.night-clock-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: rgba(255,255,255,.55); }
.night-clock-time {
  direction: ltr;
  font-size: min(15vw, 4.2rem);
  font-size: min(15vw, 9svh, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 6px rgba(255,255,255,.55), 0 0 22px var(--night-accent, #c77dff), 0 0 60px var(--night-accent, #c77dff);
}
.night-clock-label { font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.85); }

.night-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.night-dots li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(10,6,20,.35);
  transition: color .4s, border-color .4s, background-color .4s;
}
.night-dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .5; }
.night-dots li.is-active { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(10,6,20,.6); }
.night-dots li.is-active::before { opacity: 1; box-shadow: 0 0 10px var(--c); }
@media (max-width: 599.98px) {
  .night-dots { display: none; }
}

@media (min-width: 900px) {
  .night-dial-wrap { justify-content: center; align-items: flex-start; padding-top: var(--header-h); }
  .night-dial-col { margin-inline-start: 3%; }
  .night-dial { width: min(38vw, 58vh, 440px); width: min(38vw, 58svh, 440px); }
  .night-clock-time { font-size: min(7vw, 5.6rem); font-size: min(7vw, 9svh, 5.6rem); }
  .night.is-scrolly .night-chapter { align-items: center; padding: 0; }
  .night.is-scrolly .night-card { margin-inline: 52% 0; width: auto; max-width: 440px; padding: 24px 26px; }
  .night.is-scrolly .night-title { font-size: 1.45rem; }
}

/* ==========================================================================
   5. Home — «بازی، کار است»
   ========================================================================== */

.play-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.play-grid > li { display: flex; }
@media (min-width: 720px) and (max-width: 1023.98px) {
  .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-grid > li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .play-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
.play-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), border-color .35s, box-shadow .5s var(--ease);
}
.play-card.is-tilting { transition: transform .12s linear, border-color .35s, box-shadow .5s var(--ease); }
.play-card:hover {
  border-color: rgba(255,79,163,.4);
  border-color: color-mix(in srgb, var(--card-c) 50%, transparent);
  box-shadow: var(--shadow), 0 0 60px -18px var(--card-c);
}
.play-card::before { /* rim light */
  content: "";
  position: absolute;
  inset-inline: 16%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-c), transparent);
  opacity: .75;
}
.play-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,79,163,.16), transparent 60%);
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--card-c) 24%, transparent), transparent 60%);
  opacity: .55;
  transition: opacity .4s;
}
.play-card:hover .play-glow { opacity: 1; }
.play-num {
  position: absolute;
  top: 10px;
  inset-inline-end: 20px;
  font-size: clamp(3.6rem, 3rem + 2vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.15);
  user-select: none;
}
.play-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(160,32,240,.55), rgba(255,79,163,.45));
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 55%), color-mix(in srgb, var(--card-c) 55%, #140b26);
  box-shadow: 0 12px 30px -12px var(--card-c), inset 0 1px 0 rgba(255,255,255,.25);
}
.play-title { font-size: 1.3rem; margin-bottom: 8px; }
.play-text { color: var(--text-muted); }

/* ==========================================================================
   6. Home — pay model
   ========================================================================== */

.pay-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(14px, 2.4vw, 22px);
}
@media (min-width: 600px) { .pay-stats { gap: 16px; } }
.stat {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
  padding: 22px 10px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--border);
}
@media (min-width: 600px) { .stat { padding: 28px 18px 24px; } }
.stat::after {
  content: "";
  position: absolute;
  inset-inline: 20%;
  bottom: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: .65;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 14px;
  color: var(--pink);
  background: rgba(255,79,163,.1);
  border: 1px solid rgba(255,79,163,.26);
}
.stat-num { font-size: clamp(2.6rem, 1.9rem + 3.4vw, 4.8rem); font-weight: 900; line-height: 1.2; }
.stat-num > span {
  display: inline-block;
  min-width: 1.1ch;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-weight: 600; font-size: clamp(.84rem, .8rem + .25vw, 1rem); line-height: 1.7; }

.pay-detail { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pay-detail { grid-template-columns: 1.5fr 1fr; } }
.pay-month {
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--border);
}
.pay-month-cap { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.pay-month-cap .icon { color: var(--pink); }
.pay-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 18px 14px; }
.pay-seg {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2px;
  padding: 14px 14px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
}
.pay-seg::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(270deg, var(--purple-2), var(--pink));
  transform-origin: 100% 50%;
  transition: transform 1.3s var(--ease) .25s;
}
.pay-seg-2::after { background: linear-gradient(270deg, var(--pink), var(--green)); transition-delay: 1.1s; }
:where(.js) .pay-month:not(.is-visible) .pay-seg::after { transform: scaleX(0); }
.pay-seg-name { font-size: 1.05rem; font-weight: 800; }
.pay-seg-range { font-size: .88rem; color: var(--text-muted); }
.pay-pin {
  position: absolute;
  top: 12px;
  inset-inline-end: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: #c9ffe9;
  background: rgba(46,230,166,.12);
  border: 1px solid rgba(46,230,166,.36);
}
@media (max-width: 559.98px) {
  .pay-pin { position: static; justify-self: start; margin-top: 6px; }
}
.pay-month-note { color: var(--text-muted); }
.pay-month-note strong { color: var(--text); }

.pay-salary {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46,230,166,.32);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(46,230,166,.16), transparent 70%),
    radial-gradient(360px 220px at 0% 100%, rgba(160,32,240,.22), transparent 70%),
    var(--bg-1);
}
.pay-salary-label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 600; }
.pay-salary-label .icon { color: var(--green); }
.pay-salary-amount {
  font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
  color: #eafff6;
  text-shadow: 0 0 30px rgba(46,230,166,.35);
}
.pay-salary-sub { color: var(--text-muted); }
.pay-salary.is-note { border-color: var(--border); }
.pay-salary-text { color: var(--text-muted); }

/* ==========================================================================
   7. Home — «مسیر پیوستن»
   ========================================================================== */

.steps-track { position: relative; }
.steps-list { position: relative; display: grid; gap: 26px; }
.steps-line {
  position: absolute;
  top: 28px;
  bottom: 28px;
  inset-inline-start: 27px;
  width: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #c77dff, var(--pink) 55%, var(--green));
  box-shadow: 0 0 12px rgba(255,79,163,.6);
  transform-origin: 50% 0;
  transform: scaleY(var(--draw, 1));
}
.step { position: relative; min-height: 56px; padding-inline-start: 76px; }
.step-dot {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--text-dim);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  transition: color .5s, background .5s, box-shadow .6s var(--ease), border-color .5s;
}
.steps:not(.is-drawing) .step-dot,
.step.is-lit .step-dot {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--veronica), var(--pink));
  box-shadow: 0 0 0 5px rgba(255,79,163,.12), 0 10px 30px -8px rgba(255,79,163,.7);
}
.steps:not(.is-drawing) .step:last-child .step-dot,
.step.is-lit:last-child .step-dot {
  color: #04241a;
  background: linear-gradient(135deg, var(--green-2), var(--green));
  box-shadow: 0 0 0 5px rgba(46,230,166,.12), 0 10px 30px -8px rgba(46,230,166,.7);
}
.step-no { display: block; margin-bottom: 2px; font-size: .8rem; font-weight: 700; color: var(--pink); }
.step-title { font-size: 1.15rem; margin-bottom: 4px; }
.step-text { font-size: .96rem; color: var(--text-muted); }
@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps-line { top: 27px; bottom: auto; width: auto; height: 2px; inset-inline: calc(12.5% - 10.5px); }
  .steps-line-fill {
    background: linear-gradient(270deg, #c77dff, var(--pink) 55%, var(--green));
    transform-origin: 100% 50%;
    transform: scaleX(var(--draw, 1));
  }
  .step { display: flex; flex-direction: column; align-items: center; padding: 0; text-align: center; }
  .step-dot { position: relative; margin-bottom: 18px; }
}

/* ==========================================================================
   8. Home — trust strip & finale
   ========================================================================== */

.trust {
  position: relative;
  padding-block: clamp(22px, 4vw, 40px);
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(123,44,191,.08), rgba(255,79,163,.05), rgba(46,230,166,.06));
}
.trust-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 440px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; }
.trust-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(7,4,13,.4);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: border-color .3s, background-color .3s, transform .45s var(--ease);
}
a.trust-card:hover { color: var(--text); border-color: rgba(255,79,163,.4); background: var(--surface-2); transform: translateY(-2px); }
.trust-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--green);
  background: rgba(46,230,166,.1);
  border: 1px solid rgba(46,230,166,.26);
}
.trust-text { flex: 1; min-width: 0; }
.trust-arrow { color: var(--text-dim); transition: transform .3s var(--ease), color .2s; }
a.trust-card:hover .trust-arrow { color: var(--pink); transform: translateX(-3px); }

.finale-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 64px) clamp(44px, 7vw, 84px);
  border-radius: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border-strong);
  text-align: center;
  background: linear-gradient(180deg, #0f0720 0%, #1c0a30 40%, #35103d 72%, #4a1342 100%);
  box-shadow: 0 40px 100px -40px rgba(255,79,163,.45);
}
.finale-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.finale-sky > * { position: absolute; }
.finale-rays {
  left: 50%;
  bottom: 0;
  width: 260%;
  aspect-ratio: 1;
  translate: -50% 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.055) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 62%);
  mask-image: radial-gradient(closest-side, #000 18%, transparent 62%);
}
@media (prefers-reduced-motion: no-preference) {
  .finale-rays { animation: finale-rot 120s linear infinite; }
}
@keyframes finale-rot { to { rotate: 360deg; } }
.finale-sun {
  left: 50%;
  bottom: 0;
  width: min(620px, 130%);
  aspect-ratio: 1;
  translate: -50% 66%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,176,.62), rgba(255,138,160,.42) 28%, rgba(255,79,163,.24) 50%, rgba(160,32,240,.1) 72%, transparent 100%);
}
.finale-line { inset-inline: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(6,214,160,.14)); }
.finale-grain { inset: 0; background-image: var(--lp-grain); background-size: 200px 200px; opacity: .06; mix-blend-mode: overlay; }
.finale-title { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem); text-shadow: 0 4px 40px rgba(7,4,13,.6); }
.finale-lead { max-width: 46ch; color: #e8daf6; }
.finale-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.finale-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: #d4fff0;
  text-shadow: 0 1px 12px rgba(7,4,13,.9);
}
.finale-trust .icon { color: var(--green); }
@media (max-width: 480px) {
  .finale-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .finale-ctas > * { width: 100%; justify-content: center; }
}

/* ==========================================================================
   9. Job page
   ========================================================================== */

.fact-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--border);
  transition: border-color .3s;
}
.fact:hover { border-color: rgba(255,79,163,.3); }
.fact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(160,32,240,.55), rgba(255,79,163,.42));
  box-shadow: 0 8px 22px -10px rgba(255,79,163,.7), inset 0 1px 0 rgba(255,255,255,.2);
}
.fact-body { min-width: 0; }
.fact-label { font-size: .84rem; font-weight: 600; color: var(--text-dim); }
.fact-value { font-size: 1.05rem; font-weight: 700; line-height: 1.8; }
.fact-note { margin-top: 2px; font-size: .88rem; line-height: 1.8; color: var(--text-muted); }

.job-split { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .job-split { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 40px; }
  .job-notice { position: sticky; top: calc(var(--header-h) + 20px); margin-top: 58px; }
}
.job-req h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 16px; }
.job-notice { display: grid; gap: 12px; }

.faq { display: grid; gap: 10px; }
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: rgba(160,32,240,.45); background: rgba(160,32,240,.07); box-shadow: 0 0 40px -20px rgba(160,32,240,.6); }
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-q { flex: 1; min-width: 0; }
.faq-chevron { color: var(--text-dim); transition: transform .35s var(--ease), color .2s; }
.faq-item > summary:hover .faq-chevron { color: var(--text); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--pink); }
.faq-a { display: grid; gap: 10px; padding: 0 18px 18px; color: var(--text-muted); }
.faq-a strong { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: lp-fade-down .45s var(--ease); }
}
@keyframes lp-fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   10. Contract preview page
   ========================================================================== */

.cp-points { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cp-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cp-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cp-point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--border);
}
.cp-point-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, rgba(160,32,240,.55), rgba(255,79,163,.42));
  box-shadow: 0 8px 22px -10px rgba(255,79,163,.7), inset 0 1px 0 rgba(255,255,255,.2);
}
.cp-point-title { font-size: 1.05rem; font-weight: 800; line-height: 1.7; }
.cp-point-text { font-size: .95rem; line-height: 1.95; color: var(--text-muted); }
.cp-point.is-accent {
  grid-column: 1 / -1;
  border-color: rgba(46,230,166,.36);
  background: linear-gradient(120deg, rgba(46,230,166,.13), rgba(46,230,166,.03) 60%), var(--surface);
}
.cp-point.is-accent .cp-point-icon { color: #04241a; background: linear-gradient(135deg, var(--green-2), var(--green)); box-shadow: 0 8px 22px -10px rgba(46,230,166,.7); }
.cp-point.is-accent .cp-point-text { color: #d6fff0; }

.cp-sign {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(123,44,191,.18), rgba(255,79,163,.06) 60%, rgba(46,230,166,.06));
}
.cp-sign-head { display: grid; gap: 10px; justify-items: start; max-width: 72ch; }
.cp-steps { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cp-step { position: relative; padding: 18px; border-radius: var(--radius); background: rgba(7,4,13,.45); border: 1px solid var(--border); }
.cp-step-no {
  position: absolute;
  top: 8px;
  inset-inline-end: 14px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
}
.cp-step-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: var(--pink);
  background: rgba(255,79,163,.1);
  border: 1px solid rgba(255,79,163,.28);
}
.cp-step-title { font-size: 1.02rem; font-weight: 800; margin-bottom: 4px; }
.cp-step-text { font-size: .92rem; line-height: 1.9; color: var(--text-muted); }

/* ==========================================================================
   11. Privacy page
   ========================================================================== */

.privacy-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .privacy-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
  .privacy-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.privacy-toc { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.privacy-toc-title { margin-bottom: 8px; font-weight: 800; }
.privacy-toc ol { list-style: none; padding: 0; display: grid; gap: 2px; }
@media (max-width: 1023.98px) {
  .privacy-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}
.privacy-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.privacy-toc a:hover,
.privacy-toc a.is-active { color: var(--text); background: var(--surface-2); }
.privacy-toc-no { min-width: 1.2em; font-weight: 800; color: var(--pink); }

.privacy-doc { display: grid; gap: 20px; min-width: 0; max-width: 80ch; }
.privacy-summary {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(46,230,166,.3);
  background: linear-gradient(120deg, rgba(46,230,166,.08), transparent 70%);
}
.privacy-summary-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 800; }
.privacy-summary-title .icon { color: var(--green); }
.privacy-summary .checklist li { background: rgba(7,4,13,.35); }
.privacy-sec {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.privacy-sec h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.privacy-no {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: .95rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(160,32,240,.6), rgba(255,79,163,.5));
}
.privacy-sec h3 { margin: 14px 0 4px; font-size: 1.02rem; }
.privacy-sec h2 + h3 { margin-top: 0; }
.privacy-sec p { color: var(--text-muted); }
.privacy-sec p + p { margin-top: 10px; }
.privacy-sec strong { color: var(--text); }
ul.privacy-list { list-style: disc; padding-inline-start: 1.3em; display: grid; gap: 6px; margin-bottom: 10px; color: var(--text-muted); }
.privacy-list li::marker { color: var(--pink); }
ul.privacy-contact { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 10px; }
.privacy-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.privacy-contact .icon { color: var(--purple-2); }
.privacy-sec .privacy-updated { margin-top: 14px; font-size: .88rem; color: var(--text-dim); }

/* ==========================================================================
   12. Reduced motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html.cine .cine-hero .w-in,
  html.cine .cine-hero .hero-rv { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .cine-hero-inner { transform: none !important; opacity: 1 !important; }
  .cine-aurora { transform: none; }
  .cine-sky > .cine-horizon { transform: translate3d(-50%, 0, 0); }
  .cine-blob, .cine-sky > .cine-grain, .ph-blob, .finale-rays, .btn-glow, .cine-line.is-hl .w-in, .cine-horizon::before { animation: none !important; }
  .play-card { transform: none !important; }
  a.trust-card:hover { transform: none; }
}

@media print {
  .cine-cover, .cine-intro, .lp-progress, .scroll-cue, .cine-sky, .night-sticky, .finale-sky, .page-hero-sky { display: none !important; }
  .cine-hero { min-height: 0; padding: 0 0 12pt; background: none; }
  .cine-hero::after { display: none; }
  .cine-hero-inner { transform: none !important; opacity: 1 !important; }
  .cine-line.is-hl .w-in { background: none !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .night.is-scrolly .night-chapters-wrap { margin-top: 0; }
  .night.is-scrolly .night-chapter { min-height: 0; padding: 0 0 8pt; }
  .night.is-scrolly .night-card { opacity: 1; transform: none; }
  .page-hero { padding: 0 0 12pt; border: 0; }
  .page-hero::after { display: none; }
  .page-contract .cp-doc-section { padding: 0 !important; }
  .page-contract .cp-doc-section > .container { max-width: none; padding: 0; }
  .privacy-sec { break-inside: avoid; }
}
