/* =========================================================
   Remore Studio — main stylesheet
   ========================================================= */
:root {
  --lime: #c6ff3d;
  --lime-2: #b2ee1f;
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --line: rgba(255, 255, 255, .1);
  --paper: #f3f3ee;
  --muted: #9a9a94;
  --white: #fff;

  --radius: 28px;
  --radius-sm: 16px;
  --container: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-logo: "Lexend", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.brand__mark { width: 38px; height: 38px; overflow: visible; }
.brand__pill { fill: var(--lime); stroke: var(--ink); stroke-width: 7; paint-order: stroke; }
.brand__word { font-family: var(--f-logo); font-weight: 600; font-size: 26px; letter-spacing: -.04em; }
.brand--lg .brand__mark { width: 56px; height: 56px; }
.brand--lg .brand__word { font-size: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 18px 30px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 0 0 0 rgba(198,255,61,.5); }
.btn--lime:hover { box-shadow: 0 12px 40px -8px rgba(198,255,61,.55); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { --bg: var(--ink); --fg: var(--lime); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2); background: transparent;
  font-size: 18px; transition: all .3s var(--ease);
}
.round-btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #d8d8d2; margin-bottom: 24px;
}
.eyebrow--dark { color: var(--ink); border-color: rgba(0,0,0,.15); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.eyebrow--dark .dot { background: var(--ink); box-shadow: none; }

.hl { color: var(--lime); }
.section--light .hl, .section--lime .hl { color: inherit; background: var(--lime); padding: 0 .12em; border-radius: .15em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .3s var(--ease), background .3s, backdrop-filter .3s;
}
.nav.is-scrolled { padding: 10px 0; background: rgba(10,10,10,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 15px; }
.nav__links > a:not(.btn) { position: relative; color: #dcdcd6; transition: color .2s; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--white); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); border: 0; position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 110px; overflow: hidden; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: -250px;
  background: radial-gradient(circle, rgba(198,255,61,.18), transparent 60%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(48px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: .92; margin-bottom: 28px; }
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 17 0 32 7 T 62 7 T 92 7 T 118 6' fill='none' stroke='%23c6ff3d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: #bdbdb7; max-width: 520px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Showcase */
.showcase { position: relative; }
.showcase__stage { position: relative; height: 560px; perspective: 1400px; }
.phone {
  position: absolute; left: 50%; top: 50%;
  width: 250px; height: 510px; margin: -255px 0 0 -125px;
  border-radius: 42px; padding: 10px;
  background: #222; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), inset 0 0 0 2px #333;
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s;
  will-change: transform;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px;
  margin-left: -38px; border-radius: 20px; background: #000; z-index: 3;
}
.phone[data-pos="0"] { transform: translateX(0) rotate(-4deg); z-index: 3; }
.phone[data-pos="1"] { transform: translateX(150px) translateY(30px) rotate(10deg) scale(.82); z-index: 2; filter: brightness(.55); }
.phone[data-pos="-1"] { transform: translateX(-150px) translateY(30px) rotate(-16deg) scale(.82); z-index: 2; filter: brightness(.55); }
.phone[data-pos="hidden"] { transform: translateY(80px) scale(.6); opacity: 0; z-index: 1; }
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
  background: #111;
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.showcase__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; }
/* Ribbon */
.ribbon {
  position: relative; margin-top: 70px; padding: 18px 0;
  background: var(--lime); transform: rotate(-2deg) scale(1.04);
  overflow: hidden;
}
.ribbon__track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.ribbon__item {
  display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline: 8px 22px;
  background: var(--ink); border-radius: 999px; color: var(--white); white-space: nowrap;
  font-weight: 600; font-family: var(--f-display); font-size: 20px;
}
/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--light { background: var(--paper); color: var(--ink); border-radius: 48px 48px 0 0; }
.section--lime { background: var(--lime); color: var(--ink); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section__title { font-size: clamp(42px, 6vw, 86px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.section__lead { max-width: 420px; color: var(--muted); font-size: 18px; margin: 0; }
.section--lime .section__lead { color: rgba(0,0,0,.65); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px 26px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line);
  transition: background .4s var(--ease), color .4s, transform .4s var(--ease);
}
.service:hover { background: var(--lime); color: var(--ink); transform: translateY(-6px); }
.service__num { position: absolute; top: 30px; inset-inline-end: 26px; font-family: var(--f-display); font-weight: 700; color: var(--muted); }
.service:hover .service__num { color: rgba(0,0,0,.5); }
.service__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(198,255,61,.12); margin-bottom: 40px; transition: background .4s; }
.service:hover .service__icon { background: var(--ink); }
.service__icon i { font-size: 30px; line-height: 1; color: var(--lime); }
.service h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.service p { color: #a9a9a3; font-size: 15.5px; transition: color .4s; }
.service:hover p { color: rgba(0,0,0,.72); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; }
.tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: #cfcfc9; transition: all .4s; }
.service:hover .tags li { border-color: rgba(0,0,0,.2); color: var(--ink); }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: var(--ink); color: var(--white); min-height: 280px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.step:nth-child(even) { transform: translateY(40px); }
.step:hover { transform: translateY(-6px) rotate(-1deg); }
.step:nth-child(even):hover { transform: translateY(32px) rotate(1deg); }
.step__n { width: 54px; height: 54px; border-radius: 16px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 24px; margin-bottom: auto; }
.step h3 { font-size: 30px; font-weight: 800; margin: 40px 0 10px; }
.step p { color: #a9a9a3; font-size: 15px; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__copy p { color: #b7b7b1; font-size: 18px; }
.about__copy .section__title { margin-bottom: 32px; }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.values li { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line); color: #b7b7b1; }
.values b { color: var(--white); }
.about__art { aspect-ratio: 1; border-radius: 40px; background: var(--ink-2); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.about__art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(198,255,61,.16), transparent 60%); }
.blocks { position: relative; width: 70%; aspect-ratio: 1; }
.blocks .b { position: absolute; width: 36%; aspect-ratio: 1; border-radius: 22%; background: var(--white); transition: transform 1s var(--ease); }
.blocks .b1 { left: 22%; top: 3%; }
.blocks .b2 { left: 6%; top: 46%; transform: rotate(-22deg); }
.blocks .b3 { left: 57%; top: 60%; transform: rotate(14deg); }
.blocks .pill { width: 25%; aspect-ratio: auto; height: 47%; border-radius: 999px; background: var(--lime); left: 58%; top: 15%; transform: rotate(-45deg); box-shadow: 0 0 0 10px var(--ink-2); }
.about__art.is-in .b1 { animation: float1 6s ease-in-out infinite; }
.about__art.is-in .b2 { animation: float2 7s ease-in-out infinite; }
.about__art.is-in .b3 { animation: float3 6.5s ease-in-out infinite; }
.about__art.is-in .pill { animation: floatP 5s ease-in-out infinite; }

/* CTA */
.cta { background: var(--lime); color: var(--ink); padding: 0 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.marquee { padding: 34px 0; border-bottom: 2px solid var(--ink); overflow: hidden; margin-bottom: clamp(60px, 8vw, 100px); }
.marquee__track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 7vw, 100px); letter-spacing: -.04em; white-space: nowrap; line-height: 1; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cta__title { font-size: clamp(52px, 7vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-bottom: 28px; }
.cta__lead { font-size: 19px; max-width: 380px; color: rgba(0,0,0,.7); }
.cta__contacts a { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); border-bottom: 3px solid var(--ink); }

.form { background: var(--ink); color: var(--white); border-radius: 36px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #cfcfc9; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input[type=text], .form input[type=email], .form textarea {
  width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--ink-3); color: var(--white); font: inherit; font-size: 16px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198,255,61,.15); }
.form ::placeholder { color: #6c6c66; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: 14px; font-weight: 600; color: #cfcfc9; margin-bottom: 10px; padding: 0; }
.form__chips label { display: inline-block; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: #dcdcd6; cursor: pointer; transition: all .2s; }
.form__chips input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.form__chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form .btn--dark { --bg: var(--lime); --fg: var(--ink); margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button:disabled { opacity: .6; cursor: wait; transform: none; }
.form__note { margin: 0; font-size: 14px; color: var(--lime); min-height: 1.2em; }

/* Footer */
.footer { position: relative; padding: 80px 0 0; overflow: hidden; }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--muted); margin-top: 14px; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 100px); flex-wrap: wrap; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; font-family: var(--f-body); }
.footer__cols a { display: block; margin-bottom: 10px; color: #dcdcd6; transition: color .2s; }
.footer__cols a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px clamp(16px, 4vw, 40px); color: var(--muted); font-size: 14px; }
.footer__giant {
  font-family: var(--f-logo); font-weight: 600; font-size: 22vw; line-height: .78; letter-spacing: -.06em;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  margin-bottom: -4vw; user-select: none; white-space: nowrap;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; }
.reveal.is-in { animation: rise .9s var(--ease) both; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 6deg)); } }
@keyframes drift { to { transform: translate(10px, -20px) rotate(25deg); } }
@keyframes float1 { 50% { transform: translate(-4%, -5%); } }
@keyframes float2 { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(-30deg) translate(-5%, 4%); } }
@keyframes float3 { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(24deg) translate(5%, 4%); } }
@keyframes floatP { 0%, 100% { transform: rotate(-45deg); } 50% { transform: rotate(-45deg) translateY(-8%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { transform: none; }
  .step:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
  .step:last-child { grid-column: span 2; min-height: 0; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink); font-family: var(--f-display); font-size: 40px; font-weight: 800;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__cta { font-family: var(--f-body); font-size: 16px; margin-top: 10px; }
  .about { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .showcase__stage { height: 440px; }
  .phone { width: 200px; height: 410px; margin: -205px 0 0 -100px; border-radius: 36px; }
  .screen { border-radius: 28px; }
  .phone[data-pos="1"] { transform: translateX(95px) translateY(24px) rotate(10deg) scale(.78); }
  .phone[data-pos="-1"] { transform: translateX(-95px) translateY(24px) rotate(-16deg) scale(.78); }
  .services, .process { grid-template-columns: 1fr; }
  .step:last-child { grid-column: auto; }
  .step { min-height: 0; }
  .section--light { border-radius: 32px 32px 0 0; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ribbon__item { font-size: 16px; }
}


/* ---------- Remix icons ---------- */
.btn i.arrow { font-size: 1.15em; line-height: 1; }
.round-btn i { font-size: 20px; line-height: 1; }
.next-card__go i { font-size: 28px; }
.modes li { display: inline-flex; align-items: center; gap: 7px; }
.modes li i { font-size: 17px; line-height: 1; color: var(--lime); }
.feature__stats b i, .floater--tape i { font-size: .8em; vertical-align: .05em; margin-inline-start: 2px; }
.marquee__track i { font-size: .7em; vertical-align: .1em; margin: 0 .15em; }
.footer__bottom a i { vertical-align: -2px; }

/* ---------- Language toggle ---------- */
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.25); background: transparent;
  font-family: var(--f-fa); font-weight: 700; font-size: 14px; letter-spacing: 0;
  transition: all .25s var(--ease);
}
.lang-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Hero showcase extras ---------- */
.floater { position: absolute; z-index: 4; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: bob 5s ease-in-out infinite; }
.floater--icon { width: 84px; height: 84px; border-radius: 22px; top: 6%; inset-inline-start: 0; }
.floater--brand { width: 70px; height: 70px; border-radius: 20px; background: var(--lime); top: 2%; inset-inline-end: 4%; display: grid; place-items: center; animation-duration: 6.5s; }
.floater--brand span { width: 22px; height: 44px; border-radius: 999px; background: var(--ink); transform: rotate(-45deg); }
.floater--tape { bottom: 12%; inset-inline-end: 0; padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 20px; animation-duration: 5.8s; }
.showcase__app { display: flex; align-items: center; gap: 14px; }
.showcase__icon { width: 56px; height: 56px; border-radius: 16px; }
.showcase__tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.showcase__name { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1.2; }
.ribbon__item .ic { width: 44px; height: 44px; border-radius: 14px; }
.ribbon__item .ic--brand { position: relative; background: var(--lime); }
.ribbon__item .ic--brand::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 26px; margin: -13px 0 0 -6px; border-radius: 999px; background: var(--ink); transform: rotate(-45deg); }
.ribbon, .marquee { direction: ltr; }

/* ---------- Featured game ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: 40px;
  background: linear-gradient(150deg, var(--f1, #2f8bff), var(--f2, #8a3bff));
  color: var(--white); overflow: hidden; position: relative; isolation: isolate;
}
.feature + .feature { margin-top: 20px; }
.feature--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.feature--flip .gallery { order: -1; }
.feature::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(255,214,61,.45), transparent 65%); z-index: -1; }
.feature__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.feature__icon { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transform: rotate(-6deg); }
.feature__title { font-size: clamp(38px, 4.4vw, 60px); font-weight: 800; margin-top: 10px; }
.feature__hook { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.feature__copy > p:not(.feature__hook) { opacity: .88; }
.pill-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.22); color: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill-tag--lime { background: var(--lime); color: var(--ink); }
.modes { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.modes li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); font-size: 14px; font-weight: 600; }
.feature__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.feature__stats div { padding: 16px; border-radius: 20px; background: rgba(0,0,0,.2); }
.feature__stats b { display: block; text-align: start; font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1.1; color: var(--lime); }
.feature__stats span { font-size: 13px; opacity: .85; line-height: 1.4; display: block; margin-top: 4px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.feature .btn--dark { --bg: var(--lime); --fg: var(--ink); }
.feature .btn--dark:hover, .feature .btn--light:hover { box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); }

.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 18px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.gallery:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 20px; }
.shot { flex: 0 0 auto; width: clamp(180px, 17vw, 230px); aspect-ratio: 9 / 16; margin: 0; border-radius: 24px; overflow: hidden; scroll-snap-align: center; background: rgba(0,0,0,.2); box-shadow: 0 20px 40px -16px rgba(0,0,0,.55); transition: transform .4s var(--ease); }
.shot:nth-child(odd) { transform: rotate(-2deg); }
.shot:nth-child(even) { transform: rotate(2deg) translateY(14px); }
.shot:hover { transform: scale(1.04); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.next-card { position: relative; min-height: 260px; padding: clamp(24px, 3vw, 40px); border-radius: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; transition: transform .5s var(--ease); }
.next-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.next-card .pill-tag { align-self: flex-start; }
.next-card h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; }
.next-card p { margin: 0; max-width: 380px; }
.next-card--dark { background: var(--ink); color: var(--white); }
.next-card--dark p { color: #a9a9a3; }
.next-card--lime { background: var(--lime); color: var(--ink); }
.next-card__go { position: absolute; bottom: 28px; inset-inline-end: 28px; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 24px; transition: transform .4s var(--ease); }
.next-card--lime:hover .next-card__go { transform: rotate(-45deg) scale(1.08); }
[dir="rtl"] .next-card--lime:hover .next-card__go { transform: rotate(45deg) scale(1.08); }
.loader { display: flex; gap: 8px; }
.loader i { width: 14px; height: 14px; border-radius: 4px; background: var(--lime); animation: pulse 1.2s ease-in-out infinite; }
.loader i:nth-child(2) { animation-delay: .15s; }
.loader i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- Persian / RTL ---------- */
:root { --f-fa: "Vazirmatn", "Inter", sans-serif; }
html[lang="fa"] body { font-family: var(--f-fa); }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3, html[lang="fa"] h4,
html[lang="fa"] .feature__hook, html[lang="fa"] .feature__stats b,
html[lang="fa"] .showcase__name, html[lang="fa"] .ribbon__item, html[lang="fa"] .marquee__track span,
html[lang="fa"] .step__n, html[lang="fa"] .cta__contacts a {
  font-family: var(--f-fa); letter-spacing: 0;
}
html[lang="fa"] h1, html[lang="fa"] h2 { font-weight: 900; line-height: 1.22; }
html[lang="fa"] .hero__title { font-size: clamp(40px, 4.9vw, 76px); line-height: 1.25; }
html[lang="fa"] .cta__title { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.2; }
html[lang="fa"] .eyebrow, html[lang="fa"] .pill-tag, html[lang="fa"] .showcase__tag { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="fa"] .hero__lead, html[lang="fa"] .about__copy p { line-height: 1.9; }
html[lang="fa"] .squiggle::after { bottom: -.02em; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .gallery { mask-image: linear-gradient(-90deg, transparent, #000 4%, #000 96%, transparent); }
.cta__contacts a, .form input[type=email] { font-family: var(--f-display); }

@media (max-width: 1080px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .gallery { order: 0; }
}
@media (max-width: 640px) {
  .floater--icon, .floater--brand { width: 56px; height: 56px; border-radius: 16px; }
  .floater--tape { font-size: 16px; padding: 10px 14px; }
  .feature { border-radius: 28px; }
  .feature__icon { width: 72px; height: 72px; border-radius: 20px; }
  .feature__stats { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
  .lang-btn { height: 42px; min-width: 42px; }
}
@media (max-width: 860px) {
  html[lang="fa"] .nav__links { font-family: var(--f-fa); font-weight: 900; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Product page
   ========================================================= */
.pp-hero {
  position: relative; padding: 130px 0 90px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1100px 600px at 80% -10%, color-mix(in srgb, var(--f1) 55%, transparent), transparent 65%),
              radial-gradient(900px 500px at 0% 110%, color-mix(in srgb, var(--f2) 45%, transparent), transparent 60%),
              var(--ink);
}
.pp-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.pp-draft { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: rgba(255,92,92,.15); border: 1px solid rgba(255,92,92,.4); color: #ffb3b3; font-size: 14px; }
.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: #a9a9a3; margin-bottom: 36px; }
.pp-crumbs a:hover { color: var(--lime); }
.pp-crumbs span { color: var(--white); }
.pp-crumbs i { opacity: .6; }
[dir="rtl"] .pp-crumbs i.arrow { transform: scaleX(-1); }
.pp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.pp-hero__head { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.pp-hero__icon { width: 112px; height: 112px; border-radius: 30px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); transform: rotate(-6deg); flex: none; }
.pp-hero__title { font-size: clamp(44px, 6vw, 84px); font-weight: 800; margin-top: 12px; }
.pp-hero__hook { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; margin-bottom: 14px; }
.pp-hero__desc { color: #c9c9c3; font-size: 17px; max-width: 600px; margin-bottom: 28px; }
.pp-hero .stores { margin-bottom: 28px; }
.pp-hero__stats { max-width: 600px; }
.pp-hero__stats div { background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.pp-hero__media { position: relative; height: 560px; }
.pp-phone {
  position: absolute; left: 50%; top: 50%; width: 260px; height: 530px; margin: -265px 0 0 -130px;
  border-radius: 44px; padding: 10px; background: #222; transform: rotate(4deg);
  box-shadow: 0 50px 90px -24px rgba(0,0,0,.85), inset 0 0 0 2px #333;
}
.pp-phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #000; z-index: 3; }
.pp-phone--back { transform: translateX(-120px) translateY(30px) rotate(-12deg) scale(.86); filter: brightness(.5); }
.pp-banner { margin: 60px 0 0; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.pp-banner img { width: 100%; max-height: 520px; object-fit: cover; }

.pp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.pp-shot { padding: 0; border: 0; background: rgba(0,0,0,.06); border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 16; cursor: zoom-in; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pp-shot:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.5); }
.pp-shot:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.pp-shot img { width: 100%; height: 100%; object-fit: cover; }

.pp-about__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.pp-article .section__title { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 28px; }
.pp-prose { color: #c9c9c3; font-size: 17.5px; line-height: 1.95; }
.pp-prose h2 { font-size: 28px; color: var(--white); margin: 36px 0 12px; }
.pp-prose h3 { font-size: 22px; color: var(--white); margin: 28px 0 10px; }
.pp-prose p { margin: 0 0 18px; }
.pp-prose ul { margin: 0 0 18px; padding-inline-start: 22px; }
.pp-prose li { margin-bottom: 6px; }
.pp-prose li::marker { color: var(--lime); }
.pp-prose strong { color: var(--white); }
.pp-prose a { color: var(--lime); border-bottom: 1px solid currentColor; }
.pp-side { display: grid; gap: 18px; position: sticky; top: 100px; }
.pp-card { padding: 26px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.pp-card h3 { font-size: 20px; margin-bottom: 16px; }
.pp-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pp-features li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line); color: #dcdcd6; font-size: 14px; line-height: 1.5; }
.pp-features i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(198,255,61,.12); color: var(--lime); font-size: 17px; }
.pp-features li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pp-info { margin: 0; display: grid; gap: 10px; }
.pp-info div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.pp-info dt { color: var(--muted); }
.pp-info dd { margin: 0; font-weight: 600; }
.pp-card__stores { display: grid; gap: 8px; margin-top: 18px; }
.pp-card__stores a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line); font-weight: 600; transition: all .25s var(--ease); }
.pp-card__stores a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.pp-more .section__title { margin-bottom: 40px; }
.pp-more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pp-more__card {
  position: relative; display: flex; gap: 18px; align-items: center; padding: 26px; border-radius: 30px; color: var(--white);
  background: linear-gradient(150deg, var(--f1), var(--f2)); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pp-more__card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.pp-more__card img { width: 72px; height: 72px; border-radius: 20px; flex: none; }
.pp-more__card h3 { font-size: 26px; font-weight: 800; margin: 8px 0 4px; }
.pp-more__card p { margin: 0; opacity: .85; font-size: 14.5px; }
.pp-more__go { margin-inline-start: auto; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; transition: background .3s; }
.pp-more__card:hover .pp-more__go { background: var(--lime); }

.pp-cta { background: var(--lime); color: var(--ink); padding: clamp(50px, 7vw, 90px) 0; }
.pp-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pp-cta h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; }
.pp-cta p { margin: 12px 0 0; color: rgba(0,0,0,.7); font-size: 18px; }
.pp-cta .btn--dark { --bg: var(--ink); --fg: var(--lime); }
.pp-page .footer { padding-top: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5,5,5,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); direction: ltr; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 520px); max-height: 86vh; border-radius: 24px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 26px; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--lime); color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #cfcfc9; font-size: 14px; font-family: var(--f-body); }
@keyframes fade { from { opacity: 0; } }

/* links from the home page into product pages */
.feature__title a:hover { color: var(--lime); }
.btn--more { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.45); }
.btn--more:hover { border-color: var(--white); }

@media (max-width: 1080px) {
  .pp-hero__grid, .pp-about__grid { grid-template-columns: 1fr; }
  .pp-hero__media { height: 480px; }
  .pp-side { position: static; }
}
@media (max-width: 640px) {
  .pp-hero { padding-top: 110px; }
  .pp-hero__head { gap: 16px; }
  .pp-hero__icon { width: 80px; height: 80px; border-radius: 22px; }
  .pp-hero__media { height: 420px; }
  .pp-phone { width: 200px; height: 410px; margin: -205px 0 0 -100px; border-radius: 36px; }
  .pp-phone--back { transform: translateX(-80px) translateY(24px) rotate(-12deg) scale(.82); }
  .pp-shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pp-more__grid { grid-template-columns: 1fr; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* =========================================================
   Mobile app-style UI (≤ 760px) — its own layout, not a resized desktop
   ========================================================= */
@media (min-width: 761px) {
  .m-only { display: none !important; }
}
@media (max-width: 760px) {
  .d-only { display: none !important; }

  body { font-size: 15.5px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  .container { padding: 0 18px; }

  /* top app bar */
  .nav, .nav.is-scrolled {
    padding: calc(10px + env(safe-area-inset-top)) 0 10px;
    background: rgba(10,10,10,.78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav__links, .nav__toggle { display: none !important; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 21px; }
  .lang-btn { height: 36px; min-width: 36px; padding: 0 10px; font-size: 13px; }

  /* hero: greeting + swipeable "today" cards */
  .m-hero { padding: calc(78px + env(safe-area-inset-top)) 0 6px; }
  .m-hello { padding: 0 18px; }
  .m-hello__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #a9a9a3; letter-spacing: 0; }
  .m-hello__title { font-family: var(--f-display); font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin: 10px 0 8px; }
  html[lang="fa"] .m-hello__title { font-family: var(--f-fa); font-weight: 900; letter-spacing: 0; line-height: 1.35; }
  .m-hello__lead { color: #a9a9a3; font-size: 15px; margin: 0; }

  .m-cards {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 18px 6px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .m-cards::-webkit-scrollbar { display: none; }
  .m-card {
    position: relative; isolation: isolate; flex: 0 0 86%; height: 400px; padding: 20px; border-radius: 30px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; scroll-snap-align: center;
    background: linear-gradient(155deg, var(--f1), var(--f2)); color: #fff;
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
    transition: transform .25s var(--ease);
  }
  .m-card:only-child { flex-basis: 100%; }
  .m-card:active { transform: scale(.98); }
  .m-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.38), transparent 45%); }
  .m-card__shot {
    position: absolute; z-index: -2; bottom: -70px; inset-inline-end: -10px; width: min(50%, 200px); aspect-ratio: 9 / 16; object-fit: cover;
    border-radius: 24px; transform: rotate(-8deg); box-shadow: 0 24px 50px -10px rgba(0,0,0,.7); border: 5px solid rgba(0,0,0,.45);
  }
  [dir="rtl"] .m-card__shot { transform: rotate(8deg); }
  .m-card__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; }
  .m-card__name { font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1.2; }
  html[lang="fa"] .m-card__name { font-family: var(--f-fa); font-weight: 900; }
  .m-card__hook { font-size: 14px; opacity: .9; max-width: 92%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .m-card__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; }
  .m-card__foot img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
  .m-get { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 13.5px; white-space: nowrap; }
  .m-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.22); transition: width .3s var(--ease), background .3s; }
  .m-dots i.is-on { width: 20px; background: var(--lime); }

  .m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px 4px; scrollbar-width: none; }
  .m-chips::-webkit-scrollbar { display: none; }
  .m-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
  .m-chips i { color: var(--lime); font-size: 16px; }

  /* sections become plain dark "screens" with large titles */
  .section { padding: 40px 0; }
  .section--light, .section--lime { background: transparent; color: var(--white); border-radius: 0; }
  .section__head { margin-bottom: 18px; gap: 6px; }
  .section__head .eyebrow { display: none; }
  .section__title, html[lang="fa"] .section__title { font-size: 27px; line-height: 1.3; }
  .section__title br, .cta__title br, .next-card h3 br { content: ""; }
  .section__title br::after, .cta__title br::after, .next-card h3 br::after { content: " "; }
  .section__lead, .section--lime .section__lead { font-size: 14.5px; color: #8f8f89; max-width: none; }
  .section--light .hl, .section--lime .hl { background: none; color: var(--lime); padding: 0; }
  .reveal { animation-duration: .6s; }

  /* products: grouped list like an app store */
  .m-list { background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
  .m-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; }
  .m-row + .m-row { border-top: 1px solid var(--line); }
  .m-row:active { background: var(--ink-3); }
  .m-row__icon { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; }
  .m-row__text { min-width: 0; display: grid; gap: 2px; }
  .m-row__text b { font-size: 16.5px; }
  .m-row__text span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-row .m-get { background: rgba(198,255,61,.14); color: var(--lime); }
  .next-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .next-card { min-height: 0; padding: 18px; border-radius: 22px; gap: 10px; }
  .next-card h3 { font-size: 18px; }
  .next-card p { font-size: 13px; }
  .next-card--dark { background: var(--ink-2); border: 1px solid var(--line); }
  .next-card .pill-tag { font-size: 11px; padding: 4px 10px; }
  .next-card__go { position: static; width: 40px; height: 40px; align-self: flex-start; }
  .next-card__go i { font-size: 20px; }
  .next-card:hover { transform: none; }

  /* services: compact 2-up tiles */
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service, .service:hover { padding: 18px 16px; border-radius: 22px; background: var(--ink-2); color: var(--white); transform: none; }
  .service__num, .service p, .service .tags { display: none; }
  .service__icon, .service:hover .service__icon { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 14px; background: rgba(198,255,61,.12); }
  .service__icon i { font-size: 23px; }
  .service h3 { font-size: 15.5px; line-height: 1.45; margin: 0; }

  /* process: swipeable cards */
  .process { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
  .process::-webkit-scrollbar { display: none; }
  .step, .step:nth-child(even), .step:hover, .step:nth-child(even):hover, .step:last-child {
    flex: 0 0 74%; min-height: 0; transform: none; scroll-snap-align: start; padding: 20px; border-radius: 24px;
    background: var(--ink-2); border: 1px solid var(--line); grid-column: auto;
  }
  .step__n { width: 40px; height: 40px; border-radius: 13px; font-size: 18px; }
  .step h3 { font-size: 22px; margin: 22px 0 6px; }
  .step p { font-size: 14px; }

  /* about */
  .about__art { display: none; }
  .about__copy p, html[lang="fa"] .about__copy p { font-size: 15px; line-height: 1.9; color: #a9a9a3; }
  .about__copy .section__title { margin-bottom: 14px; }
  .values { margin-top: 18px; gap: 8px; }
  .values li { padding: 14px 16px; font-size: 14px; border-radius: 18px; }

  /* contact */
  .cta { background: transparent; color: var(--white); padding: 40px 0 20px; }
  .marquee { display: none; }
  .cta__grid { gap: 18px; }
  .cta__title, html[lang="fa"] .cta__title { font-size: 27px; line-height: 1.3; margin-bottom: 8px; }
  .cta__lead { color: #8f8f89; font-size: 14.5px; }
  .cta__contacts a { font-size: 17px; color: var(--lime); border-bottom-width: 1.5px; }
  .form { padding: 18px; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line); gap: 14px; }
  .form__row { grid-template-columns: 1fr; gap: 14px; }
  .form input[type=text], .form input[type=email], .form textarea { padding: 14px 16px; border-radius: 14px; font-size: 16px; }
  .form__chips span { padding: 8px 14px; font-size: 13.5px; }

  /* footer */
  .footer { padding: 20px 0 0; }
  .footer__grid { padding-bottom: 18px; justify-content: center; text-align: center; }
  .footer__grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .brand--lg .brand__mark { width: 40px; height: 40px; }
  .brand--lg .brand__word { font-size: 28px; }
  .footer__tag { margin-top: 6px; font-size: 14px; }
  .footer__cols, .footer__giant { display: none; }
  .footer__bottom { justify-content: center; text-align: center; font-size: 12.5px; padding-bottom: 12px; }

  /* floating bottom tab bar */
  .m-tabbar {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; justify-content: space-around; align-items: center; height: 66px; padding: 0 6px; border-radius: 24px;
    background: rgba(22,22,22,.82); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
    border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8);
  }
  .m-tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; color: #8f8f89; font-size: 10.5px; font-weight: 600; transition: color .2s; }
  .m-tabbar i { font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
  .m-tabbar a.is-active { color: var(--lime); }
  .m-tabbar a.is-active i { transform: translateY(-2px); }
  .m-tabbar a.is-active::after { content: ""; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
  html[lang="fa"] .m-tabbar a { font-size: 11px; }
}

/* ---------- Mobile product page: app-store style ---------- */
@media (max-width: 760px) {
  .pp-page { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }

  .m-appbar {
    position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
  }
  .m-appbar.is-compact { background: rgba(10,10,10,.82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: rgba(255,255,255,.06); }
  .m-appbar__btn {
    width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; font-size: 22px;
    background: rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, color .2s;
  }
  .m-appbar__btn:active, .m-appbar__btn.is-done { background: var(--lime); color: var(--ink); }
  .m-appbar__lang { font-size: 12.5px; font-weight: 800; font-family: var(--f-fa); }
  .m-appbar__title { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
  .m-appbar__title img { width: 26px; height: 26px; border-radius: 8px; flex: none; }
  .m-appbar.is-compact .m-appbar__title { opacity: 1; transform: none; }
  .m-appbar__end { display: flex; gap: 6px; }

  .pp-hero { padding: calc(66px + env(safe-area-inset-top)) 0 18px; }
  .pp-hero::after { height: 80px; }
  .pp-crumbs, .pp-hero__media { display: none; }
  .pp-draft { font-size: 12.5px; margin-bottom: 12px; }
  .pp-hero__head { gap: 16px; margin-bottom: 14px; }
  .pp-hero__icon { width: 96px; height: 96px; border-radius: 24px; transform: none; }
  .pp-hero__head .pill-tag { font-size: 11.5px; padding: 4px 10px; }
  .pp-hero__title { font-size: 28px; margin-top: 8px; }
  html[lang="fa"] .pp-hero__title { line-height: 1.3; }
  .pp-hero__hook { font-size: 17px; margin-bottom: 6px; }
  .pp-hero__desc { font-size: 14.5px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pp-hero .stores { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
  .pp-hero .stores .btn { padding: 15px; }
  .pp-hero .stores .btn--light { --bg: var(--ink-2); --fg: var(--white); border-color: var(--line); }
  .pp-hero__stats { display: flex; gap: 0; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; margin-bottom: 0; }
  .pp-hero__stats div { flex: 1; padding: 12px 8px; text-align: center; border: 0; border-radius: 0; background: transparent; }
  .pp-hero__stats div + div { border-inline-start: 1px solid var(--line); }
  .pp-hero__stats b { font-size: 20px; text-align: center; }
  .pp-hero__stats span { font-size: 11.5px; }
  .pp-banner { margin-top: 18px; border-radius: 22px; }

  .pp-gallery { padding: 14px 0 6px; }
  .pp-gallery .section__head { margin-bottom: 12px; }
  .pp-gallery .section__lead { display: none; }
  .pp-gallery .section__title, html[lang="fa"] .pp-gallery .section__title { font-size: 21px; }
  .pp-shots { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 8px; scrollbar-width: none; }
  .pp-shots::-webkit-scrollbar { display: none; }
  .pp-shot, .pp-shot:hover { flex: 0 0 56%; border-radius: 20px; scroll-snap-align: start; transform: none; background: var(--ink-2); }

  .pp-about { padding: 26px 0; }
  .pp-article .section__title, html[lang="fa"] .pp-article .section__title { font-size: 21px; margin-bottom: 12px; }
  .pp-prose { font-size: 15.5px; line-height: 1.9; }
  .pp-prose h2 { font-size: 19px; margin: 24px 0 8px; }
  .pp-prose h3 { font-size: 17px; }
  .pp-prose.is-clamped { max-height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .pp-more-btn { margin-top: 8px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--lime); font-weight: 700; font-size: 14px; }
  .pp-side { margin-top: 18px; gap: 12px; }
  .pp-card { padding: 18px; border-radius: 22px; }
  .pp-card h3 { font-size: 17px; margin-bottom: 12px; }
  .pp-features { gap: 8px; }
  .pp-features li { padding: 10px; font-size: 13.5px; gap: 8px; }
  .pp-features i { width: 30px; height: 30px; font-size: 16px; }

  .pp-more { padding: 14px 0 18px; }
  .pp-more .section__title, html[lang="fa"] .pp-more .section__title { font-size: 21px; margin-bottom: 14px; }
  .pp-more__grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
  .pp-more__grid::-webkit-scrollbar { display: none; }
  .pp-more__card, .pp-more__card:hover { flex: 0 0 86%; padding: 18px; border-radius: 24px; gap: 14px; scroll-snap-align: start; transform: none; box-shadow: none; }
  .pp-more__card:only-child { flex-basis: 100%; }
  .pp-more__card img { width: 56px; height: 56px; border-radius: 16px; }
  .pp-more__card h3 { font-size: 19px; margin: 6px 0 2px; }
  .pp-more__card p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pp-more__go { width: 40px; height: 40px; font-size: 18px; }

  .pp-cta { background: transparent; color: var(--ink); padding: 8px 0 22px; }
  .pp-cta__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; border-radius: 26px; background: var(--lime); }
  .pp-cta h2 { font-size: 22px; }
  .pp-cta p { font-size: 14px; margin-top: 6px; }

  .m-buybar {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 12px; border-radius: 24px;
    background: rgba(22,22,22,.86); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
    border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8);
  }
  .m-buybar img { width: 46px; height: 46px; border-radius: 13px; flex: none; }
  .m-buybar__text { flex: 1; min-width: 0; display: grid; }
  .m-buybar__text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-buybar__text span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-buybar__get { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 14.5px; }
  .m-buybar__get:active { transform: scale(.96); }
}
