/* Biletak landing — night palette, paper ticket as the hero object. */
:root {
  --night: #170A16;
  --night-2: #241022;
  --night-3: #321730;
  --crimson: #E0244B;
  --plum: #8E2A8B;
  --gold: #FFB443;
  --paper: #FFF1EC;
  --paper-ink: #2A1027;
  --mist: #BEA9BC;
  --text: #FBF2F6;
  --line: rgba(255, 228, 240, .14);
  --grad: linear-gradient(120deg, var(--crimson), var(--plum));
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  color-scheme: dark;
}
.lang-fa { --font: "Vazirmatn", ui-sans-serif, system-ui, Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.lang-fa body, body.lang-fa { line-height: 1.85; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.lang-fa h1, .lang-fa h2, .lang-fa h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--paper); color: var(--paper-ink); padding: 8px 14px; border-radius: 10px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
section h2 { font-size: clamp(34px, 5.4vw, 64px); font-variation-settings: "wdth" 85, "opsz" 96; }
.lang-fa section h2 { font-size: clamp(30px, 4.6vw, 54px); }
.sub { margin-top: 18px; max-width: 62ch; color: var(--mist); font-size: clamp(18px, 2vw, 21px); }
.small { margin-top: 16px; max-width: 60ch; color: var(--mist); font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--grad); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 30px -10px rgba(224, 36, 75, .7); transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(224, 36, 75, .85); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 228, 240, .4); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  background: rgba(23, 10, 22, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 228, 240, .06);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; font-family: "Bricolage Grotesque", var(--font); }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--mist); }
.nav a:hover { color: var(--text); }
.langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.langs a { min-width: 34px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--mist); font-family: "Vazirmatn", var(--font); }
.langs a[aria-current="page"] { background: var(--text); color: var(--night); }
@media (max-width: 920px) { .nav { display: none; } .top .langs { margin-inline-start: auto; } }
@media (max-width: 420px) { .top { gap: 8px; } .logo span { display: none; } }

/* ---------- Scene 1: the ticket ---------- */
.scene { position: relative; height: 420vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px;
  padding: 84px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 40px;
  --a: 0; --b: 0; --c: 0; --d: 0;
}
.stage::before { /* stage light */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 72% 45%, rgba(224, 36, 75, calc(.32 + var(--a) * .12)), transparent 70%),
    radial-gradient(35% 45% at 25% 70%, rgba(142, 42, 139, .35), transparent 70%);
}
.copy { position: relative; min-height: 360px; }
.hero-copy { transition: opacity .35s ease, transform .35s ease; }
.hero-copy h1 { font-size: clamp(44px, 6.6vw, 88px); font-variation-settings: "wdth" 80, "opsz" 96; font-weight: 750; }
.lang-fa .hero-copy h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; }
.lead { margin-top: 22px; max-width: 34em; color: var(--mist); font-size: clamp(18px, 1.9vw, 21px); }
.note { margin-top: 18px; color: var(--mist); font-size: 14px; }
.stage[data-phase="steps"] .hero-copy { opacity: 0; transform: translateY(-24px); pointer-events: none; }

.steps { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; display: grid; align-content: center; pointer-events: none; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step-n { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--grad); font-weight: 800; }
.step h3 { margin-top: 18px; font-size: clamp(36px, 5vw, 64px); font-variation-settings: "wdth" 80, "opsz" 96; }
.step p { margin-top: 14px; max-width: 30em; color: var(--mist); font-size: clamp(18px, 1.9vw, 21px); }

.visual { position: relative; height: min(66vh, 600px); display: grid; place-items: center; perspective: 1400px; }
.ticket {
  --w: min(520px, 86vw);
  position: relative; width: var(--w); aspect-ratio: 52 / 22; display: flex; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  transform: rotateX(calc((1 - var(--a)) * 30deg)) rotateZ(calc((1 - var(--a)) * -9deg)) scale(calc(.86 + var(--a) * .14));
  transform-style: preserve-3d; will-change: transform;
}
.t-main, .t-stub { position: relative; background: var(--paper); color: var(--paper-ink); }
.t-main {
  flex: 0 0 72%; padding: 6% 6.5%; display: flex; flex-direction: column; gap: 2%;
  border-radius: 22px 6px 6px 22px;
  -webkit-mask: radial-gradient(circle 14px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat;
  transform: translateX(calc(var(--b) * -3%)) rotate(calc(var(--b) * -1.5deg)) translate(calc(var(--c) * -12%), calc(var(--c) * 18%)) scale(calc(1 - var(--c) * .15));
  opacity: calc(1 - var(--c) * 2.2);
  background-image: linear-gradient(135deg, rgba(224, 36, 75, .10), rgba(142, 42, 139, .06) 60%, transparent);
}
.t-main::after { /* perforation */
  content: ""; position: absolute; inset: 16px -1px 16px auto; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(42, 16, 39, .35) 0 6px, transparent 6px 12px);
  opacity: calc(1 - var(--b));
}
.t-city { font-size: clamp(11px, 1.6vw, 14px); font-weight: 700; color: var(--crimson); }
.t-event { font-size: clamp(22px, 4.2vw, 40px); line-height: 1.05; font-weight: 800; font-variation-settings: "wdth" 78, "opsz" 96; letter-spacing: -0.02em; }
.lang-fa .t-event { letter-spacing: 0; line-height: 1.3; }
.t-date { font-size: clamp(11px, 1.6vw, 15px); opacity: .8; }
.t-row { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed rgba(42, 16, 39, .25); padding-top: 3%; font-size: clamp(11px, 1.6vw, 15px); }
.t-row b { font-size: clamp(16px, 2.6vw, 24px); }
.t-holder { font-size: clamp(10px, 1.4vw, 13px); opacity: .7; }
.t-stub {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%;
  border-radius: 6px 22px 22px 6px; padding: 5%;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat;
  transform:
    translate(calc(var(--b) * (1 - var(--c)) * 16%), calc(var(--b) * (1 - var(--c)) * 10%))
    rotate(calc(var(--b) * (1 - var(--c)) * 8deg))
    translateX(calc(var(--c) * -128%))
    scale(calc(1 + var(--c) * .22));
  opacity: calc(1 - var(--d) * 1.3);
  z-index: 2;
}
.qr { width: 78%; height: auto; color: var(--paper-ink); }
.t-code { font-size: clamp(9px, 1.3vw, 12px); font-weight: 700; letter-spacing: .08em; opacity: .7; }

.phone {
  position: absolute; left: 50%; top: 50%; width: min(270px, 62vw); aspect-ratio: 9 / 18.5;
  transform: translate(-50%, -50%) scale(calc(.9 + var(--c) * .1)); opacity: var(--c);
  border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #3a2337, #170b16);
  box-shadow: 0 0 0 1.5px rgba(255, 228, 240, .16), 0 50px 90px -20px rgba(0, 0, 0, .7);
}
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--night-2); padding: 34px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ph-top { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ph-top svg { width: 20px; height: 20px; }
.ph-title { margin-top: 16px; font-weight: 800; font-size: 18px; line-height: 1.2; }
.ph-sub { font-size: 12px; color: var(--mist); }
.ph-ok {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(80% 60% at 50% 40%, #1f9d62, #0f5a37); color: #fff; opacity: var(--d);
  transform: scale(calc(.94 + var(--d) * .06));
}
.ph-ok svg { transform: scale(calc(.6 + var(--d) * .4)); }
.ph-ok b { font-size: 20px; }
.ph-ok span { font-size: 13px; opacity: .85; }
.hint { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; font-size: 13px; color: var(--mist); opacity: calc(1 - var(--a) * 3); }

@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-top: 78px; gap: 6px; }
  .copy { min-height: 0; height: 44svh; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 54px); }
  .lang-fa .hero-copy h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .lead { margin-top: 12px; font-size: 16px; }
  .ctas { margin-top: 16px; }
  .note { display: none; }
  .steps { align-content: start; padding-top: 10px; }
  .step h3 { font-size: clamp(30px, 8.6vw, 44px); margin-top: 12px; }
  .step p { font-size: 16px; }
  .visual { height: auto; min-height: 0; align-self: stretch; }
  .phone { width: min(200px, 52vw); }
  .t-main, .t-stub { --r: 10px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .lead { display: none; }
}

/* ---------- What is Biletak: words light up ---------- */
.what { position: relative; height: 210vh; }
.what-in { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 1040px; margin: 0 auto; padding: 90px var(--gutter) 40px; }
.what h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--gold); font-variation-settings: normal; letter-spacing: 0; }
.scrub { margin-top: 18px; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.25; font-weight: 650; font-variation-settings: "wdth" 90, "opsz" 48; letter-spacing: -0.015em; }
.lang-fa .scrub { line-height: 1.7; font-size: clamp(22px, 3.2vw, 38px); font-weight: 700; letter-spacing: 0; }
.scrub .w { opacity: .18; transition: opacity .25s linear; }
.scrub .w.lit { opacity: 1; }
.cities { margin-top: 26px; color: var(--mist); font-size: 16px; max-width: 70ch; }

/* ---------- Bands ---------- */
.band { background: var(--night-2); }
section.band, .pricing, .faq, .end { padding: clamp(80px, 12vw, 150px) 0; }

.acc-list, .trust-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.acc-list li, .trust-list li { border-top: 1px solid var(--line); padding-top: 20px; }
.acc-list svg, .trust-list svg { color: var(--gold); }
.acc-list h3, .trust-list h3 { margin-top: 14px; font-size: 21px; }
.acc-list p, .trust-list p { margin-top: 8px; color: var(--mist); font-size: 16px; }
.trust-list { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .acc-list, .trust-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acc-list, .trust-list { grid-template-columns: 1fr; } }

/* ---------- Hosts: horizontal track pinned to scroll ---------- */
.hosts { position: relative; height: 300vh; }
.hosts-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; overflow: hidden; padding-top: 70px; }
.track {
  list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 20px; width: max-content;
  padding-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  transform: translateX(var(--tx, 0px)); will-change: transform;
}
.hstep {
  width: min(380px, 78vw); min-height: 280px; padding: 30px 28px; border-radius: 28px;
  background: linear-gradient(170deg, var(--night-3), var(--night-2)); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.hstep:nth-child(odd) { background: linear-gradient(170deg, #3d1830, var(--night-2)); }
.hstep-n { font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); font-variation-settings: "wdth" 75, "opsz" 96; }
.lang-fa .hstep-n { -webkit-text-stroke: 0; color: var(--gold); }
.hstep h3 { margin-top: auto; padding-top: 28px; font-size: 26px; }
.hstep p { margin-top: 10px; color: var(--mist); font-size: 16px; }

/* ---------- Creators ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split .btn { margin-top: 26px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.calc, .fee { padding: 28px; border-radius: 28px; background: var(--night); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 22px; }
.calc label, .fee label { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; font-size: 16px; color: var(--mist); }
.calc output, .fee output { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--crimson); height: 28px; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-total output { font-size: clamp(36px, 5vw, 52px); font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- Pricing ---------- */
.prices { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prices li { border-top: 2px solid var(--crimson); padding-top: 20px; }
.prices li:nth-child(2) { border-color: var(--gold); }
.prices li:nth-child(3) { border-color: var(--plum); }
.prices b { display: block; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 96; }
.prices h3 { margin-top: 10px; font-size: 19px; }
.prices p { margin-top: 8px; color: var(--mist); font-size: 16px; }
.fee { margin-top: 48px; max-width: 620px; }
.fee h3 { font-size: 22px; }
.fee dl { margin: 0; display: grid; gap: 10px; }
.fee dl div { display: flex; justify-content: space-between; gap: 12px; }
.fee dt { color: var(--mist); }
.fee dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.fee dl div:nth-child(2) dd { color: var(--gold); font-size: 22px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--gold); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--mist); max-width: 68ch; }

/* ---------- End + footer ---------- */
.end { text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(224, 36, 75, .35), transparent 70%); }
.end .sub { margin-inline: auto; }
.end .ctas { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--mist); }
.foot-in { display: grid; gap: 14px; justify-items: start; }
.foot a { color: var(--text); }
.copy-r { font-size: 13px; }

/* ---------- Reduced motion: show the finished story, no scroll scenes ---------- */
@media (prefers-reduced-motion: reduce) {
  .scene, .what, .hosts { height: auto; }
  .stage, .what-in, .hosts-stage { position: relative; height: auto; min-height: 0; }
  .stage { --a: 1; --b: 0; --c: 0; --d: 0; padding-bottom: 60px; }
  .steps { position: static; display: grid; gap: 28px; margin-top: 48px; }
  .step { grid-area: auto; opacity: 1; transform: none; }
  .hint { display: none; }
  .scrub .w { opacity: 1; }
  .track { flex-wrap: wrap; width: auto; transform: none; padding-inline-start: var(--gutter); }
  .hosts-stage { padding: 80px 0; }
  * { transition: none !important; }
}
.hosts-stage > .wrap { width: 100%; }

.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }
.sound {
  position: absolute; bottom: 18px; inset-inline-end: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255, 228, 240, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); z-index: 3;
}
.sound .off { display: none; }
.sound[aria-pressed="false"] .on { display: none; }
.sound[aria-pressed="false"] .off { display: block; }
@media (prefers-reduced-motion: reduce) { .sound { display: none; } }

.cookie {
  position: fixed; z-index: 60; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 640px; margin-inline: auto; display: grid; gap: 14px;
  padding: 18px; border-radius: 20px; font-size: 15px; line-height: 1.5;
  background: rgba(36, 16, 34, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -10px rgba(0, 0, 0, .6);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1; color: var(--mist); }
.cookie a { color: var(--text); }
.cookie .btn { flex: none; }
.legalpage .legal { padding-top: 110px; padding-bottom: 60px; }
.legal section { padding-bottom: 50px; border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.legal p { margin-top: 14px; color: var(--mist); }
.tbl { overflow-x: auto; margin-top: 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); }
.legal td { color: var(--mist); }
.legal code { color: var(--gold); font-size: 14px; }

.ck-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ck-b { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; color: var(--text); background: rgba(255, 228, 240, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 228, 240, .28); }
.ck-b:hover { background: rgba(255, 228, 240, .14); }
.ck-b[hidden] { display: none; }
.ck-panel { display: grid; gap: 10px; }
.ck-panel[hidden] { display: none; }
.ck-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 228, 240, .05); }
.ck-row b { display: block; color: var(--text); font-size: 15px; }
.ck-row small { display: block; color: var(--mist); font-size: 13px; line-height: 1.45; }
.ck-row input { width: 22px; height: 22px; accent-color: var(--crimson); flex: none; }
@media (max-width: 520px) { .ck-btns { grid-template-columns: 1fr; } }

.app { padding: clamp(80px, 12vw, 150px) 0; }
.app-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app-list li { padding: 28px; border-radius: 28px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.app-list h3 { font-size: 24px; }
.app-list p { color: var(--mist); font-size: 16px; flex: 1; }
.is-off { opacity: .55; cursor: default; }
@media (max-width: 700px) { .app-list { grid-template-columns: 1fr; } }

.lang-menu { position: relative; margin-inline-start: 4px; }
.top .nav + .lang-menu { margin-inline-start: 0; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13px; color: var(--text); font-family: "Vazirmatn", var(--font); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -10px rgba(0,0,0,.6); display: grid; z-index: 70; }
.lang-pop a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-family: "Vazirmatn", var(--font); }
.lang-pop a:hover { background: rgba(255,228,240,.08); }
.lang-pop a[aria-current="page"] { color: var(--gold); }
@media (max-width: 920px) { .top .lang-menu { margin-inline-start: auto; } }
