/* ---------------------------------------------------------------------------
   بِه‌نوبت — introduction website
   Shared stylesheet for index.html, terms.html and privacy.html.

   This folder is served verbatim (bind-mounted read-only into the proxy, see
   CLAUDE.md §"Request flow in production") — there is no build step, so keep
   this file hand-written, dependency-free and small. The whole site ships zero
   JavaScript apart from the migration bridge in the <head> of each page.

   Palette mirrors the app's design tokens (styles/global.css).
--------------------------------------------------------------------------- */

/* ---- fonts ---------------------------------------------------------------
   Self-hosted Vazirmatn subsets, identical to the ones the PWA uses. The Latin
   subset only downloads when a Latin glyph is actually painted (unicode-range),
   which on a Persian page is rare. */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/vazirmatn-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/vazirmatn-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  --paper: #f8f7f2;
  --surface: #ffffff;
  --ink-900: #262a25;
  --ink-800: #1b1e1a;
  --ink-700: #3e413a;
  --ink-600: #55584f;
  --ink-400: #7c7e74;
  --ink-300: #a2a399;
  --ink-200: #c4c2b7;
  --primary: #4e6350;
  --primary-dark: #3c4e3e;
  --sage: #a9c0ac;
  --sage-bright: #7fa284;
  --sage-bg: #e7ede4;
  --gold: #c6a15c;
  --gold-ink: #a98545;
  --gold-deep: #8a6d3b;
  --gold-bg: #f3eddf;
  --screen: #0e110e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- base ---------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* `clip` keeps the sticky header working — `hidden` on html/body turns them
   into scroll containers in some engines, which breaks position:sticky. */
@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
/* The screenshots are wrapped in <picture> for their AVIF/WebP sources. Without
   this the wrapper becomes the flex item inside .hero__screen/.phone__screen
   instead of the <img>, which those layouts size and position directly. */
picture {
  display: contents;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
:focus-visible {
  outline: 2px solid var(--sage-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- animations ---------------------------------------------------------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideSide {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes collapseGap {
  0%,
  22% {
    width: 38px;
    opacity: 1;
  }
  62%,
  100% {
    width: 0;
    opacity: 0;
  }
}
@keyframes markLeave {
  0%,
  25% {
    background: #e7ede4;
    color: #7c7e74;
  }
  45%,
  100% {
    background: #f3eddf;
    color: #a98545;
  }
}
@keyframes popChip {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  18%,
  82% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
@keyframes sheen {
  0% {
    transform: translateY(-140%);
  }
  100% {
    transform: translateY(360%);
  }
}
@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  8% {
    transform: rotate(-11deg);
  }
  16% {
    transform: rotate(9deg);
  }
  24% {
    transform: rotate(-6deg);
  }
  32% {
    transform: rotate(0);
  }
}

/* Entrance animations. `--d` carries the per-element stagger so the markup only
   ever needs one custom property instead of a full inline animation shorthand. */
.a-rise,
.a-rise-fast,
.a-in,
.a-in-slow,
.a-in-sm,
.a-side,
.a-side-fast {
  animation-delay: var(--d, 0s);
  animation-fill-mode: both;
  animation-timing-function: var(--ease);
}
.a-rise {
  animation-name: rise;
  animation-duration: 0.8s;
}
.a-rise-fast {
  animation-name: rise;
  animation-duration: 0.7s;
}
.a-in {
  animation-name: riseIn;
  animation-duration: 0.7s;
}
.a-in-slow {
  animation-name: riseIn;
  animation-duration: 0.8s;
}
.a-in-sm {
  animation-name: riseIn;
  animation-duration: 0.6s;
}
.a-side {
  animation-name: slideSide;
  animation-duration: 0.8s;
}
.a-side-fast {
  animation-name: slideSide;
  animation-duration: 0.7s;
}

/* Scroll-driven variants. Engines without `animation-timeline` simply run the
   animation on the document timeline, so content is never left hidden. */
.iv {
  animation-timeline: view();
  animation-range: entry 0% cover 26%;
}
.iv-22 {
  animation-timeline: view();
  animation-range: entry 0% cover 22%;
}
.iv-20 {
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- layout -------------------------------------------------------------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.sec {
  padding: clamp(44px, 8vw, 80px) clamp(20px, 5vw, 40px);
}
.sec--steps {
  padding: clamp(40px, 8vw, 72px) clamp(20px, 5vw, 40px);
}
.sec--paper {
  background: var(--paper);
}
.sec--surface {
  background: var(--surface);
  border-top: 1px solid rgba(38, 42, 37, 0.07);
}
.sec--dark {
  background: var(--ink-900);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 34px);
}
.stack--tight {
  gap: clamp(22px, 4vw, 32px);
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
}
.split__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- type ---------------------------------------------------------------- */
.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}
.eyebrow--on-dark {
  color: var(--gold);
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-head--tight {
  gap: 8px;
}
.h2 {
  font-size: clamp(24px, 5.6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  text-wrap: balance;
}
.h2--on-dark {
  color: var(--paper);
}
.lede {
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 2.05;
  color: var(--ink-600);
  max-width: 52ch;
  text-wrap: pretty;
}
.lede--narrow {
  max-width: 46ch;
  line-height: 2.1;
}
.lede--wide {
  max-width: 56ch;
}
.lede--on-dark {
  color: rgba(248, 247, 242, 0.66);
}

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(38, 42, 37, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(248, 247, 242, 0.08);
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px clamp(18px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
/* The mark is a sage gradient built for light backgrounds; lifting it keeps it
   legible on the dark chrome without shipping a second SVG. */
.brand__mark {
  filter: brightness(1.75) saturate(0.65);
}
.brand__name {
  font-size: 16px;
  font-weight: 900;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav__link {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.62);
  transition: color 0.2s ease;
}
.site-nav__link:hover {
  color: rgba(248, 247, 242, 0.92);
}
.site-nav__cta {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-900);
  background: var(--paper);
  border-radius: 12px;
  padding: 9px 16px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.site-nav__cta:hover {
  background: #fff;
}
.site-nav__cta:active {
  transform: scale(0.97);
}

/* ---- hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 140vw);
  height: min(760px, 140vw);
  background: radial-gradient(circle, rgba(127, 162, 132, 0.2) 0%, rgba(38, 42, 37, 0) 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 9vw, 84px) clamp(20px, 5vw, 40px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero__title {
  font-size: clamp(34px, 8.4vw, 62px);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--paper);
  max-width: 14ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--sage);
}
.hero__lede {
  font-size: clamp(14.5px, 3.7vw, 18px);
  line-height: 2.05;
  color: rgba(248, 247, 242, 0.66);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.45);
  padding-top: 2px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-bright);
  animation: pulseDot 2.6s ease-in-out infinite;
}
.hero__device {
  position: relative;
  margin-top: clamp(28px, 6vw, 52px);
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero__phone {
  position: relative;
  width: min(300px, 74vw);
  animation: floaty 8s ease-in-out infinite;
}
.hero__phone-glow {
  position: absolute;
  inset: -14% -22% -6%;
  background: radial-gradient(
    ellipse at 50% 70%,
    rgba(169, 192, 172, 0.22),
    rgba(38, 42, 37, 0) 70%
  );
  pointer-events: none;
}
.hero__phone-body {
  position: relative;
  border-radius: 46px 46px 0 0;
  padding: 11px 11px 0;
  background: var(--screen);
  box-shadow: 0 -6px 70px rgba(169, 192, 172, 0.16), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.hero__screen {
  position: relative;
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  background-image: repeating-linear-gradient(135deg, #3c4e3e 0 8px, #435742 8px 16px);
  height: min(390px, 86vw);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: var(--screen);
}
.hero__sheen {
  position: absolute;
  inset: 0;
  height: 38%;
  background: linear-gradient(
    to bottom,
    rgba(198, 161, 92, 0),
    rgba(198, 161, 92, 0.16),
    rgba(198, 161, 92, 0)
  );
  animation: sheen 5s linear infinite;
  pointer-events: none;
}
.hero__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ---- buttons ------------------------------------------------------------- */
.btn-light,
.btn-outline-light,
.btn-dark {
  font-size: 15px;
  font-weight: 800;
  border-radius: 17px;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}
.btn-light:active,
.btn-outline-light:active,
.btn-dark:active {
  transform: scale(0.97);
}
.btn-light {
  background: var(--paper);
  color: var(--ink-900);
  padding: 16px 30px;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.8);
}
.btn-light--wide {
  padding: 16px 34px;
}
.btn-outline-light {
  color: var(--paper);
  padding: 16px 26px;
  border: 1px solid rgba(248, 247, 242, 0.22);
}
.btn-outline-light:hover {
  border-color: rgba(248, 247, 242, 0.45);
}

/* ---- steps --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr));
  gap: 12px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(38, 42, 37, 0.08);
  border-radius: 22px;
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(38, 42, 37, 0.03);
}
.step__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--sage-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__num {
  font-size: 11px;
  font-weight: 900;
  color: var(--ink-200);
}
.step__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.step__body h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink-900);
}
.step__body p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-600);
  text-wrap: pretty;
}

/* ---- day card (manual vs online) ----------------------------------------- */
.daycard {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(38, 42, 37, 0.08);
  border-radius: 26px;
  padding: clamp(18px, 4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(38, 42, 37, 0.03);
}
.daycard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.daycard__date {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink-900);
}
.daycard__count {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-400);
}
.appt {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid rgba(38, 42, 37, 0.07);
  border-radius: 16px;
  padding: 13px 14px;
}
.appt--manual {
  border-color: rgba(198, 161, 92, 0.4);
  box-shadow: 0 8px 20px -14px rgba(169, 133, 69, 0.7);
}
.appt__time {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink-700);
  flex-shrink: 0;
}
.appt__sep {
  width: 1px;
  align-self: stretch;
  background: rgba(38, 42, 37, 0.1);
}
.appt__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag {
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 9px;
  flex-shrink: 0;
}
.tag--sage {
  color: var(--primary);
  background: var(--sage-bg);
}
.tag--gold {
  color: var(--gold-deep);
  background: var(--gold-bg);
}
.smsnote {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--sage-bg);
}
.smsnote__icon {
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  animation: ring 4.5s ease-in-out infinite;
}
.smsnote__text {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.7;
}

/* ---- customers panel (on dark) ------------------------------------------- */
.panel-dark {
  position: relative;
  background: rgba(248, 247, 242, 0.04);
  border: 1px solid rgba(248, 247, 242, 0.1);
  border-radius: 26px;
  padding: clamp(18px, 4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel-dark__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
}
.panel-dark__title {
  font-size: 13px;
  font-weight: 900;
  color: var(--paper);
}
.panel-dark__meta {
  font-size: 11px;
  font-weight: 800;
  color: rgba(248, 247, 242, 0.45);
}
.panel-dark__foot {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.35);
  padding-top: 4px;
  line-height: 1.9;
}
.cust {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(248, 247, 242, 0.05);
  border-radius: 16px;
  padding: 12px 13px;
}
.cust__av {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary-dark);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cust__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.cust__name {
  font-size: 13px;
  font-weight: 900;
  color: var(--paper);
}
.cust__meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.42);
}

/* ---- screenshot rail ----------------------------------------------------- */
.features {
  background: var(--paper);
  padding: clamp(44px, 8vw, 80px) 0;
}
.features__head {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rail {
  display: flex;
  gap: clamp(14px, 3vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: clamp(24px, 5vw, 44px) max(calc(50vw - 560px + 20px), 20px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail__item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(252px, 64vw);
}
.phone {
  border-radius: 40px;
  padding: 9px;
  background: var(--ink-900);
  box-shadow: 0 2px 8px rgba(38, 42, 37, 0.06), 0 26px 50px -26px rgba(38, 42, 37, 0.5);
}
.phone__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background-image: repeating-linear-gradient(135deg, #efeee6 0 8px, #f8f7f2 8px 16px);
  aspect-ratio: 9 / 19.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 19px;
  border-radius: 999px;
  background: var(--ink-900);
}
.phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.rail__cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 6px;
}
.rail__cap h3 {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--ink-900);
}
.rail__cap p {
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-400);
  text-wrap: pretty;
}
.rail__hint {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-300);
}
.rail__hint .chev {
  color: var(--ink-200);
  display: flex;
}

/* ---- "behind the scenes" tiles ------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}
.tile {
  background: var(--paper);
  border: 1px solid rgba(38, 42, 37, 0.07);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tile__head {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tile__head h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink-900);
}
.tile__head p {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-600);
  text-wrap: pretty;
}
.pill {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 11px;
}
.pill--gold {
  color: var(--gold-deep);
  background: var(--gold-bg);
}
.pill--sage {
  color: var(--primary);
  background: var(--sage-bg);
}
.weekgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.weekgrid span {
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--sage-bg);
}
.weekgrid .off {
  animation: markLeave 4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.slots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.slots .b {
  height: 34px;
  flex: 1;
  border-radius: 10px;
  background: var(--primary);
}
.slots .b--alt {
  background: var(--sage);
}
.slots .gap {
  height: 34px;
  border-radius: 10px;
  border: 1px dashed var(--ink-200);
  animation: collapseGap 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.rules span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid rgba(38, 42, 37, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
}
.notifs {
  position: relative;
  height: 74px;
}
.notifs span {
  position: absolute;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 14px;
  padding: 9px 13px;
  animation: popChip 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.notifs .n1 {
  inset-inline-start: 0;
  top: 0;
  color: var(--primary-dark);
  background: var(--sage-bg);
}
.notifs .n2 {
  inset-inline-start: 24px;
  top: 26px;
  color: var(--gold-deep);
  background: var(--gold-bg);
}
.notifs .n3 {
  inset-inline-start: 8px;
  top: 52px;
  color: var(--primary-dark);
  background: var(--sage-bg);
}

/* ---- pricing ------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid rgba(38, 42, 37, 0.09);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan--pro {
  position: relative;
  background: var(--ink-900);
  border: none;
  box-shadow: 0 24px 54px -28px rgba(38, 42, 37, 0.75);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan--pro .plan__head {
  flex-wrap: wrap;
}
.plan__name {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink-900);
}
.plan--pro .plan__name {
  color: var(--paper);
}
.plan__badge {
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--primary);
  background: var(--sage-bg);
  white-space: nowrap;
}
.plan__badge--gold {
  color: var(--ink-900);
  background: var(--gold);
}
.plan__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.plan__price {
  font-size: clamp(28px, 6.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.plan__price-unit {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-400);
}
.plan__note {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-600);
}
.plan__note strong {
  font-weight: 900;
  color: var(--ink-900);
}
.rule {
  height: 1px;
  background: rgba(38, 42, 37, 0.08);
}
.rule--on-dark {
  background: rgba(248, 247, 242, 0.12);
}
.tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.tier--first {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(248, 247, 242, 0.12);
}
.tier__col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tier__label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(248, 247, 242, 0.5);
}
.tier__label--gold {
  color: var(--gold);
}
.tier__amount {
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.tier__unit {
  font-size: 13px;
  font-weight: 800;
  color: rgba(248, 247, 242, 0.55);
}
.tier__old {
  font-size: 13px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.38);
  text-decoration: line-through;
  padding-bottom: 4px;
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-700);
}
.feat .tick {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
}
.plan--pro .feat li {
  color: rgba(248, 247, 242, 0.9);
}
.plan--pro .feat .tick {
  color: var(--sage);
}
.plan--pro .feat li.soon {
  color: rgba(248, 247, 242, 0.55);
}
.plan--pro .feat li.soon .tick {
  color: rgba(248, 247, 242, 0.3);
}
.plan--pro .feat strong {
  font-weight: 900;
  color: #fff;
}
.plan__cta {
  margin-top: auto;
  text-align: center;
  background: var(--ink-900);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 800;
  padding: 15px 0;
  border-radius: 16px;
  transition: transform 0.2s var(--ease);
}
.plan__cta--light {
  background: var(--paper);
  color: var(--ink-900);
}
.plan__cta:active {
  transform: scale(0.98);
}
.fineprint {
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink-300);
  text-align: center;
}

/* ---- FAQ ----------------------------------------------------------------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
}
.faq__h2 {
  font-size: clamp(24px, 5.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.faq__list {
  display: flex;
  flex-direction: column;
}
.faq__item {
  border-top: 1px solid rgba(38, 42, 37, 0.1);
}
.faq__item:last-child {
  border-bottom: 1px solid rgba(38, 42, 37, 0.1);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink-900);
}
.faq__q .chev {
  color: var(--ink-300);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] .faq__q .chev {
  transform: rotate(180deg);
}
.faq__a {
  padding: 0 2px 22px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-600);
  text-wrap: pretty;
}
.faq__item[open] .faq__a {
  animation: riseIn 0.35s var(--ease) both;
}

/* ---- closing CTA --------------------------------------------------------- */
.cta {
  background: var(--ink-900);
  padding: clamp(48px, 9vw, 88px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.cta__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta__logo {
  filter: brightness(1.75) saturate(0.65);
  animation: floaty 7s ease-in-out infinite;
}
.cta__h2 {
  font-size: clamp(26px, 6.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-wrap: balance;
}

/* ---- footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink-800);
  padding: clamp(30px, 5vw, 44px) clamp(20px, 5vw, 40px);
}
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.site-footer__brand span {
  font-size: 13.5px;
  font-weight: 900;
  color: rgba(248, 247, 242, 0.8);
}
.social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(248, 247, 242, 0.14);
  color: rgba(248, 247, 242, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social a:hover {
  color: var(--paper);
  border-color: rgba(248, 247, 242, 0.35);
}
.site-footer__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__trust img {
  display: block;
  height: 68px;
  width: auto;
  border-radius: 10px;
  background: rgba(248, 247, 242, 0.92);
  padding: 4px;
}
.site-footer__trust #zarinpal {
  display: flex;
  align-items: center;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.site-footer__legal a {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.5);
  transition: color 0.2s ease;
}
.site-footer__legal a:hover {
  color: rgba(248, 247, 242, 0.85);
}
.site-footer__legal span {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(248, 247, 242, 0.3);
}

/* ---- legal pages (terms.html / privacy.html) ----------------------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.legal__title {
  font-size: clamp(28px, 6.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  text-wrap: balance;
}
.legal__updated {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-300);
}
.legal__note {
  background: var(--gold-bg);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 2;
  color: var(--gold-deep);
  font-weight: 700;
}
.legal h2 {
  font-size: clamp(18px, 4.4vw, 22px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  padding-top: 8px;
}
.legal p,
.legal li {
  font-size: 14px;
  line-height: 2.15;
  color: var(--ink-600);
  text-wrap: pretty;
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.legal li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 13px;
}
.legal a {
  color: var(--primary);
  font-weight: 700;
}
.legal a:hover {
  color: var(--primary-dark);
}
.legal__back {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}
