/* VIRA – website. Quiet, minimal, follows the phone's light/dark setting. */
@font-face { font-family: "Inter VIRA"; src: url(fonts/inter_regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter VIRA"; src: url(fonts/inter_medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter VIRA"; src: url(fonts/inter_semibold.woff) format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Pelak"; src: url(fonts/pelak_regular.woff) format("woff"); unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; font-weight: 400; font-display: swap; }
@font-face { font-family: "Pelak"; src: url(fonts/pelak_medium.woff) format("woff"); unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; font-weight: 500; font-display: swap; }
@font-face { font-family: "Pelak"; src: url(fonts/pelak_bold.woff) format("woff"); unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; font-weight: 600 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fff; --ink: #151515; --ink-2: #858582; --ink-3: #8c8c89; --lo: #a6a6a3;
  --line: rgb(0 0 0 / .08); --line-2: rgb(0 0 0 / .18); --soft: #f4f4f3; --soft-2: #ececea; --tile: #f3f3f2;
  --accent: #ff5a1f; --accent-soft: rgb(255 90 31 / .1);
  --wall-a: #ffd9c2; --wall-b: #ffb98f; --wall-c: #ffe9d9;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter VIRA", "Segoe UI", system-ui, sans-serif;
  --max: 726px;
  --gutter: max(clamp(20px, 6vw, 128px), env(safe-area-inset-left), env(safe-area-inset-right));
  --claim: clamp(28px, 3.25vw, 52px);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e0e0e; --ink: #ececea; --ink-2: #73736f; --ink-3: #7b7b78; --lo: #585855;
    --line: rgb(255 255 255 / .09); --line-2: rgb(255 255 255 / .22); --soft: #191918; --soft-2: #222221; --tile: #1a1a19;
    --accent-soft: rgb(255 90 31 / .14);
    --wall-a: #3a1d10; --wall-b: #7a3416; --wall-c: #1b120d;
  }
}
html[lang="fa"] { --sans: "Pelak", -apple-system, "Inter VIRA", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink-2); font: 400 14.5px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="fa"] body { font-size: 14px; line-height: 1.85; }
html[lang="fa"] { --claim: clamp(23px, 2.6vw, 40px); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; }
.skip:focus { inset-inline-start: 8px; z-index: 9; background: var(--bg); padding: 6px 10px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.is-scrolled .top { border-bottom-color: var(--line); }
.top .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 700 13px/1 var(--sans); letter-spacing: .32em; }
html[lang="fa"] .logo { font-family: "Inter VIRA", sans-serif; }
.logo img { width: 22px; height: 22px; }
.controls { display: flex; align-items: center; gap: 4px; }
.controls > a:not(.btn), .lang button { padding: 8px 7px; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.controls > a:not(.btn):hover, .lang button:hover { color: var(--ink); }
.ver { display: inline-block; margin-inline-start: 6px; padding: 0 5px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 11px; line-height: 17px; font-family: "Inter VIRA", var(--sans); }
.lang { position: relative; display: inline-flex; margin-inline-start: 2px; }
.lang-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: color .2s, background-color .2s; }
.lang-btn:hover, .lang.is-open .lang-btn { color: var(--ink); background: var(--soft); }
.lang-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 6; min-width: 136px; padding: 5px; border-radius: 14px;
  background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgb(0 0 0 / .35);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .35s var(--ease), visibility 0s .35s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--ease); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); font-size: 13.5px; text-align: start; }
.lang-menu button[lang="fa"] { font-family: "Pelak", var(--sans); }
.lang-menu button:hover { background: var(--soft); color: var(--ink); }
.lang-menu button[aria-checked="true"] { color: var(--ink); }
.lang-menu button[aria-checked="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.get { display: flex; }
.get .btn { opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .25s, transform .45s var(--ease), visibility 0s .45s; }
[dir="rtl"] .get .btn { transform: translateX(-8px); }
.is-past-cta .get .btn { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .12s, transform .45s var(--ease); }
@media (max-width: 640px) {
  .controls .hide-sm { display: none; }
  .get { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: scale(.97); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: rgb(0 0 0 / .17) 0 10px 18px -5px, rgb(0 0 0 / .16) 0 4px 8px -4px; }
.btn--ink:hover { border-color: var(--ink); color: var(--bg); }
.btn--soft { background: var(--soft); border-color: transparent; }
.btn--soft:hover { background: var(--soft-2); border-color: transparent; }
.btn--sm { height: 33px; padding: 0 15px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn--lg svg { width: 17px; height: 17px; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: rgb(255 90 31 / .3) 0 12px 24px -8px; }
.btn--accent:hover { border-color: var(--accent); color: #fff; filter: brightness(1.05); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------------- hero */
main { flex: 1; }
.hero { padding-top: clamp(56px, 9vw, 132px); }
.award { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 clamp(14px, 1.35vw, 20px); color: var(--ink-2); white-space: nowrap; }
.award svg { width: 8px; height: 17px; fill: currentColor; flex: none; }
.award svg.r { transform: scaleX(-1); }
[dir="rtl"] .award svg { transform: scaleX(-1); }
[dir="rtl"] .award svg.r { transform: none; }
.award b { font-weight: 500; color: var(--accent); }
.claim, .say { max-width: 21em; margin: 0; font-size: var(--claim); font-weight: 600; line-height: 1.08; letter-spacing: -.022em; color: var(--ink); text-wrap: balance; }
html[lang="fa"] .claim, html[lang="fa"] .say { letter-spacing: 0; line-height: 1.45; font-weight: 600; }
html[lang="fa"] .feat b, html[lang="fa"] .prod b { font-size: 14px; font-weight: 500; }
html[lang="fa"] .faq summary, html[lang="fa"] .letter { font-size: clamp(14.5px, 1.2vw, 16px); }
html[lang="fa"] .btn--lg { font-size: 14px; }
.claim > span { display: block; }
.lo { color: var(--lo); }
/* the second line is the quiet one: smaller, regular weight */
.claim .lo, .say .lo { margin-top: .45em; font-size: .64em; font-weight: 400; line-height: 1.38; letter-spacing: -.012em; color: var(--ink-2); }
html[lang="fa"] .claim .lo, html[lang="fa"] .say .lo { letter-spacing: 0; line-height: 1.7; }
.claim > .turn { display: grid; }
.turn > .t { display: block; text-wrap: pretty; grid-area: 1 / 1; transition: opacity .6s var(--ease), filter .6s var(--ease), translate .8s var(--ease), visibility 0s; }
.turn > .t:not(.is-on) { opacity: 0; filter: blur(.16em); translate: 14px; visibility: hidden; transition-delay: 0s, 0s, 0s, .8s; }
.turn > .t.is-out { translate: -14px; }
[dir="rtl"] .turn > .t:not(.is-on) { translate: -14px; }
[dir="rtl"] .turn > .t.is-out { translate: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(28px, 2.5vw, 44px) 0 0; }
.fine { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; color: var(--ink-2); }
.fine a { border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.fine a:hover { border-color: currentColor; }
.fine .btn--line { border: 1px solid var(--line-2); gap: 7px; color: var(--ink); }
.fine .btn--line:hover { border-color: var(--ink-3); }
.fine .btn--line svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.soon { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.soon svg { flex: none; width: 15px; height: 15px; fill: currentColor; }

/* ---------------------------------------------------------------- phone scene */
.desk { margin-top: clamp(56px, 7vw, 100px); }
.go-focus { display: flex; align-items: center; justify-content: left; gap: 14px; opacity: .5; transition: opacity .3s; margin: 0 0 clamp(26px, 3vw, 44px); color: var(--ink-2); }
.dots { display: inline-flex; gap: 8px; }
.go-focus:hover { opacity: 1; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, width .45s var(--ease); }
.dots button[aria-current="true"] { background: var(--ink); width: 22px; border-radius: 99px; }
.scene {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 13;
  background:
    radial-gradient(60% 70% at 20% 15%, var(--wall-c), transparent 70%),
    radial-gradient(60% 60% at 85% 85%, var(--wall-b), transparent 70%),
    linear-gradient(160deg, var(--wall-a), var(--wall-b));
  display: grid; place-items: center; isolation: isolate;
}
.scene::after { /* fine grain */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.develop { animation: develop 1.6s var(--ease) both .25s; }
@keyframes develop { 0% { opacity: 0; filter: blur(22px) saturate(.6); transform: scale(1.03); } 100% { opacity: 1; filter: none; transform: none; } }
@media (max-width: 640px) { .scene { aspect-ratio: 4 / 5; border-radius: 18px; } }

/* iPhone 17 – drawn in CSS */
.phone {
  --w: clamp(150px, 19vw, 214px);
  position: relative; z-index: 1; width: var(--w); aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .038);
  background: linear-gradient(145deg, #e9e6e1, #b9b4ad 40%, #d8d4ce 60%, #8f8a83);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .35), inset 0 0 0 1.5px rgb(255 255 255 / .55), 0 40px 80px -20px rgb(0 0 0 / .45), 0 18px 30px -12px rgb(0 0 0 / .35);
  animation: float 7s ease-in-out infinite;
}
@media (prefers-color-scheme: dark) { .phone { background: linear-gradient(145deg, #4a4744, #2a2826 40%, #3d3a37 60%, #1c1b1a); box-shadow: 0 0 0 1px #000, inset 0 0 0 1.5px rgb(255 255 255 / .16), 0 40px 80px -20px rgb(0 0 0 / .7); } }
@keyframes float { 50% { transform: translateY(-8px); } }
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: inherit; filter: brightness(.85);
}
.phone::before { inset-inline-start: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 0 currentColor; color: transparent; }
.phone::after { inset-inline-end: -3px; top: 26%; height: 14%; }
.screen { position: relative; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #f4f3f6; }
.screen img { position: absolute; inset: 5.4% 0 0; width: 100%; height: 94.6%; object-fit: cover; object-position: top; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease); }
.screen img:not(.is-on) { opacity: 0; filter: blur(10px); transform: scale(1.03); }
.sb { position: absolute; z-index: 1; inset: 0 0 auto; height: 5.4%; display: flex; align-items: center; justify-content: space-between; padding: 0 10% 0 12%;
  font: 600 calc(var(--w) * .052)/1 -apple-system, "SF Pro Text", "Inter VIRA", sans-serif; color: #111; direction: ltr; }
.sb svg { height: calc(var(--w) * .045); width: auto; fill: #111; }
.island { position: absolute; z-index: 2; top: 2.2%; left: 50%; translate: -50% 0; width: 31%; height: 3.5%; border-radius: 99px; background: #000; }
.otter {
  position: absolute; z-index: 2; width: clamp(96px, 12.5vw, 150px); aspect-ratio: 607 / 760; bottom: 5%; inset-inline-end: 9%;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / .3)); animation: peek 5.5s ease-in-out infinite; transform-origin: bottom center;
}
.otter img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the raised arm is its own layer and waves from the shoulder */
.otter .arm { transform-origin: 71.2% 50.8%; animation: wave 3.2s ease-in-out infinite; }
@keyframes wave { 0%, 46%, 100% { rotate: 0deg; } 54% { rotate: -15deg; } 62% { rotate: -2deg; } 70% { rotate: -15deg; } 78% { rotate: -2deg; } 86% { rotate: -13deg; } }
@keyframes peek { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-2deg); } }
@media (max-width: 640px) { .otter { inset-inline-end: 2%; bottom: 3%; width: 96px; } }

/* ---------------------------------------------------------------- sections */
.block { margin-top: clamp(110px, 13vw, 200px); }
.say { margin-top: 20px; }
.say .lo { display: block; }
.feats { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }
.feat {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 18px 16px; border-radius: 16px; background: var(--tile);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, transform .4s var(--ease);
}
.feat:hover { background: var(--soft-2); transform: translateY(-2px); }
.feat svg { flex: none; width: 22px; height: 22px; margin-top: 2px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.feat span { display: block; margin-top: 2px; }

.will-rise { opacity: 0; filter: blur(10px); translate: 0 10px; transition: opacity .9s var(--ease), filter .9s var(--ease), translate .9s var(--ease); }
.will-rise.is-in { opacity: 1; filter: none; translate: 0 0; }
.rise { animation: rise 1s var(--ease) both; }
@keyframes rise { 0% { opacity: 0; filter: blur(8px); transform: translateY(10px); } }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }

/* the "tune" strip: one screen per feature, swaps as you scroll (desktop) */
.split { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 5vw, 70px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.split .feats { margin: 0; grid-template-columns: 1fr; }
.sticky { position: sticky; top: 110px; }
.sticky .phone { --w: clamp(170px, 17vw, 210px); animation: none; }
.split .feat { opacity: .45; transition: opacity .4s, background-color .3s, transform .4s var(--ease); cursor: pointer; }
.split .feat.is-active { opacity: 1; background: var(--soft-2); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .sticky { display: none; } .split .feat { opacity: 1; } }

/* the one-minute film – a poster until someone presses play, so it costs nothing on load */
.film { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; aspect-ratio: 16 / 9; max-width: 100%; border-radius: clamp(16px, 2vw, 22px); overflow: hidden; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgb(0 0 0 / .28); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #f6f1ea; }
.film-play {
  position: absolute; inset: 0; margin: auto; width: clamp(64px, 8vw, 84px); height: clamp(64px, 8vw, 84px); border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .78); color: #151515; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -12px rgb(0 0 0 / .35), inset 0 0 0 1px rgb(0 0 0 / .06); transition: transform .45s var(--ease), opacity .3s;
}
.film-play svg { width: 34%; height: 34%; margin-left: 6%; fill: currentColor; }
.film-play:hover { transform: scale(1.07); }
.film-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.film-len { position: absolute; left: 14px; bottom: 12px; padding: 3px 9px; border-radius: 99px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/1.5 "Inter VIRA", -apple-system, sans-serif; pointer-events: none; transition: opacity .3s; }
.film.is-on .film-play, .film.is-on .film-len { opacity: 0; pointer-events: none; }

/* note from the maker */
.letter { margin-top: clamp(30px, 4vw, 48px); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; max-width: 38em; }
.letter p { margin: 0 0 1em; }
.letter .name { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { margin-top: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-size: clamp(16px, 1.4vw, 18px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 12px; height: 12px; position: relative; transition: transform .45s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset: 5.25px 0; height: 1.5px; background: var(--ink-2); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .ans { overflow: hidden; }
.faq .ans p { margin: 0; padding: 0 0 20px; max-width: 40em; }
.faq .ans a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* footer = the app's "about" card */
.foot { margin-top: clamp(110px, 13vw, 200px); padding-bottom: 46px; }
.id {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 22px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line);
}
.id img { grid-row: span 3; width: 46px; height: 46px; padding: 9px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.id .n { color: var(--ink); font-weight: 600; }
.id .n small { color: var(--ink-2); font-weight: 400; margin-inline-start: 8px; font-family: "Inter VIRA", var(--sans); }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 22px; }
.links a { color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.links .insta { display: inline-flex; align-items: center; gap: 6px; }
.links .insta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------------------------------------------------------------- store */
.card { margin-top: 18px; padding: 22px; border-radius: 18px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin: 0 0 4px; color: var(--ink); font-size: 16px; font-weight: 600; }
.step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 8px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; }
.field { display: block; width: 100%; height: 46px; margin-top: 10px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; transition: border-color .2s; }
.field:focus { outline: 0; border-color: var(--ink); }
.field--code { max-width: 220px; font: 600 22px/1 "Inter VIRA", -apple-system, sans-serif; letter-spacing: .4em; text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.who { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.who b { color: var(--ink); font-weight: 600; }
.stat { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
.prod { text-align: start; padding: 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .3s var(--ease); }
.prod:hover { transform: translateY(-2px); }
.prod[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 26px -12px rgb(255 90 31 / .5); }
.prod { position: relative; }
.prod .tag { position: absolute; top: -9px; inset-inline-end: 12px; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: #fff; font: 600 11px/1.6 var(--sans); font-style: normal; }
.prod b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.prod .price { display: block; margin-top: 6px; color: var(--ink); font-size: 18px; font-weight: 600; font-family: "Inter VIRA", var(--sans); }
html[lang="fa"] .prod .price { font-family: var(--sans); }
.prod small { display: block; margin-top: 2px; }
.gates { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gates button { height: 40px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.gates button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
.note { margin-top: 12px; font-size: 13px; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.msg.ok { background: rgb(48 209 88 / .12); color: var(--ink); }
.msg.err { background: rgb(255 69 58 / .12); color: var(--ink); }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- privacy */
.doc h2 { color: var(--ink); font-size: 18px; font-weight: 600; margin: 34px 0 6px; }
.doc ul { padding-inline-start: 18px; }
.doc li { margin: 6px 0; }
.doc b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-rise { opacity: 1; filter: none; translate: 0; }
}

/* Persian font draws Latin digits as Persian ones – keep e-mails and codes Latin */
html[lang="fa"] a[href^="mailto"], html[lang="fa"] [dir="ltr"], html[lang="fa"] .ver { font-family: "Inter VIRA", -apple-system, sans-serif; }
[dir="rtl"] .lang-menu { transform-origin: top left; }
