/* TOYJAN — Shop styles (shop.html + /shop/*.html)
   Type: Archivo (display, width axis for product wordmarks) · Inter (text) · JetBrains Mono (labels/specs)
   Farsi: Vazirmatn. Each product sets --accent on its own element. */

:root {
  --bg: #07080a;
  --bg-2: #0b0d10;
  --surface: #0f1115;
  --surface-2: #14171c;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --ink: #eef0f3;
  --ink-2: #c4c9d0;
  --mute: #868d97;
  --mute-2: #5d636c;
  --brand: #f2a83b;
  --accent: #eef0f3;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  /* same face as the apps: SF Pro on Apple devices, Inter elsewhere */
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lang-fa { font-family: "Vazirmatn", var(--f-text); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent, var(--ink)); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255,255,255,.18); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute);
}
body.lang-fa .eyebrow { font-family: "Vazirmatn", var(--f-mono); letter-spacing: 0; font-size: 13px; }
.h-display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0;
}
body.lang-fa .h-display { font-family: "Vazirmatn", var(--f-display); letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.wordmark { /* product title, same as the approved PNG wordmarks: grey "TOYJAN" + name in the app's accent */
  font-family: "Inter", var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  line-height: 1.15;
  color: #e6e9ee;
}
.wordmark .nm { color: var(--accent); }
.app-sub { /* = the app subtitle: "DSP MASTERING ENGINE" */
  font-family: var(--f-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .23em; line-height: 1.3;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #1d4fd0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.appmark { display: flex; align-items: center; gap: 14px; }
.appmark .lb { flex: none; display: block; object-fit: contain; } /* each app's own framed logo PNG */
.wordmark small {
  display: block;
  font-family: var(--f-mono);
  font-stretch: 100%;
  font-weight: 500;
  font-size: .34em;
  letter-spacing: .32em;
  color: var(--accent);
  margin-bottom: .7em;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); }

/* ---------- header ---------- */
.s-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 10, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
          backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.s-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.s-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.s-brand img { width: 34px; height: 34px; border-radius: 9px; }
.s-brand b { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .16em; }
.s-brand span { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 1px; }
body.lang-fa .s-brand span { font-family: "Vazirmatn", var(--f-mono); letter-spacing: 0; font-size: 11px; }
.s-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.s-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.s-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.s-nav a[aria-current="page"] { color: var(--ink); }
.lang-switch {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px;
}
.lang-btn {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em;
  padding: 5px 9px; border-radius: 999px; border: 0; background: transparent;
  color: var(--mute); cursor: pointer; transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: var(--bg); }
.s-menu-btn { display: none; }
@media (max-width: 820px) {
  .s-header .wrap { gap: 12px; height: 58px; }
  .s-nav { display: none; }
  .s-brand span { display: none; }
  .s-actions { margin-inline-start: auto; }
  .s-menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .s-header.open .s-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; inset-inline: 0; top: 100%;
    background: rgba(7,8,10,.97); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .s-header.open .s-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
.s-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(255,255,255,.35); }
.btn-accent { background: var(--accent); color: #05070a; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -12px var(--accent); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.03); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
body.lang-fa .btn .arrow { transform: scaleX(-1); }

/* ---------- hero ---------- */
.s-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.s-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(143,216,255,.13), transparent 60%),
    radial-gradient(40% 50% at 10% 0%, rgba(255,255,255,.05), transparent 70%);
}
.s-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%);
          mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%);
}
.s-hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px);
}
.s-hero h1 { font-size: clamp(32px, 3.9vw, 56px); margin: 18px 0 22px; }
.s-hero .lead { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink-2); max-width: 34em; margin: 0 0 30px; line-height: 1.6; }
.platform-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 13px; color: var(--mute); margin-top: 26px;
}
.platform-line .os { display: inline-flex; gap: 8px; color: var(--ink-2); }
.platform-line .os svg { width: 15px; height: 15px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-feature { justify-self: end; width: min(100%, 470px); }
.hero-feature .cover { box-shadow: 0 60px 120px -50px rgba(143,216,255,.35), 0 0 0 1px var(--line); }
.hero-feature-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; font-size: 14px;
}
.hero-feature-meta .eyebrow { color: var(--accent); }
@media (max-width: 900px) {
  .s-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-feature { justify-self: stretch; width: 100%; max-width: 520px; }
}

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 26px 22px; border-inline-start: 1px solid var(--line); }
.trust-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust-item svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ink-2); }
.trust-item b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.trust-item span { display: block; font-size: 13px; color: var(--mute); line-height: 1.45; }
@media (max-width: 960px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 16px; }
  .trust-item:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item { border-inline-start: 0 !important; padding-inline: 0; }
  .trust-item:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- filters ---------- */
.catalog { padding-block: clamp(56px, 7vw, 88px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: rgba(255,255,255,.26); color: var(--ink); }
.chip .n { font-family: var(--f-mono); font-size: 11px; color: var(--mute-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: rgba(7,8,10,.5); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.15); }
.result-count { font-family: var(--f-mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- product grid / card ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 36px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card .cover { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover .cover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px var(--glow), 0 0 0 1px rgba(255,255,255,.1); }
.card:hover .cover .shot { transform: translateY(-4px); }
.card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-name { font-family: "Inter", var(--f-display); font-size: 14.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #e6e9ee; margin: 0; }
.card-name .nm { color: var(--accent); }
.card-sub { font-size: 14px; color: var(--ink-2); margin: 0; }
.card-price { font-family: var(--f-display); font-size: 18px; font-weight: 700; white-space: nowrap; }
.card-price small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; color: var(--mute); margin-inline-start: 4px; letter-spacing: .04em; }
.card-actions { display: flex; gap: 10px; margin-top: 18px; }
.card-actions .btn { flex: 1; }
.card-actions .btn-ghost { flex: 0 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(7,8,10,.6); border: 1px solid var(--line-2); color: var(--ink-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body.lang-fa .badge { font-family: "Vazirmatn", var(--f-mono); letter-spacing: 0; font-size: 11.5px; }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }

/* ---------- cover art ("box") ---------- */
.cover {
  --glow: color-mix(in srgb, var(--accent) 45%, transparent);
  position: relative; display: block; overflow: hidden; isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, #0e1116 0%, #08090c 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.cover::before { /* grain */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cover::after { /* hairline grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000, transparent 80%);
          mask-image: radial-gradient(80% 60% at 50% 20%, #000, transparent 80%);
}
.cover .top {
  position: absolute; z-index: 3; inset: 18px 18px auto 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.cover .top .mark { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em; color: rgba(255,255,255,.62); }
.cover .top .mark img { width: 20px; height: 20px; border-radius: 5px; opacity: .9; }
.cover .shot {
  position: absolute; z-index: 1; left: 11%; right: 11%; top: 14%; height: 54%;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.85), 0 8px 18px -6px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.5), 0 0 80px -24px var(--glow);
  transform: none;
  transition: transform .6s var(--ease);
  background: #0a0c10;
}
.cover .shot img { width: 100%; height: 100%; object-fit: cover; }
/* wide screenshots: window takes the image's own ratio, centred in the same area, nothing cropped */
.cover .shot.fit { height: auto; top: 41%; translate: 0 -50%; }
.cover .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 25%);
}
.cover .label {
  position: absolute; z-index: 2; inset: auto 0 0 0; padding: 0 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(8,9,12,.9) 40%);
  padding-top: 60px;
}
.cover .label .wordmark { font-size: 4.6cqw; }
.cover .label .app-sub { font-size: 2.5cqw; margin-top: .6em; }
.cover .label .lb { width: 13cqw; height: 13cqw; }
.cover .label .rule-unused { height: 2px; width: 34px; background: var(--accent); margin: 14px 0 10px; border-radius: 2px; box-shadow: 0 0 14px var(--accent); }
.cover .label .sub { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
body.lang-fa .cover .label .sub { font-family: "Vazirmatn", var(--f-mono); letter-spacing: 0; font-size: 12.5px; }
.cover.is-soon .shot img { filter: saturate(.85) brightness(.85); }
.cover-lg .label { padding: 60px 32px 34px; }
.cover-lg .label .wordmark { font-size: 4.6cqw; }
.cover-lg .top { inset: 24px 26px auto 26px; }
/* wordmarks stay LTR even on FA pages */
.cover .label, .cover .top { direction: ltr; text-align: left; }
.cover .label .sub { direction: auto; }

/* ---------- help band ---------- */
.help {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: clamp(24px, 3.5vw, 40px);
}
.help h3 { font-family: var(--f-display); font-size: 21px; font-weight: 700; margin: 0 0 6px; letter-spacing: 0; }
body.lang-fa .help h3 { font-family: "Vazirmatn", sans-serif; }
.help p { margin: 0; color: var(--mute); font-size: 14.5px; max-width: 46em; }
.help .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(56px, 7vw, 88px); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: 16px; font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--mute); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 62ch; }

/* ---------- footer ---------- */
.s-footer { border-top: 1px solid var(--line); padding-block: 48px 36px; color: var(--mute); font-size: 14px; }
.s-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.s-footer h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
body.lang-fa .s-footer h4 { font-family: "Vazirmatn", sans-serif; letter-spacing: 0; font-size: 13px; }
.s-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.s-footer a:hover { color: var(--ink); }
.s-footer .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; }
.s-footer .pay { display: inline-flex; align-items: center; gap: 8px; }
.s-footer .pay svg { width: 14px; height: 14px; }
@media (max-width: 960px) { .s-footer .cols { grid-template-columns: 1fr 1fr 1fr; } .s-footer .cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .s-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- product page ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); padding-top: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
body.lang-fa .crumbs svg { transform: scaleX(-1); }
.p-hero { position: relative; }
.p-hero::before {
  content: ""; position: absolute; inset: -64px 0 0; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 30% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.p-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 28px clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero .cover { max-width: 560px; } }
.p-info .appmark { margin: 0 0 22px; gap: 18px; }
.p-info .appmark .lb { width: 64px; height: 64px; }
.p-info .wordmark { font-size: clamp(22px, 2.5vw, 32px); margin: 0; }
.p-info .app-sub { font-size: 12px; margin-top: 8px; }
.p-info .subtitle { font-size: 18px; font-weight: 500; color: var(--ink-2); margin: 0 0 18px; }
.p-info .tagline { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 30px; max-width: 36em; }
.buybox {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  padding: 22px;
}
.buybox .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.buybox .price { font-family: var(--f-display); font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.buybox .price small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--mute); margin-top: 8px; }
body.lang-fa .buybox .price small { font-family: "Vazirmatn", sans-serif; letter-spacing: 0; font-size: 12.5px; }
.buybox .note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); line-height: 1.5; }
.buybox .note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.os-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.os-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.os-pill svg { width: 14px; height: 14px; }

.p-section { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--bg); padding: 28px 24px 30px; }
.feat .num { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.feat h3 { font-family: var(--f-display); font-size: 16.5px; font-weight: 700; margin: 18px 0 8px; letter-spacing: -.005em; }
body.lang-fa .feat h3 { font-family: "Vazirmatn", sans-serif; }
.feat p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.6; }

.inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }
.screen {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -40px color-mix(in srgb, var(--accent) 30%, transparent), 0 30px 60px -30px rgba(0,0,0,.9);
  background: #0a0c10;
}
.screen .bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0d0f13; }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e35; }
.screen img { width: 100%; height: auto; }
.screen.tall { max-width: 520px; }
.chain { list-style: none; margin: 0; padding: 0; counter-reset: c; position: sticky; top: 96px; }
.chain li {
  counter-increment: c; display: flex; align-items: center; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 500;
}
.chain li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--accent); width: 22px; }
.chain li:first-child { border-top: 1px solid var(--line); }
.chain-title { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin: 0 0 22px; letter-spacing: -.01em; }
body.lang-fa .chain-title { font-family: "Vazirmatn", sans-serif; }

.specs { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 820px) { .specs { grid-template-columns: 1fr; gap: 18px; } }
.specs dl { margin: 0; }
.specs .r { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs .r:first-child { border-top: 1px solid var(--line); }
@media (max-width: 560px) { .specs .r { grid-template-columns: 1fr; gap: 4px; } }
.specs dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
body.lang-fa .specs dt { font-family: "Vazirmatn", sans-serif; letter-spacing: 0; font-size: 13px; }
.specs dd { margin: 0; font-size: 15px; color: var(--ink); }

/* sticky buy bar */
.buybar {
  position: fixed; z-index: 40; inset: auto 0 0 0;
  background: rgba(10,12,15,.88);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line-2);
  transform: translateY(105%); transition: transform .4s var(--ease);
}
.buybar.show { transform: none; }
.buybar .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.buybar .nm { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .14em; }
.buybar .nm b { font-weight: inherit; }
.buybar .nm span { display: block; font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; color: var(--mute); }
.buybar .sp { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.buybar .pr { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
@media (max-width: 520px) { .buybar .nm span { display: none; } .buybar .pr { font-size: 17px; } }

/* toast */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  max-width: min(92vw, 520px); padding: 14px 18px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.card-price.muted { color: var(--mute); }

/* buy button while the checkout overlay loads */
.btn.is-loading { pointer-events: none; color: transparent !important; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(7,8,10,.25); border-top-color: #07080a; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-feature { display: none; }
}

/* footer social */
.s-footer .social { display: flex; gap: 8px; }
.s-footer .social a {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--mute); transition: color .2s, border-color .2s, background .2s;
}
.s-footer .social a:hover { color: var(--ink); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.s-footer .social svg { width: 16px; height: 16px; }

/* =========================================================
   HOME (index) — same system as the shop
   ========================================================= */
.h-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: min(86vh, 820px); display: flex; align-items: center; }
.h-hero .photo { position: absolute; inset: 0 0 0 auto; width: 68%; z-index: 0; }
.h-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.9) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
body.lang-fa .h-hero .photo img { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 42%); mask-image: linear-gradient(270deg, transparent 0%, #000 42%); }
.h-hero .photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,10,.5) 0%, rgba(7,8,10,.3) 45%, rgba(7,8,10,.1) 75%, rgba(7,8,10,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,8,10,0) 30%),
    linear-gradient(180deg, rgba(7,8,10,.6) 0%, rgba(7,8,10,0) 22%);
}
body.lang-fa .h-hero .photo { inset: 0 auto 0 0; }
body.lang-fa .h-hero .photo img { transform: scaleX(-1); }
body.lang-fa .h-hero .photo::after { background:
    linear-gradient(270deg, var(--bg) 0%, rgba(7,8,10,.92) 18%, rgba(7,8,10,.45) 48%, rgba(7,8,10,.15) 75%, rgba(7,8,10,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,8,10,0) 30%),
    linear-gradient(180deg, rgba(7,8,10,.6) 0%, rgba(7,8,10,0) 22%); }
.h-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(50% 70% at 12% 60%, rgba(143,216,255,.08), transparent 70%);
}
.h-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 10vw, 128px); }
.h-hero .inner { max-width: 820px; }
.h-hero h1 { font-size: clamp(32px, 3.8vw, 54px); margin: 20px 0 22px; }
.h-hero .lead { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink-2); max-width: 32em; margin: 0 0 32px; line-height: 1.6; }
.h-hero .eyebrow { color: var(--ink-2); }
@media (max-width: 820px) {
  .h-hero { min-height: 0; display: block; }
  .h-hero .photo { position: relative; width: 100%; height: 56vw; max-height: 420px; }
  .h-hero .photo img, body.lang-fa .h-hero .photo img { -webkit-mask-image: none; mask-image: none; }
  .h-hero .photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,8,10,.2) 45%, rgba(7,8,10,.35) 100%); }
  body.lang-fa .h-hero .photo img { transform: none; }
  body.lang-fa .h-hero .photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,8,10,.2) 45%, rgba(7,8,10,.35) 100%); }
  .h-hero .wrap { padding-block: 8px 56px; margin-top: -40px; }
}

.doors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.door {
  --a: var(--ink);
  position: relative; overflow: hidden; isolation: isolate; grid-column: span 2;
  display: flex; flex-direction: column; min-height: 260px;
  padding: 26px 26px 24px; border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 80% at 0% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 60%),
    linear-gradient(180deg, #0e1116, #090a0d);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.door.wide { grid-column: span 3; }
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 0% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 0% 0%, #000, transparent 75%);
}
.door:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 40%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--a) 50%, transparent); }
.door .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--a); display: flex; align-items: center; gap: 10px; }
.door .num::after { content: ""; height: 1px; width: 28px; background: color-mix(in srgb, var(--a) 60%, transparent); }
.door h3 {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.15; letter-spacing: .12em; margin: auto 0 12px; padding-top: 40px;
}
body.lang-fa .door h3 { font-family: "Vazirmatn", sans-serif; letter-spacing: 0; line-height: 1.3; }
.door p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.55; max-width: 36em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.door .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.door .go svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.door:hover .go { color: var(--ink); }
.door:hover .go svg { transform: translateX(3px); }
body.lang-fa .door .go svg { transform: scaleX(-1); }
.door .tag { position: absolute; top: 22px; inset-inline-end: 22px; }
@media (max-width: 960px) { .doors { grid-template-columns: 1fr 1fr; } .door, .door.wide { grid-column: span 1; } .door.wide:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } .door.wide:last-child { grid-column: auto; } .door { min-height: 210px; } }
