/*
 * GB GAME Bodybuilder: site styles.
 * Look: calm and professional. Warm stone grounds, white cards with hairline edges and soft shadows, deep pine as the
 * brand colour, brass for accents and calls to action, plum only for the coach app, and a dark "night" green for the hero,
 * stats band, closing band and footer. Persian pages are right-to-left, English pages left-to-right: everything below
 * uses logical properties, and --dir (1 or -1) mirrors the few places that need a sign.
 */

@font-face {
  font-family: "Vazir";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Vazir-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Vazir";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Vazir-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Vazir";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Vazir-Bold.woff2") format("woff2");
}

/* ------------------------------------------------------------------ tokens */

:root {
  --ink: #0d1612;
  --ink-2: #2b3a34;
  --muted: #55635c;
  --paper: #ffffff;
  --ground: #f3f1ec;
  --ground-2: #ebe8df;
  --line: #dfdbd0;
  --edge: #dfdbd0;

  --pine: #0f6b52;
  --pine-deep: #0a4a39;
  --pine-tint: #e3efe9;
  --brass: #c9a24d;
  --brass-deep: #8f6d1f;
  --brass-tint: #f6efdc;
  --plum: #5b2b4f;
  --plum-deep: #3f1b37;
  --plum-tint: #f0e6ee;

  --night: #07120e;
  --night-2: #0d241c;
  --on-night: #f4f1e8;
  --on-night-2: #c3cdc7;

  --bw: 1px;
  --r: 16px;
  --r-sm: 10px;
  --wrap: 1160px;
  --gutter: 20px;
  --dir: 1;
  --shadow: 0 26px 50px -28px rgba(13, 22, 18, 0.32), 0 2px 8px rgba(13, 22, 18, 0.05);
  --shadow-sm: 0 10px 22px -14px rgba(13, 22, 18, 0.38), 0 1px 3px rgba(13, 22, 18, 0.07);

  --font-fa: "Vazir", Tahoma, "Segoe UI", Arial, sans-serif;
  --font-en: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html[dir="rtl"] {
  --dir: -1;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang^="en"] body {
  font-family: var(--font-en);
  line-height: 1.65;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--pine-deep);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}
html[lang^="en"] h1,
html[lang^="en"] h2,
html[lang^="en"] h3,
html[lang^="en"] h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.ftr :focus-visible {
  outline-color: var(--brass);
}
::selection {
  background: var(--brass);
  color: var(--ink);
}

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.ico-dir {
  flex: none;
}
html[dir="rtl"] .ico-dir {
  transform: scaleX(-1);
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border: var(--bw) solid var(--edge);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 860px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  border: var(--bw) solid var(--edge);
  border-radius: 12px;
  background: var(--brass);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
html[dir="rtl"] .btn {
  padding: 10px 16px 10px 20px;
}
.btn:hover {
  color: var(--ink);
  transform: translate(calc(var(--dir) * -2px), -2px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: translate(calc(var(--dir) * 4px), 4px);
  box-shadow: 0 1px 2px rgba(13, 22, 18, 0.2);
}
.btn--athlete,
.btn--pine,
.btn--blue {
  background: var(--pine);
  color: #fff;
}
.btn--athlete:hover,
.btn--pine:hover,
.btn--blue:hover {
  color: #fff;
}
.btn--coach {
  background: var(--plum);
  color: #fff;
}
.btn--coach:hover {
  color: #fff;
}
.btn.is-soon {
  background: var(--pine-tint);
  color: var(--ink);
}
.btn--coach.is-soon {
  background: var(--plum-tint);
  color: var(--ink);
}
.btn__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.btn__ico .ico {
  width: 22px;
  height: 22px;
}
.btn__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  line-height: 1.4;
}
.btn__txt small {
  font-size: 0.8rem;
  font-weight: 500;
}
.btn__txt strong {
  font-size: 1.08rem;
  font-weight: 800;
}
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--ink,
.btn--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn--ink:hover,
.btn--dark:hover {
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn--sm {
  gap: 8px;
  padding: 6px 14px;
  border-radius: 13px;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}
html[dir="rtl"] .btn--sm {
  padding: 6px 14px;
}
.btn--sm .ico {
  width: 1.1em;
  height: 1.1em;
}
.btn--lg {
  padding-block: 12px;
  font-size: 1.05rem;
}

.dlgrp {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dlgrp--one {
  align-items: flex-start;
}
.dlgrp__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
}
.dlgrp__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.8;
}
.dlgrp__note .ico {
  margin-top: 0.35em;
  color: var(--pine);
}
.dlgrp__note a {
  color: inherit;
  font-weight: 700;
}
.on-dark .dlgrp__note,
.on-dark .dlgrp__note a {
  color: var(--on-night);
}
.on-dark .dlgrp__note .ico {
  color: var(--brass);
}
.on-dark .btn,
.on-dark .btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.6);
}
.on-dark .btn__ico {
  border-color: transparent;
}
.dlgrp--center {
  align-items: center;
}
.dlgrp--center .dlgrp__btns {
  justify-content: center;
}
.dlgrp--center .dlgrp__note {
  justify-content: center;
  text-align: center;
}

/* ------------------------------------------------------------------ header */

.hdr {
  position: relative;
  z-index: 60;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--edge);
}
.hdr__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.brand__mark,
.brand__img {
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}
.nav {
  min-width: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li {
  flex: none;
}
.nav__list a {
  display: block;
  padding: 6px 14px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav__list a:hover {
  background: var(--ground);
}
.nav__list .is-current > a,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a {
  border-color: transparent;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-weight: 700;
}
.hdr__act {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.langsw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}
.langsw:hover {
  background: var(--ground);
  color: var(--ink);
}
.langsw .ico {
  width: 1.1em;
  height: 1.1em;
}

.dl {
  position: relative;
}
.dl > summary {
  list-style: none;
}
.dl > summary::-webkit-details-marker {
  display: none;
}
.dl__chev {
  transition: transform 0.15s ease;
}
.dl[open] .dl__chev {
  transform: rotate(180deg);
}
.dl__panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 12px);
  z-index: 70;
  display: grid;
  gap: 6px;
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 10px;
  border: var(--bw) solid var(--edge);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.dl__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.dl__item:hover {
  border-color: var(--edge);
  background: var(--ground);
  color: var(--ink);
}
.dl__item img {
  flex: none;
  border: 1px solid var(--edge);
  border-radius: 11px;
}
.dl__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.dl__txt strong {
  font-size: 1rem;
}
.dl__txt small {
  color: var(--muted);
  font-size: 0.82rem;
}
.dl__item.is-soon .dl__txt small {
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 900px) {
  .hdr {
    position: sticky;
    top: 0;
  }
  .admin-bar .hdr {
    top: 32px;
  }
  .nav {
    margin-inline-start: 12px;
  }
}
@media (max-width: 899px) {
  .hdr__row {
    padding-block: 8px;
  }
  .nav {
    order: 3;
    flex: 0 0 100%;
    padding-bottom: 2px;
  }
  .nav__list {
    flex-wrap: wrap;
    gap: 4px 2px;
  }
  .nav__list a {
    padding: 5px 12px;
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .brand {
    font-size: 1.12rem;
  }
  .brand__mark,
  .brand__img {
    width: 38px;
    height: 38px;
  }
  .langsw span {
    display: none;
  }
  .langsw {
    padding: 6px 9px;
  }
}

/* ------------------------------------------------------------------ footer */

.ftr {
  margin-top: 0;
  padding-block: 56px 26px;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--on-night);
}
.ftr a {
  color: var(--on-night);
}
.ftr a:hover {
  color: var(--brass);
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 36px 28px;
}
.ftr .brand {
  color: #fff;
}
.ftr__blurb {
  max-width: 38ch;
  margin-top: 14px;
  color: var(--on-night-2);
  font-size: 0.95rem;
}
.ftr__phone {
  margin-top: 10px;
  color: var(--on-night-2);
  font-size: 0.95rem;
}
.ftr__phone a {
  color: #fff;
  font-weight: 700;
  unicode-bidi: isolate;
}
/* No frame of its own: the seal is drawn on white, and until eNamad serves it
   (a new seal takes up to a day) nothing shows here at all. */
.ftr__seal {
  display: inline-block;
  margin-top: 16px;
  line-height: 0;
}
.ftr__seal img {
  display: block;
  width: 96px;
  height: auto;
  border-radius: 8px;
}
.ftr__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.ftr__links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ftr__links a {
  text-decoration: none;
}
.ftr__links a:hover {
  text-decoration: underline;
}
.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fada6;
  font-size: 0.88rem;
}
@media (max-width: 860px) {
  .ftr__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ftr__brandcol {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .ftr__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ shared pieces */

:root {
  --accent: var(--pine);
  --accent-deep: var(--pine-deep);
  --accent-tint: var(--pine-tint);
  --accent-glow: rgba(15, 107, 82, 0.18);
}
.lsoft-page-coach {
  --accent: var(--plum);
  --accent-deep: var(--plum-deep);
  --accent-tint: var(--plum-tint);
  --accent-glow: rgba(91, 43, 79, 0.18);
}

.main {
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 3px 14px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
}
.eyebrow--app {
  padding: 4px 16px 4px 4px;
}
html[dir="rtl"] .eyebrow--app {
  padding: 4px 4px 4px 16px;
}
.eyebrow__ico {
  width: 36px;
  height: 36px;
  border: 1px solid var(--edge);
  border-radius: 11px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}
.more:hover {
  text-decoration-color: var(--ink);
}

.ticks {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ticks .ico {
  margin-top: 0.3em;
  color: var(--accent);
}

.sec {
  padding-block: 76px;
}
.sec__head {
  max-width: 64ch;
  margin-bottom: 40px;
}
.sec__title {
  font-size: clamp(1.65rem, 3.3vw, 2.3rem);
}
.sec__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--brass);
}

.sec__text {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.06rem;
}

.prose {
  max-width: 70ch;
  overflow-wrap: anywhere;
}
.prose > * + * {
  margin-top: 1em;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.4em;
}
.prose img {
  border-radius: 12px;
}
.prose blockquote {
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--brass);
  color: var(--ink-2);
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.prose th,
.prose td {
  padding: 6px 12px;
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ home: hero */

.hero {
  position: relative;
  z-index: 1;
  background: var(--night);
  border-bottom: 0;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 60px 88px;
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.5;
}
html[lang^="en"] .hero__title {
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero__lede {
  max-width: 52ch;
  margin-block: 18px 28px;
  color: var(--ink-2);
  font-size: 1.12rem;
}
.hero__more {
  margin-top: 22px;
}
.hero__vis {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.hero__disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 470px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}
.hero__vis .phone {
  position: relative;
  z-index: 1;
}
.phone--tilt-a {
  transform: rotate(calc(var(--dir) * -5deg));
}
.phone--tilt-c {
  margin-inline-start: -64px;
  margin-top: 70px;
  transform: rotate(calc(var(--dir) * 5deg));
}

/* ------------------------------------------------------------------ home: stats */

.stats {
  position: relative;
  padding-block: 44px 40px;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  color: var(--on-night);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: 24px;
  border-inline-start: 2px solid rgba(255, 255, 255, 0.2);
}
.stats__value {
  color: var(--brass);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}
.stats__label {
  color: var(--on-night-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ home: the two apps */

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.appcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.appcard__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: var(--bw) solid var(--edge);
}
.appcard--athlete .appcard__top {
  border-bottom: 0;
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: #fff;
}
.appcard--coach .appcard__top {
  border-bottom: 0;
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
  color: #fff;
}
.appcard__icon {
  width: 72px;
  height: 72px;
  flex: none;
  border: var(--bw) solid var(--edge);
  border-radius: 18px;
  background: var(--paper);
}
.appcard__tag {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.92;
}
.appcard__name {
  font-size: 1.5rem;
}
.appcard__points {
  flex: 1;
  margin: 0;
  padding: 22px 26px 6px;
}
.appcard--coach .ticks .ico {
  color: var(--plum);
}
.appcard__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  padding: 20px 26px 26px;
}

/* ------------------------------------------------------------------ home: features */

.sec--feat {
  background: var(--paper);
  border-block: var(--bw) solid var(--edge);
}
.feats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground);
}
.feat__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--pine-tint);
  color: var(--pine-deep);
}
.feat:nth-child(even) .feat__ico {
  background: var(--brass-tint);
  color: var(--brass-deep);
}
.feat__ico .ico {
  width: 26px;
  height: 26px;
}
.feat__title {
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.feat__text {
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ home: screens */

.sec--gallery {
  padding-bottom: 56px;
  background: var(--ground-2);
  border-bottom: var(--bw) solid var(--edge);
}
.gallery {
  overflow-x: auto;
  padding: 10px var(--gutter) 30px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) transparent;
}
.gallery__list {
  display: flex;
  gap: 28px;
  width: max-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  scroll-snap-align: center;
}
.shot__cap {
  max-width: 24ch;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* ------------------------------------------------------------------ home: steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 70px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  box-shadow: 0 0 0 5px var(--pine-tint);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
html[lang^="fa"] .step::before {
  content: counter(step, persian);
}
.step::after {
  content: "";
  position: absolute;
  top: 26px;
  inset-inline: 66px -14px;
  height: 0;
  border-top: 2px dashed var(--edge);
}
.step:last-child::after {
  display: none;
}
.step__title {
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.step__text {
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ home: privacy */

.privband {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  padding: 38px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.privband .sec__head {
  margin-bottom: 18px;
}
.privband__list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: center;
}
.priv {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.priv__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--pine-tint);
  color: var(--pine-deep);
}
.priv__title {
  font-size: 1.1rem;
}
.priv__text {
  margin-top: 2px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ closing band */

.cta {
  position: relative;
  padding-block: 84px 80px;
  background: var(--night);
  color: var(--on-night);
  text-align: center;
}
.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}
.cta__text {
  max-width: 54ch;
  margin: 12px auto 30px;
  color: var(--on-night-2);
  font-size: 1.08rem;
}

/* ------------------------------------------------------------------ inner pages: hero */

.phero {
  position: relative;
  border-bottom: var(--bw) solid var(--edge);
  background: var(--accent-tint);
}
.phero__in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-block: 56px 72px;
}
.phero__title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.5;
}
html[lang^="en"] .phero__title {
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.phero__lede {
  max-width: 56ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.1rem;
}
.phero__points {
  margin-bottom: 4px;
}
.phero .dlgrp--one {
  margin-top: 28px;
}
.phero__vis {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.phero__disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 440px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent-glow), rgba(255, 255, 255, 0) 70%);
  box-shadow: inset 0 0 0 1px var(--accent-glow);
  transform: translate(-50%, -50%);
}
.phero__vis .phone {
  position: relative;
  z-index: 1;
}
.phero--plain {
  background: var(--paper);
}
.phero--plain .phero__in,
.phero--plain > .wrap {
  padding-block: 56px 44px;
}
.phero__meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ app pages */

.blocks {
  display: grid;
  gap: 24px;
}
.blk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 38px;
}
.blk + .blk {
  border-top: 2px dashed var(--line);
}
.blk--flip .blk__vis {
  order: -1;
}
.blk__title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
}
.blk__text {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.blk__vis {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.blk__vis::before {
  content: "";
  position: absolute;
  inset: 8% 14%;
  border: var(--bw) solid var(--edge);
  border-radius: 32px;
  background: linear-gradient(160deg, var(--accent-tint), var(--ground-2));
  transform: none;
}
.blk__vis .phone {
  position: relative;
  z-index: 1;
}

.iconplate {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.iconplate__in {
  display: grid;
  place-items: center;
  width: 62%;
  aspect-ratio: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
}
.iconplate .ico {
  width: 50%;
  height: 50%;
}
.iconplate--athlete .iconplate__in {
  background: linear-gradient(135deg, var(--pine-deep), var(--pine));
  color: #fff;
}
.iconplate--coach .iconplate__in {
  background: linear-gradient(135deg, var(--plum-deep), var(--plum));
  color: #fff;
}

.sec--chips {
  background: var(--paper);
  border-block: var(--bw) solid var(--edge);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 8px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--ground);
  font-weight: 500;
  line-height: 1.6;
}
html[dir="rtl"] .chip {
  padding: 6px 8px 6px 18px;
}
.chip__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-tint);
}
.chip__ico .ico {
  width: 19px;
  height: 19px;
}

.specs {
  overflow: hidden;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.specs__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 2fr;
  gap: 16px;
  padding: 12px 22px;
}
.specs__row + .specs__row {
  border-top: 1px solid var(--line);
}
.specs dt {
  color: var(--muted);
  font-weight: 700;
}
.specs dd {
  margin: 0;
}

.plan {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--accent-tint);
  box-shadow: var(--shadow);
}
.plan__ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.plan__ico .ico {
  width: 28px;
  height: 28px;
}
.plan__title {
  font-size: 1.35rem;
}
.plan__text {
  margin-top: 8px;
  color: var(--ink-2);
}

.cross {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  padding: 26px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.cross--athlete {
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: #fff;
}
.cross--coach {
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
  color: #fff;
}
.cross__icon {
  width: 64px;
  height: 64px;
  flex: none;
  border: var(--bw) solid var(--edge);
  border-radius: 16px;
  background: var(--paper);
}
.cross__copy {
  flex: 1 1 260px;
}
.cross__title {
  font-size: 1.3rem;
}
.cross__text {
  margin-top: 4px;
}
.cross .btn {
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------ FAQ, privacy, contact */

.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.faq__item[open] {
  box-shadow: var(--shadow-sm);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__chev {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--pine-tint);
  color: var(--pine-deep);
  transition: transform 0.15s ease;
}
.faq__chev .ico {
  width: 16px;
  height: 16px;
}
.faq__item[open] .faq__chev {
  transform: rotate(180deg);
}
.faq__item[open] .faq__q {
  border-bottom: 2px dashed var(--line);
}
.faq__a {
  padding: 14px 20px 18px;
  color: var(--ink-2);
}

.more-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 40px;
  padding: 26px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--brass-tint);
}
.more-card__title {
  font-size: 1.25rem;
}
.more-card .ticks {
  margin-top: 4px;
}

.doc__sec + .doc__sec {
  margin-top: 36px;
}
.doc__h {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.doc__title {
  margin-bottom: 18px;
  font-size: 2rem;
}

.ccards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.ccard {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  padding: 28px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.ccard__ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--pine-tint);
  color: var(--pine-deep);
}
.ccard__ico .ico {
  width: 26px;
  height: 26px;
}
.ccard__title {
  font-size: 1.25rem;
}
.ccard__text {
  color: var(--ink-2);
}
.ccard__mail {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.studio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 2px dashed var(--line);
}
.studio__icons {
  display: flex;
  gap: 10px;
}
.studio__icons img {
  border: 1px solid var(--edge);
  border-radius: 13px;
}
.studio__title {
  font-size: 1.15rem;
}

/* ------------------------------------------------------------------ 404 */

.e404 {
  padding-block: 96px 110px;
  text-align: center;
}
.e404__plate {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border: var(--bw) solid var(--edge);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--pine-deep), var(--pine));
  color: #fff;
  box-shadow: var(--shadow);
}
.e404__plate .ico {
  width: 64px;
  height: 64px;
}
.e404__code {
  font-family: var(--font-en);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.e404__title {
  font-size: 1.7rem;
}
.e404__text {
  max-width: 46ch;
  margin: 10px auto 26px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ narrower screens */

@media (max-width: 1099px) {
  .hero__vis .phone {
    --s: 0.82;
  }
  .phone--tilt-c {
    margin-inline-start: -52px;
  }
  .hero__vis {
    min-height: 520px;
  }
}
@media (min-width: 1100px) {
  .gallery .phone {
    --s: 0.68;
  }
}
@media (max-width: 900px) {
  .sec {
    padding-block: 60px;
  }
  .hero__in,
  .phero__in {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__in {
    padding-block: 44px 72px;
  }
  .hero__vis .phone {
    --s: 0.82;
  }
  .phero__vis {
    min-height: 0;
    padding-block: 10px 40px;
  }
  .phero__vis .phone {
    --s: 0.86;
  }
  .phero__in {
    padding-block: 44px 24px;
  }
  .apps,
  .privband {
    grid-template-columns: 1fr;
  }
  .privband {
    gap: 24px;
    padding: 28px 24px;
  }
  .blk {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blk--flip .blk__vis {
    order: 0;
  }
  .blk__vis {
    min-height: 0;
    padding-block: 20px;
  }
  .step::after {
    display: none;
  }
}
@media (max-width: 640px) {
  .sec {
    padding-block: 48px;
  }
  .sec__head {
    margin-bottom: 28px;
  }
  .hero__vis {
    min-height: 460px;
  }
  .hero__vis .phone,
  .phero__vis .phone {
    --s: 0.64;
  }
  .phone--tilt-c {
    margin-inline-start: -40px;
    margin-top: 56px;
  }
  .stats__item {
    padding-inline: 16px;
  }
  .appcard__top,
  .appcard__act {
    padding-inline: 20px;
  }
  .appcard__points {
    padding-inline: 20px;
  }
  .gallery__list {
    gap: 20px;
  }
  .specs__row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 18px;
  }
  .plan {
    flex-direction: column;
    padding: 24px 20px;
  }
  .cta {
    padding-block: 64px 60px;
  }
  .e404 {
    padding-block: 64px 72px;
  }
  .btn {
    max-width: 100%;
  }
}
@media (max-width: 420px) {
  .hero__vis .phone,
  .phero__vis .phone {
    --s: 0.58;
  }
  .hero__vis {
    min-height: 420px;
  }
  .dlgrp__btns {
    width: 100%;
  }
  .dlgrp__btns .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover,
  .btn:active {
    transform: none;
  }
}


/* ------------------------------------------------------------------ night grounds and finishing touches */

.btn {
  border-color: rgba(13, 22, 18, 0.12);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.hero {
  background:
    radial-gradient(900px 520px at 78% 6%, rgba(15, 107, 82, 0.35), transparent 62%),
    radial-gradient(760px 520px at 8% 100%, rgba(201, 162, 77, 0.1), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--on-night);
}
.hero a:not(.btn) {
  color: var(--brass);
}
.hero a:not(.btn):hover {
  color: var(--on-night);
}
.hero__lede {
  color: var(--on-night-2);
}
.hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-night);
}
.hero .btn.is-soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-night);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero .btn.is-soon:hover {
  color: #fff;
}
.hero .btn__ico {
  border-color: transparent;
}
.hero .btn--athlete:not(.is-soon),
.hero .btn--coach:not(.is-soon) {
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .dlgrp__note,
.hero .dlgrp__note a {
  color: var(--on-night);
}
.hero .dlgrp__note .ico {
  color: var(--brass);
}
.phone--tilt-a {
  transform: rotate(calc(var(--dir) * -4deg));
}
.phone--tilt-c {
  transform: rotate(calc(var(--dir) * 4deg));
}

.stats__item {
  border-inline-start-width: 1px;
}
.cta {
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(15, 107, 82, 0.32), transparent 65%),
    radial-gradient(600px 360px at 90% 100%, rgba(201, 162, 77, 0.09), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.cta .btn--paper {
  background: var(--paper);
}
.cta .btn.is-soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-night);
  border-color: rgba(255, 255, 255, 0.28);
}
.cta .btn.is-soon:hover {
  color: #fff;
}

.phero {
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--ground) 100%);
}
.phero--plain {
  background: var(--paper);
}
.eyebrow {
  color: var(--ink);
}
.appcard__icon {
  border-color: rgba(255, 255, 255, 0.25);
}
