/* MoboPing website — "space" theme, loaded after site.css on the marketing pages.
   Layout and rhythm follow the reference design's public site; art, copy and colours are our own.
   Display face: IBM Plex Sans at 75% width (= IBM Plex Sans Condensed), SIL OFL 1.1,
   assets/fonts/ibm-plex-sans-OFL.txt. Persian headlines: Vazirmatn Black (OFL). */
@font-face {
  font-family: 'MP Display';
  src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --surface-solid: #121a29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --r-lg: 12px;
  --r-xl: 16px;
  --card: #111724;
  --card-2: #161e2d;
  --teal: #17e9ad;
  --teal-soft: rgba(23, 233, 173, .12);
  --teal-line: rgba(23, 233, 173, .35);
  --grid-neon: rgba(23, 233, 173, .55);
  --frame-fill: #090e19;
  --frame-line: rgba(255, 255, 255, .09);
  --sky-star: rgba(255, 255, 255, .55);
  --sky-dim: rgba(255, 255, 255, .22);
  --sparkle: rgba(190, 205, 230, .38);
  --cta-a: #ff5a63;
  --cta-b: #c3101d;
  --font-display: 'MP Display', 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --display-stretch: 75%;
  --fs-h1: clamp(34px, 5.6vw, 64px);
}
:root[lang='fa'] { --font-display: 'Vazirmatn', Tahoma, sans-serif; --display-stretch: 100%; }
:root.light {
  --surface: rgba(9, 14, 25, .03);
  --surface-2: rgba(9, 14, 25, .06);
  --surface-solid: #fff;
  --card: #fff;
  --card-2: #f3f6fb;
  --line: rgba(9, 14, 25, .09);
  --line-2: rgba(9, 14, 25, .17);
  --teal: #08a37a;
  --teal-soft: rgba(8, 163, 122, .1);
  --teal-line: rgba(8, 163, 122, .35);
  --grid-neon: rgba(8, 163, 122, .45);
  --frame-fill: #eef2f8;
  --frame-line: rgba(9, 14, 25, .12);
  --sky-star: rgba(9, 14, 25, .28);
  --sky-dim: rgba(9, 14, 25, .12);
  --sparkle: rgba(9, 14, 25, .16);
  --bg: #eef2f8;
}

body { background: var(--bg); }
.backdrop { display: none; }

/* ---------- display type ---------- */
h1, .display, .s-head h2, .page-hero h1, .head h2, .cta-band h2 {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; letter-spacing: -.005em;
}
:root[lang='fa'] h1, :root[lang='fa'] .display, :root[lang='fa'] .s-head h2, :root[lang='fa'] .page-hero h1, :root[lang='fa'] .head h2, :root[lang='fa'] .cta-band h2 { font-weight: 900; letter-spacing: 0; }
:root[lang='en'] h1, :root[lang='en'] .page-hero h1 { line-height: 1; }

/* ---------- star field ---------- */
.space-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.space-sky i { position: absolute; inset: -50%; background-repeat: repeat; }
.space-sky i:nth-child(1) {
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, var(--sky-star) 50%, transparent 52%),
    radial-gradient(1px 1px at 130px 80px, var(--sky-dim) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 210px 160px, var(--sky-star) 50%, transparent 52%),
    radial-gradient(1px 1px at 70px 200px, var(--sky-dim) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 260px 40px, var(--sky-dim) 50%, transparent 52%);
  background-size: 290px 240px;
}
.space-sky i:nth-child(2) {
  background-image:
    radial-gradient(2px 2px at 60px 90px, var(--sky-star) 50%, transparent 55%),
    radial-gradient(1.4px 1.4px at 300px 260px, var(--sky-star) 50%, transparent 55%),
    radial-gradient(2.4px 2.4px at 420px 60px, var(--sky-dim) 50%, transparent 55%),
    radial-gradient(90px 60px at 380px 300px, rgba(120, 140, 180, .045), transparent 70%),
    radial-gradient(140px 90px at 120px 340px, rgba(120, 140, 180, .035), transparent 70%);
  background-size: 520px 420px;
  animation: sky-twinkle 6s ease-in-out infinite alternate;
}
@keyframes sky-twinkle { from { opacity: .45; } to { opacity: 1; } }

/* four-point sparkle (decorative) */
.sparkle { position: absolute; width: var(--s, 60px); aspect-ratio: 1; background: var(--sparkle); pointer-events: none;
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%); animation: sparkle 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.sparkle.tall { aspect-ratio: .32; background: linear-gradient(180deg, transparent, #55ff8a 40%, #e9ff7a 50%, #55ff8a 60%, transparent); clip-path: polygon(50% 0, 62% 46%, 100% 50%, 62% 54%, 50% 100%, 38% 54%, 0 50%, 38% 46%); }
.sparkle.teal { background: rgba(23, 233, 173, .55); }
@keyframes sparkle { 0%, 100% { opacity: .55; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.05) rotate(8deg); } }

.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.deco img { display: block; width: 100%; height: auto; }
.float-a { animation: drift 11s ease-in-out infinite; }
.float-b { animation: drift 14s ease-in-out infinite reverse; }
.float-c { animation: bob 8s ease-in-out infinite; }
.spin-slow { animation: spin 90s linear infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -16px) rotate(4deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

/* ---------- header: floating nav inside a chamfered frame ---------- */
.site-header.space-hdr { position: relative; z-index: 50; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; height: 116px; }
.nav-frame { position: absolute; inset: 0; pointer-events: none; }
.nav-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nav-frame .nf-fill { fill: var(--frame-fill); }
.nav-frame .nf-line { fill: none; stroke: var(--frame-line); stroke-width: 1.5; }
.nav.nav-space { position: relative; z-index: 1; justify-content: center; gap: 36px; min-height: 0; height: 100%; padding-block-start: 22px; width: fit-content; max-width: 100%; padding-inline: 20px; margin: 0 auto; }
.nav-space .brand { font-size: 22px; }
.nav-space .brand img { width: 32px; height: 32px; }
.nav-space .nav-links { gap: 2px; }
.nav-space .nav-links > a, .nav-space .mega-btn { font-size: 16px; font-weight: 700; color: var(--muted); background: none; padding: 8px 11px; }
.nav-space .nav-links > a:hover, .nav-space .mega-btn:hover, .nav-space .mega.open .mega-btn { color: var(--text); background: none; }
.nav-space .nav-links > a[aria-current='page'], .nav-space .mega-btn[aria-current='page'] { color: var(--text); background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-space .nav-actions { margin: 0; gap: 8px; }
.nav-space .mega-panel { inset-block-start: calc(100% + 18px); background: var(--card-2); border-color: var(--line-2); }
.sq-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--surface-2); color: var(--text); transition: background .2s, transform .2s var(--ease); }
.sq-btn:hover, .sq-btn[aria-expanded='true'] { background: var(--line-2); }
.prefs { position: relative; }
.prefs-menu { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: 0; z-index: 70; min-width: 210px; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: var(--shadow); display: grid; gap: 4px; animation: pop .18s var(--ease); }
.prefs-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: start; font-weight: 600; font-size: 14.5px; color: var(--text); }
.prefs-menu button:hover { background: var(--surface-2); }
.prefs-menu button small { margin-inline-start: auto; color: var(--muted); font-weight: 700; font-family: var(--font-en); font-size: 12.5px; }
.prefs-menu .icon { color: var(--teal); }
.ip-chip { position: absolute; z-index: 2; inset-block-start: 38px; inset-inline-start: var(--gutter); display: flex; align-items: center; gap: 8px; max-width: calc(50vw - 520px); padding: 6px 12px; border-radius: var(--pill); font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.ip-chip-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-chip .ipbar-ip { font-size: 11px; }
.space-hdr .menu-btn { border-radius: 12px; width: 44px; height: 44px; border: 0; background: var(--surface-2); color: var(--text); }

/* ---------- buttons ---------- */
.btn-ghost { background: var(--green-soft); color: var(--green-ink); border-color: transparent; }
.btn-ghost:hover { background: rgba(85, 255, 138, .16); color: var(--green-ink); border-color: transparent; }
:root.light .btn-ghost:hover { background: rgba(18, 161, 80, .16); }
.btn-cta { position: relative; background: linear-gradient(180deg, var(--cta-a), var(--cta-b)); color: #fff; box-shadow: 0 10px 34px rgba(232, 35, 47, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-cta:hover { box-shadow: 0 14px 40px rgba(232, 35, 47, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-xl { min-height: 60px; padding: 12px 30px; font-size: 19px; border-radius: 46px; }
.btn-more { min-height: 50px; padding: 10px 24px; font-size: 17px; }
.btn-more .icon { width: 18px; height: 18px; }
.caret-side { transform: rotate(-90deg); }
[dir='rtl'] .caret-side { transform: rotate(90deg); }
.prefs-menu .theme-ico { display: inline-grid; color: var(--teal); }
.prefs-menu .theme-ico .icon { width: 16px; height: 16px; }

/* split download pill with an OS menu */
.dl-split { position: relative; display: inline-flex; }
.dl-split > .btn { padding-inline-end: 64px; }
.dl-split .dl-caret { position: absolute; inset-block: 6px; inset-inline-end: 6px; width: 48px; border: 0; border-radius: 40px; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.dl-split .dl-caret:hover, .dl-split .dl-caret[aria-expanded='true'] { background: rgba(255, 255, 255, .24); }
.dl-split .dl-caret .icon { transition: transform .2s; }
.dl-split .dl-caret[aria-expanded='true'] .icon { transform: rotate(180deg); }
.dl-menu { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: 0; z-index: 30; min-width: 100%; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: var(--shadow); text-align: start; animation: pop .18s var(--ease); }
.dl-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.dl-menu a:hover, .dl-menu a.current { background: var(--surface-2); }
.dl-menu a small { margin-inline-start: auto; color: var(--muted); font-size: 12px; font-weight: 500; }

/* ---------- hero ---------- */
.hero-space { position: relative; padding-block-start: clamp(36px, 6vw, 84px); text-align: center; isolation: isolate; overflow: clip; margin-block-start: -116px; padding-block-start: calc(116px + clamp(36px, 6vw, 84px)); }
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-space .container { position: relative; z-index: 2; }
.hero-title { font-size: clamp(34px, 5.4vw, 74px); line-height: .98; margin: 0 auto; text-wrap: balance; }
.hero-title > span:first-child { display: block; }
:root[lang='fa'] .hero-title { font-size: clamp(32px, 5vw, 68px); line-height: 1.32; }
.hero-title .line2 { display: block; white-space: nowrap; }
.q { color: var(--text); }
/* .dotword (accent word in the hero): see "Round 7 · Stage 2" at the end of this file */
.hero-sub { margin: 26px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 22px; margin-block-start: 36px; flex-wrap: wrap; }
.hero-plus { width: 26px; height: 26px; color: var(--text); opacity: .9; }
.hero-small { margin-block-start: 18px; font-size: 12.5px; color: var(--subtle); }
.hero-small b { color: var(--muted); font-weight: 600; }

.hero-stage { position: relative; height: clamp(380px, 46vw, 600px); margin-block-start: clamp(20px, 4vw, 48px); perspective: 1400px; }
.floor { position: absolute; inset-inline: -10%; inset-block-end: 0; height: 62%; z-index: 0; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 100%); }
.floor::before { content: ''; position: absolute; inset-inline: -40%; inset-block: -20% -60%; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
  background-image: linear-gradient(var(--grid-neon) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--grid-neon) 1.5px, transparent 1.5px);
  background-size: 92px 92px; background-position: 50% 0; animation: floor-run 6s linear infinite; opacity: .55; }
.floor::after { content: ''; position: absolute; inset-inline: 10%; inset-block-end: -28%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 233, 173, .55), rgba(23, 233, 173, .12) 60%, transparent); filter: blur(6px); }
:root.light .floor::after { background: radial-gradient(closest-side, rgba(8, 163, 122, .3), transparent); }
@keyframes floor-run { to { background-position: 50% 92px; } }

.app-card-wrap { position: absolute; z-index: 2; left: 50%; top: 4%; width: min(560px, 82vw); transform: translateX(-50%); }
[dir='rtl'] .app-card-wrap { left: auto; right: 50%; transform: translateX(50%); }
.app-card-tilt { transform: rotateX(18deg) rotateY(-12deg) rotateZ(5deg); transform-style: preserve-3d; animation: card-float 7s ease-in-out infinite; }
@keyframes card-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.app-card { position: relative; display: block; padding: 10px; border-radius: 24px;
  background: linear-gradient(160deg, #24324d, #0d1525 60%, #1a2740); border: 2px solid rgba(23, 233, 173, .75);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 40px rgba(23, 233, 173, .45), 0 0 120px rgba(23, 233, 173, .18), 0 50px 80px rgba(0, 0, 0, .55); }
.app-card::before { content: ''; position: absolute; inset: 8px -14px -16px 8px; z-index: -1; border-radius: 26px; background: linear-gradient(160deg, #0b1220, #05080f); border: 2px solid rgba(23, 233, 173, .3); }
.app-card::after { content: ''; position: absolute; inset-block-start: 26%; inset-inline-end: -9px; width: 6px; height: 30%; border-radius: 4px; background: #17e9ad; box-shadow: 0 0 14px #17e9ad; opacity: .8; }
.app-card img { display: block; width: 100%; height: auto; border-radius: 15px; }
.app-card .led { position: absolute; inset-block-end: -6px; inset-inline-start: 18%; width: 34%; height: 8px; border-radius: 6px; background: #2c3a55; border: 2px solid rgba(23, 233, 173, .5); }

.hero-deco .d-galaxy { left: 8%; top: 124px; width: 160px; }
.hero-deco .d-ringed { right: 10%; top: 120px; width: 140px; }
.hero-deco .d-lime { left: -70px; top: 16%; width: 220px; }
.hero-deco .d-teal { right: -90px; top: 22%; width: 270px; }
.hero-deco .d-nebula { right: 15%; top: 44%; width: 190px; }
.hero-deco .d-ast1 { left: 30%; top: 126px; width: 50px; }
.hero-deco .d-ast2 { left: 30%; bottom: 8%; width: 60px; }
.hero-deco .d-ast3 { right: 24%; top: 33%; width: 48px; }
.hero-deco .sp1 { left: 18%; top: 34%; --s: 18px; }
.hero-deco .sp2 { left: 25%; top: 56%; --s: 70px; --d: 1.2s; }
.hero-deco .sp3 { right: 21%; top: 40%; --s: 52px; --d: 2.1s; }
.hero-deco .sp4 { right: 31%; top: 60%; --s: 22px; --d: .6s; }
.hero-deco .sp5 { left: 6%; top: 74%; --s: 110px; --d: 3s; }
.hero-deco .sp6 { left: 17%; top: 22%; --s: 26px; --d: 1.8s; }
.hero-deco .tall { left: 19.5%; top: 38%; --s: 44px; }
.hero-deco .mote { position: absolute; width: 16px; height: 22px; border-radius: 50%; background: #17e9ad; box-shadow: 0 0 14px #17e9ad; left: 7%; top: 30%; transform: rotate(20deg); }

/* ---------- section heads ---------- */
.s-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); }
.s-head h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
:root[lang='fa'] .s-head h2 { line-height: 1.4; font-size: clamp(28px, 3vw, 40px); }
.s-head p { color: var(--muted); font-size: var(--fs-lg); margin-block-start: 12px; }
.s-head.start { text-align: start; margin-inline: 0; max-width: 820px; }
.s-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-block-end: clamp(28px, 3vw, 40px); }
.s-head-row .s-head { margin: 0; }
.u-em { font-style: italic; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
:root[lang='fa'] .u-em { font-style: normal; }

/* why: four columns + wide card */
.why-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-col { padding: 8px 28px 10px; text-align: center; position: relative; }
.why-col + .why-col::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, var(--line-2), transparent); }
.why-col h3 { font-size: 20px; margin-block: 18px 12px; line-height: 1.35; }
.why-col p { color: var(--muted); font-size: 15.5px; }
.tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); border: 1px solid var(--teal-line); color: var(--teal); }
.tile .icon { width: 24px; height: 24px; }
.wide-card { position: relative; display: flex; align-items: center; gap: 24px; margin-block-start: clamp(40px, 5vw, 64px); padding: 24px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.wide-card > img { width: 84px; height: auto; flex: 0 0 auto; }
.wide-card .wc-body { flex: 1; text-align: center; }
.wide-card h3 { font-size: 22px; margin-block-end: 6px; }
.wide-card p { color: var(--muted); font-size: 15.5px; }
.wide-card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* numbers strip (in place of the reference's ratings row) */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.num-item .tile { margin-block-end: 14px; }
.num-item b { display: block; direction: ltr; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.num-item b em { font-style: normal; color: var(--green-ink); }
.num-item > span:not(.tile) { color: var(--muted); font-size: 15px; }
.numbers-note { text-align: center; color: var(--subtle); font-size: 12.5px; margin-block-start: 22px; }

/* how it works: framed console */
.console { position: relative; padding: clamp(18px, 2.4vw, 30px); border-radius: 28px; background: linear-gradient(180deg, #1c2638, #121a28); border: 2px solid rgba(23, 233, 173, .55);
  box-shadow: 0 0 0 6px rgba(9, 14, 25, .9), 0 0 60px rgba(23, 233, 173, .22), 0 0 160px rgba(23, 233, 173, .1);
  clip-path: polygon(0 40px, 40px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 calc(100% - 40px)); }
:root.light .console { background: linear-gradient(180deg, #ffffff, #eef3fa); box-shadow: 0 0 40px rgba(8, 163, 122, .18); }
.console-screen { position: relative; border-radius: 16px; padding: clamp(22px, 3vw, 40px); background: radial-gradient(120% 90% at 50% 0%, rgba(23, 233, 173, .14), transparent 60%), #0a101c; border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
:root.light .console-screen { background: radial-gradient(120% 90% at 50% 0%, rgba(8, 163, 122, .1), transparent 60%), #f7f9fc; border-color: var(--line); }
.console-leds { position: absolute; inset-block-start: 14px; inset-inline-end: 56px; display: flex; gap: 6px; }
.console-leds i { width: 18px; height: 5px; border-radius: 3px; background: #55ff8a; opacity: .7; }
.console-leds i:nth-child(2) { background: #ffef02; } .console-leds i:nth-child(3) { background: #ff4d57; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
.step3 { position: relative; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.step3::before { counter-increment: st; content: counter(st, decimal-leading-zero); font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 44px; line-height: 1; color: var(--teal); opacity: .9; }
:root[lang='fa'] .step3::before { content: counter(st, persian); font-family: var(--font-fa); font-weight: 900; }
.step3 h3 { font-size: 19px; margin-block: 12px 8px; }
.step3 p { color: var(--muted); font-size: 15px; }
.step3 .btn { margin-block-start: 16px; }
.step3 + .step3::after { content: ''; position: absolute; inset-block-start: 44px; inset-inline-start: -18px; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px); }

/* bento: "the solution" cards */
.bento { display: grid; grid-template-columns: repeat(10, 1fr); gap: 20px; }
.bc { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 28px 28px 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.bc:nth-child(1) { grid-column: span 4; } .bc:nth-child(2) { grid-column: span 3; } .bc:nth-child(3) { grid-column: span 3; }
.bc:nth-child(4) { grid-column: span 3; } .bc:nth-child(5) { grid-column: span 3; } .bc:nth-child(6) { grid-column: span 4; }
.bc h3 { font-size: 19px; line-height: 1.4; max-width: 16ch; }
.bc p { color: var(--muted); font-size: 15px; margin-block-start: 12px; }
.bc .art { position: relative; margin-block-start: auto; min-height: 160px; display: grid; place-items: end center; padding-block-start: 18px; }
/* art 1: tunnel route */
.art-tunnel { width: 100%; height: 170px; }
.art-tunnel .path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 7 7; animation: dash-run 1.2s linear infinite; }
@keyframes dash-run { to { stroke-dashoffset: -28; } }
/* art 2: leak chips marquee */
.chips-run { width: calc(100% + 56px); margin-inline: -28px; padding-block-end: 26px; display: grid; gap: 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.chips-run > div { display: flex; gap: 10px; width: max-content; animation: marquee 22s linear infinite; }
.chips-run > div:nth-child(2) { animation-direction: reverse; animation-duration: 26s; }
.chip-m { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip-m b { color: var(--green-ink); font-weight: 700; }
/* art 3: price tickets */
.tickets { display: grid; gap: 10px; width: calc(100% + 16px); margin-inline: -8px; padding-block-end: 22px; }
.ticket { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); text-align: start; }
.ticket:first-child { border-color: var(--teal-line); box-shadow: 0 0 24px rgba(23, 233, 173, .14); }
.ticket .ico { width: 34px; height: 34px; border-radius: 9px; }
.ticket .ico .icon { width: 18px; height: 18px; }
.ticket b { display: block; font-size: 13.5px; }
.ticket small { color: var(--muted); font-size: 12px; }
.ticket .tk-price { margin-inline-start: auto; font-weight: 800; font-size: 17px; font-family: var(--font-en); direction: ltr; white-space: nowrap; }
.ticket:first-child .tk-price { color: var(--teal); text-shadow: 0 0 14px rgba(23, 233, 173, .5); }
/* art 4: orbit of apps */
.orbit-art { position: relative; width: 240px; height: 150px; overflow: hidden; }
.orbit-art::before, .orbit-art::after { content: ''; position: absolute; left: 50%; top: 100%; border: 1px solid var(--line-2); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-art::before { width: 230px; height: 230px; } .orbit-art::after { width: 140px; height: 140px; }
.orbit-art span { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; }
.orbit-art span .icon { width: 26px; height: 26px; }
.orbit-art span:nth-child(1) { left: 12px; top: 64px; background: #0b0f18; border: 1px solid var(--line-2); transform: rotate(-12deg); }
.orbit-art span:nth-child(2) { left: 94px; top: 18px; background: var(--blue); animation-delay: -2s; }
.orbit-art span:nth-child(3) { right: 12px; top: 56px; background: linear-gradient(135deg, #ff4d57, #ffb02e); animation-delay: -4s; }
.orbit-art i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--text); opacity: .6; }
/* art 5: shield */
.shield-art { position: relative; width: 170px; height: 170px; margin-block-end: -24px; }
.shield-art svg { width: 100%; height: 100%; filter: drop-shadow(0 0 24px rgba(23, 233, 173, .35)); }
.shield-art img { position: absolute; left: 50%; top: 42%; width: 64px; height: 64px; transform: translate(-50%, -50%); }
/* art 6: location switcher */
.switcher { width: calc(100% + 8px); margin-inline: -4px; padding: 6px; border-radius: 12px 12px 0 0; background: var(--card-2); border: 1px solid var(--line); border-block-end: 0; text-align: start; }
.sw-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-family: var(--font-en); transition: background .4s; }
.sw-row img { width: 30px; height: 20px; border-radius: 3px; object-fit: cover; }
.sw-row .sw-on { margin-inline-start: auto; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 10px; color: #17e9ad; background: rgba(23, 233, 173, .18); opacity: 0; transition: opacity .3s; }
.sw-row.on { background: var(--surface-2); }
.sw-row.on .sw-on { opacity: 1; }

/* reviews */
.reviews { columns: 3 300px; column-gap: 20px; }
.review { background: var(--card); border-color: var(--line); border-radius: var(--r-lg); }

/* all devices band */
.devices-band { position: relative; padding-block: clamp(80px, 9vw, 120px); overflow: hidden; background: color-mix(in srgb, var(--card) 70%, transparent); isolation: isolate; }
.devices-band::before, .devices-band::after { content: ''; position: absolute; inset-inline: -30%; height: 46%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-neon) 1px, transparent 1px), linear-gradient(90deg, var(--grid-neon) 1px, transparent 1px); background-size: 110px 60px; opacity: .35; }
.devices-band::before { top: 0; transform: perspective(420px) rotateX(-58deg); transform-origin: 50% 0; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.devices-band::after { bottom: 0; transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%; mask-image: linear-gradient(0deg, #000, transparent); -webkit-mask-image: linear-gradient(0deg, #000, transparent); }
.band-glow { position: absolute; inset-inline: 15%; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 233, 173, .75), transparent); filter: blur(10px); z-index: -1; }
.band-glow.top { top: -40px; } .band-glow.bot { bottom: -40px; }
.dev-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 110px)); justify-content: center; border: 1px solid var(--line-2); width: max-content; max-width: 100%; margin: 0 auto; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.dev-tile { display: grid; justify-items: center; gap: 8px; padding: 18px 10px 14px; border-inline-start: 1px solid var(--line-2); color: var(--muted); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.dev-tile:first-child { border-inline-start: 0; }
.dev-tile:hover, .dev-tile.current { background: var(--teal-soft); color: var(--text); }
.dev-tile svg { width: 30px; height: 30px; color: var(--teal); }

/* feature rows (reference "more than just a VPN") */
.frow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); }
.frow + .frow { margin-block-start: clamp(70px, 9vw, 130px); }
.frow:nth-child(even) .frow-art { order: -1; }
.frow h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }
.frow p { color: var(--muted); font-size: var(--fs-lg); margin-block: 14px 26px; max-width: 520px; }
.frow ul { list-style: none; padding: 0; margin: -10px 0 26px; display: grid; gap: 8px; color: var(--muted); }
.frow li { display: flex; gap: 10px; align-items: flex-start; }
.frow li .icon { color: var(--green-ink); width: 18px; height: 18px; margin-block-start: 5px; }
.frow-art { position: relative; min-height: 300px; display: grid; place-items: center; }
.frow-art::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 233, 173, .14), transparent); filter: blur(4px); }
.frow-art > * { position: relative; }
.frow .proto-item, .frow .split-row { background: var(--card-2); }
.proto-ring { position: relative; width: min(340px, 90%); aspect-ratio: 1; display: grid; place-items: center; }
.proto-ring::before { content: ''; position: absolute; inset: 10%; border: 2px solid var(--teal-line); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); background: radial-gradient(closest-side, rgba(23, 233, 173, .12), transparent); }
.proto-ring::after { content: ''; position: absolute; inset: 22%; border: 1px solid var(--teal-line); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.proto-ring img { width: 34%; filter: drop-shadow(0 0 22px rgba(232, 35, 47, .45)); }
.proto-ring .pr { position: absolute; padding: 4px 12px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--teal-line); font-size: 12.5px; font-weight: 700; font-family: var(--font-en); white-space: nowrap; color: var(--text); }
.pr.p1 { top: 2%; left: 50%; transform: translateX(-50%); } .pr.p2 { top: 22%; right: -4%; } .pr.p3 { bottom: 22%; right: -6%; }
.pr.p4 { bottom: 2%; left: 50%; transform: translateX(-50%); } .pr.p5 { bottom: 22%; left: -6%; } .pr.p6 { top: 22%; left: -4%; }

/* locations */
.loc-band .marquee-item { border-radius: 8px; background: var(--surface-2); border: 0; font-size: 15px; padding: 11px 18px; }
.loc-band .marquee-item .flag { width: 30px; height: 20px; border-radius: 3px; }

/* CTA card with neon grid */
.cta-neon { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: var(--r-lg); border: 1px solid var(--teal-line); background: var(--bg); }
.cta-neon::before, .cta-neon::after { content: ''; position: absolute; inset-inline: -20%; height: 50%; z-index: -1; opacity: .3;
  background-image: linear-gradient(var(--grid-neon) 1px, transparent 1px), linear-gradient(90deg, var(--grid-neon) 1px, transparent 1px); background-size: 90px 46px; }
.cta-neon::before { top: 0; transform: perspective(360px) rotateX(-55deg); transform-origin: 50% 0; mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); }
.cta-neon::after { bottom: 0; transform: perspective(360px) rotateX(55deg); transform-origin: 50% 100%; mask-image: linear-gradient(0deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(0deg, #000, transparent 90%); }
.cta-neon h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
:root[lang='fa'] .cta-neon h2 { line-height: 1.35; font-size: clamp(30px, 4vw, 52px); }
.cta-neon h2 i { font-style: italic; font-weight: 400; }
:root[lang='fa'] .cta-neon h2 i { font-style: normal; color: var(--green-ink); }
.cta-neon p { color: var(--muted); max-width: 520px; margin: 16px auto 0; font-size: var(--fs-lg); }
.cta-neon .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-block-start: 30px; }
.cta-neon .btn-primary { text-transform: uppercase; letter-spacing: .02em; }
.from-pill { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 18px; padding: 5px 14px; border-radius: var(--pill); background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 14px; }
.cta-neon .deco { z-index: -1; }
.cta-neon .d1 { left: 14%; top: 54%; width: 110px; } .cta-neon .d2 { right: 13%; top: 52%; width: 90px; }
.cta-neon .sp1 { left: 22%; top: 24%; --s: 46px; } .cta-neon .sp2 { right: 22%; top: 26%; --s: 30px; --d: 1.4s; } .cta-neon .sp3 { left: 19%; top: 40%; --s: 18px; --d: 2s; }

/* FAQ as in the reference: open item becomes a card */
.faq { max-width: 960px; gap: 6px; }
.faq details { border-color: transparent; background: none; }
.faq details[open] { background: var(--card); border-color: var(--line); }
.faq summary { font-size: 18px; padding: 20px 22px; }
.faq .ans { font-size: 16px; }

/* cards: flat, like the reference */
.card, .pillar, .platform, .plan, .product, .loc, .net-tile, .topic, .step, .app-item, .ip-card, .calc, .wallet-card, .pay, .dl-main, .review, .table-wrap {
  background-color: var(--card); border-color: var(--line);
}
.card-glow:hover { border-color: var(--teal-line); }

/* inner page hero */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); }
:root[lang='fa'] .page-hero h1 { line-height: 1.35; }
.eyebrow { color: var(--teal); }
.tabs { gap: 0; border-block-end: 1px solid var(--line); justify-content: center; }
.tab { border: 0; border-radius: 0; background: none; padding: 12px 20px; border-block-end: 2px solid transparent; margin-block-end: -1px; }
.tab[aria-selected='true'] { background: none; color: var(--text); border-block-end-color: var(--text); }

/* ---------- footer: horizon + columns ---------- */
.site-footer.space-ftr { background: none; border: 0; margin-block-start: clamp(60px, 8vw, 120px); }
.footer-horizon { display: flex; justify-content: center; border-block-end: 1px solid var(--line-2); overflow: hidden; }
.footer-horizon img { width: min(640px, 100%); height: auto; display: block; margin-block-end: -1px; }
:root.light .footer-horizon img { filter: invert(.9) hue-rotate(180deg) brightness(1.1); opacity: .5; }
.footer-main { background: color-mix(in srgb, var(--bg) 60%, #000); padding-block: 48px 40px; }
:root.light .footer-main { background: #e6ebf3; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.35fr 1.35fr 1fr 1.5fr; gap: 32px; }
.fcol h4 { font-size: 15px; font-weight: 700; margin-block-end: 14px; color: var(--text); }
:root[lang='en'] .fcol h4 { text-transform: none; letter-spacing: 0; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 24px; }
.fcol ul.two { grid-template-columns: repeat(2, max-content); }
.fcol a { color: var(--muted); font-size: 14px; transition: color .2s; }
.fcol a:hover { color: var(--text); }
.fbrand { display: grid; gap: 16px; align-content: start; }
.fbrand .logo-badge { width: 40px; height: 40px; }
.fsocial { display: flex; gap: 8px; flex-wrap: wrap; }
.fsocial a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--muted); transition: color .2s, background .2s; }
.fsocial a:hover { color: var(--text); background: var(--line-2); }
.fsocial .icon { width: 18px; height: 18px; }
.fswitch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text); font-size: 14px; font-weight: 600; }
.fswitch button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; }
.fswitch button:hover { color: var(--text); }
.fswitch .icon { width: 15px; height: 15px; }
.fcopy { color: var(--muted); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .ip-chip { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  .hero-space { margin-block-start: 0; padding-block-start: clamp(28px, 6vw, 60px); }
  .site-header.space-hdr { height: 76px; border-block-end: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); }
  .nav-frame { display: none; }
  .nav.nav-space { justify-content: space-between; padding-block-start: 0; width: min(var(--max), 100% - var(--gutter) * 2); padding-inline: 0; }
  .nav-space .nav-actions { margin-inline-start: auto; }
  .why-cols { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .why-col:nth-child(3)::before { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bc:nth-child(n) { grid-column: span 1; }
  .bc:nth-child(1) { grid-column: span 2; }
  .steps3 { grid-template-columns: 1fr; }
  .step3 + .step3::after { display: none; }
  .frow { grid-template-columns: 1fr; }
  .frow:nth-child(even) .frow-art { order: 0; }
  .dev-tiles { grid-template-columns: repeat(3, minmax(0, 120px)); }
  .dev-tile:nth-child(4) { border-inline-start: 0; }
  .dev-tile:nth-child(n+4) { border-block-start: 1px solid var(--line-2); }
  .hero-deco .d-galaxy, .hero-deco .d-nebula, .hero-deco .d-ast1, .hero-deco .d-ringed, .hero-deco .d-ast3, .hero-deco .sp3, .hero-deco .tall, .hero-deco .mote { display: none; }
  .hero-deco .d-lime { left: -110px; width: 180px; }
  .hero-deco .d-teal { right: -130px; width: 220px; }
}
@media (max-width: 640px) {
  .why-cols, .numbers, .bento { grid-template-columns: 1fr; }
  .why-col::before { display: none; }
  .bc:nth-child(n) { grid-column: auto; }
  .bc { min-height: 0; }
  .hero-ctas { gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-plus { display: none; }
  .dl-split, .dl-split > .btn, .hero-ctas > .btn { width: 100%; }
  .btn-xl { font-size: 17px; min-height: 56px; }
  .hero-stage { height: 300px; }
  .app-card-wrap { width: 88vw; }
  .hero-title .line2 { white-space: normal; }
  .hero-deco .d-lime { top: auto; bottom: 22%; width: 120px; left: -70px; }
  .hero-deco .d-teal { top: auto; bottom: 30%; width: 130px; right: -80px; }
  .hero-deco .sp5, .hero-deco .sp2, .hero-deco .d-ast3 { display: none; }
  .wide-card { flex-direction: column; text-align: center; padding: 22px; }
  .wide-card > img { width: 64px; }
  .wide-card > img:last-child { display: none; }
  .dev-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .dev-tile:nth-child(n) { border-inline-start: 1px solid var(--line-2); border-block-start: 1px solid var(--line-2); }
  .dev-tile:nth-child(odd) { border-inline-start: 0; }
  .dev-tile:nth-child(-n+2) { border-block-start: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fcol ul.two { grid-template-columns: 1fr; }
  .cta-neon .deco { display: none; }
  .console { clip-path: none; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .floor::before, .app-card-tilt, .deco, .sparkle, .space-sky i, .chips-run > div { animation: none !important; }
}

/* ==========================================================================
   Round 7 · Stage 1: header on scroll, wordmark, logout, mobile menu, footer
   (values from docs/REFERENCE-NOTES.md)
   ========================================================================== */

/* wordmark only in the header (no logo mark), bigger */
.nav-space .brand.wordmark { font-size: 27px; font-weight: 900; letter-spacing: -.035em; gap: 0; line-height: 1; }
.nav-space .brand.wordmark span { display: inline !important; }
.nav-space .brand.wordmark b { color: var(--red-2); font-weight: 900; }

/* desktop actions: hamburger only on mobile/tablet, logout as a round icon button */
.space-hdr .menu-btn { display: none; }
.sq-btn.round { border-radius: 50%; width: 44px; height: 44px; background: var(--surface-2); color: var(--muted); }
.sq-btn.round:hover { color: var(--text); background: var(--line-2); }
.logout-btn[hidden] { display: none !important; }

/* header after scrolling: fixed full-width blurred bar sliding down, thin bottom line */
.site-header.space-hdr.stuck {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 80; height: 72px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 2px 0 0 rgba(255, 255, 255, .05);
  animation: hdr-down .32s var(--ease);
}
:root.light .site-header.space-hdr.stuck { box-shadow: 0 2px 0 0 rgba(9, 14, 25, .06); }
.space-hdr.stuck .nav-frame, .space-hdr.stuck .ip-chip { display: none; }
.space-hdr.stuck .nav.nav-space { width: min(1248px, 100% - 48px); justify-content: space-between; padding: 0; height: 72px; }
.space-hdr.stuck .nav-space .brand.wordmark { font-size: 24px; }
.space-hdr.stuck .nav-space .mega-panel { inset-block-start: calc(100% + 10px); }
@keyframes hdr-down { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- mobile menu (full-screen drawer) ---------- */
.drawer-space .drawer-scrim { background: rgba(0, 0, 0, .6); animation: fade .2s; }
.drawer-space .drawer-panel {
  inset: 0; width: 100%; padding: 0; gap: 0; border: 0; background: #14171d; display: flex; flex-direction: column;
  animation: dm-in .25s var(--ease);
}
:root.light .drawer-space .drawer-panel { background: #f4f6fa; }
[dir='rtl'] .drawer-space .drawer-panel { animation-name: dm-in; }
@keyframes dm-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.dm-head { flex: 0 0 60px; display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; }
.dm-mark img { width: 34px; height: 34px; display: block; }
.dm-close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line-2); background: none; color: var(--text); }
.dm-close .icon { width: 18px; height: 18px; }
.dm-body { flex: 1 1 auto; overflow-y: auto; padding: 0 12px 20px; display: flex; flex-direction: column; }
.drawer-space .drawer-panel .dm-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 16px 0; margin: 0; border-radius: 0;
  border: 0; border-block-end: 1px solid var(--line); background: none; font: inherit; font-size: 16px; font-weight: 700; color: var(--muted); text-align: start;
}
.drawer-space .drawer-panel .dm-row:hover, .drawer-space .drawer-panel .dm-row[aria-current='page'] { color: var(--text); background: none; }
.dm-acc-btn .icon { transition: transform .2s var(--ease); opacity: .6; }
.dm-acc.open .dm-acc-btn { color: var(--text); border-block-end-color: transparent; }
.dm-acc.open .dm-acc-btn .icon { transform: rotate(180deg); }
.dm-acc-panel { display: none; padding: 2px 0 14px; border-block-end: 1px solid var(--line); }
.dm-acc.open .dm-acc-panel { display: grid; gap: 14px; animation: fade .2s; }
.dm-acc-panel h4 { margin: 6px 0 -4px; font-size: 11.5px; font-weight: 700; color: var(--subtle); }
:root[lang='en'] .dm-acc-panel h4 { text-transform: uppercase; letter-spacing: .08em; }
.drawer-space .drawer-panel a.dm-sub { display: grid; gap: 3px; padding: 0; border-radius: 0; color: var(--text); }
.drawer-space .drawer-panel a.dm-sub:hover { background: none; }
.dm-sub b { font-size: 14.5px; font-weight: 700; }
.dm-sub b i { font-style: normal; display: inline-block; }
[dir='rtl'] .dm-sub b i { transform: scaleX(-1); }
.dm-sub small { color: var(--muted); font-size: 13.5px; }
.dm-out .icon { opacity: .7; }
.dm-foot { flex: 0 0 auto; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.dm-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #55ff8a; color: #04140a; font-weight: 700; font-size: 16px; }
.dm-cta:hover { filter: brightness(1.05); }

/* ---------- footer (horizon art + lines, 4 columns, round socials, language select) ---------- */
.footer-horizon { position: relative; border: 0; }
.footer-horizon .fh-line1 { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: #1f2838; }
.footer-horizon .fh-line2 { position: absolute; inset-inline: 0; bottom: 2px; border-block-start: 2px solid #030508; }
:root.light .footer-horizon .fh-line1 { background: #cfd7e4; }
:root.light .footer-horizon .fh-line2 { border-color: #e6ebf3; }
.footer-main { background: #030407; padding-block: 48px 56px; }
:root.light .footer-main { background: #e6ebf3; }
.footer-grid { grid-template-columns: repeat(4, auto); gap: 48px; justify-content: space-between; }
.fcol h4 { font-size: 18px; font-weight: 700; margin-block-end: 16px; }
.fcol ul.two { grid-template-columns: repeat(2, max-content); gap: 5px 16px; }
.fcol a { font-size: 15.5px; line-height: 24px; }
.fsocial { display: grid; grid-template-columns: repeat(5, 40px); gap: 8px; }
.fsocial a { width: 40px; height: 40px; background: rgba(255, 255, 255, .1); color: #55ff8a; }
.fsocial a:hover { background: rgba(255, 255, 255, .16); color: #55ff8a; }
:root.light .fsocial a { background: rgba(9, 14, 25, .08); color: var(--green-ink); }
.fswitch { gap: 10px; color: rgba(255, 255, 255, .8); font-weight: 400; font-size: 15.5px; }
:root.light .fswitch { color: var(--text); }
.lang-dd { position: relative; }
.lang-dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 6px 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: var(--text); font-size: 14px; }
:root.light .lang-dd-btn { border-color: var(--line-2); background: #fff; }
.lang-dd-btn .icon { width: 15px; height: 15px; opacity: .8; }
.lang-dd-btn[aria-expanded='true'] .icon:last-child { transform: rotate(180deg); }
.lang-dd-menu { position: absolute; inset-block-end: calc(100% + 6px); inset-inline-start: 0; min-width: 100%; z-index: 20; padding: 4px; border-radius: 6px; border: 1px solid var(--line-2); background: #14171d; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: grid; }
:root.light .lang-dd-menu { background: #fff; }
.lang-dd-menu[hidden] { display: none; }
.lang-dd-menu button { padding: 7px 12px; border: 0; border-radius: 4px; background: none; color: var(--text); text-align: start; font-size: 14px; white-space: nowrap; }
.lang-dd-menu button:hover { background: var(--surface-2); }
.fswitch .ftheme { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: var(--text); }
:root.light .fswitch .ftheme { border-color: var(--line-2); background: #fff; }
.fswitch .ftheme .icon { width: 16px; height: 16px; }
.fcopy { color: rgba(255, 255, 255, .5); font-size: 15.5px; }
:root.light .fcopy { color: var(--muted); }

@media (max-width: 1100px) {
  .space-hdr .nav-links { display: none; }
  .space-hdr .menu-btn { display: inline-grid; }
  .site-header.space-hdr { height: 76px; border-block-end: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); }
  .space-hdr .nav-frame { display: none; }
  .space-hdr .nav.nav-space { justify-content: space-between; padding-block-start: 0; width: min(var(--max), 100% - var(--gutter) * 2); padding-inline: 0; }
  .space-hdr .logout-btn { display: none !important; }
  .site-header.space-hdr.stuck { height: 64px; }
  .space-hdr.stuck .nav.nav-space { height: 64px; width: min(var(--max), 100% - var(--gutter) * 2); }
  .footer-grid { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .nav-space .brand.wordmark, .space-hdr.stuck .nav-space .brand.wordmark { font-size: 22px; }
  .space-hdr .menu-btn { background: none; width: 34px; height: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-main { padding-block: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.space-hdr.stuck, .drawer-space .drawer-panel { animation: none; }
}

/* ==========================================================================
   Round 7 · Stage 1 notes: hero pills with the reference's exact colours
   ========================================================================== */
/* primary: purple gradient #9400FF → #5C00FF, 60 px, radius 46, bevel shadows; pressed = reversed darker gradient + glow */
.btn-cta {
  background: linear-gradient(180deg, #9400ff 0, #5c00ff 100%); color: #fff; border: 0; border-radius: 46px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25), inset 0 -2px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 2px 3px rgba(255, 255, 255, .4);
}
.btn-cta:hover { filter: brightness(1.08); box-shadow: 0 4px 4px rgba(0, 0, 0, .25), 0 0 34px rgba(178, 73, 255, .35), inset 0 -2px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 2px 3px rgba(255, 255, 255, .4); }
.btn-cta:active { filter: none; text-shadow: none; background: linear-gradient(to top, #5000df, #8000dc); box-shadow: 0 0 50px rgba(178, 73, 255, .5), inset 0 -2px 4px #843afa, inset 0 -2px 8px rgba(0, 0, 0, .5); }
/* secondary: green 10 % fill, #55FF8A text */
.btn-ghost { background: rgba(85, 255, 138, .1); color: #55ff8a; }
.btn-ghost:hover { background: rgba(85, 255, 138, .16); color: #55ff8a; }
:root.light .btn-ghost { background: rgba(18, 161, 80, .12); color: #0b7a3b; }
:root.light .btn-ghost:hover { background: rgba(18, 161, 80, .2); color: #0b7a3b; }
.hero-ctas .btn-xl { min-height: 60px; padding: 17px 24px; font-size: 20px; line-height: 26px; }
.hero-ctas .btn-ghost { border-radius: 999px; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.hero-ctas .dl-split > .btn { padding-inline-end: 64px; }
:root[lang='fa'] .hero-ctas .btn-xl { font-size: 18px; }

/* ---------- Round 7 · free-service and extension pages ---------- */
.r7-narrow { max-width: 980px; }
.r7-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.r7-free-hero { padding-block: clamp(40px, 6vw, 80px) 24px; }
.r7-free-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; margin: 0 0 16px; }
.r7-free-hero .lead { color: var(--muted); font-size: 17px; max-width: 620px; }
.r7-checks { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 10px; }
.r7-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.r7-checks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(85, 255, 138, .14); color: #55ff8a; }
.r7-go { min-height: 54px; padding: 12px 26px; font-size: 18px; }
.r7-free-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.r7-free-art img { width: min(240px, 60%); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); animation: bob 8s ease-in-out infinite; }
.r7-burst { position: absolute; inset-block-start: 0; inset-inline-start: 10%; width: 150px; fill: #ffd84a; stroke: #1a1400; stroke-width: 4; transform: rotate(-12deg); animation: drift 11s ease-in-out infinite; }
.r7-burst-txt { position: absolute; inset-block-start: 52px; inset-inline-start: calc(10% + 22px); width: 106px; text-align: center; transform: rotate(-12deg); font-weight: 900; font-size: 22px; color: #1a1400; pointer-events: none; }
.r7-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.r7-steps5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.r7-steps li { border: 1px solid rgba(85, 255, 138, .45); border-radius: 12px; overflow: hidden; background: var(--surface); text-align: center; }
.r7-step-n { display: block; padding: 8px; background: #55ff8a; color: #04140a; font-weight: 800; }
.r7-steps h3 { margin: 14px 14px 6px; color: #55ff8a; font-size: 17px; }
:root.light .r7-steps h3 { color: var(--green-ink); }
.r7-steps p { margin: 0 16px 18px; color: var(--muted); font-size: 14.5px; }
.r7-row { display: grid; grid-template-columns: 1fr 200px; gap: 36px; align-items: center; margin-block: 28px; }
.r7-row.rev { grid-template-columns: 200px 1fr; }
.r7-row.rev > div { order: 2; }
.r7-row img { width: 100%; height: auto; animation: drift 12s ease-in-out infinite; }
.r7-row h3 { font-size: 22px; margin: 0 0 8px; }
.r7-row p { color: var(--muted); }
.r7-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.r7-card { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; }
.r7-card > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(85, 255, 138, .1); color: #55ff8a; }
.r7-card h3 { margin: 4px 0 0; font-size: 17px; }
.r7-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.r7-cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.r7-cmp { width: 100%; border-collapse: collapse; min-width: 520px; }
.r7-cmp th, .r7-cmp td { padding: 14px 18px; text-align: start; border-block-end: 1px solid var(--line); }
.r7-cmp thead th { font-size: 16px; background: var(--surface-2); }
.r7-cmp thead th:nth-child(2) { color: #55ff8a; }
.r7-cmp tbody th { color: var(--muted); font-weight: 600; }
.r7-cmp tr:last-child th, .r7-cmp tr:last-child td { border-block-end: 0; }
.r7-faq { display: grid; gap: 10px; }
.r7-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px 18px; }
.r7-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.r7-faq details p { margin: 0 0 16px; color: var(--muted); }
.r7-browsers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-block-start: 18px; }
.r7-browsers span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; font-weight: 600; direction: ltr; }
.r7-box { padding: 26px 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.r7-box h2 { margin: 0 0 10px; font-size: 22px; }
.r7-list { margin: 10px 0 16px; padding-inline-start: 22px; display: grid; gap: 8px; }
.r7-list code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: 13px; }
@media (max-width: 992px) {
  .r7-split { grid-template-columns: 1fr; text-align: center; }
  .r7-free-hero .lead { margin-inline: auto; }
  .r7-checks { justify-content: center; }
  .r7-steps, .r7-grid { grid-template-columns: 1fr 1fr; }
  .r7-steps5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .r7-steps, .r7-steps5, .r7-grid { grid-template-columns: 1fr; }
  .r7-row, .r7-row.rev { grid-template-columns: 1fr; text-align: center; }
  .r7-row img { width: 140px; margin: 0 auto; }
  .r7-row.rev > div { order: 0; }
}
@media (max-width: 640px) {
  .r7-cmp { min-width: 0; font-size: 13px; }
  .r7-cmp th, .r7-cmp td { padding: 10px 8px; }
}
@media (max-width: 640px) {
  .r7-cmp { table-layout: fixed; }
  .r7-cmp th, .r7-cmp td { white-space: normal; overflow-wrap: anywhere; }
  .r7-cmp th:first-child { width: 28%; }
}

/* ==========================================================================
   Round 7 · free page in the reference layout (fr-*)
   ========================================================================== */
.fr { --fr-card: rgba(255, 255, 255, .05); --fr-green: #55ff8a; }
:root.light .fr { --fr-card: rgba(9, 14, 25, .05); --fr-green: #0b9a48; }
.fr .container { max-width: 1112px; }
.fr .fr-narrow { max-width: 980px; }
.fr a:not(.fr-pill) { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fr-sec { padding-block: clamp(48px, 7vw, 96px) 0; }
.fr-h2 { text-align: center; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin: 0 0 10px; }
.fr-sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 760px; }
.fr-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #55ff8a; color: #04140a; font-weight: 700; font-size: 16px; text-decoration: none; transition: filter .15s, transform .15s; }
.fr-pill:hover { filter: brightness(1.06); transform: translateY(-1px); color: #04140a; }
.fr-center { text-align: center; margin-block-start: 40px; }

/* hero */
.fr-hero { padding-block: clamp(32px, 6vw, 72px) 0; }
.fr-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fr-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 0 0 14px; }
.fr-hero-txt > p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; max-width: 560px; }
.fr-checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.fr-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fr-checks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(85, 255, 138, .16); color: var(--fr-green); stroke-width: 3; }
.fr-hero-art { position: relative; animation: bob 9s ease-in-out infinite; }
.fr-hero-art img { width: 100%; height: auto; display: block; }
.fr-sign { position: absolute; top: 26.6%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg); font-weight: 900; font-size: clamp(15px, 1.9vw, 24px); color: #1a1400; white-space: nowrap; pointer-events: none; }

/* steps with a connector line */
.fr-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.fr-steps::before { content: ""; position: absolute; inset-inline: 16%; top: 50%; border-top: 2px solid rgba(85, 255, 138, .35); z-index: 0; }
.fr-steps li { position: relative; z-index: 1; border: 1px solid rgba(85, 255, 138, .5); border-radius: 12px; background: #0d1422; overflow: hidden; text-align: center; }
:root.light .fr-steps li { background: #fff; }
.fr-steps li > b { display: block; padding: 8px; background: #55ff8a; color: #04140a; font-size: 15px; }
.fr-steps li > div { padding: 16px 18px 20px; }
.fr-steps h3 { color: var(--fr-green); font-size: 17px; margin: 0 0 8px; }
.fr-steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* alternating explainer rows */
.fr-row { display: grid; grid-template-columns: 1fr 220px; gap: 48px; align-items: center; margin-block-start: 40px; }
.fr-row.rev { grid-template-columns: 220px 1fr; }
.fr-row.rev > div { order: 2; }
.fr-row h3 { font-size: 22px; margin: 0 0 12px; }
.fr-row p { color: var(--muted); margin: 0 0 12px; }
.fr-row p b { color: var(--text); }
.fr-row img { width: 100%; height: auto; animation: drift 12s ease-in-out infinite; }

/* four columns with dividers and a framed icon */
.fr-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.fr-cols > div { padding: 8px 22px; text-align: center; }
.fr-cols > div + div { border-inline-start: 1px solid var(--line); }
.fr-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid rgba(23, 233, 173, .55); background: rgba(23, 233, 173, .08); color: #17e9ad; margin-block-end: 14px; }
.fr-ico .icon { width: 18px; height: 18px; }
.fr-cols h3 { font-size: 17px; margin: 0 0 10px; }
.fr-cols p { color: var(--muted); font-size: 15px; margin: 0; }

/* what you get: illustrated cards */
.fr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fr-cards > div { background: var(--fr-card); border-radius: 16px; padding: 24px; text-align: center; }
.fr-cards img { width: 150px; height: 150px; display: block; margin: 0 auto 18px; transition: transform .3s var(--ease); }
.fr-cards > div:hover img { transform: translateY(-4px) rotate(-3deg); }
.fr-cards h3 { font-size: 17px; margin: 0 0 10px; }
.fr-cards p { color: var(--muted); font-size: 15px; margin: 0; }

/* comparison table: pill rows */
.fr-tbl-wrap { overflow-x: auto; }
.fr-tbl { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
.fr-tbl th, .fr-tbl td { padding: 10px 16px; text-align: center; }
.fr-tbl th:first-child, .fr-tbl td:first-child { text-align: start; width: 22%; }
.fr-tbl thead th { font-weight: 700; font-size: 14px; }
.fr-tbl thead th:first-child { font-size: 18px; }
.fr-tbl tbody td { background: rgba(255, 255, 255, .05); }
:root.light .fr-tbl tbody td { background: rgba(9, 14, 25, .05); }
.fr-tbl tbody td:first-child { border-start-start-radius: 999px; border-end-start-radius: 999px; }
.fr-tbl tbody td:last-child { border-start-end-radius: 999px; border-end-end-radius: 999px; }
.fr-ok { width: 16px; height: 16px; color: var(--fr-green); stroke-width: 3; vertical-align: middle; }

/* faq */
.fr-faq { display: grid; gap: 10px; }
.fr-faq details { background: var(--fr-card); border-radius: 12px; padding: 4px 20px; }
.fr-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.fr-faq details p { margin: 0 0 16px; color: var(--muted); }

/* end CTA */
.fr-end { text-align: center; padding-block-end: 20px; }
.fr-end img { width: 180px; height: auto; margin-block-end: 18px; animation: bob 8s ease-in-out infinite; }

@media (max-width: 992px) {
  .fr-hero-in { grid-template-columns: 1fr; text-align: center; }
  .fr-hero-txt > p { margin-inline: auto; }
  .fr-checks { justify-items: center; }
  .fr-hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .fr-cols { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .fr-cols > div:nth-child(3) { border-inline-start: 0; }
  .fr-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fr-steps, .fr-cols, .fr-cards { grid-template-columns: 1fr; }
  .fr-steps::before { inset-inline: auto; inset-inline-start: 50%; top: 6%; bottom: 6%; border-top: 0; border-inline-start: 2px solid rgba(85, 255, 138, .35); }
  .fr-cols > div + div { border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .fr-row, .fr-row.rev { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .fr-row img { width: 160px; margin: 0 auto; }
  .fr-row.rev > div { order: 0; }
  .fr-tbl { font-size: 12.5px; }
  .fr-tbl th, .fr-tbl td { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) { .fr-hero-art, .fr-row img, .fr-end img { animation: none; } }

/* home hero: quick entry to the free service */
.hero-free { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 18px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid rgba(85, 255, 138, .35); background: rgba(85, 255, 138, .08); color: var(--text); font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
[dir='rtl'] .hero-free { padding: 5px 5px 5px 14px; }
.hero-free:hover { background: rgba(85, 255, 138, .16); transform: translateY(-1px); }
.hero-free b { padding: 3px 10px; border-radius: 999px; background: #55ff8a; color: #04140a; font-size: 12.5px; }
.hero-free .icon { width: 15px; height: 15px; color: #55ff8a; }
[dir='rtl'] .hero-free .icon { transform: scaleX(-1); }
.fr-tbl thead th, .fr-tbl thead tr { background: none; border: 0; }
.fr-tbl td, .fr-tbl th { border: 0; }

/* ==========================================================================
   Round 7 · Stage 2: one button system, motion details, readable accent word
   (values from docs/REFERENCE-NOTES.md "Stage 2")
   ========================================================================== */
:root {
  --bg: #090e19;
  --pp-a: #9400ff; --pp-b: #5c00ff; --pp-glow: rgba(178, 73, 255, .5);
  --pp-press-a: #5000df; --pp-press-b: #8000dc; --pp-press-inset: #843afa;
  --g-solid: #55ff8a; --g-on: #000; --g-soft: rgba(85, 255, 138, .1); --g-ink: #55ff8a;
  --btn-t: .1s ease-in-out;
}
:root.light { --bg: #eef2f8; --g-soft: rgba(18, 161, 80, .12); --g-ink: #0b7a3b; }

/* base pill: 48 px, 12/24, 16/700, radius 999; no lift on hover, 1 px press */
.btn { min-height: 48px; padding: 12px 24px; font-size: 16px; font-weight: 700; line-height: 1.5; border-radius: 999px; border: 0;
  transition: background var(--btn-t), color var(--btn-t), box-shadow var(--btn-t), filter var(--btn-t), transform var(--btn-t); }
.btn:hover { transform: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 18px; }
@media (max-width: 767px) { .btn-lg { font-size: 16px; } }

/* primary = purple gradient (same as the hero download pill) */
.btn-primary, .btn-cta {
  position: relative; overflow: hidden; isolation: isolate; border: 0; border-radius: 46px; color: #fff;
  background: linear-gradient(180deg, var(--pp-a) 0, var(--pp-b) 100%);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25), inset 0 -2px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 2px 3px rgba(255, 255, 255, .4);
}
.btn-primary:hover, .btn-cta:hover {
  color: #fff; filter: none; background: linear-gradient(180deg, var(--pp-a) 0, var(--pp-b) 100%);
  box-shadow: 0 0 50px var(--pp-glow), 0 4px 4px rgba(0, 0, 0, .25), inset 0 -2px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 2px 3px rgba(255, 255, 255, .4);
}
.btn-primary:active, .btn-cta:active {
  filter: none; text-shadow: none; background: linear-gradient(to top, var(--pp-press-a), var(--pp-press-b));
  box-shadow: 0 0 50px var(--pp-glow), inset 0 -2px 4px var(--pp-press-inset), inset 0 -2px 8px rgba(0, 0, 0, .5), inset 0 0 4px #000, inset 0 2px 8px rgba(0, 0, 0, .5), inset 0 -1px 2px rgba(255, 255, 255, .3);
}
:root.light .btn-primary, :root.light .btn-cta { --pp-glow: rgba(148, 0, 255, .35); }
/* the shine: two skewed streaks sweep across every 5 s */
.btn-primary > *, .btn-cta > * { position: relative; z-index: 2; }
.btn-primary::before, .btn-primary::after, .btn-cta::before, .btn-cta::after {
  content: ''; position: absolute; top: -18%; left: -32%; height: 136%; z-index: 1; pointer-events: none; opacity: 0; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .28) 35%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .28) 65%, rgba(255, 255, 255, 0));
  animation: btn-shine 5s cubic-bezier(.79, .14, .15, .86) infinite;
}
.btn-primary::before, .btn-cta::before { width: 26%; filter: blur(6px); }
.btn-primary::after, .btn-cta::after { width: 11%; filter: blur(5px); animation-delay: .12s; }
@keyframes btn-shine { 0%, 6% { left: -32%; opacity: 0; } 9%, 16% { opacity: 1; } 19%, 100% { left: 118%; opacity: 0; } }
[dir='rtl'] .btn-primary::before, [dir='rtl'] .btn-primary::after, [dir='rtl'] .btn-cta::before, [dir='rtl'] .btn-cta::after { animation-name: btn-shine-rtl; }
@keyframes btn-shine-rtl { 0%, 6% { left: 118%; opacity: 0; } 9%, 16% { opacity: 1; } 19%, 100% { left: -32%; opacity: 0; } }

/* secondary = green 10 % fill, green text; hover turns solid green with black text */
.btn-ghost { background: var(--g-soft); color: var(--g-ink); border: 0; }
.btn-ghost:hover, :root.light .btn-ghost:hover { background: var(--g-solid); color: var(--g-on); border-color: transparent; text-shadow: none; }
.hero-ctas .btn-ghost:hover { text-shadow: none; }

/* solid green (drawer CTA, free page pill): the inverse of secondary */
.btn-solid, .fr-pill, .dm-cta { background: var(--g-solid); color: var(--g-on); transition: background var(--btn-t), color var(--btn-t), transform var(--btn-t); }
.btn-solid:hover, .fr-pill:hover, .dm-cta:hover { background: var(--g-soft); color: var(--g-ink); filter: none; transform: none; }
.btn-solid:active, .fr-pill:active, .dm-cta:active { transform: translateY(1px); }

/* neutral (white 10 %) */
.btn-default { background: rgba(255, 255, 255, .1); color: var(--text); }
.btn-default:hover { background: rgba(255, 255, 255, .15); }
:root.light .btn-default { background: rgba(9, 14, 25, .08); }
:root.light .btn-default:hover { background: rgba(9, 14, 25, .13); }

/* the hero pills keep their 60 px size (20/26, 18/24 under 768) */
.hero-ctas .btn-xl { min-height: 60px; padding: 17px 24px; font-size: 20px; line-height: 26px; }
@media (max-width: 767px) { .hero-ctas .btn-xl { font-size: 18px; line-height: 24px; } }
.dl-split .dl-caret { z-index: 3; }

/* text links that point somewhere: the arrow slides 10 px towards the reading direction */
.link .icon, .hero-free .icon { transition: transform var(--btn-t); }
.link:hover .icon, .hero-free:hover .icon { transform: translateX(10px); }
[dir='rtl'] .link:hover .icon { transform: translateX(-10px); }
[dir='rtl'] .hero-free:hover .icon { transform: translateX(-10px) scaleX(-1); }

/* ---------- hover motion on cards and icons ---------- */
.tile, .ico, .fr-ico, .r7-card > .icon, .platform .icon, .dev-tile svg, .fr-cards img, .wide-card > img {
  transition: transform var(--btn-t); backface-visibility: hidden;
}
.why-col:hover .tile, .num-item:hover .tile, .card:hover .ico, .topic:hover .ico, .r7-card:hover > .icon, .fr-cols > div:hover .fr-ico,
.platform:hover .icon, .dev-tile:hover svg { transform: scale(1.1); }
a.card, .platform, .r7-card, .fr-cards > div, a.topic, .bc, .step3 { transition: transform var(--btn-t), border-color var(--btn-t), box-shadow var(--btn-t), background-color var(--btn-t); }
a.card:hover, .platform:hover, .r7-card:hover, .fr-cards > div:hover, a.topic:hover, .bc:hover, .step3:hover {
  transform: translateY(-2px); border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .05);
}
:root.light a.card:hover, :root.light .platform:hover, :root.light .r7-card:hover, :root.light .fr-cards > div:hover, :root.light a.topic:hover, :root.light .bc:hover, :root.light .step3:hover {
  border-color: var(--line-2); box-shadow: 0 10px 28px rgba(9, 14, 25, .1);
}
a.card p, .r7-card p, .fr-cards p, .why-col p { transition: color var(--btn-t); }
a.card:hover p, .r7-card:hover p, .fr-cards > div:hover p, .why-col:hover p { color: var(--text); }
.wide-card:hover > img { animation: wobble .9s ease-in-out; }
.fr-cards > div:hover img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }

/* ---------- drifting planets, wobble, sparkles ---------- */
@keyframes wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-3deg); } 85% { transform: rotate(1deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes drift-x { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-10px, 6px); } 66% { transform: translate(8px, -8px); } }
/* the wrappers sway/drift while the images inside keep their own float: two layers of motion */
.hero-deco .d-ringed, .hero-deco .d-ast1, .hero-deco .d-ast3 { animation: sway 7s ease-in-out infinite; }
.hero-deco .d-ast3 { animation-duration: 9s; animation-delay: -3s; }
.hero-deco .d-galaxy, .hero-deco .d-nebula { animation: drift-x 16s ease-in-out infinite; }
.hero-deco .d-teal { animation: drift-x 19s ease-in-out infinite reverse; }
.hero-deco .d-lime { animation: drift-x 23s ease-in-out infinite; }
.cta-neon .d1, .cta-neon .d2 { animation: sway 8s ease-in-out infinite; }
.cta-neon .d2 { animation-delay: -4s; }

/* shooting stars (home hero; home.js spawns one at a time) */
.shoot { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shoot span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .1), 0 0 0 8px rgba(255, 255, 255, .1), 0 0 20px rgba(255, 255, 255, .1);
  animation: shoot var(--dur, 3s) linear 1 forwards; }
.shoot span::before { content: ''; position: absolute; top: 50%; width: 300px; height: 1px; transform: translateY(-50%); background: linear-gradient(90deg, #fff, transparent); }
@keyframes shoot { 0% { transform: rotate(315deg) translateX(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: rotate(315deg) translateX(-1000px); opacity: 0; } }
:root.light .shoot { display: none; }

/* inner page heads: two twinkling sparkles (no markup needed) */
.page-hero { isolation: isolate; overflow: clip; }
.page-hero::before, .page-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1; background: var(--sparkle);
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%); animation: sparkle 5s ease-in-out infinite; }
.page-hero::before { width: 46px; inset-inline-start: 9%; top: 28%; }
.page-hero::after { width: 24px; inset-inline-end: 12%; top: 58%; animation-delay: 1.8s; background: rgba(23, 233, 173, .55); }
:root.light .page-hero::after { background: rgba(8, 163, 122, .4); }
@media (max-width: 640px) {
  .page-hero::before { width: 28px; inset-inline-start: 4%; top: 12%; }
  .page-hero::after { width: 16px; inset-inline-end: 5%; top: 80%; }
}

/* ---------- hero accent word: real text in a dot grid (readable in fa and en) ----------
   The word stays live text (selectable, translated, shaped by the browser). A dot mask cuts it into a
   grid of round dots, and a faint copy underneath keeps every letter's outline legible. */
.dotword { position: relative; display: inline-block; vertical-align: baseline; }
.dotword .dw-text, .dotword::before {
  background-image: linear-gradient(90deg, #c98bff 0%, #a77dff 30%, #55ff8a 75%, #b6ffcb 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: dw-flow 7s ease-in-out infinite alternate;
}
.dotword .dw-text {
  position: relative; z-index: 1; display: inline-block; padding-inline: .04em;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 46%); mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 46%);
  -webkit-mask-size: max(3px, .07em) max(3px, .07em); mask-size: max(3px, .07em) max(3px, .07em);
}
.dotword::before { content: attr(data-text); position: absolute; inset: 0; z-index: 0; padding-inline: .04em; opacity: .34; white-space: nowrap; }
:root.light .dotword .dw-text, :root.light .dotword::before { background-image: linear-gradient(90deg, #7a00e6 0%, #5c00ff 30%, #0b9a48 75%, #087a3a 100%); }
:root.light .dotword::before { opacity: .5; }
:root.light .dotword .dw-text { -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 54%); mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 54%); }
@keyframes dw-flow { from { background-position: 0 0; } to { background-position: 100% 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before, .btn-primary::after, .btn-cta::before, .btn-cta::after { animation: none; opacity: 0; }
  .page-hero::before, .page-hero::after, .dotword .dw-text, .dotword::before { animation: none; }
  .shoot { display: none; }
  .hero-deco .deco, .cta-neon .deco, .wide-card:hover > img { animation: none !important; }
  .btn:active, .btn-solid:active, .fr-pill:active, .dm-cta:active { transform: none; }
  a.card:hover, .platform:hover, .r7-card:hover, .fr-cards > div:hover, a.topic:hover, .bc:hover, .step3:hover { transform: none; }
}

/* ==========================================================================
   Round 7 · Stage 3: the MoboPing wordmark in running text, legal pages
   ========================================================================== */
/* item 13: "MoboPing" drawn like the header logo (Mobo + red Ping, bold, LTR). core.js wraps page text in it. */
.wm { direction: ltr; unicode-bidi: isolate; white-space: nowrap; font-weight: 800; letter-spacing: -.02em; }
.wm b { color: var(--red-2); font-weight: inherit; }
h1 .wm, h2 .wm, h3 .wm, .wm-strong { font-weight: 900; }
.sc-brand > b { display: inline-flex; align-items: baseline; gap: 6px; }
.sc-brand .wm { font-size: 1.1em; }
.sc-brand .sc-st { color: var(--muted); font-weight: 600; }

/* item 15: terms + privacy — title, last-updated, numbered sections, side table of contents */
/* body's overflow-x: hidden makes it a scroll box and breaks sticky; clip keeps the same look without that */
body:has(.lg-layout) { overflow-x: clip; }
.lg-hero { padding-block-end: clamp(20px, 3vw, 32px); }
.lg-updated { display: inline-block; margin-block: 0 14px; color: var(--muted); font-size: 15px !important; }
.lg-hero .lg-intro { font-size: 17px; max-width: 640px; }
.lg-layout { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1120px; margin-inline: auto; padding-block-end: clamp(48px, 7vw, 96px); }
.lg-toc { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); }
.lg-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc summary .icon { transition: transform .2s ease; opacity: .6; }
.lg-toc details[open] summary .icon { transform: rotate(180deg); }
.lg-toc ol { list-style: none; margin: 0; padding: 0 10px 12px; display: grid; gap: 2px; counter-reset: lg; }
.lg-toc li { counter-increment: lg; }
.lg-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; text-decoration: none; transition: color .1s ease-in-out, background-color .1s ease-in-out; }
.lg-toc a::before { content: counter(lg); flex: 0 0 22px; color: var(--subtle); font-weight: 700; text-align: center; }
:root[lang='fa'] .lg-toc a::before { content: counter(lg, persian); }
.lg-toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lg-toc a.on { color: var(--text); background: rgba(85, 255, 138, .08); }
.lg-toc a.on::before { color: var(--green-ink); }
.lg-body { min-width: 0; display: grid; gap: clamp(36px, 5vw, 56px); counter-reset: lgs; }
.lg-group { display: flex; justify-content: center; }
.lg-group span { padding: 6px 20px; border: 2px solid var(--line); border-radius: 46px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
:root[lang='fa'] .lg-group span { letter-spacing: 0; font-size: 14px; }
.lg-sec { display: grid; gap: 14px; scroll-margin-top: 96px; counter-increment: lgs; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; }
.lg-sec h2::before { content: counter(lgs) "."; color: var(--green-ink); font-weight: 800; flex: 0 0 auto; }
:root[lang='fa'] .lg-sec h2::before { content: counter(lgs, persian) "."; }
.lg-sec p, .lg-sec li { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.lg-sec ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.lg-sec li::marker { color: var(--subtle); }
.lg-sec strong { color: var(--text); font-weight: 700; }
.lg-sec a:not(.btn) { color: var(--green-ink); }
.lg-tldr { display: flex; align-items: flex-start; gap: 14px; margin-block-start: 4px; }
.lg-tldr > b { flex: 0 0 auto; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 24px; background: rgba(255, 255, 255, .05); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.4; }
.lg-tldr > span { color: var(--text); opacity: .85; font-size: 15.5px; line-height: 1.8; padding-block-start: 2px; }
:root.light .lg-toc, :root.light .lg-tldr > b { background: rgba(9, 14, 25, .03); }
:root.light .lg-toc a:hover { background: rgba(9, 14, 25, .05); }
:root.light .lg-toc a.on { background: rgba(14, 138, 67, .1); }
@media (min-width: 1024px) {
  .lg-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
  .lg-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
  .lg-toc summary { cursor: default; pointer-events: none; }
  .lg-toc summary .icon { display: none; }
}
/* the docked assistant (≥1280, open, on the right) would cover the text: the layout moves left and narrows just enough */
@media (min-width: 1280px) and (min-height: 600px) {
  body:has(> .pgo[data-state='open']) .lg-layout {
    margin-left: 0; margin-right: auto;
    max-width: min(1120px, calc(100% - max(0px, clamp(360px, 28vw, 380px) + 48px - (100vw - 100%) / 2)));
  }
}
@media (max-width: 600px) {
  .lg-tldr { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-toc summary .icon { transition: none; }
}


/* ===== Round 7 · Stage 4: pricing tiers (items 16–17) + "who it's for" icons and no stretched art (item 18) ===== */
/* Tiers: 3 columns, each card is a 6-row subgrid (head · name+desc · price · CTA · list title · list), so the
   price row, the CTA and the feature list start on the same line in every card. */
.products { display: block; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; max-width: 1100px; margin-inline: auto; padding-block-start: 34px; align-items: stretch; }
.tiers .skeleton { min-height: 640px; border-radius: var(--r-xl); }
.product.tier { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 16px; min-height: 640px; padding: 28px 24px 26px; overflow: visible; clip-path: inset(0 round var(--r-xl)); }
.product.tier .tier-intro h3 { margin-block-end: 8px; }
.product.tier .product-desc { min-height: 0; margin: 0; }
.product.tier .product-price { display: grid; align-content: start; gap: 2px; padding-block: 16px; }
.product.tier .product-price .plan-flags, .unl-buy .plan-flags { justify-self: start; margin-block-start: 10px; }
.product.tier .btn { align-self: start; }
.tier-plus { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.product.tier ul { flex: none; align-content: start; }
.product.tier li .icon { flex: none; }
.product.tier.featured { border-color: rgba(178, 73, 255, .55); border-start-start-radius: 0; border-start-end-radius: 0;
  background: radial-gradient(120% 55% at 50% 0%, rgba(148, 0, 255, .22), transparent 70%), var(--surface);
  box-shadow: 0 0 0 1px rgba(178, 73, 255, .55), 0 24px 60px rgba(0, 0, 0, .3); clip-path: inset(-34px -2px -2px -2px round var(--r-xl)); }
/* the highlighted middle plan rises 34 px above its neighbours (the reference raises it 40 px), rows stay aligned */
.product.tier.featured::before { content: attr(data-cap); position: absolute; z-index: 3; inset-inline: -1px; inset-block-start: -34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-xl) var(--r-xl) 0 0; background: linear-gradient(180deg, #9400FF, #5C00FF); color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.product.tier.featured .product-tag { background: rgba(148, 0, 255, .18); color: #D9A8FF; }
.product.tier.featured li .icon { color: #C98BFF; }
:root.light .product.tier.featured { background: radial-gradient(120% 55% at 50% 0%, rgba(92, 0, 255, .1), transparent 70%), var(--surface); }
:root.light .product.tier.featured .product-tag { background: rgba(92, 0, 255, .1); color: #5C00FF; }
:root.light .product.tier.featured li .icon { color: #7A00E6; }
@supports not (grid-template-rows: subgrid) {
  .product.tier { display: flex; flex-direction: column; gap: 16px; }
  .product.tier .tier-intro { min-height: 190px; }
  .product.tier .product-price { min-height: 150px; }
}
/* Unlimited: a different axis (no data cap, CF network, 3 countries), so it sits under the ladder */
.unl-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 280px); gap: 24px; align-items: center; max-width: 1100px; margin: 24px auto 0; padding: 26px 28px; overflow: hidden; }
.unl-card .ico { align-self: start; }
.unl-kicker { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-block-end: 4px; }
.unl-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 22px; }
.unl-card .product-desc { min-height: 0; margin-block: 6px 12px; }
.unl-card ul { display: flex; flex-wrap: wrap; gap: 8px 20px; flex: none; }
.unl-buy { display: grid; gap: 14px; }
.unl-buy .product-price { padding-block: 0 14px; border-block-start: 0; }
@media (max-width: 899px) {
  .tiers { grid-template-columns: minmax(0, 460px); justify-content: center; row-gap: 54px; }
  .tiers .skeleton:nth-child(n+2) { display: none; }
  .product.tier { display: flex; flex-direction: column; gap: 16px; grid-row: auto; min-height: 0; }
  .unl-card { grid-template-columns: auto minmax(0, 1fr); max-width: 460px; }
  .unl-buy { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .product.tier { padding: 24px 18px 22px; }
  .unl-card { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
}

/* "Who it's for" chips on service and feature cards: a fixed 24 px round icon box + a short label */
.who-row { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 14px; }
.who { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding-block: 0; padding-inline: 4px 12px; border-radius: 999px; background: rgba(148, 0, 255, .12); border: 1px solid rgba(178, 73, 255, .3); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.who-i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, #9400FF, #5C00FF); color: #fff; }
.who-i .icon { flex: none; width: 14px; height: 14px; }
:root.light .who { background: rgba(92, 0, 255, .07); border-color: rgba(92, 0, 255, .22); }
.bc .who-row, .frow .who-row { margin-block-end: 14px; }
/* features page: equal-height cards in each row, the chip pinned to the bottom so chips line up too */
.feat-card { display: flex; flex-direction: column; height: 100%; }
.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feat-card .who-row { margin-block: auto 0; padding-block-start: 16px; }

/* Nothing stretched: fixed square icon boxes that never shrink in flex rows, and art that keeps its ratio */
.tile, .ico, .route-node span, .orbit-art span { flex: none; aspect-ratio: 1; }
svg.icon { flex: none; }
.proto-ring img { width: 34%; height: auto; aspect-ratio: 1; object-fit: contain; }
.route-node img { object-fit: contain; }
.shield-art img, .dev img { object-fit: contain; }
.art-tunnel { height: auto; max-width: 320px; aspect-ratio: 320 / 170; }
.wide-card > img { height: auto; object-fit: contain; }
